/* =====================================================
   PRES.CSS — Estilos para pres.html
   Diseño cristal / glassmorphism
   ===================================================== */

/* ---------- Reset y base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Electrolize", sans-serif;
    background-color: #0a0a0f;
    color: #e0e0e0;
    min-height: 100vh;
    display: block;
    height: auto;
    transition: background 1s ease-in-out;
}

/* ---------- Barra de navegación cristal ---------- */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    background: rgba(10, 15, 25, 0.35);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(67, 237, 248, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    height: 45px;
    margin-right: 30px;
    /*filter: drop-shadow(0 0 8px rgba(67, 237, 248, 0.3));*/
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    color: #a0b4c8;
    text-decoration: none;
    font-size: 14px;
    padding: 14px 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

/* Al pasar el ratón SOLO cambia el color del texto — sin animación de tamaño */
.nav-links a:hover {
    color: #43edf8;
}

.nav-links a.active {
    color: #43edf8;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    max-width: 160px;
    margin-bottom: 18px;
    /*filter: drop-shadow(0 0 20px rgba(67, 237, 248, 0.3));*/
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #ffffff;
    text-shadow: 0 0 30px rgba(67, 237, 248, 0.5), 0 4px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 12px;
}

.hero h1 span {
    color: #43edf8;
}

.hero p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: #b0c4de;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero .fundada {
    font-size: 0.85rem;
    color: #6688aa;
    margin-top: 10px;
}

/* ---------- Marco cristal que envuelve todo el contenido ---------- */
.content-glass {
    background: rgba(15, 15, 15, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(67, 237, 248, 0.15);
    border-radius: 12px;
    /* Margen lateral para que no ocupe todo el ancho, centrado */
    margin: 20px auto 50px auto;
    max-width: 1200px;
    /* Padding interno para separar contenido del borde del contenedor */
    padding: 0 20px 30px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(67, 237, 248, 0.08);
}

/* ---------- Secciones generales ---------- */
.section {
    padding: 40px 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: #43edf8;
    text-shadow: 0 0 20px rgba(67, 237, 248, 0.3);
    margin-bottom: 10px;
}

.section-title .line {
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #43edf8, transparent);
    margin: 12px auto;
}

.section-title p {
    color: #778899;
    font-size: 0.95rem;
}

/* ---------- Texto introductorio ---------- */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #a8bccd;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---------- Tarjetas cristal ---------- */
.org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* El cuarto cuadro ocupa el ancho completo debajo de los tres */
.org-grid .org-card:last-child {
    grid-column: 1 / -1;
}

.org-card {
    background: rgba(15, 22, 36, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 237, 248, 0.12);
    border-radius: 10px;
    padding: 28px;
    transition: all 0.3s ease;
}

.org-card:hover {
    transform: translateY(-4px);
    border-color: rgba(67, 237, 248, 0.3);
    box-shadow: 0 10px 30px rgba(67, 237, 248, 0.08);
    background: rgba(15, 22, 36, 0.55);
}

.org-card>i {
    font-size: 2.2rem;
    color: #43edf8;
    margin-bottom: 18px;
    text-shadow: 0 0 12px rgba(67, 237, 248, 0.3);
}

.org-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.org-card p {
    color: #99aabb;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ---------- Estación Cervantes ---------- */
.estacion-cervantes {
    background: rgba(15, 22, 36, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 237, 248, 0.18);
    border-radius: 14px;
    padding: 45px 35px;
    margin: 50px auto;
    max-width: 860px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.estacion-cervantes h3 {
    font-size: 1.6rem;
    color: #43edf8;
    margin-bottom: 18px;
    text-shadow: 0 0 18px rgba(67, 237, 248, 0.3);
}

.estacion-cervantes p {
    color: #a8bccd;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 680px;
    margin: 0 auto 12px;
}

.estacion-cervantes strong {
    color: #d0ddef;
}

/* ---------- Sección Comunidad ---------- */
.community-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 35px;
    margin-top: 35px;
}

.community-text {
    flex: 1;
    min-width: 280px;
}

.community-text h3 {
    color: #43edf8;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.community-text p {
    color: #a8bccd;
    line-height: 1.7;
    margin-bottom: 12px;
}

.community-text ul {
    list-style: none;
    padding: 0;
}

.community-text ul li {
    color: #8899aa;
    padding: 7px 0 7px 24px;
    position: relative;
    font-size: 0.9rem;
}

.community-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #43edf8;
    position: absolute;
    left: 0;
    top: 7px;
}

/* ---------- Imagen de comunidad ---------- */
.community-image {
    flex: 1;
    min-width: 280px;
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(15, 22, 36, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/*
 * ================================================================
 *  MARCOS DE FOTOS DE SECCIONES OPERATIVAS
 *
 *  Cada sección tiene su propio marco configurado en CSS.
 *
 *  Para ACTIVAR el borde/marco:
 *      border: <valor>;
 *
 *  Para DESACTIVAR el borde/marco (imágenes sin fondo / PNG):
 *      border: none;
 *
 *  Para añadir la imagen de fondo de cada sección:
 *      background-image: url('../media/nombre-imagen.jpg');
 * ================================================================
 */

/* --- Ejército --- */
.seccion-img-ejercito {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    /* ACTIVAR o DESACTIVAR borde: */
    border: 2px solid rgba(220, 53, 69, 0.4);
    /* Colocar imagen: background-image: url('../bg/ejercito.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Minería --- */
.seccion-img-mineria {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.4);
    /* Colocar imagen: background-image: url('../bg/mineria.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Exploración --- */
.seccion-img-exploracion {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(40, 167, 69, 0.4);
    /* Colocar imagen: background-image: url('../bg/exploracion.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Recuperación (Salvaging) --- */
.seccion-img-recuperacion {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(253, 126, 20, 0.4);
    /* Colocar imagen: background-image: url('../bg/recuperacion.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Industria --- */
.seccion-img-industria {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(108, 117, 125, 0.5);
    /* Colocar imagen: background-image: url('../bg/industria.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- I+D --- */
.seccion-img-iyd {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(111, 66, 193, 0.4);
    /* Colocar imagen: background-image: url('../bg/iyd.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Transporte y Logística --- */
.seccion-img-transporte {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(23, 162, 184, 0.4);
    /* Colocar imagen: background-image: url('../bg/transporte.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Comercio --- */
.seccion-img-comercio {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(40, 167, 69, 0.4);
    /* Colocar imagen: background-image: url('../bg/comercio.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Rescate --- */
.seccion-img-rescate {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(220, 53, 69, 0.3);
    /* Colocar imagen: background-image: url('../bg/rescate.jpg'); background-size: cover; background-position: center; */
    background: rgba(15, 22, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder genérico dentro de marcos de imagen */
.seccion-img-ejercito .placeholder-text,
.seccion-img-mineria .placeholder-text,
.seccion-img-exploracion .placeholder-text,
.seccion-img-recuperacion .placeholder-text,
.seccion-img-industria .placeholder-text,
.seccion-img-iyd .placeholder-text,
.seccion-img-transporte .placeholder-text,
.seccion-img-comercio .placeholder-text,
.seccion-img-rescate .placeholder-text,
.community-image .placeholder-text {
    color: #43edf8;
    font-size: 0.85rem;
    text-align: center;
    padding: 20px;
    opacity: 0.5;
}

.seccion-img-ejercito .placeholder-text i,
.seccion-img-mineria .placeholder-text i,
.seccion-img-exploracion .placeholder-text i,
.seccion-img-recuperacion .placeholder-text i,
.seccion-img-industria .placeholder-text i,
.seccion-img-iyd .placeholder-text i,
.seccion-img-transporte .placeholder-text i,
.seccion-img-comercio .placeholder-text i,
.seccion-img-rescate .placeholder-text i,
.community-image .placeholder-text i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

/* ---------- Fila zigzag sección operativa ---------- */
.seccion-row {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 50px;
}

/* Impar: imagen izquierda, texto derecha */
.seccion-row.impar {
    flex-direction: row;
}

/* Par: texto izquierda, imagen derecha */
.seccion-row.par {
    flex-direction: row-reverse;
}

.seccion-row .seccion-texto {
    flex: 1;
    min-width: 280px;
}

.seccion-row .seccion-texto h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seccion-row .seccion-texto h3 i {
    color: #43edf8;
    font-size: 1.4rem;
}

.seccion-row .seccion-texto h4 {
    color: #43edf8;
    font-size: 1rem;
    margin-bottom: 6px;
    margin-top: 14px;
}

.seccion-row .seccion-texto ul {
    list-style: none;
    padding: 0;
}

.seccion-row .seccion-texto ul li {
    color: #8899aa;
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: 0.88rem;
}

.seccion-row .seccion-texto ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #43edf8;
    position: absolute;
    left: 0;
    top: 4px;
}

.seccion-row .seccion-texto p {
    color: #a8bccd;
    line-height: 1.7;
    font-size: 0.92rem;
}

.seccion-row .seccion-foto {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.seccion-row .seccion-foto .seccion-img-ejercito,
.seccion-row .seccion-foto .seccion-img-mineria,
.seccion-row .seccion-foto .seccion-img-exploracion,
.seccion-row .seccion-foto .seccion-img-recuperacion,
.seccion-row .seccion-foto .seccion-img-industria,
.seccion-row .seccion-foto .seccion-img-iyd,
.seccion-row .seccion-foto .seccion-img-transporte,
.seccion-row .seccion-foto .seccion-img-comercio,
.seccion-row .seccion-foto .seccion-img-rescate {
    min-height: 260px;
}

/* ---------- Valores ---------- */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 35px;
}

.valor-item {
    text-align: center;
    padding: 22px 16px;
    background: rgba(15, 22, 36, 0.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(67, 237, 248, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.valor-item:hover {
    border-color: rgba(67, 237, 248, 0.25);
    transform: translateY(-3px);
    background: rgba(15, 22, 36, 0.5);
}

.valor-item>i {
    font-size: 1.8rem;
    color: #43edf8;
    margin-bottom: 12px;
}

.valor-item h4 {
    color: #ffffff;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.valor-item p {
    color: #778899;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ---------- Rangos ---------- */
.rangos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.rangos-column {
    flex: 1;
    min-width: 280px;
    background: rgba(15, 22, 36, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 237, 248, 0.25);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.rangos-column h3 {
    color: #43edf8;
    font-size: 1.15rem;
    margin-bottom: 16px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(67, 237, 248, 0.15);
}

.rangos-column .nota-discord {
    color: #6688aa;
    font-size: 0.78rem;
    text-align: center;
    margin-bottom: 12px;
    font-style: italic;
}

.rango-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rango-item:last-child {
    border-bottom: none;
}

.rango-item .rango-icon {
    color: #43edf8;
    font-size: 1.1rem;
    min-width: 22px;
    text-align: center;
}

.rango-item .rango-name {
    color: #ffffff;
    font-size: 0.9rem;
}

.rango-item .rango-desc {
    color: #778899;
    font-size: 0.78rem;
}

/* ---------- Galería — 2 columnas fijas ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.gallery-item {
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(15, 22, 36, 0.4);
    border: 2px dashed rgba(67, 237, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: rgba(67, 237, 248, 0.4);
    transform: scale(1.02);
}

.gallery-item .placeholder-text {
    color: #43edf8;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.5;
}

.gallery-item .placeholder-text i {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

/* ---------- Sección Únete ---------- */
.join-section {
    background: rgba(15, 22, 36, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 237, 248, 0.25);
    border-radius: 14px;
    padding: 55px 35px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.join-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.join-section p {
    color: #a8bccd;
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto 12px;
    line-height: 1.6;
}

/* Botones de Únete — todos con mismo estilo base */
.join-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: "Electrolize", sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    background: rgba(15, 22, 36, 0.4);
    border: 1px solid rgba(67, 237, 248, 0.25);
    color: #c0d0e0;
}

.join-btn:hover {
    background: rgba(15, 22, 36, 0.6);
    border-color: rgba(67, 237, 248, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(67, 237, 248, 0.1);
    color: #ffffff;
}

/* Estilo específico referral */
.join-btn.referral {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #ffc107;
}

.join-btn.referral:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.6);
    color: #ffffff;
}

.referral-code {
    font-weight: bold;
    letter-spacing: 1px;
}

.referral-note {
    color: #778899 !important;
    font-size: 0.95rem !important;
    margin-top: 35px !important;
    font-style: italic;
    line-height: 1.6 !important;
}

/* ---------- Footer ---------- */
footer {
    width: 100%;
    background: rgba(15, 22, 36, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(67, 237, 248, 0.25);
    padding: 0;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 25px;
}

.footer-logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
}

.footer-logo {
    max-width: 115px;
    /*filter: drop-shadow(0 0 10px rgba(67, 237, 248, 0.2));*/
}

.footer-privacidad {
    flex: 1;
    text-align: left;
}

.footer-privacidad h4 {
    color: #43edf8;
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-privacidad p {
    color: #778899;
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

.footer-privacidad a {
    color: #43edf8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-privacidad a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(67, 237, 248, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #556677;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }

    .nav-logo {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .nav-links {
        justify-content: center;
        gap: 4px;
    }

    .org-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .org-grid .org-card:last-child {
        grid-column: auto;
    }

    .nav-links a {
        font-size: 11px;
        padding: 6px 10px;
    }

    .seccion-row.impar,
    .seccion-row.par {
        flex-direction: column;
    }

    .community-section {
        flex-direction: column;
    }

    .join-section {
        padding: 35px 18px;
    }

    .estacion-cervantes {
        padding: 30px 18px;
    }

    .join-btn {
        min-width: 100%;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        height: 140px;
    }

    .content-glass {
        margin: 15px 12px 30px 12px;
        padding: 0 12px 20px 12px;
    }

    .hero {
        min-height: 300px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-logo-section {
        padding-top: 0;
    }

    .footer-privacidad {
        text-align: center;
    }

    .footer-logo {
        max-width: 70px;
    }
}