/* Topbar */
.topbar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--white);
    margin-right: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.divider {
    margin-right: 15px;
    color: var(--text-light);
}

.social-links a {
    color: var(--white);
    margin-left: 10px;
    transition: color 0.3s;
}

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

/* Navegación Principal */
.main-nav {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Teko', sans-serif;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--secondary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-top: 3px solid var(--primary-color);
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .topbar {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }

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

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background-color: var(--light-bg);
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
}
