/* =========================================
   CONTENIDO PRINCIPAL
   ========================================= */
main {
    flex: 1 0 auto;
    width: 100%;
}

/* Hero (Home) */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4rem);
    letter-spacing: 10px;
    font-weight: 300;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.btn-collection {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #fff;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.btn-collection:hover {
    background: #fff;
    color: #111;
}

/* =========================================
   HERO SLIDER (INDEX)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    margin-top: -90px;
    /* Sube el hero bajo el header fixed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #111;
    /* Fondo de seguridad */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    /* Invisibles por defecto */
    transition: opacity 2s ease-in-out;
    /* Efecto de fundido de 2 seg */
    z-index: 1;
}

/* La clase .active hace que la imagen sea visible */
.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Capa oscura para que el texto resalte (VITAL) */
.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Ajusta el 0.4 para más/menos oscuridad */
    z-index: 3;
}

/* CONTENIDO DEL HERO */
.hero-content {
    position: relative;
    z-index: 10;
    /* Por encima de todo el slider */
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    letter-spacing: 12px;
    font-weight: 350;
    margin-bottom: 10px;
    color: #fff;
    white-space: nowrap;
    /* Esto obliga a que se quede en una línea */
}

.hero-content h2 {
    font-size: 1.2rem;
    letter-spacing: 5px;
    font-weight: 400;
    margin-bottom: 25px;
    color: #fff;
}

@media (max-width: 600px) {
    .hero-content p {
        /* 1. Hace que la primera letra de cada frase sea Mayúscula */
        text-transform: capitalize;

        /* 2. Ajustamos el ancho para que "Emoción visual" no quepa arriba 
           y el navegador lo empuje todo junto a la línea de abajo */
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;

        line-height: 1.6;
        /* Un poco de aire entre las líneas */
    }
}

/* REGLA GENERAL (PC y Tablet) */
.hero-content p {
    font-size: 1.2rem;
    /* El tamaño que acordamos para PC */
    letter-spacing: 2px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #fff;
    line-height: 1.6;

    /* ESTO ACTIVA LAS MAYÚSCULAS EN TODAS LAS PANTALLAS */
    text-transform: capitalize;
}

@media (max-width: 600px) {
    .hero-content p {
        font-size: 1.1rem;
        text-transform: capitalize;

        /* Bajamos el ancho máximo para forzar el salto antes */
        /* Prueba con 260px o 250px hasta que veas que "Emoción visual" baja en bloque */
        max-width: 250px;
        text-wrap: balance;
        word-break: keep-all;
        overflow-wrap: normal;
    }

    .btn-collection {
        display: inline-block;
        padding: 15px 40px;
        border: 1px solid #fff;
        text-decoration: none;
        color: #fff;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 3px;
        text-transform: uppercase;
        transition: 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
    }

    .btn-collection:hover {
        background: #fff;
        color: #111;
    }
}