/* Configuración general */
.ventana-principal {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    background: black; 
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Centra la subventana en la pantalla */
    overflow: hidden; 
}

/* Hero Section */
.hero {
    position: relative;
    height: 95vh; 
    width: 95%; 
    max-width: 1600px; 
    background: black; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    backdrop-filter: blur(10px); /* Efecto de vidrio */
    border-radius: 10px;
    border: 3px solid transparent;
}

.hero-wrapper {
    position: relative;
    height: 96vh; 
    width: 98vw; 
    border-radius: 10px; 
    padding: 2px; /* border del contorno banco */
    background: linear-gradient(to bottom, white 40%, black 80%); /* Gradiente del borde */
    display: flex;
    justify-content: center; 
    align-items: center; 
} 


/* Texto del Hero */
.hero-text {
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero-text h1 {
    font-size: 28px;
    margin-bottom: -60px; /* Junta "GRUPO" con "HOYOS RIOJA" */
}

.hero-text h2 {
    font-size: 82px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7);
    line-height: 0.8;
    white-space: nowrap;
}

.hero-text .small-text {
    font-size: 35px;
    margin-bottom: 10px;
}

.hero-text .large-text {
    font-size: 95px;
    font-weight: bold;
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-top: -30px; /* Sube solo este párrafo */
}

/* Contenedor de los botones */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    margin-right: 75px;
}

/* Estilos de los recuadros */
.box {
    width: 330px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Botón */
.btn {
    background: linear-gradient(to right, #333333, #555555); /* Tonos de gris */
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #777777; /* Borde gris más claro */
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    height: 70px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1); /* Sutil resplandor blanco */
}

/* Hover */
.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #555555, #777777); /* Aclarar un poco en hover */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Click */
.btn:active {
    background: linear-gradient(to right, #222222, #444444); /* Más oscuro al presionar */
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* 🎯 Ajustes responsivos */
/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .hero-text h2 {
        font-size: 60px;
    }

    .hero-text .large-text {
        font-size: 70px;
    }

    .button-container {
        align-items: center;
        margin-right: 0;
    }
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 20px;
        margin-bottom: -10px;
    }

    .hero-text h2 {
        font-size: 45px;
        line-height: 1.1;
    }

    .hero-text .large-text {
        font-size: 55px;
    }

    .hero-text p {
        font-size: 1rem;
        margin-top: 10px;
    }

    .button-container {
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin-right: 0;
    }

    .btn {
        font-size: 16px;
        padding: 12px 20px;
        height: auto;
    }
}

/* Ajustes para celulares en vertical (más pequeños) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 18px;
    }

    .hero-text h2 {
        font-size: 38px;
        line-height: 1.2;
    }

    .hero-text .large-text {
        font-size: 48px;
    }

    .button-container {
        width: 100%;
        max-width: 280px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 15px;
    }
}
