/* ======================================
   MEJORAS SUTILES HEADER Y FONDO
   ====================================== */

/* Mejoras del Header/Navbar */
.navbar-default {
    background: var(--header-gradient-default) !important;
    border: none !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-transparent {
    background: var(--header-gradient-transparent) !important;
    backdrop-filter: blur(10px);
}

/* Logo mejorado */
.navbar-brand img {
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Menú de navegación mejorado */
.navbar-nav > li > a {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #64b5f6;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav > li > a:hover {
    color: #64b5f6 !important;
    background: none !important;
}

.navbar-nav > li > a:hover::after,
.navbar-nav > li.active > a::after {
    width: 80%;
}

.navbar-nav > li.active > a {
    color: #64b5f6 !important;
    background: none !important;
}

/* Toggle button mejorado */
.navbar-toggle {
    border: 2px solid white;
    border-radius: 8px;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
    background: rgba(255,255,255,0.1);
    border-color: #64b5f6;
}

.navbar-toggle .fa {
    color: white;
}

/* Efectos de scroll en el navbar */
.navbar.navbar-scrolled {
    background: var(--header-gradient-scrolled) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Mejoras del fondo general */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

/* Secciones con fondos mejorados */
.about-area {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(30, 60, 114, 0.03) 0%, transparent 70%);
}

/* Dropdown mejorado */
.dropdown-menu {
    background: var(--header-gradient-default);
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dropdown-menu > li > a {
    color: white !important;
    transition: all 0.3s ease;
}

.dropdown-menu > li > a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #64b5f6 !important;
}

/* Search mejorado */
.top-search {
    background: var(--header-gradient-scrolled);
    backdrop-filter: blur(15px);
}

.top-search .form-control {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.top-search .form-control:focus {
    background: rgba(255,255,255,0.25);
    border-color: #64b5f6;
}

.top-search button {
    background: #64b5f6;
    color: white;
}

.top-search button:hover {
    background: #42a5f5;
}

/* Responsive */
@media (max-width: 767px) {
    .navbar-collapse {
        background: var(--header-gradient-default);
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .navbar-nav > li > a {
        color: white !important;
        padding: 15px 20px !important;
    }
    
    .navbar-nav > li > a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #64b5f6 !important;
    }
}