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

:root {
    /* Soft Color Palette */
    --cream: #F5F1E8;
    --light-beige: #FAF8F3;
    --pastel-gray: #E8E5DE;
    --dark-green: #2D5016;
    --burgundy: #6B2C3E;
    --soft-burgundy: #8B4A5C;
    --text-dark: #3A3A3A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --shadow-soft: 0 4px 20px rgba(45, 80, 22, 0.08);
    --shadow-medium: 0 8px 30px rgba(45, 80, 22, 0.12);
    --shadow-strong: 0 15px 40px rgba(45, 80, 22, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--light-beige);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body.loading {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-beige) 50%, var(--pastel-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
    width: 100%;
    max-width: 400px;
    padding: 1rem;
    box-sizing: border-box;
}

.loading-logo-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    margin-left: auto;
    margin-right: auto;
    animation: logoFloat 3s ease-in-out infinite;
}

.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    z-index: 1;
}

.progress-ring-circle-bg {
    opacity: 0.3;
}

.progress-ring-circle {
    stroke-dasharray: 408;
    stroke-dashoffset: 408;
    animation: fillProgressCircle 1.5s ease-out forwards;
    filter: drop-shadow(0 0 8px rgba(107, 44, 62, 0.5));
}

.loading-logo {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 10px 30px rgba(45, 80, 22, 0.2));
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes fillProgressCircle {
    0% {
        stroke-dashoffset: 408;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.loading-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.loading-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.8;
    display: block;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    background: rgba(245, 241, 232, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 2px 20px rgba(45, 80, 22, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(232, 229, 222, 0.5);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.navbar.scrolled {
    padding: 0.9rem 0;
    background: rgba(245, 241, 232, 0.98);
    box-shadow: 0 4px 30px rgba(45, 80, 22, 0.12);
    border-bottom: 1px solid rgba(232, 229, 222, 0.8);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateX(-3px);
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark-green);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.8;
    white-space: nowrap;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu .menu-header {
    display: none;
}

.nav-menu .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    display: block;
}

.nav-menu .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 44, 62, 0.1), rgba(45, 80, 22, 0.1));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--burgundy), var(--dark-green));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu .nav-link:hover {
    color: var(--burgundy);
}

.nav-menu .nav-link:hover::before {
    opacity: 1;
}

.nav-menu .nav-link:hover::after {
    width: 60%;
}

.nav-menu .nav-link.active {
    color: var(--burgundy);
    font-weight: 600;
}

.nav-menu .nav-link.active::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(107, 44, 62, 0.15), rgba(45, 80, 22, 0.15));
}

.nav-menu .nav-link.active::after {
    width: 60%;
}

.nav-menu .nav-link i {
    display: none;
}

.nav-menu .menu-close {
    display: none;
}

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

.btn-nav {
    padding: 0.75rem 1.8rem;
    background: linear-gradient(135deg, var(--burgundy), var(--soft-burgundy));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(107, 44, 62, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 44, 62, 0.4);
    background: linear-gradient(135deg, var(--soft-burgundy), var(--burgundy));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark-green);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.hamburger:hover span {
    background: var(--burgundy);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(2px);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 80, 22, 0.75) 0%,
        rgba(107, 44, 62, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem;
    animation: fadeInUp 1.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-buttons-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-button-center {
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--soft-burgundy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: var(--dark-green);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    background: #3a6b1f;
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-contact {
    padding: 0.7rem 1.8rem;
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--dark-green));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--light-beige) 0%, var(--cream) 100%);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-wrapper {
    width: 100%;
    max-width: 450px;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: relative;
    background: var(--pastel-gray);
}

.portrait-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 80, 22, 0.1) 0%,
        rgba(107, 44, 62, 0.1) 100%
    );
    z-index: 1;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.about-text {
    padding: 2rem 0;
}

.biography {
    color: var(--text-dark);
    line-height: 2;
}

.biography p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.biography ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.5rem 2rem;
}

.biography ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.biography ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-weight: bold;
    font-size: 1.2rem;
}

.biography .highlight {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Courses Section */
.courses {
    background: var(--white);
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--pastel-gray);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: var(--burgundy);
}

.course-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s ease;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 80, 22, 0.4) 0%,
        rgba(107, 44, 62, 0.3) 100%
    );
    transition: opacity 0.4s ease;
}

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

.course-card:hover .course-overlay {
    opacity: 0.7;
}

.course-icon {
    width: 70px;
    height: 70px;
    margin: -35px auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

.course-content {
    padding: 0 2rem 2.5rem;
    text-align: center;
}

.course-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Trial Lesson Section */
.trial-lesson {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.trial-lesson::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="music" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23music)"/></svg>');
    opacity: 0.3;
}

.trial-lesson .section-header {
    position: relative;
    z-index: 1;
}

.trial-lesson .section-header h2 {
    color: var(--white);
}

.trial-lesson .section-header .underline {
    background: var(--white);
}

.trial-lesson .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trial-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.trial-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.trial-benefits {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trial-benefits h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.6;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li i {
    color: var(--white);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.trial-cta-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 2.5rem;
}

.trial-cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.trial-cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.7;
}

.trial-form-wrapper {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--shadow-strong);
}

.trial-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--burgundy);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem 1.2rem;
    border: 2px solid var(--pastel-gray);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107, 44, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-trial {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.btn-trial i {
    font-size: 1.3rem;
}

@media (max-width: 968px) {
    .trial-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .trial-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .trial-lesson {
        padding: 4rem 0;
    }
    
    .trial-benefits,
    .trial-cta-box {
        padding: 2rem;
    }
    
    .trial-form-wrapper {
        padding: 1.5rem;
    }
}

/* Philosophy Section */
.philosophy {
    background: linear-gradient(180deg, var(--cream) 0%, var(--pastel-gray) 100%);
}

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

.philosophy-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border-top: 4px solid var(--burgundy);
}

.philosophy-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--burgundy), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.philosophy-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.philosophy-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background: var(--white);
    padding: 6rem 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 80, 22, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay i {
    color: var(--white);
    font-size: 2.5rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    padding: 0 30px;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.2);
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, var(--light-beige) 0%, var(--cream) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: stretch;
}

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

.info-item {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--burgundy), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.info-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--white);
    display: flex;
    align-items: stretch;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
}

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

.footer-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-header p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

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

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

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--burgundy), var(--cream));
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    padding: 0.3rem 0;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--cream);
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--dark-green));
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(107, 44, 62, 0.4);
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

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

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        order: 0;
    }

    .hamburger {
        order: 1;
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .logo-image {
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        flex-wrap: wrap;
        background: linear-gradient(180deg, rgba(245, 241, 232, 0.98) 0%, rgba(250, 248, 243, 0.98) 100%);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        width: 100%;
        height: auto;
        text-align: center;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 4px 20px rgba(45, 80, 22, 0.15);
        padding: 0.5rem 1rem 1rem;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        overflow: visible;
        z-index: 1002;
        border-bottom: 2px solid rgba(107, 44, 62, 0.3);
        visibility: hidden;
        opacity: 0;
        display: none;
    }

    .nav-menu.active {
        visibility: visible;
        opacity: 1;
        display: flex;
    }

    .nav-menu::before {
        display: none;
    }

    .nav-menu .menu-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: transparent;
        border: none;
        font-size: 1rem;
        color: var(--burgundy);
        cursor: pointer;
        padding: 0.4rem;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10;
        opacity: 0.8;
    }

    .nav-menu .menu-close:hover {
        background: rgba(107, 44, 62, 0.1);
        opacity: 1;
        transform: rotate(90deg);
    }

    .nav-menu li {
        width: auto;
        flex: 1 1 auto;
        min-width: fit-content;
    }


    .nav-menu .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 6px;
        width: auto;
        position: relative;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(232, 229, 222, 0.5);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin: 0;
        font-weight: 500;
        white-space: nowrap;
    }

    .nav-menu .nav-link i {
        display: inline-block;
        width: 14px;
        text-align: center;
        color: var(--burgundy);
        font-size: 0.8rem;
    }

    .nav-menu .nav-link::before {
        background: linear-gradient(135deg, rgba(107, 44, 62, 0.1), rgba(45, 80, 22, 0.1));
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.9);
        border-color: var(--burgundy);
        transform: translateY(-2px);
        box-shadow: 0 3px 12px rgba(107, 44, 62, 0.2);
        color: var(--burgundy);
    }

    .nav-menu .nav-link::after {
        display: block;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--burgundy), var(--dark-green));
        border-radius: 2px;
        transition: width 0.3s ease;
    }

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

    .nav-cta {
        display: none;
    }

    .nav-cta-mobile {
        display: block;
        width: 100%;
        padding-top: 1.5rem;
        margin-top: 1rem;
        border-top: 1px solid rgba(232, 229, 222, 0.5);
    }

    .nav-cta-mobile .btn-nav {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    @media (min-width: 969px) {
        .nav-cta-mobile {
            display: none;
        }

        .nav-menu {
            position: static !important;
            top: auto !important;
            left: auto !important;
            right: auto !important;
            flex-direction: row !important;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            width: auto !important;
            height: auto !important;
            padding: 0 !important;
            gap: 0.5rem !important;
            box-shadow: none !important;
            border-bottom: none !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: flex !important;
            overflow: visible !important;
            z-index: auto !important;
        }

        .nav-menu .menu-close {
            display: none !important;
        }

        .nav-menu .nav-link {
            padding: 0.6rem 1.2rem !important;
            font-size: 0.95rem !important;
            border-radius: 10px !important;
            background: transparent !important;
            border: none !important;
            width: auto !important;
        }

        .nav-menu .nav-link i {
            display: none !important;
        }
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--burgundy);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--burgundy);
    }

    .hero-title {
        font-size: 3rem;
        white-space: normal;
        text-align: center;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .map-container {
        min-height: 400px;
    }

    .map-container iframe {
        min-height: 400px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

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

    .nav-menu {
        top: 0;
        padding: 0.4rem 0.5rem 0.8rem;
    }

    .nav-menu .menu-close {
        top: 0.4rem;
        right: 0.4rem;
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
        padding: 0.3rem;
    }

    .nav-menu .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.7rem;
        gap: 0.4rem;
    }

    .nav-menu .nav-link i {
        width: 12px;
        font-size: 0.75rem;
    }

    section {
        padding: 4rem 0;
    }

    .loading-screen {
        padding: 1rem;
        min-height: 100vh;
        min-height: -webkit-fill-available;
        height: 100%;
        overflow: hidden;
    }

    .loading-content {
        width: 100%;
        max-width: 90vw;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .loading-logo-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }

    .progress-ring {
        width: 120px !important;
        height: 120px !important;
    }

    .loading-logo {
        height: 100px;
        width: 100px;
        border-width: 3px;
        flex-shrink: 0;
    }

    .loading-text {
        width: 100%;
        flex-shrink: 0;
    }

    .loading-text h2 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .loading-tagline {
        font-size: 0.7rem;
    }

    @keyframes logoFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
        }
        50% {
            transform: translateY(-15px) scale(1.03);
        }
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2.2rem;
        white-space: normal;
        text-align: center;
        width: 100%;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons-row {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn,
    .hero-buttons-row .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 0 15px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}
