/* header.css */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: var(--light);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    height: 45px;
    transition: transform 0.3s ease;
}

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

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--light);
    font-weight: 700;
    line-height: 1.5;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    transform: scale(1.1);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--light);
    transition: 0.3s;
    border-radius: 3px;
}

.btn-cotizar {
    background: var(--primary);
    color: var(--secondary) !important;
    padding: 8px 20px !important;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.btn-cotizar:hover {
    background: transparent;
    color: var(--primary) !important;
    transform: scale(1.05);
}

/* Menú móvil fullscreen */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #1a1a1a;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-menu a {
        font-size: 1.8rem;
        font-weight: 700;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

    .btn-cotizar {
        padding: 12px 30px !important;
        font-size: 1.5rem; /* reducido de 1.8rem para mejor proporción */
        margin-top: 10px;
    }
}