/* ==========================================================================
   Aura Unisex Salon — Premium Mobile-First Design System
   Exact match to reference mobile screenshots (salonmangalore.com)
   Cloudflare Pages Static Compatible (Zero build, Zero dependencies)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Surface Colors */
  --bg-main: #0c0f17;
  --bg-surface: #131722;
  --bg-surface-elevated: #181d2c;
  --bg-surface-card: #141926;
  --bg-surface-card-selected: #161c2c;
  --bg-card-border: rgba(212, 175, 55, 0.4);
  --bg-card-border-subtle: rgba(255, 255, 255, 0.08);

  /* Gold Palette matching screenshots */
  --gold-primary: #d4af37;
  --gold-light: #f5e2a8;
  --gold-title: #dfb76c;
  --gold-pill: #e5a93c;
  --gold-gradient: linear-gradient(135deg, #f7e1a0 0%, #d4af37 50%, #aa8420 100%);
  --gold-btn-gradient: linear-gradient(135deg, #e5b84c 0%, #d4af37 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.03) 100%);

  /* Action Buttons */
  --call-bg: linear-gradient(135deg, #e5b84c 0%, #c49320 100%);
  --call-text: #0e0f14;
  --call-hover: linear-gradient(135deg, #f5cc64 0%, #d6a72e 100%);

  --whatsapp-bg: linear-gradient(135deg, #25D366 0%, #1ea952 100%);
  --whatsapp-text: #ffffff;
  --whatsapp-hover: linear-gradient(135deg, #2be670 0%, #22b859 100%);
  --whatsapp-glow: 0 4px 18px rgba(37, 211, 102, 0.35);

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #c5cad6;
  --text-muted: #8b92a5;
  --text-dim: #60677a;

  /* Offer Accents */
  --magenta-badge: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Typography */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max-w: 520px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(212, 175, 55, 0.04), transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  padding: 8px 12px calc(80px + env(safe-area-inset-bottom, 0px));
}

.app-container {
  width: 100%;
  max-width: var(--container-max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Section A: Compact Branding
   Exact Order:
   1. Salon logo (white scissors on black badge)
   2. Aura Unisex Salon (warm luxury gold)
   3. Premium Salon in Mangalore (gold-bordered pill)
   4. Shivbhag, Mallikatte, Kadri, Mangalore (location pin + muted text)
   ========================================================================== */
.branding-compact {
  text-align: center;
  padding: 6px 4px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-badge {
  background: #000000;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.logo-img {
  width: auto;
  height: 38px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  /* Invert black logo to white on dark surface matching screenshot */
  filter: invert(1) brightness(1.2);
}

.salon-name {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-title);
  margin-bottom: 4px;
  line-height: 1.15;
}

.salon-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(18, 22, 32, 0.9);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-primary);
  margin-bottom: 4px;
}

.salon-category-star {
  color: var(--gold-primary);
  font-size: 0.78rem;
}

.salon-location-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #b5b9c4;
  font-weight: 500;
  margin-bottom: 6px;
}

.salon-location-compact svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Back Link for sub-pages */
.subpage-back-wrapper {
  text-align: center;
  margin-bottom: 10px;
}

.back-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.back-btn-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.35);
}

.back-btn-pill svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   Festive Offers Container (Matching Reference Screenshot 1)
   Gold border, ✨ NOVEMBER FESTIVE OFFERS ✨ header, two compact cards
   ========================================================================== */
.offers-reference-box {
  background: rgba(17, 21, 31, 0.95);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 10px 10px 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.offers-box-heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #f3cf7a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.offers-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offer-card-item {
  background: rgba(10, 13, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-badge-magenta {
  background: var(--magenta-badge);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 7px;
  border-radius: var(--radius-xs);
  box-shadow: 0 0 10px rgba(233, 30, 99, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.offer-badge-gold {
  background: linear-gradient(135deg, #d4af37, #b89123);
  color: #0c0e14;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 4px 7px;
  border-radius: var(--radius-xs);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.offer-card-body {
  flex-grow: 1;
}

.offer-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1px;
}

.offer-card-sub {
  font-size: 0.7rem;
  color: #9aa2b5;
  line-height: 1.25;
}

/* ==========================================================================
   Section C: Goal Section & First-Screen Fold Configuration
   Position Option 2 ("Check Prices") so that approximately the top half
   of its card is visible at the bottom of the initial screen on mobile.
   ========================================================================== */
.first-screen-fold {
  display: flex;
  flex-direction: column;
}

.goal-first-group {
  display: flex;
  flex-direction: column;
}

.goal-cards-remaining {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .first-screen-fold {
    /* 100svh (small/initial mobile viewport height)
       - 60px (mobile sticky contact bar height)
       - 28px (top half of Check Prices card visible above sticky bar)
       - 8px (body padding-top)
       - 8px (gap between Card 1 and Card 2)
       = 100svh - 104px
    */
    min-height: calc(100vh - 104px);
    min-height: calc(100dvh - 104px);
    min-height: calc(100svh - 104px - env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .branding-compact {
    padding: clamp(6px, 1.8vh, 12px) 4px clamp(4px, 1.2vh, 8px);
  }

  .offers-reference-box {
    margin-bottom: clamp(6px, 1.6vh, 10px);
  }

  .goal-first-group {
    margin-bottom: 0;
  }

  .goal-header-block {
    margin-bottom: clamp(6px, 1.5vh, 10px);
  }

  .goal-card-option {
    min-height: 54px;
  }
}

@media (min-width: 641px) {
  .first-screen-fold {
    min-height: auto;
    display: block;
  }

  .goal-cards-remaining {
    margin-top: 8px;
    gap: 8px;
  }
}

.goal-reference-section {
  margin-bottom: 10px;
}

.goal-label-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.goal-title-main {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  line-height: 1.2;
}

.goal-subtitle {
  font-size: 0.78rem;
  color: #8e98ac;
  margin-bottom: 8px;
}

.goal-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.goal-card-option {
  background: var(--bg-surface-card);
  border: 1.2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: none;
}

.goal-card-option:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: #182030;
}

/* Selected State (as seen on "Check Prices" in Screenshot 2) */
.goal-card-option.selected {
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.22);
  background: var(--bg-surface-card-selected);
}

.goal-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goal-icon-calendar {
  background: #202738;
  color: #ffffff;
}

.goal-icon-calendar svg {
  width: 20px;
  height: 20px;
}

.goal-icon-tag {
  background: linear-gradient(135deg, #e5a93c 0%, #c98e26 100%);
  color: #1a1508;
}

.goal-icon-tag svg {
  width: 20px;
  height: 20px;
}

.goal-icon-star {
  background: #202738;
  color: #e5b84c;
}

.goal-icon-star svg {
  width: 20px;
  height: 20px;
  fill: #e5b84c;
}

.goal-card-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  flex-grow: 1;
  text-align: left;
  line-height: 1.25;
}

.goal-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #3b465c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  color: #0c0e14;
}

.goal-card-option.selected .goal-radio-circle {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0c0e14;
}

/* ==========================================================================
   Continue Button (Matching Reference Screenshot 2)
   ========================================================================== */
.btn-continue-gold {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius-md);
  background: var(--gold-btn-gradient);
  color: #0c0e14;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.32);
  margin-top: 6px;
  margin-bottom: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-continue-gold:hover, .btn-continue-gold:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45);
}

/* ==========================================================================
   Section D: Minimal Contact Information
   ========================================================================== */
.contact-minimal-line {
  text-align: center;
  padding: 6px 10px 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   Pricing Page (/prices/)
   ========================================================================== */
.prices-title-block {
  text-align: center;
  margin-bottom: 12px;
}

.prices-main-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Gender Selector */
.gender-switch-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.gender-pills-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--bg-card-border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  width: 100%;
  max-width: 280px;
}

.gender-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gender-tab-btn.active {
  background: var(--call-bg);
  color: var(--call-text);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Compact Single-Line Service Prices List */
.prices-list-box {
  background: var(--bg-surface-card);
  border: 1px solid var(--bg-card-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
}

.price-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.15s ease;
}

.price-item-row:last-child {
  border-bottom: none;
}

.price-item-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.price-item-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-item-val {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  margin-left: 12px;
}

.price-item-val-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-left: 12px;
  white-space: nowrap;
}

.price-strike {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-deal {
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.price-item-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-item-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-item-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.price-pill-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffadb6;
  background: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.35);
  padding: 1px 5px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Pricing Page: Prominent Festive Offer Boxes (Requirement 2)
   Consistent with dark-and-gold design, not labelled as a note.
   ========================================================================== */
.festive-offer-box {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 6px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.festive-offer-box-header {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.festive-offer-sparkle {
  color: var(--gold-primary);
}

.festive-offer-badge-tag {
  background: var(--gold-primary);
  color: #0c0e14;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.festive-offer-box-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.festive-offer-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 0.8rem;
}

.festive-offer-regular-label {
  color: var(--text-muted);
}

.festive-offer-regular-label .price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.festive-offer-deal-label {
  color: var(--gold-light);
  font-weight: 600;
}

.price-deal-highlight {
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-left: 3px;
}

/* ==========================================================================
   Pricing Page — Contact Section
   ========================================================================== */
.pricing-contact-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  margin-bottom: 14px;
}

.pricing-contact-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-contact-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.pricing-contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
}

/* ==========================================================================
   Appointment Page (/book-appointment/)
   ========================================================================== */
.appt-card-wrapper {
  background: var(--bg-surface-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 14px;
}

.appt-page-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.appt-page-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 20px;
}

.appt-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

/* ==========================================================================
   Buttons System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-call {
  background: var(--call-bg);
  color: var(--call-text);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

.btn-call:hover, .btn-call:active {
  background: var(--call-hover);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--whatsapp-bg);
  color: var(--whatsapp-text);
  box-shadow: var(--whatsapp-glow);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Mobile Sticky Contact Bar
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 15, 23, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.55);
}

.sticky-bar-inner {
  width: 100%;
  max-width: var(--container-max-w);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sticky-bar-inner .btn {
  padding: 10px 12px;
  font-size: 0.88rem;
  min-height: 44px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.simple-footer {
  text-align: center;
  padding: 12px 10px 8px;
  font-size: 0.75rem;
  color: #8b92a5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
  line-height: 1.45;
}

.simple-footer p {
  margin: 0;
}

/* Desktop & Tablet Tweaks */
@media (min-width: 641px) {
  body {
    padding-top: 12px;
  }

  .branding-compact {
    padding: 12px 10px 8px;
  }

  .logo-img {
    height: 44px;
    max-height: 46px;
  }

  .salon-name {
    font-size: 1.6rem;
  }
}
