/* ============================================================
   FANTA'S EMPIRE — Pages CSS (inner page styles)
   ============================================================ */

/* ── SERVICE NAV PILLS ── */
.service-nav {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}
.service-pills {
  display: flex;
  gap: .5rem;
  padding: 1rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.service-pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-block;
  padding: .45rem 1.2rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
  white-space: nowrap;
  transition: all .2s;
}
.pill:hover, .pill.active {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: white;
}

/* ── SERVICE DETAIL GRID ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-detail-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.service-detail-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-detail-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.service-detail-card.compact img {
  aspect-ratio: 4/3;
}
.service-detail-card.no-img { }

.sdc-body {
  padding: 1.75rem;
}
.sdc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.sdc-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--charcoal);
}
.sdc-body p {
  font-size: .9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.sdc-details {
  margin-bottom: 1.5rem;
}
.sdc-details li {
  font-size: .82rem;
  padding: .3rem 0;
  color: #666;
  border-bottom: 1px solid var(--border);
}
.sdc-details li:last-child { border: none; }
.sdc-details strong { color: var(--charcoal); }

.btn-sm {
  padding: .55rem 1.25rem;
  font-size: .82rem;
}

/* ── BRIDAL GRID ── */
.bridal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.bridal-img-col img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ── POLICY GRID ── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.policy-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.policy-icon { font-size: 2rem; margin-bottom: 1rem; }
.policy-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: white;
  margin-bottom: .75rem;
}
.policy-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ── ABOUT PAGE ── */
.about-story { }
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: .75rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sky-blue), var(--lavender));
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: .25rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: .5rem;
  color: var(--charcoal);
}
.timeline-item p { font-size: .9rem; color: #666; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.value-card .value-letter {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--lavender);
  line-height: 1;
  margin-bottom: .5rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: .5rem;
}
.value-card p { font-size: .85rem; color: #888; }

/* ── SALON SUITES PAGE ── */
.suites-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.suite-feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.suite-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.suite-feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.suite-feature-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .6rem; }
.suite-feature-card p { font-size: .87rem; color: #666; }

.opening-countdown {
  background: linear-gradient(135deg, var(--charcoal), #2d2d2d);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}
.opening-countdown h2 {
  font-family: var(--font-display);
  color: white;
  font-size: 1.8rem;
  margin-bottom: .5rem;
}
.opening-countdown p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}
.countdown-item {
  text-align: center;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.countdown-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-top: .3rem;
}

/* ── MOBILE CONCIERGE PAGE ── */
.coverage-map {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.coverage-areas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.area-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ── GALLERY PAGE ── */
.full-gallery {
  columns: 3;
  column-gap: 1rem;
}
.full-gallery .gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.full-gallery .gallery-item img {
  width: 100%;
  display: block;
}

.gallery-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.gallery-filter-btn {
  padding: .4rem 1.1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  background: white;
  transition: all .2s;
  cursor: pointer;
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: white;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
#lightbox.open { display: flex; align-items: center; justify-content: center; }

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.9);
}
.lb-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lb-img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lb-close {
  position: absolute;
  top: -3rem; right: 0;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  font-size: 2rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.3); }
.lb-caption {
  position: absolute;
  bottom: -2.5rem; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
}

/* ── BOOKING PAGE ── */
.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.booking-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.booking-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.booking-sidebar {}
.booking-info-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.booking-info-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.booking-info-list { display: flex; flex-direction: column; gap: .75rem; }
.booking-info-item {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .87rem; color: var(--charcoal);
}
.booking-info-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--sky-blue); margin-top: .1rem; }

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-section {}
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border: none; }
.contact-item svg { width: 20px; height: 20px; color: var(--sky-blue); flex-shrink: 0; margin-top: .15rem; }
.contact-item-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mid-gray); margin-bottom: .2rem; }
.contact-item a { color: var(--charcoal); font-weight: 500; }
.contact-item a:hover { color: var(--sky-blue); }
.contact-item-value { font-size: .95rem; font-weight: 500; }

/* ── FAQ PAGE ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.faq-question:hover { color: var(--sky-blue); }
.faq-icon {
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  transition: all .25s;
}
.faq-item.open .faq-icon {
  background: var(--sky-blue);
  border-color: var(--sky-blue);
  color: white;
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-size: .93rem;
  color: #666;
  line-height: 1.8;
}

/* ── MEMBERSHIP PAGE ── */
.membership-hero-card {
  background: linear-gradient(135deg, var(--charcoal), #1a2035);
  border-radius: var(--radius-lg);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.membership-hero-card::before {
  content: '♛';
  position: absolute;
  font-size: 20rem;
  color: rgba(212,175,55,.04);
  top: -4rem; left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}
.membership-hero-card h2 {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
.membership-hero-card p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 2rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.benefit-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.benefit-card h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: .6rem; }
.benefit-card p { font-size: .85rem; color: #888; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.three-col { grid-template-columns: repeat(2, 1fr); }
  .booking-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .bridal-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .suites-features-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .service-nav { top: 60px; }
  .policy-grid { grid-template-columns: 1fr; }
  .service-detail-grid.three-col { grid-template-columns: 1fr; }
  .full-gallery { columns: 2; }
  .values-grid { grid-template-columns: 1fr; }
  .suites-features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .membership-hero-card { padding: 2.5rem 1.5rem; }
  .membership-hero-card h2 { font-size: 2.5rem; }
  .countdown-grid { gap: 1rem; }
  .countdown-num { font-size: 2rem; }
}

@media (max-width: 480px) {
  .full-gallery { columns: 1; }
}
