/* Xylontherae Yoga Studio - Main Stylesheet
   Author: Claude
   Created: July 2025
*/

/* ============================
   1. CSS Variables
   ============================ */
:root {
  /* Color palette */
  --xylontherae-white: white;
  --xylontherae-teal: #016a70;
  --xylontherae-cream: #ffffdd;
  --xylontherae-lime: #d2de32;
  --xylontherae-green: #a2c579;

  /* Additional complementary colors */
  --xylontherae-dark-teal: #014c50;
  --xylontherae-light-teal: #048891;
  --xylontherae-light-cream: #fffff3;
  --xylontherae-dark-lime: #b4be2a;
  --xylontherae-dark-green: #86a563;

  /* Text colors */
  --xylontherae-text-dark: #333333;
  --xylontherae-text-light: #f8f8f8;
  --xylontherae-text-muted: #6c6c6c;

  /* Spacing variables */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-xxl: 4rem;

  /* Border radius */
  --xylontherae-radius-sm: 3px;
  --xylontherae-radius-md: 6px;
  --xylontherae-radius-lg: 12px;
  --xylontherae-radius-round: 50%;

  /* Shadows */
  --xylontherae-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --xylontherae-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --xylontherae-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --xylontherae-transition-fast: 0.2s ease;
  --xylontherae-transition-medium: 0.3s ease;
  --xylontherae-transition-slow: 0.5s ease;
}

/* ============================
   2. Font Import
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================
   3. Base Styles
   ============================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--xylontherae-text-dark);
  background-color: var(--xylontherae-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--xylontherae-teal);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--xylontherae-lime);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

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

a:hover {
  color: var(--xylontherae-light-teal);
}

ul,
ol {
  list-style-position: inside;
  margin-bottom: var(--space-md);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================
   4. Container
   ============================ */
.xylontherae-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================
   5. Header & Navigation
   ============================ */
.xylontherae-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--xylontherae-white);
  box-shadow: var(--xylontherae-shadow-sm);
  padding: var(--space-sm) 0;
  z-index: 1000;
  transition: all var(--xylontherae-transition-medium);
}

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

.xylontherae-logo {
  display: flex;
  align-items: center;
}

.xylontherae-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--xylontherae-teal);
  letter-spacing: 0.5px;
}

.xylontherae-nav {
  display: flex;
  align-items: center;
}

.xylontherae-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
}

.xylontherae-nav-menu li {
  margin-left: var(--space-lg);
}

.xylontherae-nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.xylontherae-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--xylontherae-lime);
  transition: width var(--xylontherae-transition-medium);
}

.xylontherae-nav-menu a:hover::after {
  width: 100%;
}

.xylontherae-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.xylontherae-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--xylontherae-teal);
  transition: all var(--xylontherae-transition-fast);
}

/* ============================
   6. Hero Section
   ============================ */
.xylontherae-hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('https://images.unsplash.com/photo-1552196563-55cd4e45efb3')
      center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 60px;
}

.xylontherae-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.xylontherae-hero h1 {
  font-size: 3.5rem;
  color: var(--xylontherae-white);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--space-lg);
}

.xylontherae-hero p {
  font-size: 1.2rem;
  color: var(--xylontherae-white);
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ============================
   7. Buttons
   ============================ */
.xylontherae-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: var(--xylontherae-lime);
  color: var(--xylontherae-text-dark);
  border-radius: var(--xylontherae-radius-md);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--xylontherae-shadow-sm);
  transition: all var(--xylontherae-transition-fast);
}

.xylontherae-btn:hover {
  background-color: var(--xylontherae-dark-lime);
  color: var(--xylontherae-text-dark);
  transform: translateY(-2px);
  box-shadow: var(--xylontherae-shadow-md);
}

/* ============================
   8. Section Styles
   ============================ */
section {
  padding: var(--space-xl) 0;
}

/* About Section */
.xylontherae-about {
  background-color: var(--xylontherae-light-cream);
}

.xylontherae-about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.xylontherae-about-text {
  flex: 1;
}

.xylontherae-about-values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.xylontherae-value {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: var(--space-md);
  background-color: var(--xylontherae-white);
  border-radius: var(--xylontherae-radius-md);
  box-shadow: var(--xylontherae-shadow-sm);
  transition: transform var(--xylontherae-transition-medium);
}

.xylontherae-value:hover {
  transform: translateY(-5px);
  box-shadow: var(--xylontherae-shadow-md);
}

.xylontherae-value h3 {
  margin-top: var(--space-sm);
}

/* Services Section */
.xylontherae-services {
  background-color: var(--xylontherae-white);
}

.xylontherae-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.xylontherae-service {
  padding: var(--space-lg);
  background-color: var(--xylontherae-cream);
  border-radius: var(--xylontherae-radius-md);
  text-align: center;
  box-shadow: var(--xylontherae-shadow-sm);
  transition: transform var(--xylontherae-transition-medium);
}

.xylontherae-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--xylontherae-shadow-md);
}

.xylontherae-service h3 {
  margin-top: var(--space-sm);
}

.xylontherae-price {
  margin-top: var(--space-md);
  font-weight: 500;
  color: var(--xylontherae-text-muted);
}

.xylontherae-price span {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--xylontherae-teal);
}

.xylontherae-membership {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background-color: var(--xylontherae-teal);
  border-radius: var(--xylontherae-radius-md);
  color: var(--xylontherae-white);
}

.xylontherae-membership h3 {
  color: var(--xylontherae-white);
  text-align: center;
}

.xylontherae-membership-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.xylontherae-membership-option {
  flex: 1;
  min-width: 250px;
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--xylontherae-radius-md);
}

.xylontherae-membership-option h4 {
  color: var(--xylontherae-white);
  margin-bottom: var(--space-xs);
}

.xylontherae-membership-option .xylontherae-price {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--xylontherae-cream);
}

.xylontherae-membership-option .xylontherae-price span {
  color: var(--xylontherae-lime);
}

/* Schedule Section */
.xylontherae-schedule {
  background-color: var(--xylontherae-cream);
}

.xylontherae-schedule-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.xylontherae-schedule-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.xylontherae-tab-btn {
  padding: var(--space-sm) var(--space-md);
  background-color: transparent;
  border: 2px solid var(--xylontherae-teal);
  color: var(--xylontherae-teal);
  border-radius: var(--xylontherae-radius-md);
  font-weight: 500;
  transition: all var(--xylontherae-transition-fast);
  min-width: 50px;
  text-align: center;
}

.xylontherae-tab-btn.active,
.xylontherae-tab-btn:hover {
  background-color: var(--xylontherae-teal);
  color: var(--xylontherae-white);
}

.xylontherae-tab-content {
  display: none;
}

.xylontherae-tab-content.active {
  display: block;
}

.xylontherae-class {
  display: flex;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background-color: var(--xylontherae-white);
  border-radius: var(--xylontherae-radius-md);
  box-shadow: var(--xylontherae-shadow-sm);
  align-items: center;
}

.xylontherae-class:last-child {
  margin-bottom: 0;
}

.xylontherae-class-time {
  flex: 0 0 120px;
  font-weight: 500;
  color: var(--xylontherae-teal);
}

.xylontherae-class-info {
  flex: 1;
}

.xylontherae-class-info h4 {
  margin-bottom: var(--space-xxs);
}

.xylontherae-class-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--xylontherae-text-muted);
}

.xylontherae-class-instructor {
  flex: 0 0 100px;
  text-align: right;
  font-weight: 500;
}

/* Gallery Section */
.xylontherae-gallery {
  background-color: var(--xylontherae-white);
  text-align: center;
}

.xylontherae-gallery-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  border-radius: var(--xylontherae-radius-md);
  box-shadow: var(--xylontherae-shadow-md);
}

.xylontherae-gallery-track {
  display: flex;
  transition: transform var(--xylontherae-transition-medium);
}

.xylontherae-gallery-slide {
  flex: 0 0 100%;
}

.xylontherae-gallery-image {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}

.xylontherae-gallery-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--xylontherae-transition-slow);
}

.xylontherae-gallery-image:hover img {
  transform: scale(1.05);
}

.xylontherae-gallery-prev,
.xylontherae-gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--xylontherae-text-dark);
  width: 40px;
  height: 40px;
  border-radius: var(--xylontherae-radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: var(--xylontherae-shadow-sm);
  transition: all var(--xylontherae-transition-fast);
  z-index: 10;
}

.xylontherae-gallery-prev {
  left: var(--space-md);
}

.xylontherae-gallery-next {
  right: var(--space-md);
}

.xylontherae-gallery-prev:hover,
.xylontherae-gallery-next:hover {
  background-color: var(--xylontherae-white);
  box-shadow: var(--xylontherae-shadow-md);
}

.xylontherae-gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.xylontherae-gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--xylontherae-radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--xylontherae-transition-fast);
}

.xylontherae-gallery-thumb.active,
.xylontherae-gallery-thumb:hover {
  opacity: 1;
}

.xylontherae-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials Section */
.xylontherae-testimonials {
  background-color: var(--xylontherae-green);
  color: var(--xylontherae-text-dark);
  text-align: center;
}

.xylontherae-testimonials h2 {
  color: var(--xylontherae-white);
}

.xylontherae-testimonials h2::after {
  background-color: var(--xylontherae-white);
}

.xylontherae-testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.xylontherae-testimonials-track {
  display: flex;
  transition: transform var(--xylontherae-transition-medium);
}

.xylontherae-testimonial {
  flex: 0 0 100%;
  padding: var(--space-lg);
}

.xylontherae-testimonial-content {
  background-color: var(--xylontherae-white);
  padding: var(--space-lg);
  border-radius: var(--xylontherae-radius-md);
  box-shadow: var(--xylontherae-shadow-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.xylontherae-testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--xylontherae-white);
}

.xylontherae-testimonial-content p {
  margin-bottom: 0;
  font-style: italic;
}

.xylontherae-testimonial-author h4 {
  color: var(--xylontherae-white);
  margin-bottom: var(--space-xxs);
}

.xylontherae-testimonial-author p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.xylontherae-testimonial-prev,
.xylontherae-testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--xylontherae-text-dark);
  width: 40px;
  height: 40px;
  border-radius: var(--xylontherae-radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: var(--xylontherae-shadow-sm);
  transition: all var(--xylontherae-transition-fast);
}

.xylontherae-testimonial-prev {
  left: var(--space-md);
}

.xylontherae-testimonial-next {
  right: var(--space-md);
}

.xylontherae-testimonial-prev:hover,
.xylontherae-testimonial-next:hover {
  background-color: var(--xylontherae-white);
  box-shadow: var(--xylontherae-shadow-md);
}

.xylontherae-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.xylontherae-testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--xylontherae-radius-round);
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color var(--xylontherae-transition-fast);
}

.xylontherae-testimonial-dot.active,
.xylontherae-testimonial-dot:hover {
  background-color: var(--xylontherae-white);
}

/* Contact Section */
.xylontherae-contact {
  background-color: var(--xylontherae-white);
}

.xylontherae-contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.xylontherae-contact-info {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.xylontherae-contact-item {
  text-align: center;
}

.xylontherae-contact-item h3 {
  margin-top: var(--space-sm);
}

.xylontherae-contact-form-container {
  flex: 1;
  min-width: 300px;
}

.xylontherae-contact-form {
  padding: var(--space-lg);
  background-color: var(--xylontherae-cream);
  border-radius: var(--xylontherae-radius-md);
  box-shadow: var(--xylontherae-shadow-md);
}

.xylontherae-form-group {
  margin-bottom: var(--space-md);
}

.xylontherae-form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.xylontherae-form-group input,
.xylontherae-form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--xylontherae-radius-sm);
  font-family: inherit;
  transition: border-color var(--xylontherae-transition-fast);
}

.xylontherae-form-group input:focus,
.xylontherae-form-group textarea:focus {
  outline: none;
  border-color: var(--xylontherae-teal);
}

.xylontherae-form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
.xylontherae-footer {
  background-color: var(--xylontherae-teal);
  color: var(--xylontherae-white);
  padding: var(--space-xl) 0 var(--space-md);
}

.xylontherae-footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.xylontherae-footer-logo {
  flex: 1;
  min-width: 250px;
}

.xylontherae-footer-logo .xylontherae-logo-text {
  color: var(--xylontherae-white);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.xylontherae-footer-links {
  flex: 1;
  min-width: 150px;
}

.xylontherae-footer-links h3 {
  color: var(--xylontherae-white);
  margin-bottom: var(--space-md);
}

.xylontherae-footer-links ul {
  list-style: none;
  margin: 0;
}

.xylontherae-footer-links li {
  margin-bottom: var(--space-xs);
}

.xylontherae-footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.xylontherae-footer-links a:hover {
  color: var(--xylontherae-white);
}

.xylontherae-social-icons {
  display: flex;
  gap: var(--space-md);
}

.xylontherae-social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--xylontherae-radius-round);
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color var(--xylontherae-transition-fast);
}

.xylontherae-social-icon:hover {
  background-color: var(--xylontherae-lime);
}

.xylontherae-footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================
   9. Icons
   ============================ */
.xylontherae-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background-color: var(--xylontherae-teal);
  color: var(--xylontherae-white);
  border-radius: var(--xylontherae-radius-round);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Custom Icon Styles */
.xylontherae-icon-leaf::before {
  content: '🌿';
  font-size: 24px;
}

.xylontherae-icon-heart::before {
  content: '❤️';
  font-size: 24px;
}

.xylontherae-icon-lotus::before {
  content: '🪷';
  font-size: 24px;
}

.xylontherae-icon-flow::before {
  content: '🌊';
  font-size: 24px;
}

.xylontherae-icon-hatha::before {
  content: '☯️';
  font-size: 24px;
}

.xylontherae-icon-yin::before {
  content: '🌙';
  font-size: 24px;
}

.xylontherae-icon-aerial::before {
  content: '🧘‍♀️';
  font-size: 24px;
}

.xylontherae-icon-meditation::before {
  content: '🧠';
  font-size: 24px;
}

.xylontherae-icon-private::before {
  content: '👤';
  font-size: 24px;
}

.xylontherae-icon-location::before {
  content: '📍';
  font-size: 24px;
}

.xylontherae-icon-phone::before {
  content: '📞';
  font-size: 24px;
}

.xylontherae-icon-email::before {
  content: '✉️';
  font-size: 24px;
}

.xylontherae-icon-clock::before {
  content: '🕒';
  font-size: 24px;
}

.xylontherae-icon-check::before {
  content: '✅';
  font-size: 24px;
}

.xylontherae-icon-facebook::before {
  content: 'f';
  font-weight: bold;
  font-family: sans-serif;
}

.xylontherae-icon-instagram::before {
  content: '📷';
  font-size: 18px;
}

.xylontherae-icon-youtube::before {
  content: '▶️';
  font-size: 18px;
}

/* ============================
   10. Thank You Page
   ============================ */
.xylontherae-thankyou {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--xylontherae-cream);
}

.xylontherae-thankyou-container {
  width: 90%;
  max-width: 600px;
}

.xylontherae-thankyou-content {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--xylontherae-white);
  border-radius: var(--xylontherae-radius-md);
  box-shadow: var(--xylontherae-shadow-lg);
}

.xylontherae-thankyou-icon {
  margin-bottom: var(--space-lg);
}

.xylontherae-thankyou-icon .xylontherae-icon {
  width: 80px;
  height: 80px;
}

/* ============================
   11. Policy Pages
   ============================ */
.xylontherae-policy {
  padding-top: 120px;
}

.xylontherae-policy-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.xylontherae-policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.xylontherae-policy-section {
  margin-bottom: var(--space-xl);
}

.xylontherae-policy-section h2 {
  text-align: left;
  margin-bottom: var(--space-md);
}

.xylontherae-policy-section h2::after {
  left: 0;
  transform: none;
}

.xylontherae-policy-section h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.xylontherae-policy-section ul {
  list-style-type: disc;
  margin-left: var(--space-lg);
}

/* ============================
   12. Media Queries
   ============================ */
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .xylontherae-hero h1 {
    font-size: 2.8rem;
  }

  .xylontherae-hero p {
    font-size: 1.1rem;
  }

  .xylontherae-nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--xylontherae-white);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: height var(--xylontherae-transition-medium);
    box-shadow: var(--xylontherae-shadow-md);
  }

  .xylontherae-nav-menu.active {
    height: auto;
    padding: var(--space-md) 0;
  }

  .xylontherae-nav-menu li {
    margin: var(--space-sm) 0;
  }

  .xylontherae-nav-toggle {
    display: flex;
  }

  .xylontherae-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .xylontherae-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .xylontherae-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .xylontherae-about-values,
  .xylontherae-services-grid {
    gap: var(--space-md);
  }

  .xylontherae-value,
  .xylontherae-service {
    padding: var(--space-sm);
  }

  .xylontherae-schedule-nav {
    justify-content: flex-start;
    gap: var(--space-xs);
  }

  .xylontherae-tab-btn {
    padding: var(--space-xs) var(--space-sm);
    min-width: 40px;
  }

  .xylontherae-class {
    flex-direction: column;
    align-items: flex-start;
  }

  .xylontherae-class-time,
  .xylontherae-class-instructor {
    flex: 0 0 auto;
    margin-bottom: var(--space-xs);
  }

  .xylontherae-class-instructor {
    text-align: left;
  }

  .xylontherae-gallery-thumbnails {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-xs);
  }

  .xylontherae-contact-info {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .xylontherae-footer-content {
    gap: var(--space-lg);
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  section {
    padding: var(--space-lg) 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-lg);
  }

  .xylontherae-hero h1 {
    font-size: 2.5rem;
  }

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

  .xylontherae-gallery-slider,
  .xylontherae-testimonials-slider {
    margin-bottom: var(--space-md);
  }

  .xylontherae-gallery-prev,
  .xylontherae-gallery-next,
  .xylontherae-testimonial-prev,
  .xylontherae-testimonial-next {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .xylontherae-gallery-thumb {
    width: 60px;
    height: 45px;
  }
}

@media (max-width: 479px) {
  html {
    font-size: 13px;
  }

  .xylontherae-container {
    width: 95%;
    padding: 0 var(--space-sm);
  }

  .xylontherae-logo-text {
    font-size: 1.4rem;
  }

  .xylontherae-hero h1 {
    font-size: 2.2rem;
  }

  .xylontherae-btn {
    padding: var(--space-xs) var(--space-md);
  }

  .xylontherae-value,
  .xylontherae-service {
    min-width: 100%;
  }

  .xylontherae-membership-option {
    min-width: 100%;
  }

  .xylontherae-class {
    padding: var(--space-sm);
  }

  .xylontherae-contact-info {
    grid-template-columns: 1fr;
  }

  .xylontherae-contact-form {
    padding: var(--space-md);
  }

  .xylontherae-footer-content > * {
    min-width: 100%;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .xylontherae-logo-text {
    font-size: 1.2rem;
  }

  .xylontherae-nav-toggle {
    width: 20px;
    height: 16px;
  }

  .xylontherae-hero h1 {
    font-size: 2rem;
  }

  .xylontherae-gallery-thumb {
    width: 50px;
    height: 40px;
  }
}
