/* ========================================
   NAVBAR STYLES
======================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(10px); */
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.logo-img {
    width: 30px;
    height: 30px;
}

.nav-logo span {
    font-family: 'DM Sans', sans-serif;
    color: #c8a882;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-family: 'DM Sans', sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: #c8a882;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
    position: relative;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animación del hamburguesa */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* Efecto de scroll en el header */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* ========================================
   BOTÓN CTA EN NAVBAR
======================================== */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--primary-color, #c8a882);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color, #c8a882);
    cursor: pointer;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--primary-hover, #b8956b);
    border-color: var(--primary-hover, #b8956b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 168, 130, 0.3);
}

.nav-cta-btn i {
    font-size: 0.85rem;
}

/* ========================================
   MOBILE NAVIGATION
======================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        /* backdrop-filter: blur(10px); */
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: left 0.3s ease !important;
        gap: 2rem !important;
        z-index: 10000 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgba(200, 168, 130, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-cta-btn {
        padding: 12px 24px;
        width: 90%;
        justify-content: center;
        margin-top: 1rem;
        border-bottom: none;
        font-size: 1.1rem;
    }
    
    .nav-menu.active .nav-cta-btn {
        animation: slideInUp 0.3s ease;
    }
}

@media (max-width: 480px) {
    .nav-cta-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .nav-cta-btn i {
        font-size: 0.9rem;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}