
/* Navegación */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(26, 27, 37, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.7rem 2rem;
    background-color: rgba(26, 27, 37, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.text-logo a {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.5rem;
    color: var(--light);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.text-logo a:hover {
    color: var(--accent);
}

.logo img {
    height: 40px;
    padding: 4px;
    background-color: var(--light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

nav {
    width: auto;
    max-width: 800px;
}

.enlaces-nav {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.enlaces-nav a {
    width: fit-content;
    position: relative;
    height: 100%;
    color: var(--light);
    font-weight: 500;
    padding: 0.5rem 0;
}

.enlaces-nav a:hover {
    color: var(--accent);
}

.enlaces-nav a::after {
    position: absolute;
    display: block;
    content: "";
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    width: 100%;
    height: 2px;
    transition: transform .3s ease;
    background-color: var(--accent);
    border-radius: 1px;
}

.enlaces-nav a:hover::after {
    transform: scaleX(1);
}

.enlaces-nav div {
    position: relative;
}

.icon-header {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.enlaces-nav a:hover .icon-header {
    opacity: 1;
}

.btn-header {
    color: var(--light);
    background-color: transparent;
    border: 1px solid var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-header:active {
    transform: translateY(1px);
}

/* Barra de búsqueda (inhabilitada xd no borren)*/
/* .search-bar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.3);
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--light);
    font-size: 0.9rem;
    padding: 0.3rem 0.5rem;
    width: 150px;
    outline: none;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
} */

/* Menú hamburguesa para móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Sección Principal */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1603969409447-ba86143a03f6?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    z-index: -1;
    filter: brightness(0.4) saturate(1.2);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero-content {
    width: 90%;
    max-width: 800px;
    margin-left: 10%;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 600px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light);
    color: var(--light);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Secciones de contenido */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--light);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Sección de Características */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Estilos para el footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    background-color: var(--light);
    padding: 8px;
    border-radius: 8px;
}

.footer-logo h3 {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    min-width: 160px;
}

.footer-column h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .enlaces-nav {
        gap: 1.5rem;
    }
    
    .hero-content {
        margin-left: 5%;
    }
}

@media (max-width: 768px) {
    header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        position: relative;
        z-index: 1000;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        position: relative;
        z-index: 1001; /* Sobre el nav */
    }

    .mobile-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--light);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease-in-out;
        z-index: 1000;
    }

    nav.active {
        max-height: 400px; /* Ajusta si tu menú es más largo */
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .enlaces-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
    }

    .enlaces-nav a,
    .enlaces-nav select {
        width: 100%;
        text-align: center;
        padding: 0.7rem;
        font-size: 1rem;
        background: none;
        color: var(--light);
        border: none;
    }
}


@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 3rem 0;
    }
}