/* 
   Emily the Anonmaly Yoga Studio - Styling & Design System
   Vanilla CSS with rich aesthetics, themes, animations, and responsive layout.
*/

/* 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;0,500;0,600;0,700;1,400&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
  /* Default Theme: Earthy Sage */
  --primary: #5F7161;
  --primary-light: #829484;
  --primary-dark: #425244;
  --primary-rgb: 95, 113, 97;
  --accent: #D0C9C0;
  --accent-light: #EFEBE4;
  --accent-dark: #A1978C;
  --bg-main: #FAF9F6;
  --bg-card: #ffffff;
  --text-dark: #2F3631;
  --text-light: #6E7570;
  --text-muted: #A3AAA5;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 50%;
  --max-width: 1200px;
}

/* Sunset Rose Theme variables */
[data-theme="rose"] {
  --primary: #A77B78;
  --primary-light: #C9A2A0;
  --primary-dark: #815653;
  --primary-rgb: 167, 123, 120;
  --accent: #EAD2AC;
  --accent-light: #F8ECE2;
  --accent-dark: #BFA07C;
  --bg-main: #FAF5F5;
  --bg-card: #ffffff;
  --text-dark: #483A39;
  --text-light: #837271;
  --text-muted: #B8A7A6;
}

/* Ocean Breeze Theme variables */
[data-theme="ocean"] {
  --primary: #5C7C8A;
  --primary-light: #7EA1B0;
  --primary-dark: #3E5A67;
  --primary-rgb: 92, 124, 138;
  --accent: #E0D8C3;
  --accent-light: #F4EFE2;
  --accent-dark: #B2AA95;
  --bg-main: #F2F6F7;
  --bg-card: #ffffff;
  --text-dark: #2F383D;
  --text-light: #67747A;
  --text-muted: #9EAFB5;
}

/* Universal Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.25;
}

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

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

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

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}

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

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* Grid / Flex Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Buttons and Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-round);
  font-weight: 500;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

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

.btn-secondary:hover {
  background-color: rgba(var(--primary-rgb), 0.05);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Section Header Style */
.section-header {
  max-width: 600px;
  margin: 0 auto 5rem auto;
  text-align: center;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

header.scrolled {
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

[data-theme="rose"] header.scrolled {
  background-color: rgba(250, 245, 245, 0.85);
}

[data-theme="ocean"] header.scrolled {
  background-color: rgba(242, 246, 247, 0.85);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo svg {
  fill: var(--primary);
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Theme Selector Styles */
.theme-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 0, 0, 0.03);
  padding: 0.4rem;
  border-radius: var(--radius-round);
  margin-left: 1rem;
}

.theme-dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-round);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.theme-dot:hover {
  transform: scale(1.15);
}

.theme-dot.active {
  border-color: var(--text-dark);
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.theme-dot.sage { background-color: #5F7161; }
.theme-dot.rose { background-color: #A77B78; }
.theme-dot.ocean { background-color: #5C7C8A; }


/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(250, 249, 246, 0.9) 20%, rgba(250, 249, 246, 0.6) 50%, rgba(250, 249, 246, 0.1) 100%);
  z-index: 1;
}

[data-theme="rose"] .hero::before {
  background: linear-gradient(135deg, rgba(250, 245, 245, 0.9) 20%, rgba(250, 245, 245, 0.6) 50%, rgba(250, 245, 245, 0.1) 100%);
}

[data-theme="ocean"] .hero::before {
  background: linear-gradient(135deg, rgba(242, 246, 247, 0.9) 20%, rgba(242, 246, 247, 0.6) 50%, rgba(242, 246, 247, 0.1) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-title span {
  font-style: italic;
  color: var(--primary);
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Glass Card Component */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

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


/* Philosophy Section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.philosophy-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.philosophy-backdrop {
  position: absolute;
  top: 40px;
  left: -40px;
  width: 100%;
  height: 100%;
  background-color: var(--accent-light);
  border-radius: var(--radius-lg);
  z-index: 1;
  transition: var(--transition-smooth);
}

.philosophy-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.philosophy-text-container h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.philosophy-bullets {
  margin-top: 2rem;
}

.philosophy-bullet {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.philosophy-bullet-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.philosophy-bullet-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}


/* Classes Section */
.class-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.class-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.1);
}

.class-card-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.class-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.class-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.class-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.class-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.class-card-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.class-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.class-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.class-meta-icon {
  width: 16px;
  height: 16px;
  fill: var(--primary-light);
}

.class-book-btn {
  margin-top: 1.5rem;
  width: 100%;
}


/* Interactive Schedule Section */
.schedule-filter-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-card);
  color: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-round);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

.schedule-list {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.schedule-row {
  display: grid;
  grid-template-columns: 1.5fr 3fr 2fr 1.5fr 1.5fr 1.5fr;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row:hover {
  background-color: rgba(var(--primary-rgb), 0.02);
}

.schedule-time {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.schedule-class {
  font-weight: 600;
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
}

.schedule-instructor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.schedule-instructor-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

.schedule-level {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-round);
  font-size: 0.8rem;
  font-weight: 600;
}

.level-beginner { background-color: #E2ECF7; color: #315882; }
.level-intermediate { background-color: #FDF1E2; color: #8F5E24; }
.level-all { background-color: #E4F1EC; color: #2C6E52; }

.schedule-duration {
  color: var(--text-light);
  font-size: 0.9rem;
}


/* Interactive Meditation Timer Section */
.meditation-timer-section {
  position: relative;
  background-color: rgba(var(--primary-rgb), 0.04);
  overflow: hidden;
}

.meditation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.meditation-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.meditation-controls-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
}

.med-select {
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.1);
  background-color: var(--bg-card);
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.med-select:focus {
  border-color: var(--primary);
}

/* breathing circle styles */
.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.breathing-circle-outer {
  width: 320px;
  height: 320px;
  border-radius: var(--radius-round);
  background-color: rgba(var(--primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.breathing-circle-inner {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-round);
  background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
  position: relative;
  z-index: 2;
}

.breath-state {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.2rem;
  animation: pulseOpacity 2s infinite ease-in-out;
}

.timer-countdown {
  font-size: 2.2rem;
  font-weight: 600;
}

/* Sound Wave animation overlays */
.ripple {
  position: absolute;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-round);
  animation: rippleAnimation 4s infinite linear;
  opacity: 0;
  pointer-events: none;
}

.ripple:nth-child(1) { animation-delay: 0s; }
.ripple:nth-child(2) { animation-delay: 1.3s; }
.ripple:nth-child(3) { animation-delay: 2.6s; }

@keyframes rippleAnimation {
  0% {
    width: 140px;
    height: 140px;
    opacity: 0.8;
  }
  100% {
    width: 320px;
    height: 320px;
    opacity: 0;
  }
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.timer-buttons-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.timer-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.timer-btn-play {
  background-color: var(--primary);
  color: white;
}

.timer-btn-play:hover {
  background-color: var(--primary-dark);
  transform: scale(1.08);
}

.timer-btn-reset {
  background-color: var(--bg-card);
  color: var(--text-dark);
}

.timer-btn-reset:hover {
  background-color: var(--accent-light);
  transform: scale(1.08);
}

.timer-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}


/* Instructors Section */
.instructor-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.instructor-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.instructor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.instructor-socials {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transition: var(--transition-smooth);
}

.instructor-card:hover .instructor-socials {
  bottom: 0;
}

.instructor-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.instructor-social-link:hover {
  background-color: white;
  color: var(--primary-dark);
}

.instructor-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.instructor-info {
  padding: 2rem;
}

.instructor-name {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.instructor-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.instructor-bio {
  color: var(--text-light);
  font-size: 0.95rem;
}


/* Testimonials Carousel Section */
.testimonials-section {
  background-color: rgba(var(--primary-rgb), 0.02);
}

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

.testimonial-slide {
  text-align: center;
  padding: 1rem;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.8s ease-in-out;
}

.quote-icon {
  width: 48px;
  height: 48px;
  fill: rgba(var(--primary-rgb), 0.15);
  margin: 0 auto 2rem auto;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-title {
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background-color: var(--accent);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background-color: var(--primary);
  width: 25px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.pricing-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 0.35rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-round);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.pricing-currency {
  font-size: 1.8rem;
  font-weight: 500;
  margin-right: 0.2rem;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-features {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.pricing-feature svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
}


/* Interactive Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-info-desc {
  color: var(--text-light);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.contact-icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-item-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-map-sim {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #E2ECEF;
  height: 200px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-placeholder-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--primary-dark);
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(226,236,239,0.8) 100%);
}

.map-marker {
  width: 32px;
  height: 32px;
  fill: #E05D5D;
  animation: float 2.5s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

/* Contact Form styling */
.contact-form-wrapper {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.03);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: var(--bg-main);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  width: 100%;
}


/* Footer Section */
footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-about .logo {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-about .logo svg {
  fill: var(--accent);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: white;
}

.footer-social-link:hover {
  background-color: #ffffff;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-newsletter-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-round);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

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

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
}

.newsletter-btn {
  background-color: var(--accent);
  color: var(--primary-dark);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background-color: #ffffff;
  transform: scale(1.05);
}

.newsletter-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}


/* Modal Styles (Booking Portal & Confirmation Ticket) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-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-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 3rem;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  background-color: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: rgba(0,0,0,0.08);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.modal-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Ticket Design for Confirmation */
.ticket-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--accent-dark);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ticket-header {
  background-color: var(--primary);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
}

.ticket-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.ticket-header-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

.ticket-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: var(--bg-main);
  position: relative;
}

/* Ticket notches */
.ticket-body::before, .ticket-body::after {
  content: '';
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-round);
  background-color: var(--bg-card);
  z-index: 10;
}

.ticket-body::before { left: -12px; }
.ticket-body::after { right: -12px; }

.ticket-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ticket-info-item {
  display: flex;
  flex-direction: column;
}

.ticket-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.ticket-info-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.ticket-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dotted rgba(0, 0, 0, 0.1);
}

.barcode-lines {
  height: 50px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    #2c3e50,
    #2c3e50 2px,
    transparent 2px,
    transparent 6px,
    #2c3e50 6px,
    #2c3e50 10px,
    transparent 10px,
    transparent 12px
  );
}

.barcode-num {
  font-family: monospace;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 3px;
}

/* Success notification toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #2C6E52;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* Breathing Cycle Animation classes (controlled by JS) */
.breathing-inhale {
  transform: scale(1.6);
  background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
}

.breathing-hold {
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.5);
}

.breathing-exhale {
  transform: scale(1);
  background: radial-gradient(circle, var(--accent) 0%, var(--primary-light) 100%);
}


/* Responsive Styles (Media Queries) */

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  .section {
    padding: 6rem 0;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .philosophy-grid,
  .meditation-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .philosophy-image-container {
    order: 2;
  }
  .philosophy-img {
    height: 400px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .schedule-row {
    grid-template-columns: 1.5fr 2.5fr 2fr 1.5fr 1.5fr;
  }
  .schedule-row .schedule-duration {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    gap: 2rem;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-theme="rose"] .nav-links { background-color: var(--bg-main); }
  [data-theme="ocean"] .nav-links { background-color: var(--bg-main); }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .theme-selector {
    margin-left: 0;
    margin-top: 1rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-text {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .schedule-row {
    grid-template-columns: 1.5fr 2fr 1.5fr;
    padding: 1.25rem 1.5rem;
  }

  .schedule-row .schedule-instructor,
  .schedule-row .schedule-level {
    display: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .contact-form-wrapper {
    padding: 2rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }
  .breathing-circle-outer {
    width: 280px;
    height: 280px;
  }
  .breathing-circle-inner {
    width: 120px;
    height: 120px;
  }
  .timer-countdown {
    font-size: 1.8rem;
  }
  .breath-state {
    font-size: 1.1rem;
  }
  .schedule-row {
    grid-template-columns: 1fr 1.5fr;
    gap: 0.5rem;
  }
  .schedule-row .schedule-duration,
  .schedule-row .schedule-instructor,
  .schedule-row .schedule-level {
    display: none;
  }
  /* Booking CTA on mobile might get squished in schedule row, handle in JS or flex */
}
