:root {
    --primary-color: #0A3055;
    --primary-dark: #07223D;
    --accent-color: #E5B04F;
    --accent-hover: #F2C36B;
    --bg-color: #FAFAFA;
    --text-color: #333333;
    --sidebar-width: 300px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    z-index: 100;
}

.logo-container {
    padding: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
}

.logo {
    width: 100%;
    display: block;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

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

.main-nav {
    flex-grow: 1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    padding-left: 2.5rem;
}

.sidebar-contact {
    padding: 2rem;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-contact a {
    color: var(--accent-color);
}

/* Main Content */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-color);
}

.mobile-header {
    display: none;
    background: var(--primary-color);
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 99;
}

.mobile-logo {
    height: 40px;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: url('slide-1-900x600-768x512.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(10, 48, 85, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    padding: 2rem;
    animation: slideUp 0.8s ease-out;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

/* Content Wrapper */
.content-wrapper {
    padding: 4rem;
    flex-grow: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.page-content {
    font-size: 1.1rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

.page-content p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 176, 79, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 176, 79, 0.5);
    color: var(--primary-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(229, 176, 79, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

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

/* Layout Utilities */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.col {
    flex: 1;
    min-width: 300px;
}

.classes-offered-box {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.3);
}

.classes-offered-box p {
    margin: 0;
}

.classes-offered-box strong {
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
    position: relative;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    margin: 0;
    font-style: normal;
}

.lessons-intro {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lessons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.lesson-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: var(--primary-color);
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-bottom: 4px solid var(--accent-color);
    cursor: pointer;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: var(--primary-dark);
}

.lesson-card h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Rates & Policy */
.rates-intro {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
    flex: 1 1 250px;
    max-width: 320px;
}

.pricing-card.accent-card {
    border-top: 5px solid var(--accent-color);
}

.pricing-card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.pricing-card .lesson-type {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.pricing-card .contact-price a {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.rates-info {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: rgba(229, 176, 79, 0.1);
    border-radius: 12px;
}

.policy-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.policy-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.policy-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.policy-item h4 {
    margin: 0 0 1rem 0;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.policy-item p {
    margin: 0;
    color: #444;
}

/* Contact Page */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-form-section, .contact-info-section {
    display: flex;
    flex-direction: column;
}

.modern-contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-top: 5px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.modern-contact-form input,
.modern-contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    margin-top: 1rem;
}

.info-card {
    background: var(--primary-color);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.info-card h2 {
    color: white;
    margin-top: 0;
}

.info-card .neighborhood {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.modern-address {
    font-style: normal;
}

.address-item {
    margin-bottom: 1.5rem;
}

.address-item h4 {
    margin: 0 0 0.2rem 0;
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.address-item a {
    color: white;
    text-decoration: underline;
}

.address-item a:hover {
    color: var(--accent-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}


/* Responsive */
@media (max-width: 992px) {
    :root {
        --sidebar-width: 0px;
    }
    
    .sidebar {
        transform: translateX(-100%);
        width: 300px;
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .mobile-header {
        display: flex;
    }
    
    .content-wrapper {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

}
