﻿/* ================================================================
   On Spa & Beauty — Main Stylesheet  (modern redesign)
   Palette:
     --cream:        #FAF6EE   page background
     --cream-dark:   #F0E6D0   cards / alt sections
     --cream-mid:    #F7F0E2   mid tone
     --gold:         #C9A96E   primary accent
     --gold-dark:    #A07840   hover / deep accent
     --gold-light:   #EDD9A8   soft highlights
     --gold-glow:    rgba(201,169,110,0.22)
     --text:         #2C1F14   headings / body
     --text-muted:   #7A6050   secondary text
     --white:        #FFFFFF
     --border:       #E4CEA0   dividers
     --glass-bg:     rgba(255,252,247,0.78)
   ================================================================ */

/* -- Variables ----------------------------------------------------------- */
:root {
  --cream:        #FAF6EE;
  --cream-dark:   #F0E6D0;
  --cream-mid:    #F7F0E2;
  --gold:         #C9A96E;
  --gold-dark:    #A07840;
  --gold-light:   #EDD9A8;
  --gold-glow:    rgba(201, 169, 110, 0.22);
  --text:         #2C1F14;
  --text-muted:   #7A6050;
  --white:        #FFFFFF;
  --border:       #E4CEA0;
  --glass-bg:     rgba(255, 252, 247, 0.78);

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;

  --shadow-sm:    0 2px 10px rgba(44, 31, 20, 0.07);
  --shadow:       0 6px 28px rgba(44, 31, 20, 0.10);
  --shadow-hover: 0 14px 44px rgba(44, 31, 20, 0.15);
  --glow:         0 0 0 3px rgba(201, 169, 110, 0.22);

  --transition:   0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -- Reset & Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

/* -- Animations ---------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.reveal {
  opacity: 0;
  animation: fadeUp 0.65s var(--transition) forwards;
}
.reveal-d1 { animation-delay: 0.10s; }
.reveal-d2 { animation-delay: 0.22s; }
.reveal-d3 { animation-delay: 0.34s; }
.reveal-d4 { animation-delay: 0.46s; }

/* ================================================================
   NAVBAR — glassmorphism
   ================================================================ */
.spa-navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 206, 160, 0.45);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(44, 31, 20, 0.06);
  transition: box-shadow var(--transition);
}
.spa-brand {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.brand-on {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(201,169,110,0.35));
}
.brand-spa {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 4px 18px rgba(160, 120, 64, 0.32);
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-gold:hover,
.btn-gold:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160, 120, 64, 0.42);
  filter: brightness(1.06);
}
.btn-gold:hover::after { opacity: 1; }
.btn-gold:active { transform: translateY(0); box-shadow: 0 3px 12px rgba(160, 120, 64, 0.28); }

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.5rem;
  transition: all var(--transition);
}
.btn-outline-gold:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(160, 120, 64, 0.32);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,169,110,0.18) 0%, transparent 65%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,169,110,0.14) 0%, transparent 70%);
  top: -160px; right: -120px;
}
.hero-section::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(201,169,110,0.10) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 0.5rem;
  line-height: 1.8;
}

/* ================================================================
   SECTION COMMON
   ================================================================ */
.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  border-radius: var(--radius-pill);
}
.section-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ================================================================
   OCCASION / SERVICE CARDS
   ================================================================ */
.services-section { background-color: var(--white); }
.service-card {
  background: linear-gradient(155deg, var(--white) 0%, var(--cream-mid) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,169,110,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--gold-light);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.16) 0%, rgba(201,169,110,0.06) 100%);
  border: 1.5px solid rgba(201,169,110,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.75rem;
  color: var(--gold);
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 18px rgba(201,169,110,0.16), inset 0 1px 0 rgba(255,255,255,0.65);
  transition: box-shadow var(--transition);
}
.service-card:hover .service-icon {
  box-shadow: 0 8px 28px rgba(201,169,110,0.32), inset 0 1px 0 rgba(255,255,255,0.65);
}
.service-card:nth-child(2) .service-icon { animation-delay: 0.5s; }
.service-card:nth-child(3) .service-icon { animation-delay: 1.0s; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.5s; }
.service-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ================================================================
   GIFT CARD SECTION
   ================================================================ */
.gift-section {
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(201,169,110,0.12) 0%, transparent 70%),
    var(--cream-dark);
}
.gift-banner {
  background: linear-gradient(135deg, #FDF5E6 0%, var(--cream-mid) 50%, #F5EDD8 100%);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 4rem 2rem;
}
.gift-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 160px; height: 160px;
  background: linear-gradient(-45deg, transparent 50%, rgba(201,169,110,0.10) 50%);
  border-bottom-left-radius: 100%;
  pointer-events: none;
}
.gift-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100px; height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(201,169,110,0.08) 50%);
  border-top-right-radius: 100%;
  pointer-events: none;
}
.gift-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.gift-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.18) 0%, rgba(201,169,110,0.06) 100%);
  border: 1.5px solid rgba(201,169,110,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.85rem;
  color: var(--gold);
  box-shadow: 0 4px 18px rgba(201,169,110,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
}
.gift-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ================================================================
   WELLNESS STRIP
   ================================================================ */
.wellness-strip {
  background: linear-gradient(90deg, var(--cream-dark) 0%, var(--cream) 50%, var(--cream-dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.wellness-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}
.wellness-item:hover {
  color: var(--gold-dark);
  background: rgba(201,169,110,0.10);
}
.wellness-item i {
  font-size: 1.05rem;
  color: var(--gold);
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-section { background-color: var(--white); }
.step-item { padding: 1rem 0.5rem; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 20px rgba(160, 120, 64, 0.35), 0 0 0 8px rgba(201,169,110,0.12);
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(201,169,110,0.45);
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .steps-row { position: relative; }
  .steps-row::before {
    content: '';
    position: absolute;
    top: 30px;
    right: calc(16.66% + 30px);
    left:  calc(16.66% + 30px);
    height: 1px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
    opacity: 0.5;
    z-index: 0;
  }
  .step-item { position: relative; z-index: 1; }
}

/* ================================================================
   BOOKING FORM
   ================================================================ */
.booking-section {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,169,110,0.10) 0%, transparent 60%),
    var(--cream);
  min-height: calc(100vh - 64px);
}
.booking-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
}
.booking-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.booking-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.booking-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
}
.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.req { color: var(--gold-dark); }
.spa-input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background-color: var(--cream-mid);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
  width: 100%;
}
.spa-input:focus {
  border-color: var(--gold);
  box-shadow: var(--glow);
  background-color: var(--white);
  outline: none;
}
.spa-input.is-invalid { border-color: #c0392b; }
.spa-input option { font-family: 'Tajawal', sans-serif; }

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 576px) {
  .occasion-grid { grid-template-columns: repeat(4, 1fr); }
}
.occasion-option { cursor: pointer; }
.occasion-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream-mid);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  user-select: none;
}
.occasion-label:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,169,110,0.08);
  transform: translateY(-2px);
}
.occasion-radio:checked + .occasion-label {
  border-color: var(--gold);
  background: rgba(201,169,110,0.14);
  color: var(--gold-dark);
  box-shadow: var(--glow), 0 4px 14px rgba(201,169,110,0.18);
  transform: translateY(-2px);
}
.occasion-emoji {
  font-size: 1.45rem;
  line-height: 1;
  color: var(--gold);
  transition: transform var(--transition);
}
.occasion-radio:checked + .occasion-label .occasion-emoji {
  transform: scale(1.2);
}

.booking-alert {
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.93rem;
}
.booking-alert.alert-success {
  background-color: #f0faf5;
  border: 1.5px solid #6fcf97;
  color: #1a6636;
}
.booking-alert.alert-danger {
  background-color: #fdf4f3;
  border: 1.5px solid #e57373;
  color: #922b21;
}
.spa-error { font-size: 0.82rem; color: #c0392b; margin-top: 0.3rem; }

/* ================================================================
   RESULT PAGES
   ================================================================ */
.result-section {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,169,110,0.10) 0%, transparent 60%),
    var(--cream);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}
.result-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.2rem;
  max-width: 480px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
}
.result-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 auto 1.2rem;
}
.success-icon {
  background-color: rgba(111, 207, 151, 0.12);
  color: #27ae60;
  border: 2px solid rgba(111, 207, 151, 0.55);
  box-shadow: 0 0 0 8px rgba(111, 207, 151, 0.08);
}
.error-icon {
  background-color: rgba(229, 115, 115, 0.10);
  color: #c0392b;
  border: 2px solid rgba(229, 115, 115, 0.45);
  box-shadow: 0 0 0 8px rgba(229, 115, 115, 0.06);
}
.result-title { font-size: 1.65rem; font-weight: 700; color: var(--text); }
.result-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

/* ================================================================
   FOOTER
   ================================================================ */
.spa-footer {
  background: linear-gradient(160deg, #1E1410 0%, var(--text) 100%);
  color: var(--cream-dark);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}
.spa-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.footer-contact a {
  color: var(--gold-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }
.footer-icon { font-style: normal; }
.footer-copy { font-size: 0.78rem; color: rgba(240, 230, 208, 0.45); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 576px) {
  .booking-card { padding: 1.8rem 1.2rem; }
  .hero-section { padding: 64px 0 50px; }
  .gift-banner { padding: 2.5rem 1.2rem; }
  .gift-banner::before,
  .gift-banner::after { display: none; }
}
