:root {
  --burgundy: #724345;
  --rose: #815355;
  --mauve: #976E6D;
  --cream: #EBDED4;
  --light-gray: #E8E8E8;
  --charcoal: #2C2C2C;
  --gold: #EABA1D;
  --radius: 16px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.btn {
  display: inline-block;
  padding: 18px 42px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 10px 30px rgba(234, 186, 29, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(234, 186, 29, 0.6);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--burgundy);
  transform: translateY(-4px);
}


/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(235, 222, 212, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(114, 67, 69, 0.1);
  transition: all 0.3s ease;
  transform: translateY(-100%);
}

nav.visible {
  transform: translateY(0);
}

nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--rose);
}

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

.nav-links .btn {
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Disable nav underline inside dropdown */
.dropdown-menu a::after {
  display: none !important;
}

/* Toggle button */
.dropdown-toggle {
  all: unset;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-weight: 600;
  color: var(--burgundy);
  transition: color 0.2s ease;
}

.dropdown-toggle:hover {
  color: var(--rose);
}

.dropdown-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;

  display: flex;
  flex-direction: column;
  gap: 2px;

  min-width: 220px;
  padding: 4px;

  background: white;
  border-radius: 12px;
  border: 1px solid rgba(114, 67, 69, 0.12);

  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.06);

  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

  z-index: 1001;
}

.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Menu items — equal, thin, balanced */
.dropdown-menu a {
  padding: 8px 12px;
  margin: 0;

  border-radius: 8px;

  font-size: 0.95rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;

  display: block;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--rose);
}

/* Pointer */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;

  width: 12px;
  height: 12px;

  background: white;
  transform: rotate(45deg);
  border-left: 1px solid rgba(114, 67, 69, 0.12);
  border-top: 1px solid rgba(114, 67, 69, 0.12);
}

/* Hero Header */
.page-header {
  background: linear-gradient(165deg, var(--burgundy) 0%, var(--rose) 100%);
  padding: 140px 40px 100px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(234, 186, 29, 0.06), transparent 70%);
  pointer-events: none;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header-label {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.page-header h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-header p {
  color: rgba(235, 222, 212, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.7;
}

/* Section Styling */
section {
  padding: 120px 40px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-tag {
  color: var(--mauve);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.section-intro h2 {
  color: var(--burgundy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-intro p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Yoga & Mat Classes - Clean Grid with Cream */
.pricing-section {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border: 1px solid rgba(114, 67, 69, 0.12);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--mauve);
  box-shadow: 0 12px 40px rgba(114, 67, 69, 0.08);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(to bottom, var(--cream), white);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 40px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-header h3 {
  color: var(--burgundy);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-subtitle {
  color: var(--mauve);
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-weight: 500;
}

.class-description {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cream);
}

.class-description p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.class-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.class-highlights li {
  color: #666;
  font-size: 0.85rem;
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.5;
}

.class-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream);
}

.price-item:last-child {
  border-bottom: none;
}

.price-label {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.price-value {
  color: var(--charcoal);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-value span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #999;
  margin-left: 4px;
}

.package-includes {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--gold);
  text-align: center;
}

.package-includes p {
  color: #666;
  font-size: 0.9rem;
}

.package-includes strong {
  color: var(--burgundy);
}

/* Pilates Equipment - Professional Table Layout with Cream */
.pilates-pricing-section {
  background: white;
}

.pilates-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pilates-header-card {
  background: linear-gradient(135deg, var(--burgundy), var(--rose));
  color: white;
  padding: 48px;
  border-radius: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.pilates-header-card h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pilates-header-card .equipment-list {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 500;
}

/* Pricing Table */
.pricing-table {
  background: white;
  border: 1px solid rgba(114, 67, 69, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.pricing-table-header {
  background: var(--cream);
  padding: 24px 32px;
  border-bottom: 2px solid var(--burgundy);
}

.pricing-table-header h4 {
  color: var(--burgundy);
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-table-header .equipment-list {
  color: var(--mauve);
  font-size: 0.9rem;
  margin-top: 6px;
}

.pricing-table-body {
  padding: 32px;
  background: white;
}

.equipment-description {
  padding: 24px 32px;
  background: rgba(235, 222, 212, 0.3);
  border-bottom: 1px solid var(--cream);
}

.equipment-description p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.what-to-expect {
  margin-top: 16px;
}

.what-to-expect strong {
  color: var(--burgundy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.what-to-expect ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.what-to-expect li {
  color: #666;
  font-size: 0.85rem;
  padding: 6px 0 6px 24px;
  position: relative;
  line-height: 1.5;
}

.what-to-expect li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--mauve);
  font-weight: 700;
}

.pricing-tier {
  margin-bottom: 32px;
}

.pricing-tier:last-child {
  margin-bottom: 0;
}

.tier-title {
  color: var(--rose);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.tier-option {
  background: var(--cream);
  padding: 16px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.tier-option:hover {
  background: rgba(235, 222, 212, 0.7);
  border-color: var(--mauve);
}

.tier-option.highlight {
  background: linear-gradient(135deg, rgba(114, 67, 69, 0.1), rgba(151, 110, 109, 0.08));
  border: 1px solid var(--mauve);
}

.tier-option span {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.tier-option strong {
  color: var(--charcoal);
  font-size: 1.1rem;
  font-weight: 700;
}

.session-duration {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--cream);
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Reformer Group Class - Fixed Grid Layout */
.reformer-card {
  background: linear-gradient(to bottom, var(--cream), white);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  position: relative;
}

.reformer-card .featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.reformer-card h3 {
  color: var(--burgundy);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.reformer-card .equipment-list {
  color: var(--mauve);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.reformer-card .equipment-description {
  text-align: left;
  padding: 24px;
  background: white;
  border-radius: 8px;
  margin-bottom: 32px;
}

.reformer-card .equipment-description p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.reformer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Training Section */
.training-section {
  background: var(--cream);
  text-align: center;
}

.training-content {
  max-width: 700px;
  margin: 0 auto;
}

.training-content h2 {
  color: var(--burgundy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 16px 0 24px;
}

.training-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-secondary {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  padding: 18px 42px;
  border-radius: 50px;
}

.btn-secondary:hover {
  background: var(--burgundy);
  color: white;
  transform: translateY(-4px);
}

/* CTA */
.section-cta {
  margin-top: 64px;
  text-align: center;
}

/* Footer */
/* =========================
   Footer – Structured Layout
   ========================= */

footer {
  background: linear-gradient(135deg, var(--burgundy), var(--rose));
  color: white;
  padding: 80px 40px 40px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  text-align: left;
}

/* Brand block */
.footer-brand .footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-brand .footer-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.95;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 420px;
}

/* Footer headings */
.footer-links h5,
.footer-contact h5,
.footer-social h5 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--gold);
}

/* Lists */
.footer-links ul,
.footer-contact ul,
.footer-social ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: var(--gold);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 64px;
}

.footer-bottom .footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;

  font-size: 0.85rem;
  opacity: 0.75;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-social ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-icon {
  width: 20px;
  height: 20px;
  fill: var(--light-gray);
  display: inline-block;
}

.footer-social a {
  color: var(--cream);
}

.footer-social a:hover {
  color: var(--gold);
}

/* =========================
   Footer – Mobile
   ========================= */

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  footer {
    padding: 64px 24px 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-description {
    margin: 0 auto;
  }

  .footer-links ul,
  .footer-contact ul,
  .footer-social ul {
    align-items: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav .container {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
  }

  .page-header {
    padding: 120px 24px 80px;
  }

  section {
    padding: 80px 24px;
  }

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

  .tier-grid {
    grid-template-columns: 1fr;
  }
  
  .reformer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pilates-header-card,
  .pricing-table-body,
  .reformer-card {
    padding: 32px 24px;
  }

  .pricing-table-header {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .reformer-grid {
    grid-template-columns: 1fr;
  }
  
  .tier-option {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Language Toggle Styles */
.lang-toggle-btn {
  display: flex;
  align-items: center;
  background: rgba(114, 67, 69, 0.1);
  border: 2px solid rgba(114, 67, 69, 0.2);
  border-radius: 50px;
  padding: 4px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.lang-toggle-btn::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: #EABA1D;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(234, 186, 29, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.lang-toggle-btn.en-active::before {
  transform: translateX(100%);
}

.lang-toggle-btn:hover {
  border-color: var(--gold);
}

.lang-option {
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #724345;
  transition: color 0.3s ease;
  border-radius: 50px;
  z-index: 1;
  position: relative;
  cursor: pointer;
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: block;
}

.lang-option:hover {
  color: #815355;
}

.lang-option.active {
  color: #2C2C2C;
  pointer-events: none;
}

/* Mobile responsive for language toggle */
@media (max-width: 768px) {
  .nav-links .lang-toggle-hero {
    display: none; /* Hide from nav on mobile */
  }
  
  /* Show fixed position toggle on mobile only if there's a separate one */
  body > .lang-toggle-hero {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
  }
  
  body > .lang-toggle-hero .lang-toggle-btn {
    background: rgba(235, 222, 212, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(114, 67, 69, 0.2);
  }
}
