.hero {
    position: relative;
    height: 80vh;
    background: linear-gradient(rgba(9, 10, 32, 0.294), rgba(9, 10, 32, 0.277)),
                url('https://i.ibb.co/5hmrpVSN/Maderal-Horizontal-Slide.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    margin-top: 90px;
    transition: all 0.3s ease;
}

body.dark .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
                url('https://i.ibb.co/5hmrpVSN/Maderal-Horizontal-Slide.webp') center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    color: white;
    transition: color 0.3s ease;
}

body.dark .hero-content {
    color: #CF621B;
}

.hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

body.dark .hero h1 {
    color: #CF621B;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.dark .hero p {
    color: rgba(207, 98, 27, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #CF621B;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

body.dark .cta-button {
    background: #CF621B;
    color: #000;
    border: 2px solid #CF621B;
    box-shadow: 0 5px 15px rgba(207, 98, 27, 0.3);
}

.cta-button:hover {
    background: transparent;
    border-color: #CF621B;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(207, 98, 27, 0.4);
}

body.dark .cta-button:hover {
    background: transparent;
    color: #CF621B;
    border-color: #CF621B;
    box-shadow: 0 10px 25px rgba(207, 98, 27, 0.5);
}

/* Efecto de brillo al hacer hover en modo oscuro */
body.dark .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

body.dark .cta-button:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
    }
}

/* Efecto adicional para mejorar la legibilidad en modo oscuro */
body.dark .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}