/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Reset and Variables */
:root {
  --primary: #d4af37; /* Luxury Gold */
  --primary-rgb: 212, 175, 55;
  --secondary: #c5a059; /* Muted Gold */
  --accent-wine: #611326; /* Marsala/Wine Red */
  --accent-wine-bright: #7a1a31; /* Bright Wine for CTA */
  --bg-dark: #120609; /* Deep Burgundy Black */
  --bg-overlay: rgba(18, 6, 9, 0.88); /* Deep Wine Black overlay */
  --text-light: #fdfcfb;
  --text-muted: #e5dfdd;
  --glass-bg: rgba(38, 14, 20, 0.45); /* Glassmorphism card wine-tinted */
  --glass-border: rgba(212, 175, 55, 0.15); /* Gold tinted border */
  --glass-border-hover: rgba(212, 175, 55, 0.4);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --shadow-premium: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);
  --shadow-wine: 0 0 20px rgba(97, 19, 38, 0.35);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-light);
  background-color: var(--bg-dark);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  /* FIXED BACKGROUND IMAGE FOR ENTIRE SITE */
  background-image: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url('assets/bg.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

@keyframes pulseWine {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 26, 49, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(122, 26, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(122, 26, 49, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Layout container */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  justify-content: center;
}

/* Header Elements */
.logo-container {
  margin-bottom: 2rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo {
  max-width: 168px;
  height: auto;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.03);
}

.headline {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  opacity: 0;
}

.headline span {
  color: var(--primary);
  display: block;
  font-style: italic;
  font-weight: 400;
  margin-top: 0.5rem;
}

.slogan {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

/* CTA Main Button */
.cta-container {
  margin-bottom: 3.5rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
  opacity: 0;
}

.btn-cta {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent-wine-bright), var(--accent-wine));
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-premium), var(--shadow-wine);
  transition: var(--transition-smooth);
  animation: pulseWine 2s infinite;
}

.btn-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 20px 40px rgba(97, 19, 38, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-cta:active {
  transform: translateY(-1px);
}

/* Therapists Section - Side by Side */
.therapists-section {
  width: 100%;
  margin-bottom: 4rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
  opacity: 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background-color: var(--primary);
}

.therapists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  width: 100%;
  margin-top: 2rem;
}

.therapist-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0.8rem;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.therapist-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.1);
}

.therapist-img-container {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.03);
}

.therapist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

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

.therapist-info {
  width: 100%;
  padding: 1.2rem 0.4rem 0.4rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.therapist-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-light);
  margin: 0;
  transition: var(--transition-smooth);
}

.therapist-card:hover .therapist-name {
  color: var(--primary);
}

.therapist-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.therapist-cta {
  margin-top: 0.8rem;
  width: 100%;
  padding: 0.6rem 0;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  text-align: center;
}

.therapist-card:hover .therapist-cta {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

@media (max-width: 580px) {
  .therapists-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .therapist-info {
    padding: 0.8rem 0.2rem 0.2rem 0.2rem;
  }

  .therapist-name {
    font-size: 1.15rem;
  }
  
  .therapist-cta {
    font-size: 0.75rem;
    padding: 0.5rem 0;
  }
}

/* Massages / Buttons Section */
.massages-section {
  width: 100%;
  margin-bottom: 3rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
  opacity: 0;
}

.massages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
}

.massage-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 1.2rem 2rem;
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.massage-btn:hover {
  transform: translateX(5px) scale(1.02);
  border-color: var(--primary);
  background: rgba(97, 19, 38, 0.35);
  box-shadow: 0 8px 25px rgba(97, 19, 38, 0.3), 0 0 15px rgba(212, 175, 55, 0.1);
}

.massage-btn svg * {
  transition: var(--transition-smooth);
}

.massage-btn:hover svg * {
  stroke: var(--primary);
}

.massage-btn span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.massage-btn i {
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.massage-btn:hover i {
  transform: translateX(3px);
}

/* Contact / Redirect Page Specific Styles */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(212, 175, 55, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.loading-text {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-light);
}

.loading-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.5;
}

.progress-bar-container {
  width: 200px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 10px;
  animation: fillProgress 2s linear forwards;
}

@keyframes fillProgress {
  to {
    width: 100%;
  }
}

/* Footer Style */
.footer {
  margin-top: auto;
  padding-top: 3rem;
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
  opacity: 0;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer span {
  color: var(--primary);
  font-weight: 400;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .container {
    padding: 3rem 1.2rem;
  }
  
  .headline {
    font-size: 2.2rem;
  }
  
  .slogan {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  
  .therapists-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .therapist-card {
    padding: 0.5rem;
    border-radius: 12px;
  }
  
  .massage-btn {
    padding: 1.1rem 1.5rem;
    font-size: 0.95rem;
  }

  .massages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 480px) {
  .headline {
    font-size: 1.8rem;
  }
  
  .btn-cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}
