/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.logo img {
    display: block;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 3em;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

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

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

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

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100%);
    left: 0;
    margin-left: -65%;
    margin-right: 65%;
    background: var(--white);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a,
.log-out-form {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.language-dropdown-item {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    display: block;
    padding: 12px 24px;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
}

.language-dropdown-menu {
    min-width: 50px;
    width: 75px;
}

.language-dropdown-item:hover {
    color: var(--primary);
    cursor: pointer;
    transform: translateX(5px);
}

.log-out-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    height: 100%;
    text-align: left;
}

.log-out-form {
    height: 100%;
    width: 100%;
}

.nav-dropdown-menu a:hover,
.log-out-form:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lang-link {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
    opacity: 1;
    color: var(--primary);
}

.lang-separator {
    opacity: 0.3;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-light);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 170, 168, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 170, 168, 0.2);
}

.footer-brand h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.footer-brand p {
    color: #999;
    font-size: 16px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.footer-contact a {
    font-size: 18px;
    font-weight: 600;
    color: #CCC;
    transition: color 0.3s ease;
}

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

.footer-divider {
    height: 1px;
    background: rgba(255, 170, 168, 0.2);
    margin: 40px 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-column a {
    display: block;
    font-size: 15px;
    color: #999;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    color: #666;
    font-size: 14px;
}

@media (max-width: 1264px) {
    .nav-container {
        padding: 0 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-contact {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 15px;
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}