
/* =========================================================
   HORTA NORD WARGAMES
   EVENTOS.CSS
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.hero-eventos {
    position: relative;

    padding: 150px 20px 100px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.88)
        ),
        url("../assets/img/eventos-bg.jpg");

    background-size: cover;
    background-position: center;

    border-bottom: 1px solid #2c2c2c;

    text-align: center;
}


.hero-eventos .eventos-hero-content {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}


.hero-eventos .etiqueta {
    display: block;

    margin-bottom: 15px;

    color: #bdb7a5;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.hero-eventos h2 {
    margin: 0 0 25px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: clamp(45px, 7vw, 70px);

    font-weight: 800;

    text-transform: uppercase;
}


.hero-eventos p {
    max-width: 700px;

    margin: 0 auto;

    color: #ffffff;

    font-size: 20px;

    line-height: 1.8;
}


/* =========================================================
   AVISO
   ========================================================= */

.aviso-eventos {
    display: flex;

    align-items: center;

    gap: 25px;

    max-width: 1100px;

    margin: 60px auto;

    padding: 30px;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-left: 4px solid #7c1111;

    border-radius: 8px;

    text-align: center;
}


.aviso-icono {
    flex-shrink: 0;

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #0d0d0d;

    border: 1px solid #2c2c2c;

    border-radius: 8px;

    font-size: 30px;
}


.aviso-contenido {
    flex: 1;
}


.aviso-contenido h2 {
    margin: 0 0 12px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: 23px;

    text-transform: uppercase;
}


.aviso-contenido p {
    margin: 7px 0;

    color: #bdb7a5;

    line-height: 1.6;
}


/* =========================================================
   TÍTULOS DE SECCIÓN
   ========================================================= */

.titulo-seccion {
    margin-bottom: 40px;

    text-align: center;
}


.titulo-seccion > span {
    display: block;

    margin-bottom: 10px;

    color: #bdb7a5;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.titulo-seccion h2 {
    margin: 0 0 15px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: clamp(30px, 5vw, 45px);

    text-transform: uppercase;
}


.titulo-seccion p {
    max-width: 700px;

    margin: 0 auto;

    color: #bdb7a5;

    line-height: 1.7;
}


/* =========================================================
   SECCIÓN CALENDARIO
   ========================================================= */

.seccion-calendario {
    padding: 80px 20px;
}


/* =========================================================
   CALENDARIO
   ========================================================= */

.calendario {
    max-width: 1000px;

    margin: 0 auto;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-radius: 10px;

    overflow: hidden;
}


/* =========================================================
   CABECERA CALENDARIO
   ========================================================= */

.calendario-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 20px 25px;

    background: #181818;

    border-bottom: 1px solid #2c2c2c;
}


.calendario-header h3 {
    margin: 0;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: 22px;

    text-transform: uppercase;
}


/* =========================================================
   BOTONES DEL CALENDARIO
   ========================================================= */

.boton-calendario {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: #7c1111;

    color: #ffffff;

    border: none;

    border-radius: 6px;

    font-size: 28px;

    cursor: pointer;

    transition: 0.3s;
}


.boton-calendario:hover {
    background: #b32020;

    transform: none;
}


/* =========================================================
   DÍAS DE LA SEMANA
   ========================================================= */

.dias-semana {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    background: #0d0d0d;

    border-bottom: 1px solid #2c2c2c;
}


.dias-semana div {
    padding: 15px 5px;

    color: #bdb7a5;

    text-align: center;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   GRID DE DÍAS
   ========================================================= */

.dias-calendario {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    background: #181818;
}


/* =========================================================
   DÍA
   ========================================================= */

.dia {
    position: relative;

    min-height: 95px;

    padding: 12px;

    background: #181818;

    border-right: 1px solid #2c2c2c;

    border-bottom: 1px solid #2c2c2c;

    cursor: pointer;

    text-align: left;

    transition: 0.3s;
}


.dia:hover {
    background: #222222;
}


.dia:nth-child(7n) {
    border-right: none;
}


/* =========================================================
   NÚMERO
   ========================================================= */

.numero-dia {
    color: #ffffff;

    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   OTRO MES
   ========================================================= */

.dia.otro-mes {
    color: #555555;

    opacity: 0.35;

    cursor: default;
}


/* =========================================================
   DÍA CON EVENTO
   ========================================================= */

.dia.tiene-evento {
    background: #201515;
}


.dia.tiene-evento .numero-dia {
    color: #d9b96d;

    font-weight: 900;
}


/* =========================================================
   INDICADOR EVENTO
   ========================================================= */

.indicador-evento {
    position: absolute;

    right: 10px;
    bottom: 10px;

    min-width: 25px;
    height: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 6px;

    background: #7c1111;

    color: #ffffff;

    border-radius: 50%;

    font-size: 11px;

    font-weight: 900;

    box-shadow:
        0 0 8px rgba(124, 17, 17, 0.6);

    z-index: 2;
}


/* =========================================================
   DÍA SELECCIONADO
   ========================================================= */

.dia.seleccionado {
    background: #291515;

    box-shadow:
        inset 0 0 0 2px #d9b96d;
}


.dia.seleccionado .indicador-evento {
    background: #b32020;
}


/* =========================================================
   EVENTOS DEL DÍA
   ========================================================= */

.eventos-dia {
    max-width: 1000px;

    margin: 30px auto 0;

    text-align: center;
}


/* =========================================================
   SIN EVENTOS
   ========================================================= */

.sin-eventos {
    padding: 45px 25px;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-radius: 8px;

    text-align: center;
}


.sin-eventos-icono {
    margin-bottom: 15px;

    font-size: 35px;
}


.sin-eventos h3 {
    margin: 0 0 10px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: 20px;

    text-transform: uppercase;
}


.sin-eventos p {
    max-width: 650px;

    margin: 0 auto;

    color: #bdb7a5;

    line-height: 1.6;
}


/* =========================================================
   TARJETA EVENTO
   ========================================================= */

.tarjeta-evento {
    display: grid;

    grid-template-columns: 190px 1fr;

    margin-bottom: 20px;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-radius: 10px;

    overflow: hidden;
}


/* =========================================================
   FECHA EVENTO
   ========================================================= */

.evento-fecha {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: #0d0d0d;

    border-right: 1px solid #2c2c2c;

    text-align: center;
}


.evento-fecha span {
    color: #d9b96d;

    font-family: Cinzel, serif;

    font-size: 14px;

    font-weight: 800;

    text-transform: uppercase;

    line-height: 1.5;
}


/* =========================================================
   CONTENIDO EVENTO
   ========================================================= */

.evento-contenido {
    padding: 30px;

    text-align: center;
}


.evento-tipo {
    display: inline-block;

    margin-bottom: 12px;

    padding: 5px 10px;

    background: #7c1111;

    color: #ffffff;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.evento-contenido h3 {
    margin: 0 0 10px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: 28px;

    text-transform: uppercase;
}


.evento-juego {
    margin: 0 0 15px;

    color: #ffffff;

    font-weight: 700;
}


.evento-contenido > p:not(.evento-juego) {
    max-width: 700px;

    margin-left: auto;
    margin-right: auto;

    color: #bdb7a5;

    line-height: 1.65;
}


/* =========================================================
   DATOS DEL EVENTO
   ========================================================= */

.evento-datos {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #2c2c2c;

    text-align: center;
}


.evento-datos div {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;
}


.evento-datos strong {
    color: #bdb7a5;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.evento-datos span {
    color: #ffffff;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   BOTÓN EVENTO
   ========================================================= */

.boton-evento {
    display: inline-block;

    margin-top: 25px;

    padding: 18px 35px;

    background: #7c1111;

    color: #ffffff;

    border-radius: 6px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    transition: 0.3s;
}


.boton-evento:hover {
    background: #b32020;

    transform: none;
}


/* =========================================================
   TIPOS DE EVENTOS
   ========================================================= */

.tipos-eventos {
    padding: 80px 20px;

    background: #0d0d0d;

    border-top: 1px solid #2c2c2c;

    border-bottom: 1px solid #2c2c2c;
}


.grid-tipos {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;
}


.tipo-evento {
    padding: 30px;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-radius: 10px;

    text-align: center;

    transition: 0.3s;
}


.tipo-evento:hover {
    transform: translateY(-8px);

    background: #181818;
}


.tipo-icono {
    margin-bottom: 20px;

    font-size: 35px;
}


.tipo-evento h3 {
    margin: 0 0 12px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: 18px;

    text-transform: uppercase;
}


.tipo-evento p {
    max-width: 280px;

    margin: 0 auto;

    color: #bdb7a5;

    line-height: 1.6;

    font-size: 14px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-eventos {
    padding: 80px 20px;
}


.cta-eventos .cta-contenido {
    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 45px;

    background: #181818;

    border: 1px solid #2c2c2c;

    border-radius: 10px;

    text-align: center;
}


.cta-eventos .cta-contenido > div:first-child {
    flex: 1;
}


.cta-eventos span {
    display: block;

    margin-bottom: 10px;

    color: #bdb7a5;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.cta-eventos h2 {
    margin: 0 0 10px;

    font-family: Cinzel, serif;

    color: #d9b96d;

    font-size: 28px;

    text-transform: uppercase;
}


.cta-eventos p {
    max-width: 650px;

    margin: 0 auto;

    color: #bdb7a5;

    line-height: 1.6;
}


/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */

.boton-principal {
    flex-shrink: 0;

    display: inline-block;

    padding: 18px 35px;

    background: #7c1111;

    color: #ffffff;

    border-radius: 6px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.5px;

    transition: 0.3s;
}


.boton-principal:hover {
    background: #b32020;

    transform: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .grid-tipos {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .tarjeta-evento {
        grid-template-columns:
            140px 1fr;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 650px) {

    .hero-eventos {
        padding: 120px 20px 70px;
    }


    .hero-eventos p {
        font-size: 17px;
    }


    .aviso-eventos {
        flex-direction: column;

        align-items: center;

        margin: 40px 20px;

        padding: 25px;

        text-align: center;
    }


    .seccion-calendario {
        padding: 60px 12px;
    }


    .calendario-header {
        padding: 15px;
    }


    .calendario-header h3 {
        font-size: 17px;
    }


    .boton-calendario {
        width: 36px;
        height: 36px;

        font-size: 24px;
    }


    .dias-semana div {
        padding: 10px 2px;

        font-size: 9px;
    }


    .dia {
        min-height: 65px;

        padding: 8px;
    }


    .numero-dia {
        font-size: 13px;
    }


    .indicador-evento {
        right: 5px;
        bottom: 5px;

        min-width: 18px;
        height: 18px;

        font-size: 9px;
    }


    .tarjeta-evento {
        display: block;
    }


    .evento-fecha {
        padding: 15px;

        border-right: none;

        border-bottom: 1px solid #2c2c2c;
    }


    .evento-contenido {
        padding: 22px;
    }


    .evento-contenido h3 {
        font-size: 22px;
    }


    .evento-datos {
        grid-template-columns:
            1fr;

        gap: 12px;
    }


    .grid-tipos {
        grid-template-columns:
            1fr;
    }


    .tipos-eventos {
        padding: 60px 20px;
    }


    .cta-eventos {
        padding: 60px 20px;
    }


    .cta-eventos .cta-contenido {
        flex-direction: column;

        align-items: center;

        padding: 30px;
    }


    .cta-eventos h2 {
        font-size: 23px;
    }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 400px) {

    .dia {
        min-height: 55px;

        padding: 6px;
    }


    .numero-dia {
        font-size: 12px;
    }


    .dias-semana div {
        font-size: 8px;
    }


    .calendario-header h3 {
        font-size: 15px;
    }

}


