/* General Styles */
body {
  font-family: 'Quicksand', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff8f0;
  color: #333;
  line-height: 1.6;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Header */
header {
  text-align: center;
  color: white;
}
.orange-box {
  background-color: #ffb347;
  color: white;
  padding: 60px 20px 30px; /* ⬅ increased top padding */
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  position: relative;
}
header .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
}
header h1 {
  margin: 0;
  font-size: 2em;
}

/* NEW: Header image next to title */
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.header-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
  }

  .header-img {
    width: 80px;
    height: 80px;
  }

  header h1 {
    font-size: 1.5em;
    text-align: center;
  }
}

/* Main container */
.container {
  max-width: 900px; /* для десктопа */
  margin: 0 auto;
  padding: 0 1rem;
}

/* Sections */
section {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

section h2 {
  color: #cc6600;
  margin-top: 0;
}

/* Availability calendar */
.calendar-container {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.calendar-container iframe {
  display: block;
  width: 100%;
  height: 600px;
  max-width: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .calendar-container iframe {
    height: 450px;
  }
}

/* Photo gallery */
.photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.photos img {
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
  object-fit: cover;
}

/* Lists */
ul {
  padding-left: 20px;
}

/* Contact links */
.contact a {
  display: block;
  margin: 10px 0;
  font-size: 1.2em;
  color: #333;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}
/* Testimonials */
.testimonial-form {
  background-color: #fff8f0;
  margin: 16px 12px;
  padding: 18px;
  border-top: 2px solid #ffb347;
  text-align: center;
  margin-top: 40px;
}

.testimonial-form h3 {
  font-size: 1.5em;
  color: #ff8c42;
  margin-bottom: 20px;
}

.testimonial-form form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.testimonial-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.testimonial-form input,
.testimonial-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.testimonial-form button {
  background-color: #ff8c42;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
}

  .testimonial {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
  }

  @media (max-width: 600px) {
    .orange-box {
      padding: 24px 16px;
    }
  
    .orange-box h1 {
      font-size: 1.5rem;
      line-height: 1.25;
    }
  
    .testimonial-form {
      margin: 16px 12px;
      padding: 18px;
    }
  
    .testimonial-form input,
    .testimonial-form textarea,
    .testimonial-form button {
      width: 100%;
      box-sizing: border-box;
    }
  }

  .bot-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
  }

/* Map */
.map-container {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.map h2, .testimonials h2 {
  color: #cc6600;
}

/* Footer */
footer {
  background: #ffe0b2;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}
/* testimonial */
.testimonial {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 10px 0;
  font-size: 0.95em;
  max-width: 500px;
}
.button {
  display: inline-block;
  background-color: #d97706;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
}

.button:hover {
  background-color: #b45309;
}

html {
  scroll-behavior: smooth;
}

.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.photo-gallery img {
  width: 180px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.photo-gallery video.gallery-video {
  width: 180px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hidden {
  display: none;
}

.show-more-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #ffa500;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.toggle-wrapper {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

#toggleBtn {
  padding: 10px 24px;
  font-size: 16px;
  background-color: #ffa500;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#toggleBtn:hover {
  background-color: #e59400;
}

.more-photos.hidden {
  display: none;
}
.dog-photo-contain {
  width: 100%;
  height: 300px; /* или auto */
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.wide-photo img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
}
.share-button {
  text-align: center;
  margin: 15px 0;
}

.share-button button {
  background-color: #ffa726;
  border: none;
  padding: 10px 18px;
  font-size: 16px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.share-button button:hover {
  background-color: #fb8c00;
}
.orange-box {
  position: relative;
}

.share-button.top-right {
  position: absolute;
  top: 5px;
  right: 5px;
  margin: 0;
  text-align: right;
}
/* Header quick actions */
.header-actions {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions .call-button,
.header-actions .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;       /* smaller height like Share */
  font-size: 15px;         /* match sizes */
  line-height: 1;          /* remove extra vertical space */
  border: none;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  box-shadow: 1px 1px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  white-space: nowrap;      /* keep label on one line */
  vertical-align: middle;
}
/* AFTER (global button styles) */
.call-button,
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;     /* small like Share */
  font-size: 15px;
  line-height: 1;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  box-shadow: 1px 1px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}
/* Distinct brand colors for clarity */
.call-button {
  background: #10b981; /* green */
}
.call-button:hover { background: #0ea371; }

.share-btn {
  background: #fb923c; /* orange (matches brand) */
}
.share-btn:hover { background: #f97316; }

/* Mobile: make tap targets comfy and avoid overlap with title */
@media (max-width: 600px) {
  .header-actions {
    top: 8px;
    right: 8px;
    gap: 8px;
  }
  .call-button, .share-btn {
    padding: 8px 10px;
    font-size: 14px;
  }
}
.more-photos{
  width: 100%;
}

h2 {
  text-align: center;
  font-size: 1.6rem;
}

section {
  transition: transform 0.2s ease;
}

section:hover {
  transform: translateY(-2px);
}

.testimonials {
  text-align: center;
}

.testimonial-card {
  background: #fffdf9;
  border: 1px solid #f1d2a8;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px auto;
  max-width: 680px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  text-align: left;
}

.testimonial-card p {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.testimonial-card span {
  font-weight: 600;
  color: #a85d00;
}

/* ===== Hero section ===== */
.hero {
  max-width: 800px;
  margin: 20px auto 30px;
  border-radius: 18px;
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65)),
    url("images/0_living_room_wide_ping_pong.jpg");
  background-size: cover;
  background-position: center;
  min-height: 430px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.hero-overlay {
  min-height: 430px;
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.hero-topbar h1 {
  margin: 0;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.1;
}

.hero-content {
  color: #fff;
  max-width: 560px;
}

.hero-content h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.15;
  color: #fff;
  text-align: left;
}

.hero-content p {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.secondary-button {
  background-color: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(2px);
}

.secondary-button:hover {
  background-color: rgba(255,255,255,0.28);
}

.hero .header-actions {
  position: static;
}

.hero .share-btn,
.hero .call-button,
.hero .button {
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

@media (max-width: 600px) {
  .hero {
    margin: 12px 12px 24px;
    min-height: 380px;
  }

  .hero-overlay {
    min-height: 380px;
    padding: 16px;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-topbar h1 {
    font-size: 1.8rem;
  }

  .hero-content h2 {
    font-size: 1.55rem;
  }

  .hero-content p {
    font-size: 0.98rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  padding: 6px 0;
  font-size: 1rem;
}
.photo-grid img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cta-btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  min-width: 140px;       /* 🔥 делает кнопки одинаковыми по ширине */
  text-align: center;
}

.call {
  background-color: #2ec4b6;
  color: white;
  font-weight: 600;
  transform: scale(1.03);
}

.text {
  background-color: #f4a261;
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* важно! */
}

@media (max-width: 480px) {
  .cta-btn.call,
  .cta-btn.text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cta-btn.call .cta-label,
  .cta-btn.text .cta-label,
  .cta-btn.call .phone-number,
  .cta-btn.text .phone-number {
    display: block;
  }

  .cta-btn.call .phone-number,
  .cta-btn.text .phone-number {
    white-space: nowrap;
  }
}

.location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.88);
  color: #222;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

section.location {
  background-color: #fff;
  color: #333;
}

section.location p {
  color: #333;
}

.gallery-img {
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* ===== Lightbox slider ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  touch-action: pan-y;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.2s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .lightbox-image {
    max-width: 94vw;
    max-height: 82vh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}

.phone-number {
  font-size: 20px;      /* больше размер */
  font-weight: 900;     /* жирный */
  font-family: Arial, sans-serif; /* ← более чёткий и жирный */
}

.amenities {
  margin: 2rem 0;
}

.amenities h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-align: center;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;  /* 🔥 1 колонка */
  gap: 12px 20px;
}

.amenity {
  display: flex;
  align-items: center;
  font-size: 1.20rem;
  padding: 6px 8px;
  border-radius: 8px;
  transition: 0.2s;
}

.amenity:hover {
  background-color: #f5f5f5;
}

.amenity .icon {
  margin-right: 12px;
  font-size: 1.4rem; 
}

/* Desktop */
@media (min-width: 768px) {
  .amenities-grid {
    grid-template-columns: 1fr;  /* 🔥 1 колонка */
    gap: 16px;
  }
}

@media (max-width: 600px) {

  .amenity {
    font-size: 1.25rem;   /* ещё больше на телефоне */
    padding: 10px 12px;
    align-items: flex-start; /* 🔥 важно для длинных строк */
  }

  .amenity .icon {
    font-size: 1.5rem;
  }

}

@media (max-width: 600px) {
  body {
    font-size: 1.2rem;
    font-weight: 600;
  }

  section p,
  .amenity,
  .contact a,
  .testimonial-card p,
  .location p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .amenity {
    padding: 8px 10px;
  }

  .amenity .icon {
    font-size: 1.45rem;
    min-width: 2rem;
  }
}

.activities {
  margin-top: 2rem;
}

.activities details {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.activities summary {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  list-style: none;
}

.activities-gallery {
  margin-top: 1rem;
}

.activities-gallery figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.activities-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.activities-gallery figure:hover {
  transform: translateY(-4px);
}

.activities figure {
  margin: 0;
}

.activities figcaption {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: #444;
}

.lightbox-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  max-width: 80%;
  text-align: center;
}

.hero-highlight {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 8px 0 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 8px 0 14px;
  color: rgba(255,255,255,0.95);
  background: rgba(0,0,0,0.35);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
}

.hero-features {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

.pricing-card {
  text-align: center;
  border: 1px solid #f1d2a8;
  background: #fffdf9;
}

.price-main {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 4px;
}

.price {
  font-size: 2.6rem;
  font-weight: 900;
  color: #cc6600;
}

.per-night {
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
}

.price-note {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 700;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
}

.included-grid div {
  background: #fff8f0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .included-grid {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 2.4rem;
  }
}

.more-amenities.hidden {
  display: none;
}

/* Bottom action buttons - unified alignment */
.location .button,
.intro .button,
.share-button button {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 0;
  text-align: center;
}

@media (max-width: 600px) {
  .location .button,
  .intro .button,
  .share-button button {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.05rem;
    padding: 12px 16px;
  }
}

.beach {
  padding-bottom: 1.2rem;
}

.beach-feature {
  margin-top: 1rem;
}

.beach-feature img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
}

.beach-caption,
.beach-more figcaption {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.beach-more {
  margin-top: 0.8rem;
}

.beach-more summary {
  cursor: pointer;
  font-weight: 700;
  color: #2f7d46;
  margin-bottom: 0.8rem;
}

.beach-more-grid {
  display: grid;
  gap: 0.9rem;
}

.beach-more figure {
  margin: 0;
}

.beach-more img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 14px;
}

.beach-video {
  width: 100%;
  max-height: 340px;
  margin-top: 1rem;
  border-radius: 14px;
}

.beach-more summary {
  list-style: none;
  cursor: pointer;
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-top: 0.9rem;
  font-weight: 700;
  color: #2f7d46;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.beach-more summary::-webkit-details-marker {
  display: none;
}

.inside-photos {
  width: 100%;
  margin-top: 0.8rem;
}

.inside-photos details {
  margin-top: 0;
}

.activities {
  margin-top: 0;
}

.beach-more summary::after,
.activities summary::after {
  content: " +";
  font-weight: 700;
}

.beach-more[open] summary::after,
.activities details[open] summary::after {
  content: " −";
}

@media (min-width: 768px) {
  .beach-feature img,
  .beach-more img,
  .beach-video {
    max-width: 620px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .beach-caption,
  .beach-more figcaption {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}

.house-rules {
  text-align: center;
}

.time-row {
  margin: 12px 0;
  font-size: 1.1rem;
}

.time-value {
  color: #d97706;
  font-weight: 900;
  margin-left: 6px;
  font-size: 1.35rem;
}

.luggage-note {
  text-align: left;
  margin-top: 18px;
  line-height: 1.6;
}

.house-rules h2 {
  font-size: 1.9rem;
  line-height: 1.2;
}

.contact {
  text-align: center;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  margin-bottom: 18px;
}

.phone-number,
.email-text {
  font-weight: 700;
  color: #222;
  word-break: break-word;
}

@media (max-width: 600px) {
  .house-rules h2 {
    font-size: 1.7rem;
  }
}
