/* ============================================
   HERO + SLIDER — Archivo único
   ============================================ */

/* --- HERO --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../img_fondo/rincones-y-sabores-de-puerto-rico.jpg') no-repeat center center/cover;
    min-height: 100vh;
    padding: 100px 20px 50px;
    color: white;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .content {
    color: #FFD700;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin: 0 0 15px 0;
    padding: 0;
    animation: fadeInDown 3s ease-out;
}

.hero h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin: 0 0 10px 0;
    padding: 0;
    animation: fadeInDown 3s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    animation: fadeInDown 3s ease-out;
}

/* --- CAROUSEL / SLIDER --- */
#carousel {
    margin-top: -10px;
    margin-bottom: 10px;
}

/* --- RESPONSIVE: TABLET --- */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 70px 15px 15px;
    }

    .hero .content {
        padding: 10px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    #carousel {
        margin-top: -5px;
    }
}

/* --- RESPONSIVE: CELULAR PEQUEÑO --- */
@media (max-width: 378px) {
    .hero {
        padding: 60px 10px 10px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    #carousel {
        margin-top: 0;
    }
}

/* --- ANIMACIONES --- */
@keyframes fadeInDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
