/* ═══════════════════════════════════════════════════════════
   Sand & Sky 30A — Public Marketing Site Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── WIDER MAIN FOR MARKETING ──────────────────────────── */
.public-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

/* ─── AS FEATURED IN BADGE ─────────────────────────────── */
.featured-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3060 100%);
  border-radius: 100px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}
.featured-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(74,171,219,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.featured-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.featured-publication {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease;
}
.featured-publication:hover {
  opacity: 0.85;
}

.featured-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

.featured-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}

/* ─── WELCOME / PROPERTY STATS ─────────────────────────── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 0.5rem;
}

.welcome-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--navy-mid);
  margin-bottom: 1rem;
}
.welcome-text p:last-child { margin-bottom: 0; }
.magazine-link {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
}
.magazine-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.welcome-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.stat-item {
  flex: 0 1 calc(33.33% - 0.75rem);
}
.stat-sleeps {
  flex: 0 1 calc(33.33% - 0.75rem);
}

.welcome-stats .stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--sand);
  border-radius: 16px;
  transition: all 0.25s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sky);
}

/* ─── PROPERTY HIGHLIGHTS ───────────────────────────────── */
.highlights-section {
  background: transparent;
  padding: 1rem 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.highlight-card {
  background: var(--sand);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 0.25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}
.highlight-card[data-accent="sky"]::before { background: linear-gradient(90deg, var(--sky), #7EC8E3); }
.highlight-card[data-accent="gold"]::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.highlight-card[data-accent="navy"]::before { background: linear-gradient(90deg, var(--navy), var(--navy-light)); }

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.highlight-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.highlight-icon-wrap.sky { background: rgba(74,171,219,0.1); }
.highlight-icon-wrap.gold { background: rgba(201,169,110,0.1); }
.highlight-icon-wrap.navy { background: rgba(26,39,68,0.08); }

.highlight-icon {
  font-size: 1.8rem;
  display: block;
}

.highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.highlight-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── PHOTO BREAK ──────────────────────────────────────── */
.photo-break {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 1.5rem;
  padding: 3.5rem 2rem;
  background: url('../images/gallery/photo-26.jpg') center/cover no-repeat fixed;
  position: relative;
}
.photo-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,35,0.6) 0%, rgba(10,18,35,0.75) 100%);
}
.photo-break-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.photo-break-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: white;
  margin-bottom: 0.75rem;
}
.photo-break-sub {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ─── PHOTO GALLERY ─────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-hero-item {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  background: var(--sand);
  transition: all 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--muted);
  gap: 0.5rem;
}
.gallery-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}
.gallery-hero-item .gallery-placeholder-icon {
  font-size: 4rem;
}
.gallery-placeholder-text {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.6;
}
.gallery-hero-item .gallery-placeholder-text {
  font-size: 1rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 18, 40, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.2s ease;
}
.lightbox-img-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 85vw;
  max-height: 85vh;
  z-index: 1;
}
.lightbox img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-counter {
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 0.75rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── AMENITIES ─────────────────────────────────────────── */
.amenity-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}
.amenity-group-title:first-of-type {
  margin-top: 0.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--sand);
  border-radius: 12px;
  transition: all 0.2s;
}
.amenity-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.amenity-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-pale), rgba(74,171,219,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--sky);
  font-weight: 700;
  flex-shrink: 0;
}

.amenity-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ─── DETAILED INVENTORY DROPDOWNS ─────────────────────── */
.inventory-dropdowns {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.inventory-intro {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.inventory-section {
  background: var(--sand);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.inventory-section[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.inventory-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}
.inventory-toggle::-webkit-details-marker { display: none; }
.inventory-toggle::marker { display: none; content: ''; }
.inventory-toggle:hover {
  background: rgba(74,171,219,0.06);
}

.inventory-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-pale), rgba(74,171,219,0.15));
  color: var(--sky);
  font-size: 0.65rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.inventory-section[open] .inventory-toggle-icon {
  transform: rotate(180deg);
}

.inventory-content {
  padding: 0.5rem 1.5rem 1.75rem;
}

.inventory-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}
.inventory-subtitle:first-child {
  margin-top: 0.25rem;
}

.inventory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.3rem 1.5rem;
}

.inventory-list li {
  font-size: 0.82rem;
  color: var(--navy-mid);
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.inventory-list li::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  color: var(--sky);
  font-weight: 700;
}

/* ─── GUEST REVIEWS ────────────────────────────────────── */
.reviews-section {
  background: transparent;
  padding: 1rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.review-card {
  background: var(--sand);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

.review-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--navy-mid);
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--navy-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.review-date {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ─── LOCATION SECTION ──────────────────────────────────── */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
  align-items: start;
}

.location-info {
  background: var(--sand);
  border-radius: 16px;
  padding: 2rem;
}

.location-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--navy-mid);
}
.location-text strong { color: var(--navy); }

.nearby-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.nearby-pill {
  padding: 0.4rem 0.9rem;
  background: var(--white);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
}

.nearby-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nearby-list li {
  font-size: 0.82rem;
  color: var(--navy-mid);
  line-height: 1.5;
  padding-left: 0.25rem;
}
.nearby-list li strong { color: var(--navy); }

.location-map {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── BOOKING CTA ───────────────────────────────────────── */
.booking-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3060 100%);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}
.booking-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74,171,219,0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.booking-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 65%);
  bottom: -120px; right: -60px;
  pointer-events: none;
}

.booking-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  position: relative; z-index: 1;
  margin-bottom: 1rem;
}
.booking-title em { font-style: italic; color: var(--sky); }

.booking-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.55);
  position: relative; z-index: 1;
  margin-bottom: 1.5rem;
}

.booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: white;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 30px rgba(201,169,110,0.4);
  transition: all 0.25s ease;
  position: relative; z-index: 1;
}
.booking-btn:hover {
  transform: translateY(-3px);
  background: var(--gold-light);
  box-shadow: 0 12px 40px rgba(201,169,110,0.5);
}

.booking-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1.5rem;
  position: relative; z-index: 1;
}

/* ─── POLICIES ──────────────────────────────────────────── */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.policy-card {
  background: var(--sand);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.25s ease;
}
.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

.policy-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.policy-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.policy-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.policy-list li {
  font-size: 0.85rem;
  color: var(--navy-mid);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}
.policy-list li::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  color: var(--sky);
  font-weight: 700;
}
.policy-list li strong {
  color: var(--navy);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-item {
  background: var(--sand);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  list-style-type: none;
  user-select: none;
  transition: background 0.2s ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; font-size: 0; }
.faq-item > summary { list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--sky);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover {
  background: rgba(74,171,219,0.04);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--navy-mid);
}
.faq-answer a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
}
.faq-answer a:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-hero-item {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .location-content {
    grid-template-columns: 1fr;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 480px) {
  .featured-badge {
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    max-width: 320px;
  }
  .featured-name {
    font-size: 1rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .gallery-hero-item {
    grid-column: 1 / -1;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .inventory-list {
    grid-template-columns: 1fr;
  }
  .inventory-toggle {
    font-size: 0.9rem;
    padding: 1rem 1.25rem;
  }
  .inventory-content {
    padding: 0.5rem 1.25rem 1.5rem;
  }
  .welcome-stats {
    gap: 0.5rem;
  }
  .welcome-stats .stat-item {
    flex: 0 1 calc(33.33% - 0.4rem);
    padding: 0.75rem 0.5rem;
  }
  .stat-number {
    font-size: 1.8rem;
  }
}
