/* Language-specific blocks (legal pages) */
html[lang="de"] .lang-en,
html[lang="en"] .lang-de {
    display: none;
}

/* Reset and Base */
:root {
    --primary-color: #CFDDCC;
    --primary-dark: rgba(209, 173, 63, 0.5);
    --secondary-color: #776537;
    --accent-color: #d9c295;
    --text-dark: #3B3838;
    --text-light: #5c5656;
    --text-muted: #7c7777;
    --bg-light: #f5f0ea;
    --bg-white: #fffdfb;
    --border-color: #e8e0d8;
    --shadow: 0 4px 6px rgba(59, 56, 56, 0.08);
    --shadow-lg: 0 12px 30px rgba(59, 56, 56, 0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
    --card-bg: #ffffff;
    --navbar-bg: rgba(255, 253, 251, 0.95);
    --footer-bg: #3B3838;
    --input-bg: #ffffff;
    --input-border: #e8e0d8;
}

/* Dark Mode */
[data-theme="dark"] {
    --text-dark: #e8e6e3;
    --text-light: #b0b8c1;
    --text-muted: #8899a6;
    --bg-light: #1a1a2e;
    --bg-white: #16213e;
    --border-color: #2a2a4a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --card-bg: #1e1e3a;
    --navbar-bg: rgba(22, 33, 62, 0.95);
    --footer-bg: #0f0f23;
    --input-bg: #1e1e3a;
    --input-border: #2a2a4a;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: rgb(209, 173, 63);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-white:hover {
    background: transparent;
    color: white;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: vrgba(209, 173, 63, 0.5);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link.btn-primary {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
}

.nav-link.btn-primary::after {
    display: none;
}

.auth-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-user-chip {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-logout-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 0.8rem;
}

.auth-logout-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
}

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

.lang-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(180deg, rgba(24, 31, 27, 0.2), rgba(24, 31, 27, 0.8)),
                url('../assets/mandala.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(150, 120, 90, 1);
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 3px rgba(2, 2, 4, 0.75);
      color: rgb(209, 173, 63);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(2, 2, 4, 0.75);
    color: rgb(209, 173, 63);
}

.hero-content .eyebrow {
    font-weight: 200;
    text-shadow: 2px 2px 8px rgba(2, 2, 4, 0.75);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

.bg-light {
    background: var(--bg-light);
}

/* Welcome Cards */
.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.welcome-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.welcome-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.welcome-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Class Cards */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.class-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.class-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.class-level {
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.class-content {
    padding: 1.5rem;
}

.class-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.class-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    gap: 0.8rem;
}

/* Parallax Section */
.parallax-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1508672019048-805c876b67e2?w=1920&h=800&fit=crop') fixed center/cover;
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.parallax-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.quote-icon {
    font-size: 3rem;
    opacity: 0.6;
    margin-bottom: 1rem;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.4;
}

cite {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Schedule Widget */
.schedule-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.schedule-day {
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
}

.schedule-day h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.time {
    font-weight: 600;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 2rem;
}

.testimonial-content {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reviews banner */
.reviews-section {
    background: var(--bg-white);
}

.reviews-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.reviews-nav-btn {
    width: 44px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-dark);
    cursor: pointer;
}

.reviews-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.reviews-viewport {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

.reviews-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.review-slide {
    min-width: 100%;
    padding: 1.5rem;
}

.review-stars {
    color: #d89f3f;
    letter-spacing: 1px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.review-title {
    margin-bottom: 0.5rem;
}

.review-comment {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.reviews-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.review-form {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
}

.review-form h3 {
    margin-bottom: 0.9rem;
}

.review-form-row {
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap: 0.8rem;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background: var(--card-bg);
}

.review-form textarea {
    margin-top: 0.8rem;
    resize: vertical;
}

.review-form-actions {
    margin-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.review-form-message {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

.compliance-links {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compliance-links a,
.cookie-settings-link {
    color: #fff;
    opacity: 0.9;
    font-size: 0.85rem;
}

.cookie-settings-link {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.compliance-links a:hover,
.cookie-settings-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Legal pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

.legal-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--text-light);
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.3rem;
}

.legal-muted {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2500;
    padding: 1rem;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner.hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 1rem 1.2rem;
}

.cookie-banner-copy h3 {
    margin-bottom: 0.4rem;
}

.cookie-banner-copy p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.cookie-banner-legal {
    margin-bottom: 0;
}

.cookie-banner-legal a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cookie-customize-panel {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.cookie-option {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.cookie-option input[type='checkbox'] {
    margin-top: 0.25rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Classes Detail Page */
.classes-detail {
    background: var(--bg-light);
}

.class-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--card-bg);
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.class-detail-card.reverse {
    direction: rtl;
}

.class-detail-card.reverse > * {
    direction: ltr;
}

.class-detail-image {
    height: 100%;
    min-height: 400px;
}

.class-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-detail-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.class-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.tag-gentle {
    background: #9db4c4;
}

.tag-special {
    background: var(--secondary-color);
}

.duration {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.class-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.class-detail-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.benefits-list {
    margin-bottom: 1.5rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.benefits-list i {
    color: var(--primary-color);
}

.class-schedule {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.class-schedule h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pricing-card > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* About Page */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.philosophy-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.philosophy-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.philosophy-card h3 {
    margin-bottom: 1rem;
}

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

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

.instructor-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: var(--shadow);
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-card h3 {
    margin-bottom: 0.3rem;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.instructor-card p {
    color: var(--text-light);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Booking Page */
.book-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.booking-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.booking-step {
    padding: 3rem;
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.step-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.booking-step h2 {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.class-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.class-option {
    cursor: pointer;
}

.class-option input {
    display: none;
}

.class-card-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.class-option input:checked + .class-card-select {
    border-color: var(--primary-color);
    background: rgba(124, 152, 133, 0.05);
}

.class-card-select h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.class-card-select p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Calendar */
.calendar-container {
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.month-nav {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0.5rem;
    transition: var(--transition);
}

.month-nav:hover {
    color: var(--primary-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.day-label {
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.5rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
}

.calendar-day.disabled {
    color: var(--border-color);
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: var(--secondary-color);
}

/* Time Slots */
.time-slots {
    margin-bottom: 2rem;
}

.time-slots h4 {
    margin-bottom: 1rem;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
}

.time-slot {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--primary-color);
    background: rgba(124, 152, 133, 0.05);
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

.select-date-prompt {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

.step-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

/* Booking Form */
.booking-form {
    margin-bottom: 2rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--input-bg);
    color: var(--text-dark);
}

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

.booking-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.booking-summary h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-message h2 {
    margin-bottom: 1rem;
    justify-content: center;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.booking-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    text-align: left;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
}

.social-block {
    margin-top: 2rem;
}

.social-block h4 {
    margin-bottom: 1rem;
}

.social-links.large a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    background: var(--input-bg);
    color: var(--text-dark);
    border-color: var(--input-border);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
}

.map-section {
    height: 400px;
    background: var(--text-dark);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.map-placeholder .small {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .auth-nav-item {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-menu.active {
        left: 0;
    }

    .class-detail-card,
    .class-detail-card.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .class-detail-card.reverse > * {
        direction: ltr;
    }

    .class-detail-image {
        min-height: 250px;
    }

    .story-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

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

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .reviews-banner {
        grid-template-columns: 1fr;
    }

    .reviews-nav-btn {
        width: 100%;
        min-height: 42px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .booking-step {
        padding: 1.5rem;
    }

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

    .calendar-day {
        font-size: 0.9rem;
    }

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

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .review-form-row {
        grid-template-columns: 1fr;
    }

    .review-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .legal-content {
        padding: 1.3rem;
    }

    .cookie-banner {
        padding: 0.7rem;
    }

    .cookie-banner-actions {
        justify-content: stretch;
    }

    .cookie-banner-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Dark mode overrides for specific elements */
[data-theme="dark"] .btn-secondary {
    color: white;
    border-color: white;
}

[data-theme="dark"] .btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

[data-theme="dark"] .booking-summary,
[data-theme="dark"] .booking-details,
[data-theme="dark"] .class-schedule {
    background: var(--bg-light);
}

[data-theme="dark"] .booking-reference {
    background: var(--bg-light);
    color: var(--text-dark);
}

[data-theme="dark"] .map-section {
    background: var(--footer-bg);
}

[data-theme="dark"] .cookie-banner-inner {
    background: var(--bg-white);
    border-color: var(--border-color);
}