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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    background: #ffffff;
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.logo-container {
    background: #ffffff;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #e8e8e8;
}

.logo img {
    width: 100%;
    height: auto;
    max-width: min(750px, 90%);
    max-height: 200px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.navbar {
    background: #f8f8f8;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu a, .submenu-label {
    color: #444444;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease-in-out;
    font-weight: 300;
    font-size: 1.2rem;
    white-space: nowrap;
    background-color: transparent;
}

.menu a:hover, .submenu-label:hover {
    background-color: rgba(240, 240, 240, 0.9);
    color: #222222;
}

.menu a:focus-visible, .submenu-label:focus-visible {
    outline: 2px solid #665665;
}

.submenu-label {
    cursor: pointer;
}

.has-submenu {
    position: relative;
}

.submenu {
    list-style: none;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    border: 1px solid #e8e8e8;
    z-index: 1000;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submenu li {
    padding: 0.25rem 1rem;
}

.submenu a {
    color: #555555;
    font-weight: 300;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    background-color: transparent;
}

.submenu a:hover {
    background-color: rgba(248, 248, 248, 0.9);
    color: #333333;
}

.toggle {
    display: none;
}

.burger {
    display: none;
    color: #444444;
    font-size: 1.5rem;
    cursor: pointer;
    order: 1;
    padding: 0.5rem;
    background: none;
    border: none;
    transition: opacity 0.3s ease;
}

.burger:hover {
    opacity: 0.7;
}

#submenu-toggle {
    display: none;
}

/* Main Content Styles */
.content {
    flex: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.content h1 {
    color: #333333;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.content p {
    color: #665665;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 65ch;
    margin-bottom: 1.5rem;
}

/* Contact Page Specific Styles */
.contact-content {
    max-width: 680px;
    padding: 2rem 1.5rem;
    animation: fadeIn 0.6s ease;
}

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

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    color: #554455;
    font-weight: 400;
    font-size: 1.1rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

input:focus, textarea:focus {
    border-color: #665665;
    box-shadow: 0 2px 12px rgba(102, 86, 102, 0.1);
    background: #ffffff;
}

.submit-btn {
    background: #665665;
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #554455;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 86, 102, 0.2);
}

/* Footer Styles */
.site-footer {
    background: #f8f8f8;
    border-top: 1px solid #e8e8e8;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #665665;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        max-width: 500px;
        max-height: 150px;
    }

    .navbar {
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    .burger {
        display: block;
    }

    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        order: 2;
        background: #ffffff;
        border-top: 1px solid #e8e8e8;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .toggle:checked ~ .menu {
        display: flex;
        max-height: 1000px;
        transition: max-height 0.3s ease-in;
    }

    .submenu {
        position: static;
        display: none;
        background: #f8f8f8;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
        opacity: 1;
        transform: none;
    }

    #submenu-toggle:checked ~ .submenu {
        display: block;
    }

    .content {
        padding: 2rem 1rem;
    }

    .contact-content {
        padding: 1.5rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .logo img {
        max-width: 600px;
        max-height: 180px;
    }
    
    .menu {
        gap: 1.5rem;
    }
}