body.menu-open {
    overflow: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 134, 171, 0.1);
    z-index: 1000;
    height: 70px;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 200px;
}

.nav-logo a {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-decoration: none;
    color: inherit;
}

.nav-logo a:focus-visible {
    outline: 2px solid var(--ocean-blue);
    outline-offset: 2px;
}

.nav-logo h2 {
    color: var(--ocean-blue);
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(46, 134, 171, 0.1);
    min-width: 280px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--ocean-blue-light);
    border-left-color: var(--coral-sunset);
    color: var(--ocean-blue-dark);
}

.dropdown-item i {
    color: var(--coral-sunset);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item .item-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: inherit;
    font-family: var(--font-secondary);
}

.dropdown-item .item-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

.nav-contact {
    background: var(--gradient-ocean);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-contact:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--ocean-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.footer {
    background: var(--ocean-blue-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer h3,
.footer h4 {
    color: var(--sandy-beige);
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social a:hover {
    color: var(--coral-sunset-light);
}

.footer-links a:hover {
    color: var(--coral-sunset-light) !important;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-logo {
        min-width: auto;
        gap: 0.05rem;
    }

    .nav-logo h2 {
        font-size: 1.2rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        height: calc(100dvh - var(--nav-h));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(46, 134, 171, 0.1);
        flex-direction: column;
        padding: 1rem 0 2rem;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1002;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(46, 134, 171, 0.1);
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        background: var(--soft-gray);
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .nav-contact {
        margin: 0.5rem 1.5rem;
        align-self: flex-start;
    }

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

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}
