@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Oswald:wght@500;700&display=swap');

:root {
    --corea-azul: #0047a0;
    --corea-rojo: #cd2e3a;
    --fuente-titulos: 'Oswald', sans-serif;
    --fuente-cuerpo: 'Montserrat', sans-serif;
}

/* Reset y Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--fuente-cuerpo); color: #333; line-height: 1.6; overflow-x: hidden; }

/* 1. ENCABEZADO */
header {
    position: fixed; top: 0; width: 100%; height: 90px;
    background: white; display: flex; justify-content: space-between;
    align-items: center; padding: 0 5%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo-container img { height: 60px; width: auto; } /* Aumento del 20% */
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--corea-azul); }
.lang-selector button { background: white; border: 1px solid #ddd; padding: 5px 10px; cursor: pointer; font-size: 0.7rem; border-radius: 4px; margin-left: 5px; }

/* 2. HERO (Overlay 50%) */
.hero-section { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: -1; }
.hero-content h1 { font-family: var(--fuente-titulos); font-size: clamp(3rem, 10vw, 7rem); letter-spacing: 15px; }

/* ESPACIADO GENERAL */
section { padding: 120px 10%; clear: both; scroll-margin-top: 90px; }

/* 3. NOSOTROS (Dos columnas) */
.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.foto-col img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
h2 { font-family: var(--fuente-titulos); font-size: 3rem; color: var(--corea-azul); margin-bottom: 20px; }

/* 4. TABLA COREANA */
.tabla-eventos { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.tabla-eventos thead th { background: var(--corea-azul); color: white; padding: 20px; text-align: left; border-bottom: 4px solid var(--corea-rojo); }
.tabla-eventos td { padding: 18px 20px; background: white; border-bottom: 1px solid #eee; }

/* 5. GALERÍA 4x2 */
.galeria-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.galeria-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; transition: 0.3s; }

/* 6. FAMILIA KORYUC (Mapas armónicos) */
.familia-item { max-width: 850px; margin: 0 auto 100px; text-align: center; }
.familia-item img { width: 100%; border-radius: 15px; margin: 20px 0; }
.map-link { display: inline-block; padding: 12px 25px; background: var(--corea-azul); color: white; text-decoration: none; border-radius: 5px; margin-top: 15px; }

/* 7. FORMULARIO */
.form-container { max-width: 700px; margin: auto; background: #f9f9f9; padding: 40px; border-radius: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.full-width { grid-column: span 2; }
input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--fuente-cuerpo); }
.btn-submit { background: var(--corea-rojo); color: white; border: none; padding: 15px; width: 100%; cursor: pointer; font-weight: 600; text-transform: uppercase; margin-top: 20px; }

/* 8. FOOTER */
footer { background: #111; color: white; padding: 80px 10% 40px; text-align: center; }
.footer-logo { height: 50px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-links { margin: 20px 0; }
.footer-links a { color: #ccc; margin: 0 10px; text-decoration: none; font-size: 0.8rem; }
.footer-socials { font-size: 1.5rem; margin-top: 20px; }
.footer-socials a { color: white; margin: 0 15px; transition: 0.3s; }

/* MODAL PRIVACIDAD */
.modal-privacidad { display: none; position: fixed; z-index: 5000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); align-items: center; justify-content: center; }
.modal-box { background: white; padding: 40px; border-radius: 10px; max-width: 500px; color: #333; position: relative; }

/* RESPONSIVO */
@media (max-width: 992px) {
    .dos-columnas, .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; } /* Aquí podrías añadir el menú hamburguesa luego */
}