/* Header Navigation Styles */

/* Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-icon {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon i {
    font-size: 2rem;
}

.user-icon:hover {
    color: var(--secondary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.login-button {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.login-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile Menu Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation Animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        padding: 1rem 2%;
    }

    .burger {
        display: block;
        z-index: 2;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        gap: 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-links.active li {
        opacity: 1;
    }

    .user-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-button,
    .login-button {
        width: 80%;
        text-align: center;
        margin: 0 auto;
    }

    .language-selector {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .language-selector .dropdown {
        width: 80%;
        position: relative;
    }

    .language-selector .dropdown-toggle {
        width: 100%;
        justify-content: center;
        padding: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 25px;
    }

    /* Language dropdown mobile - push content down */
    .language-selector .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        background: white;
        border: 1px solid #ddd;
    }

    .language-selector .dropdown-menu.show {
        display: block !important;
        margin-bottom: 1rem;
    }

    .language-selector .dropdown-item {
        padding: 0.75rem 1rem !important;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }

    .language-selector .dropdown-item:last-child {
        border-bottom: none;
    }

    .language-selector .dropdown-item:hover {
        background-color: #f8f9fa;
    }
} 