/* ========================================
   HEADER MODERNO PARA EDUTICK
   ======================================== */

/* ========================================
   ESTRUCTURA DEL HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(23, 15, 55, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(23, 15, 55, 0.92);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: #DA90C0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #DA90C0;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* ========================================
   LOGO Y MARCA
   ======================================== */

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* ========================================
   MENÚ MÓVIL
   ======================================== */

.toggle_btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.toggle_btn:hover {
    color: #DA90C0;
}

.dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(23, 15, 55, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown_menu.open {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.dropdown-logo {
    height: 30px;
    width: auto;
}

.dropdown-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.dropdown-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-links li:last-child {
    border-bottom: none;
}

.dropdown-links li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    transition: background-color 0.3s ease;
}

.dropdown-links li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #DA90C0;
}

.dropdown-links li a i {
    width: 20px;
    text-align: center;
}

.dropdown-footer {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

/* ========================================
   BOTONES Y ACCIONES
   ======================================== */

.action_btn {
    font-family: Inter, sans-serif;
    cursor: pointer;
    background: linear-gradient(135deg, #FF8A65 0%, #FFB74D 100%);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    transition: all 0.5s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 138, 101, 0.3);
}

.action_btn:hover {
    scale: 1.1;
    background: linear-gradient(135deg, #FF7043 0%, #FFA726 100%);
    box-shadow: 0 6px 20px rgba(255, 138, 101, 0.4);
}

.action_btn:active {
    scale: 1;
}

.action_btn:hover i {
    color: #ffff00;
    scale: 1.1;
    rotate: 360deg;
    filter: drop-shadow(0 0 5px rgba(255, 208, 0, 0.8))
        drop-shadow(0 0 10px rgba(255, 208, 0, 0.6));
}

.action_btn .text {
    transition: all 1s ease;
    white-space: nowrap;
}

.action_btn i {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-top: -1px;
    transition: all 1s ease;
}

.action_btn:hover .text {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

/* ========================================
   ANIMACIONES Y TRANSICIONES
   ======================================== */

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header {
    animation: slideDown 0.5s ease;
}

/* ========================================
   MEDIA QUERIES RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .toggle_btn {
        display: block;
    }
    
    .action_btn {
        display: inline-flex;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .dropdown_menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .dropdown-header {
        padding: 1rem;
    }
    
    .dropdown-links li a {
        padding: 1rem;
    }
    
    .dropdown-footer {
        padding: 1rem;
    }
}
