/* ==========================================================================
   SereneAroma - Artisanal Aromatherapy Massage & Botanical Wellness
   Premium Relaxing Floral & Oil-Based Sanctuary Stylesheet
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens & Color Palette --- */
:root {
  /* Brand palette derived from official SereneAroma logo */
  --bg-primary: #FAF7F2;       /* Warm ivory cream matching logo background */
  --bg-secondary: #F2EFE9;     /* Soothing warm linen & natural cotton */
  --bg-tertiary: #E8E3DA;      /* Delicate oatmeal & dried herbal sand */
  --text-primary: #212920;     /* Deep forest bark & warm slate */
  --text-secondary: #515C50;   /* Muted eucalyptus charcoal */
  --text-light: #7E8A7D;       /* Delicate herbal sage */
  
  --color-primary: #2D402D;       /* Official Logo Forest Botanical Green */
  --color-primary-dark: #1C2B1C;  /* Deeper green for hover states */
  --color-primary-light: #EDF3ED; /* Soft radiant herbal cream */
  
  --color-gold: #2D402D;          /* Matched to official logo green */
  --color-gold-dark: #1C2B1C;     /* Deep logo green for titles & hover */
  --color-gold-light: #EDF3ED;    /* Soft logo green cream tint */
  --color-sage: #4B684B;          /* Muted botanical olive sage */
  --color-sage-light: #E4ECE4;    /* Gentle herbal mist */
  --color-border: #D8E0D7;        /* Delicate organic petal border tone */
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Shadows & Radius */
  --shadow-soft: 0 8px 30px rgba(45, 64, 45, 0.04);
  --shadow-medium: 0 14px 45px rgba(45, 64, 45, 0.12);
  --radius-lg: 16px;
  --radius-md: 8px;
  --radius-sm: 4px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- Base Reset & Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.gold-text {
  color: var(--color-gold-dark);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-gold-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: 46px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-title.left-align::after {
  margin: 20px 0 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-gold);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 64, 45, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.btn-text:hover {
  border-color: var(--color-gold);
  gap: 12px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 220, 213, 0.6);
}

.header.scrolled {
  background-color: rgba(250, 247, 245, 0.98);
  box-shadow: var(--shadow-soft);
  height: 72px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 26px;
  height: 26px;
  fill: var(--color-gold);
}

.nav-logo-img {
  height: 30px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.header.scrolled .nav-logo-img {
  height: 26px;
}

.nav-logo-img:hover {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(247, 238, 231, 0.8) 0%, transparent 60%);
}

.hero-split {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 75vh;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 56px;
  margin-bottom: 24px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image-container {
  flex: 1.2;
  height: 75vh;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero:hover .hero-image {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-primary) 0%, rgba(250, 247, 245, 0) 25%);
}

/* --- Philosophy Section --- */
.philosophy {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-image-wrapper {
  position: relative;
}

.philosophy-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.philosophy-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background-color: var(--bg-primary);
  border: 1px solid var(--color-border);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 230px;
  text-align: center;
}

.philosophy-badge h4 {
  font-size: 24px;
  margin-bottom: 4px;
}

.philosophy-badge p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.philosophy-content h3 {
  font-size: 40px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.philosophy-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.therapist-credentials-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-sage-light);
  border: 1px solid rgba(45, 64, 45, 0.18);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 28px;
  transition: var(--transition-fast);
}

.therapist-credentials-badge:hover {
  background-color: #E2ECE2;
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.cred-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-icon {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.cred-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cred-text strong {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

.cred-text span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.philosophy-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.phil-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.phil-feature-icon {
  width: 22px;
  height: 22px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.phil-feature h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.phil-feature p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Services & Menu Section --- */
.services {
  background-color: var(--bg-primary);
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  background-color: transparent;
}

.tab-btn:hover {
  border-color: var(--color-gold);
  color: var(--text-primary);
}

.tab-btn.active {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(45, 64, 45, 0.25);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card-img-wrapper {
  overflow: hidden;
  height: 230px;
  position: relative;
  background-color: var(--bg-secondary);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.6s ease;
}

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

.service-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.service-duration {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-duration-icon {
  width: 14px;
  height: 14px;
  fill: var(--text-light);
}

.service-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-gold-dark);
}

.service-card h4 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* --- Service Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 34, 38, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-primary);
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background-color: rgba(250, 247, 245, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  transform: rotate(90deg);
  background-color: var(--color-gold-light);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  fill: var(--text-primary);
}

.modal-image {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 36px;
}

.modal-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 32px;
}

.modal-price-tag {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-gold-dark);
}

.modal-meta-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

.modal-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.modal-benefits-title {
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-gold-dark);
}

.modal-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  margin-bottom: 32px;
}

.modal-benefits-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-benefits-list li::before {
  content: "•";
  color: var(--color-gold);
  font-weight: bold;
}

/* --- Call Back & Booking Section --- */
.booking-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow-x: hidden;
}

.booking-wrapper {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  overflow: hidden;
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.booking-header {
  padding: 40px;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  box-sizing: border-box;
}

.booking-title {
  font-size: 34px;
  margin-bottom: 12px;
}

.booking-call-btn {
  font-size: 17px;
  padding: 16px 36px;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-flex;
}

.booking-body {
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
}

.details-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  word-break: break-word;
}

.form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  background-color: var(--bg-primary);
  transition: var(--transition-fast);
  color: var(--text-primary);
}

select.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2365545E'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(45, 64, 45, 0.2);
  background-color: #FFFFFF;
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Confirmation icon & box */
.confirm-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--color-sage-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.confirm-icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--color-sage);
}

.confirm-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.confirm-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* --- Wellness Benefits --- */
.benefits {
  background-color: var(--bg-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  background-color: #FFFFFF;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-medium);
}

.benefit-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  fill: var(--color-sage);
}

.benefit-card h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Spa Gallery & Ambience --- */
.gallery {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: 1/2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 34, 38, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.gallery-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-icon-box svg {
  width: 18px;
  height: 18px;
  fill: var(--text-primary);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.12);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-icon-box {
  transform: scale(1);
}

/* Lightbox Viewer */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 34, 38, 0.88);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: var(--bg-primary);
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 24px;
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: #F59E0B;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.testimonial-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-dark);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--color-gold);
  transform: scale(1.3);
}

/* --- Footer --- */
.footer {
  background-color: #172218;
  color: #E2ECE2;
  padding: 80px 0 30px;
  border-top: 1px solid #283729;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: #FFFFFF;
}

.footer-brand p {
  font-size: 14px;
  color: #DDE8DE;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #273729;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: #3D5A40;
  transform: translateY(-2px);
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: #FFFFFF;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #D2E0D3;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-hours-list {
  list-style: none;
}

.footer-hours-list li {
  font-size: 13.5px;
  color: #D2E0D3;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.footer-hours-list strong {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-note {
  margin-top: 15px !important;
  font-size: 13px !important;
  color: #BEE3C2 !important;
  font-style: italic;
  display: block !important;
}

.footer-phone {
  margin-top: 6px !important;
  font-size: 13.5px !important;
  color: #E8F2E9 !important;
  display: block !important;
}

.footer-address {
  font-size: 14px;
  color: #E2ECE2;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-email {
  font-size: 14px;
  color: #E2ECE2;
  line-height: 1.6;
}

.footer-email a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #81C784;
  transition: var(--transition-fast);
}

.footer-email a:hover {
  color: #BEE3C2;
  text-decoration-color: #BEE3C2;
}

/* Professional Policy Box in Footer */
.footer-policy-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid #81C784;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.footer-policy-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #A5D6A7;
  margin-bottom: 12px;
}

.footer-policy-box p {
  font-size: 14px;
  color: #EFF6F0;
  line-height: 1.65;
  margin-bottom: 10px;
}

.footer-policy-box p:last-child {
  margin-bottom: 0;
}

.footer-policy-box .policy-warning {
  color: #FFFFFF;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 3px solid #E57373;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid #283729;
  font-size: 13px;
  color: #A6B8A8;
}

.footer-bottom a {
  color: #C8D7C9;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* --- Reveal animations on scroll --- */
.reveal-element {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image-container {
    width: 100%;
    height: 50vh;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .section-padding {
    padding: 60px 0;
  }

  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .section-title {
    font-size: 32px;
  }

  /* Booking Box Mobile Adaptations */
  .booking-section {
    padding: 50px 0;
    overflow: hidden;
  }

  .booking-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--radius-md);
    box-sizing: border-box;
    margin: 0 auto;
  }

  .booking-header {
    padding: 24px 16px;
    box-sizing: border-box;
  }
  
  .booking-title {
    font-size: 24px;
  }
  
  .booking-call-btn {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    padding: 13px 14px;
    justify-content: center;
    box-sizing: border-box;
  }
  
  .booking-body {
    padding: 20px 16px;
    box-sizing: border-box;
    width: 100%;
  }
  
  .details-form {
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .philosophy-features {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .therapist-credentials-badge {
    padding: 14px 14px;
    gap: 12px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-policy-box {
    padding: 18px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .modal-benefits-list {
    grid-template-columns: 1fr;
  }
}
