/* ============================================================
   SMARTSWAY — Premium Luxury Wellness Brand
   Custom CSS alongside Tailwind CSS CDN
   ============================================================ */

/* ----- 1. CSS CUSTOM PROPERTIES ----- */
:root {
  /* Brand palette */
  --color-beige:       #EEF4FA;
  --color-white:       #FFFFFF;
  --color-gold:        #F37820;
  --color-gold-light:  #F7A25F;
  --color-gold-dark:   #C95C14;
  --color-green:       #3B89C7;
  --color-green-light: #6AA9D8;
  --color-green-dark:  #29679A;
  --color-dark:        #14324A;
  --color-dark-soft:   #30536F;
  --color-cream:       #F7FAFD;
  --color-cream-dark:  #DFEAF4;

  /* Functional tokens */
  --color-text:        #14324A;
  --color-text-muted:  #72869A;
  --color-text-light:  #98A9B9;
  --color-border:      #D9E6F1;
  --color-overlay:     rgba(20, 50, 74, 0.58);
  --color-overlay-light: rgba(20, 50, 74, 0.24);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Transitions */
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   0.2s;
  --duration-normal: 0.35s;
  --duration-slow:   0.5s;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(20, 50, 74, 0.07), 0 1px 2px rgba(20, 50, 74, 0.04);
  --shadow-md:  0 4px 12px rgba(20, 50, 74, 0.08), 0 2px 4px rgba(20, 50, 74, 0.05);
  --shadow-lg:  0 10px 30px rgba(20, 50, 74, 0.10), 0 4px 8px rgba(20, 50, 74, 0.05);
  --shadow-xl:  0 20px 50px rgba(20, 50, 74, 0.12), 0 8px 16px rgba(20, 50, 74, 0.06);
  --shadow-gold: 0 4px 20px rgba(243, 120, 32, 0.24);

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Header height */
  --header-height: 80px;
}


/* ----- 2. CUSTOM SCROLLBAR ----- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold-light) var(--color-cream);
}


/* ----- 3. SMOOTH SCROLL & BASE ----- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
  color: var(--color-dark-soft);
  max-width: 68ch;
}

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
}

a:hover {
  color: var(--color-gold);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background-color: var(--color-gold);
  color: var(--color-white);
}

/* Utility: section spacing */
.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

/* Section subtitle */
.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  display: inline-block;
}


/* ----- 4. HERO SECTION ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease-smooth);
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 50, 74, 0.35) 0%,
    rgba(20, 50, 74, 0.15) 40%,
    rgba(20, 50, 74, 0.45) 100%
  );
  z-index: 1;
}

.hero-overlay--radial {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(20, 50, 74, 0.1) 0%, rgba(20, 50, 74, 0.5) 100%),
    linear-gradient(180deg, transparent 60%, rgba(247, 250, 253, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 800px;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 540px;
  margin: 0 auto var(--space-xl);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: hero-scroll-float 2s ease-in-out infinite;
}

.hero-scroll span {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}

@keyframes hero-scroll-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


/* ----- 5. BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--duration-normal) var(--ease-smooth),
    color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — solid gold */
.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Shimmer effect on primary */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s var(--ease-smooth);
}

.btn-primary:hover::after {
  left: 100%;
}

/* Secondary — outline */
.btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* White variant for dark backgrounds */
.btn-white {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn-white:hover {
  background-color: var(--color-cream);
  color: var(--color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Ghost variant */
.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Small button */
.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.7rem;
}

/* Large button */
.btn-lg {
  padding: 1.1rem 3rem;
  font-size: 0.85rem;
}


/* ----- 6. CARD HOVER EFFECTS ----- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-smooth);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.card-img {
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-lg);
}

.card-body h3 {
  margin-bottom: var(--space-sm);
}

.card-body p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
}

/* Minimal card variant */
.card-minimal {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.card-minimal:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}


/* ----- 7. SECTION DIVIDERS ----- */
.divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Soft wave divider */
.divider-wave {
  position: relative;
}

.divider-wave::before {
  content: '';
  display: block;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23F7FAFD' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,35 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
}

/* Gold line divider */
.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: var(--space-xl) 0;
}

.divider-line::before,
.divider-line::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.divider-line .divider-icon {
  color: var(--color-gold);
  font-size: 0.75rem;
}

/* Diamond ornament */
.divider-diamond {
  text-align: center;
  padding: var(--space-lg) 0;
}

.divider-diamond::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}


/* ----- 8. TESTIMONIAL SLIDER ----- */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: var(--space-lg);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.3;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.05em;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 2px solid var(--color-gold-light);
}

/* Star rating */
.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

/* Slider navigation dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--color-gold);
  width: 24px;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.slider-arrow--prev { left: -22px; }
.slider-arrow--next { right: -22px; }


/* ----- 9. WHATSAPP FLOATING BUTTON ----- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  text-decoration: none;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  color: var(--color-white);
}

.whatsapp-float:active {
  transform: scale(1.02);
}

/* Pulse animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Tooltip */
.whatsapp-float .tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}


/* ----- 10. STICKY HEADER ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(1rem, 4vw, 3rem);
  transition:
    background-color var(--duration-normal) var(--ease-smooth),
    box-shadow var(--duration-normal) var(--ease-smooth),
    backdrop-filter var(--duration-normal) var(--ease-smooth);
}

/* Transparent state (at top) */
.header--transparent {
  background-color: transparent;
}

.header--transparent .nav-link {
  color: var(--color-white);
}

.header--transparent .nav-link:hover {
  color: var(--color-gold-light);
}

.header--transparent .logo-text {
  color: var(--color-white);
}

/* Solid state (scrolled) */
.header--solid,
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header--solid .nav-link,
.header.scrolled .nav-link {
  color: var(--color-dark);
}

.header--solid .nav-link:hover,
.header.scrolled .nav-link:hover {
  color: var(--color-gold);
}

.header--solid .logo-text,
.header.scrolled .logo-text {
  color: var(--color-dark);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--duration-normal) var(--ease-smooth);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration-normal) var(--ease-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header CTA button */
.header .btn-primary {
  padding: 0.625rem 1.5rem;
  font-size: 0.7rem;
}


/* ----- 11. SERVICE CARDS ----- */
.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-slow) var(--ease-smooth);
  group: true;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.service-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 50, 74, 0.3) 100%);
  transition: opacity var(--duration-normal) var(--ease-smooth);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--color-gold);
  color: var(--color-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card-body {
  padding: var(--space-lg);
}

.service-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: color var(--duration-normal) var(--ease-smooth);
}

.service-card:hover .service-card-body h3 {
  color: var(--color-gold);
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.service-card-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gold);
  font-weight: 600;
}

.service-card-duration {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Icon-based service cards */
.service-icon-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--duration-slow) var(--ease-smooth);
}

.service-icon-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  color: var(--color-gold);
  font-size: 1.5rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.service-icon-card:hover .icon {
  background: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.1);
}


/* ----- 12. BOOKING CALENDAR ----- */
.booking-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: var(--space-lg);
}

.calendar-header {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-sm);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  border: none;
  background: transparent;
  color: var(--color-dark);
}

.calendar-day:hover {
  background: var(--color-cream);
}

.calendar-day.today {
  font-weight: 600;
  color: var(--color-gold);
}

.calendar-day.selected {
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 600;
}

.calendar-day.disabled {
  color: var(--color-text-light);
  cursor: not-allowed;
  opacity: 0.4;
}

.calendar-day.available::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-green);
  position: absolute;
  bottom: 4px;
}

/* Time slots */
.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-slot {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-smooth);
  background: transparent;
}

.time-slot:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.time-slot.selected {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.time-slot.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}


/* ----- 13. FOOTER ----- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer h4,
.footer h5 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast) var(--ease-smooth);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--color-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: var(--space-xl) 0 var(--space-lg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-normal) var(--ease-smooth);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Newsletter form in footer */
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.footer-newsletter input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--color-gold);
}


/* ----- 14. PAGE LOADING / TRANSITION ----- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  letter-spacing: 0.05em;
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--color-gold);
  border-radius: var(--radius-full);
  animation: loader-slide 1.2s ease-in-out infinite;
}

@keyframes loader-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Page transition fade */
.page-transition {
  animation: page-fade-in 0.6s var(--ease-smooth) both;
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ----- 15. MOBILE MENU OVERLAY ----- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: all var(--duration-normal) var(--ease-smooth);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-slow) var(--ease-smooth),
    visibility var(--duration-slow);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .nav-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  padding: 0.75rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-normal) var(--ease-smooth),
    transform var(--duration-normal) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth);
}

.mobile-menu.open .nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger mobile menu items */
.mobile-menu.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open .nav-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.open .nav-link:nth-child(7) { transition-delay: 0.4s; }

.mobile-menu .nav-link::after {
  display: none;
}

.mobile-menu .nav-link:hover {
  color: var(--color-gold);
}


/* ----- 16. CAFE MENU CARDS ----- */
.cafe-menu {
  display: grid;
  gap: var(--space-lg);
}

.cafe-category {
  margin-bottom: var(--space-xl);
}

.cafe-category-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.cafe-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px dashed var(--color-border);
  transition: background-color var(--duration-fast) var(--ease-smooth);
}

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

.cafe-item:hover {
  background: var(--color-cream);
  margin: 0 calc(-1 * var(--space-md));
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  border-radius: var(--radius-sm);
}

.cafe-item-info h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.cafe-item-info p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.cafe-item-price {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-gold);
  font-weight: 600;
  white-space: nowrap;
}

/* Cafe featured item */
.cafe-item-featured {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.cafe-item-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cafe-item-featured img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cafe-item-featured .cafe-item-body {
  padding: var(--space-md);
}

.cafe-item-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cafe-item-tag--vegan {
  background: rgba(122, 158, 126, 0.15);
  color: var(--color-green-dark);
}

.cafe-item-tag--popular {
  background: rgba(201, 169, 110, 0.15);
  color: var(--color-gold-dark);
}

.cafe-item-tag--new {
  background: rgba(20, 50, 74, 0.08);
  color: var(--color-dark);
}


/* ----- 17. BLOG CARDS ----- */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-category {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--color-white);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.blog-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  transition: color var(--duration-fast) var(--ease-smooth);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-body h3 {
  color: var(--color-gold);
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

.blog-card-link::after {
  content: '\2192';
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.blog-card:hover .blog-card-link::after {
  transform: translateX(4px);
}


/* ----- 18. BEFORE/AFTER COMPARISON SLIDER ----- */
.comparison-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: col-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
}

.comparison-slider img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.comparison-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}

.comparison-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--color-white);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.comparison-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-handle::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  color: var(--color-dark);
  z-index: 1;
}

.comparison-label {
  position: absolute;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(20, 50, 74, 0.7);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.comparison-label--before { left: 1rem; }
.comparison-label--after  { right: 1rem; }


/* ----- 19. MODAL / LIGHTBOX ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 50, 74, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-normal) var(--ease-smooth),
    visibility var(--duration-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-lg) 0;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--color-cream);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.modal-close:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-footer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Lightbox variant */
.lightbox .modal {
  max-width: 90vw;
  background: transparent;
  box-shadow: none;
}

.lightbox .modal img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox .modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.lightbox .modal-close:hover {
  background: var(--color-white);
  color: var(--color-dark);
}


/* ----- 20. FORM INPUTS ----- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-smooth);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237A7A7A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Elegant floating label variant */
.form-floating {
  position: relative;
}

.form-floating .form-input,
.form-floating .form-textarea {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.form-floating .form-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  margin: 0;
  color: var(--color-text-light);
  pointer-events: none;
  transition: all var(--duration-fast) var(--ease-smooth);
  font-size: 0.9rem;
  font-weight: 400;
}

.form-floating .form-textarea ~ .form-label {
  top: 1.25rem;
}

.form-floating .form-input:focus ~ .form-label,
.form-floating .form-input:not(:placeholder-shown) ~ .form-label,
.form-floating .form-textarea:focus ~ .form-label,
.form-floating .form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 0.6rem;
  transform: translateY(0);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--color-dark-soft);
}

/* Form error state */
.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: #D14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.1);
}

.form-error-message {
  font-size: 0.75rem;
  color: #D14343;
  margin-top: 0.35rem;
}

/* Form success state */
.form-input.success {
  border-color: var(--color-green);
}


/* ----- 21. AOS ANIMATION OVERRIDES ----- */
[data-aos] {
  transition-timing-function: var(--ease-smooth) !important;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-down"] {
  transform: translateY(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

/* Custom AOS animations */
[data-aos="luxury-reveal"] {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition-property: opacity, transform;
}

[data-aos="luxury-reveal"].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-aos="scale-in"] {
  opacity: 0;
  transform: scale(0.9);
  transition-property: opacity, transform;
}

[data-aos="scale-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

[data-aos="slide-reveal"] {
  clip-path: inset(0 100% 0 0);
  transition-property: clip-path;
}

[data-aos="slide-reveal"].aos-animate {
  clip-path: inset(0 0 0 0);
}

/* Stagger children (use with parent) */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }


/* ----- 22. RESPONSIVE ADJUSTMENTS ----- */

/* Show mobile menu toggle */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-desktop {
    display: none;
  }

  :root {
    --header-height: 68px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  /* Hero adjustments */
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: var(--space-md);
  }

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

  .hero-scroll {
    display: none;
  }

  /* Card grid stacking */
  .service-card-img {
    height: 200px;
  }

  /* Footer stacking */
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Testimonial */
  .slider-arrow {
    display: none;
  }

  /* Comparison slider */
  .comparison-label {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }

  /* Modal */
  .modal {
    margin: 1rem;
    max-height: 85vh;
  }

  /* WhatsApp button */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float .tooltip {
    display: none;
  }

  /* Booking */
  .booking-section {
    padding: var(--space-lg);
  }

  /* Blog card image */
  .blog-card-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }

  .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.7rem;
    width: 100%;
  }

  .btn-lg {
    padding: 0.875rem 2rem;
  }

  .hero {
    min-height: 75vh;
  }

  .service-card-body,
  .blog-card-body {
    padding: var(--space-md);
  }

  /* Calendar compact */
  .calendar-day {
    font-size: 0.75rem;
  }

  .time-slots {
    gap: 0.35rem;
  }

  .time-slot {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }

  /* Footer newsletter stacking */
  .footer-newsletter {
    flex-direction: column;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    transform: scale(1) !important;
  }

  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }

  .whatsapp-float::before {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-border: #999;
    --color-text-muted: #555;
    --color-text-light: #666;
  }

  .btn-secondary {
    border-width: 2px;
  }

  .nav-link::after {
    height: 2px;
  }
}
