/* style.css: Ajuste perfecto de imágenes y diseño minimalista */

:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #aaaaaa;
    --font-main: 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
}

/* --- ANIMACIÓN FADE-IN --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SECCIONES DE IMAGEN AJUSTADAS --- */
.full-width-section {
    position: relative;
    width: 100%;
    /* Eliminamos height fijo para que la imagen mande */
    min-height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #111; /* Separador sutil */
}

/* La imagen ahora se comporta como un bloque responsivo normal */
.full-width-section img {
    width: 100%;       /* Ocupa todo el ancho disponible */
    height: auto;      /* La altura se ajusta automáticamente para no deformarse */
    display: block;    /* Elimina espacios blancos debajo de la imagen */
    filter: grayscale(100%) brightness(0.7); /* Blanco y negro + oscurecido para leer texto */
    transition: filter 0.5s ease;
}

.full-width-section:hover img {
    filter: grayscale(100%) brightness(0.9);
}

/* TEXTO SOBRE LA IMAGEN */
.overlay-text {
    position: absolute; /* Flota sobre la imagen */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto */
    z-index: 2;
    text-align: center;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    pointer-events: none; /* Permite hacer clic en la imagen si fuera necesario, aunque aquí hay botón */
}

/* Reactivamos los eventos de puntero para el botón y enlaces dentro del texto */
.overlay-text a, .overlay-text button {
    pointer-events: auto;
}

.overlay-text h2 {
    font-size: clamp(2rem, 5vw, 4rem); /* Tamaño de fuente adaptable al móvil */
    font-weight: 200;
    letter-spacing: 0.5vw;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
    color: #fff;
}

.overlay-text p {
    font-size: 1.1rem;
    color: #eee;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    margin-bottom: 2rem;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: rgba(255,255,255,0.1); /* Fondo semitransparente */
    backdrop-filter: blur(5px);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    border: 1px solid var(--text-color);
    transition: all 0.4s ease;
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* --- FORMULARIO DE RESEÑAS --- */
.review-section {
    padding: 6rem 2rem;
    background-color: #080808;
    display: flex;
    justify-content: center;
}

.review-form {
    width: 100%;
    max-width: 550px;
    padding: 3rem;
    border: 1px solid #222;
    background: #0f0f0f;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.review-form h2 {
    text-align: center;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.form-group { margin-bottom: 2rem; }

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #050505;
    border: 1px solid #333;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: #000;
}

/* --- ESTRELLAS INTERACTIVAS --- */
.star-rating {
    display: flex;
    flex-direction: row-reverse; /* Invierte el orden para el efecto CSS */
    justify-content: center;
    gap: 15px;
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.star-rating input { display: none; }

.star-rating label {
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Efecto Hover y Selección */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.star-rating input:checked ~ label {
    color: #fff;
}

.star-rating label:hover {
    transform: scale(1.2);
}

/* --- LISTA DE RESEÑAS --- */
.reviews-list-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-list-section h2 {
    text-align: center;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.review-item {
    border-bottom: 1px solid #1a1a1a;
    padding: 2.5rem 0;
    text-align: center;
}

.review-item .stars {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: block;
}

.review-item .pseudonym {
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
    color: #666;
}

.review-item .comment {
    font-style: italic;
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 5rem 2rem;
    border-top: 1px solid #111;
    background: #050505;
}

.social-links a {
    color: #666;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.social-links a:hover { color: #fff; }

.age-disclaimer {
    font-size: 0.7rem;
    color: #333;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

