/* ============================================
   Pride Luxury Spa — Custom CSS
   Works alongside Tailwind CDN
   ============================================ */

/* Google Fonts are loaded in header.php */

/* CSS Variables (luxury theme) */
:root {
  --gold: hsl(36, 56%, 58%);
  --gold-light: hsl(38, 60%, 72%);
  --luxury-black: hsl(0, 0%, 4%);
  --luxury-dark: hsl(0, 0%, 7%);
  --luxury-charcoal: hsl(0, 0%, 12%);
  --luxury-cream: hsl(38, 36%, 90%);
  --luxury-cream-muted: hsl(38, 20%, 55%);
  --border-color: hsl(36, 20%, 18%);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--luxury-black);
  color: var(--luxury-cream);
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   LUXURY CUSTOM CLASSES
   ============================================ */

.luxury-card {
  background: var(--luxury-dark);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.luxury-card:hover {
  border-color: rgba(201, 169, 110, 0.5);
  transform: translateY(-4px);
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.7) 100%
  );
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(36, 56%, 58%), transparent);
  border: none;
  margin: 0;
}

.section-padding {
  padding: 4rem 1rem;
}
@media (min-width: 768px) {
  .section-padding { padding: 6rem 1rem; }
}

.font-cormorant {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-sans { font-family: 'Open Sans', sans-serif; }

/* Colors */
.text-gold { color: var(--gold); }
.bg-gold { background-color: var(--gold); }
.text-luxury-cream { color: var(--luxury-cream); }
.text-luxury-cream-muted { color: var(--luxury-cream-muted); }
.bg-luxury-black { background-color: var(--luxury-black); }
.bg-luxury-dark { background-color: var(--luxury-dark); }
.border-border { border-color: var(--border-color); }
.border-gold { border-color: var(--gold); }

/* ============================================
   BUTTONS
   ============================================ */

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--luxury-black);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); color: var(--luxury-black); }
.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--luxury-black);
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn-gold-sm:hover { opacity: 0.9; color: var(--luxury-black); }

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(201, 169, 110, 0.5);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-outline-gold:hover { border-color: var(--gold); background: rgba(201,169,110,0.08); color: var(--gold); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--luxury-cream-muted);
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--luxury-cream); }

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.02em;
  color: rgba(230, 210, 180, 0.8);
  transition: color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

/* Mobile Menu */
.mobile-menu-panel {
  position: fixed;
  top: 0; right: 0;
  width: 18rem;
  height: 100vh;
  background: var(--luxury-dark);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu-panel.open { transform: translateX(0); }
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 190;
  display: none;
}
.mobile-menu-overlay.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: 'Open Sans', sans-serif;
  color: rgba(230, 210, 180, 0.8);
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.mobile-nav-link:hover { color: var(--gold); background: hsl(36, 30%, 15%); }

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}
.hero-section-md {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */

.treatment-card {
  background: var(--luxury-dark);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.treatment-card:hover {
  border-color: rgba(201, 169, 110, 0.5);
  transform: translateY(-4px);
}
.treatment-card-img {
  height: 14rem;
  overflow: hidden;
}
.treatment-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.treatment-card:hover .treatment-card-img img { transform: scale(1.05); }
.treatment-card-body { padding: 1.25rem; }

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.floating-whatsapp {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.floating-whatsapp:hover { transform: scale(1.05); color: #fff; }
@media (min-width: 768px) {
  .floating-whatsapp { bottom: 2rem; right: 1.5rem; }
  .floating-whatsapp .wa-label { display: inline; }
}
.wa-label { display: none; }

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  border-top: 1px solid rgba(201,169,110,0.3);
  background: hsl(0, 0%, 5%);
}
@media (min-width: 768px) { .mobile-sticky-bar { display: none; } }
.sticky-call, .sticky-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.75rem 1rem;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sticky-call { border-right: 1px solid rgba(201,169,110,0.2); }
.sticky-map { border-left: 1px solid rgba(201,169,110,0.2); }
.sticky-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--gold);
  color: var(--luxury-black);
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--luxury-dark);
  border-top: 1px solid var(--border-color);
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8), transparent, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.625rem;
  font-family: 'Open Sans', sans-serif;
  background: rgba(201,169,110,0.9);
  color: var(--luxury-black);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-height: 80vh; max-width: 100%; object-fit: contain; border-radius: 0.375rem; }
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  color: rgba(255,255,255,0.8);
  background: none; border: none;
  font-size: 2rem; cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  background: none; border: none;
  font-size: 3rem; cursor: pointer;
  padding: 0.5rem 1rem;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

/* ============================================
   REVIEW CARDS
   ============================================ */

.review-highlight {
  background: rgba(201,169,110,0.08);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0.75rem;
  border-radius: 0 0.25rem 0.25rem 0;
  margin-bottom: 0.75rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ============================================
   TREATMENT STEPS
   ============================================ */

.step-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

/* ============================================
   MISC UTILITIES
   ============================================ */

.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }

.stars { color: var(--gold); font-size: 1rem; letter-spacing: 0.1em; }

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(10,10,10,0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--luxury-cream);
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* BookingBar section */
.booking-bar {
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(201,169,110,0.2);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  background: linear-gradient(to right, hsl(0, 0%, 7%), hsl(36, 30%, 15%), hsl(0, 0%, 7%));
  text-align: center;
}

/* Fade in on scroll (optional) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
