/* ===== reviews.css ===== */
/* Estilos completos para la página de reseñas */

:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ===== HERO SECTION - IGUAL QUE LAS DEMÁS PÁGINAS ===== */
.reviews-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    box-sizing: border-box;
}

.reviews-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/kayaks/atardecer.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    z-index: -2;
}

.reviews-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(141, 11, 145, 0.4) 0%, rgba(0, 0, 0, 0.95) 90%);
    z-index: -1;
}

.reviews-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding: 8px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--fuente-titulos);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.hero-title span {
    color: #ff00ea;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 0, 234, 0.3);
    z-index: -1;
    border-radius: 10px;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    font-weight: 500;
}

.scroll-link:hover {
    background: #ff00ea;
    border-color: #ff00ea;
    transform: translateY(5px);
    box-shadow: 0 10px 30px rgba(255, 0, 234, 0.5);
}

/* ===== CONTENIDO PRINCIPAL ===== */
.reviews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FORMULARIO ===== */
.review-form-wrapper {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(141, 11, 145, 0.1);
}

.review-form-wrapper h2 {
    font-family: var(--fuente-titulos);
    color: #0a1a2f;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.review-form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8d0b91, #ff00ea);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0a1a2f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #8d0b91;
    outline: none;
    box-shadow: 0 0 0 3px rgba(141, 11, 145, 0.1);
}

/* Sistema de estrellas */
.rating-group {
    margin-bottom: 25px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #cbd5e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ff00ea;
}

.btn-submit-review {
    background: linear-gradient(45deg, #8d0b91, #ff00ea);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 234, 0.3);
}

.btn-submit-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 0, 234, 0.5);
}

.form-note {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* ===== RESEÑAS RECIENTES ===== */
.recent-reviews h2 {
    font-family: var(--fuente-titulos);
    color: #0a1a2f;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.recent-reviews h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8d0b91, #ff00ea);
    border-radius: 2px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(141, 11, 145, 0.15);
    border-color: #8d0b91;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.reviewer-info h3 {
    font-size: 1.2rem;
    color: #0a1a2f;
    margin-bottom: 3px;
    font-weight: 700;
}

.review-date {
    font-size: 0.85rem;
    color: #a0aec0;
}

.review-rating i {
    color: #cbd5e0;
    margin-left: 2px;
    font-size: 1.1rem;
}

.review-rating i.active {
    color: #ff00ea;
}

.review-tour {
    font-size: 0.95rem;
    color: #8d0b91;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 5px 12px;
    background: rgba(141, 11, 145, 0.1);
    display: inline-block;
    border-radius: 20px;
}

.review-text {
    color: #4a5568;
    line-height: 1.7;
    font-style: italic;
    font-size: 1rem;
}

/* ===== ALERTAS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.error {
    color: #991b1b;
    background: #fee2e2;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.no-reviews {
    color: #718096;
    font-style: italic;
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .reviews-container {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-form-wrapper,
    .review-card {
        padding: 25px;
    }
    
    .review-form-wrapper h2,
    .recent-reviews h2 {
        font-size: 1.8rem;
    }
    
    .star-rating label {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .review-form-wrapper h2,
    .recent-reviews h2 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .btn-submit-review {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-tour {
        font-size: 0.85rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
}

/* ===== BOTÓN VER MÁS RESEÑAS ===== */
.ver-mas-container {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #8d0b91, #ff00ea);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 0, 234, 0.3);
}

.btn-ver-mas:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 0, 234, 0.5);
}

.btn-ver-mas i {
    transition: transform 0.3s ease;
}

.btn-ver-mas:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .btn-ver-mas {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .btn-ver-mas {
        width: 100%;
        justify-content: center;
    }
}

/* ===== CORRECCIÓN DEL FOOTER ===== */
/* Asegurar que el footer ocupe todo el ancho */
footer.footer,
.footer {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    box-sizing: border-box;
}

/* El contenedor del footer mantiene su ancho interno */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Para móviles */
@media (max-width: 768px) {
    footer.footer,
    .footer {
        width: 100vw !important;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
}