/* Hero Section Styles - Spain Theme */

/* Hero background con nubes cálidas en los laterales */
.hero-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Capa 1: fondo PNG */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../img/bg-cloud-secondary.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Capa 2: degradado superior e inferior */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: 
        linear-gradient(to bottom,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0) 15%,
            rgba(255, 255, 255, 0) 85%,
            rgba(255, 255, 255, 1) 100%
        );
}

/* Contenido por encima */
.hero-section > .container {
    position: relative;
    z-index: 2;
}

/* Hero section buttons with working hover */
.hero-section .btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.hero-section .btn-hero-primary {
    background-color: white !important;
    border: 2px solid white !important;
    color: #000000 !important;
    pointer-events: auto !important;
}

.hero-section .btn-hero-primary:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-section .btn-hero-secondary {
    background-color: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    pointer-events: auto !important;
}

.hero-section .btn-hero-secondary:hover {
    background-color: white !important;
    border-color: white !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

/* Hero image animation */
.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Min height for hero */
.min-vh-50 {
    min-height: 50vh;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-image {
        max-height: 300px !important;
    }
}
