/* Variables de la Paleta de Colores de la Marca */
:root {
    --marrón-oscuro: #542F24;
    --marrón-profundo: #3B2517;
    --arena: #DEDACF;
    --arena-clara: #F8F6F2;
    --blanco: #FFFFFF;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Fondo general unificado en arena clara */
body {
    background-color: var(--arena-clara);
    color: var(--marrón-oscuro);
    line-height: 1.6;
}

/* --- MENÚ DE NAVEGACIÓN A DOBLE NIVEL --- */
.navbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Nivel superior: Logo y Acciones */
.navbar-top {
    background-color: var(--marrón-profundo); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
}

.navbar-top .logo {
    font-size: 24px;
    letter-spacing: 4px;
    font-weight: 400;
    color: var(--arena); 
}

/* Nivel inferior: Links centrados */
.navbar-bottom {
    background-color: var(--arena); 
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
}

.nav-links {
    width: 60%;
    max-width: 900px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Textos resaltados sin transparencia */
.nav-links ul li a {
    text-decoration: none;
    color: var(--marrón-oscuro); 
    font-size: 13.5px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-links ul li a:hover {
    opacity: 1;
    color: var(--marrón-profundo); 
}

/* Grupo de Idiomas y Botón */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    color: var(--arena); 
    font-size: 11px;
    letter-spacing: 2px;
}

.lang-selector a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    opacity: 0.5;
}

.lang-selector a.active, .lang-selector a:hover {
    font-weight: bold;
    opacity: 1;
}

.btn-nav {
    background-color: var(--arena); 
    color: var(--marrón-profundo) !important; 
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-nav:hover {
    background-color: var(--blanco);
}

@media (max-width: 900px) {
    .navbar-bottom {
        width: 100%;
        padding: 0 20px 20px;
    }
    .nav-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* --- SECCIÓN HERO (ZONA 2) --- */
.hero {
    height: 100vh;
    background-color: var(--marrón-oscuro); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 140px; 
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); 
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 0 20px;
    color: var(--blanco); 
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-subtitle .line {
    height: 1px;
    width: 60px;
    background-color: var(--blanco); 
    opacity: 0.6;
}

.hero-content h4 {
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 300; 
    line-height: 1.15;
    margin-bottom: 0; 
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); 
}

/* --- CLASE GENERAL PARA TODAS LAS SECCIONES --- */
.seccion-unificada {
    background-color: var(--arena-clara);
    padding: 100px 40px;
}

/* Estilos de Contenedores y Textos compartidos */
.contenedor-regiones, .contenedor-journeys, .contenedor-pesca, .contenedor-contacto {
    max-width: 1100px;
    margin: 0 auto;
}

.contenedor-contacto {
    max-width: 900px;
}

.regiones-header, .journeys-header, .contacto-header {
    margin-bottom: 60px;
}

.pesca-header {
    margin-bottom: 60px;
    text-align: center; 
}

.pesca-header p {
    margin: 0 auto;
    max-width: 700px;
}

.etiqueta {
    font-size: 10px;
    letter-spacing: 5px;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 42px;
    color: var(--marrón-oscuro);
    margin-bottom: 20px;
    font-weight: normal;
}

p {
    font-size: 15px;
    color: var(--marrón-oscuro);
    font-weight: 300;
}

.grid-regiones, .grid-journeys, .grid-pesca {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- TARJETAS UNIFICADAS EN COLOR ARENA --- */
.tarjeta-region, .tarjeta-journey, .tarjeta-pesca {
    background-color: var(--arena);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tarjeta-region:hover, .tarjeta-journey:hover, .tarjeta-pesca:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.tarjeta-region img, .journey-img img, .tarjeta-pesca img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.journey-img {
    background-color: #ccc; 
}

.tarjeta-info, .journey-info {
    padding: 30px;
}

.tarjeta-info h3, .journey-info h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--marrón-oscuro);
    font-weight: normal;
}

.tarjeta-pesca .tarjeta-info h4 {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #A3705C; 
    margin-bottom: 10px;
}

.journey-tags {
    font-size: 10px;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 15px;
}

.tarjeta-info p, .journey-info p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.link-descubrir {
    font-size: 12px;
    color: var(--marrón-oscuro);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-bottom 0.3s;
}

.link-descubrir:hover {
    border-bottom: 1px solid var(--marrón-oscuro);
}

/* Botones Adicionales */
.btn-filtro {
    margin-top: 25px;
    background-color: transparent;
    border: 1px solid var(--marrón-oscuro);
    color: var(--marrón-oscuro);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-filtro:hover {
    background-color: var(--marrón-oscuro);
    color: var(--blanco);
}

.oculto {
    display: none !important;
}

.btn-primary {
    background-color: #A3705C; 
    color: var(--blanco);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    transition: 0.3s;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--marrón-oscuro);
}

/* --- SECCIÓN CONTACTO Y FORMULARIO --- */
.contacto-formulario {
    background-color: var(--arena); 
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row input, .form-row textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(84, 47, 36, 0.15); 
    border-radius: 8px;
    background-color: var(--blanco);
    font-size: 14px;
    color: var(--marrón-oscuro);
    font-weight: 300;
    transition: border-color 0.3s ease;
}

.form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--marrón-oscuro);
}

.form-row textarea {
    resize: vertical;
}

.btn-enviar {
    background-color: #1a1a1a; 
    color: var(--blanco);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-enviar:hover {
    background-color: var(--marrón-oscuro);
}

/* --- MODALES (VENTANAS EMERGENTES) --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(59, 37, 23, 0.85); 
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.activo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--arena); 
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.modal.activo .modal-content {
    transform: translateY(0);
}

.cerrar-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--marrón-oscuro);
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s;
}

.cerrar-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    display: flex;
    flex-direction: row;
    min-height: 450px;
}

.modal-imagen {
    width: 50%;
}

.modal-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-texto {
    width: 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-texto h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 38px;
    color: var(--marrón-oscuro);
    margin-bottom: 5px;
}

.modal-texto h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #888;
    margin-bottom: 25px;
}

.modal-texto p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* --- PIE DE PÁGINA (FOOTER) --- */
.footer {
    background-color: #1A1412; 
    color: var(--arena);
    padding: 80px 40px 30px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    color: var(--blanco);
    margin-bottom: 15px;
    font-weight: normal;
    letter-spacing: 1px;
}

.brand-col p {
    font-size: 13px;
    color: rgba(222, 218, 207, 0.7); 
}

.footer-col h4 {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--arena);
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(222, 218, 207, 0.7); 
    font-size: 13px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--blanco); 
}

.footer-bottom {
    border-top: 1px solid rgba(222, 218, 207, 0.1);
    padding-top: 30px;
    text-align: left;
}

.footer-bottom p {
    font-size: 11px;
    color: rgba(222, 218, 207, 0.5);
}

/* --- ADAPTACIÓN RESPONSIVE (CELULARES) --- */
@media (max-width: 768px) {
    .grid-regiones, .grid-journeys, .grid-pesca {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .contacto-formulario {
        padding: 30px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .modal-body {
        flex-direction: column;
    }
    .modal-imagen {
        width: 100%;
        height: 250px;
    }
    .modal-texto {
        width: 100%;
        padding: 30px 20px;
    }
}