/* =========================================================
   IGLESIA DE DIOS EN BOLIVIA
   HOJA DE ESTILOS PRINCIPAL
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --dark: #181818;

    --dark-soft: #202020;

    --red: #b5121b;

    --red-hover: #d01923;

    --white: #ffffff;

    --gray: #777777;

    --gray-light: #d5d5d5;

    --border: #e4e4e4;

    --background: #ffffff;

    --transition: 0.3s ease;

}


/* =========================================================
   RESET
   ========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    padding: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--dark);

}


img {

    max-width: 100%;

    height: auto;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   =========================================================
   PÁGINA PRINCIPAL
   =========================================================
   ========================================================= */

.home-page {

    min-height: 100vh;

    background:

        radial-gradient(
            circle at center,
            rgba(181, 18, 27, 0.09) 0%,
            rgba(181, 18, 27, 0.03) 28%,
            transparent 60%
        ),

        var(--dark);

}


/* =========================================================
   CONTENEDOR HOME
   ========================================================= */

.home {

    position: relative;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 60px 20px 100px;

    overflow: hidden;

}


/* =========================================================
   EFECTO DE FONDO
   ========================================================= */

.home::before {

    content: "";

    position: absolute;

    top: -180px;

    left: 50%;

    transform: translateX(-50%);

    width: 600px;

    height: 350px;

    background:

        rgba(
            181,
            18,
            27,
            0.06
        );

    filter: blur(80px);

    border-radius: 50%;

    pointer-events: none;

}


/* =========================================================
   CONTENIDO HOME
   ========================================================= */

.home-content {

    position: relative;

    z-index: 2;

    width:
        min(
            900px,
            100%
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

}


/* =========================================================
   LOGO HOME
   ========================================================= */

.home-logo-wrapper {

    margin-bottom: 28px;

}


.home-logo {

    width:
        min(
            460px,
            82vw
        );

    filter:

        drop-shadow(
            0 20px 40px
            rgba(
                0,
                0,
                0,
                0.45
            )
        );

    animation:
        logoAppear
        1s
        ease
        forwards;

}


/* =========================================================
   IDENTIDAD HOME
   ========================================================= */

.home-text {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 14px;

}


.home-text h1 {

    margin: 0;

    color: var(--white);

    font-size:
        clamp(
            1.8rem,
            4.5vw,
            3.3rem
        );

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -0.035em;

    white-space: nowrap;

}


/* =========================================================
   DESCRIPCIÓN HOME
   ========================================================= */

.home-description {

    margin:
        0
        0
        35px;

    color: #a7a7a7;

    font-size:
        clamp(
            0.9rem,
            2vw,
            1.05rem
        );

    letter-spacing: 0.05em;

}


/* =========================================================
   BOTÓN HOME
   ========================================================= */

.home-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    min-width: 260px;

    min-height: 56px;

    padding:
        0
        28px;

    background: var(--red);

    border:
        1px solid
        var(--red);

    border-radius: 5px;

    color: var(--white);

    font-size: 0.9rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:

        background-color
        var(--transition),

        border-color
        var(--transition),

        transform
        var(--transition),

        box-shadow
        var(--transition);

}


.home-button:hover {

    background: var(--red-hover);

    border-color: var(--red-hover);

    transform:
        translateY(-3px);

    box-shadow:

        0 15px 35px
        rgba(
            181,
            18,
            27,
            0.25
        );

}


.home-button:active {

    transform:
        translateY(-1px);

}


/* =========================================================
   FLECHA HOME
   ========================================================= */

.button-arrow {

    font-size: 1.3rem;

    line-height: 1;

    transition:
        transform
        var(--transition);

}


.home-button:hover
.button-arrow {

    transform:
        translateX(5px);

}


/* =========================================================
   FOOTER HOME
   ========================================================= */

.home-footer {

    position: absolute;

    bottom: 25px;

    left: 20px;

    right: 20px;

    z-index: 2;

    text-align: center;

}


.home-footer p {

    margin: 0;

    color: #686868;

    font-size: 0.78rem;

}


/* =========================================================
   ANIMACIÓN HOME
   ========================================================= */

@keyframes logoAppear {

    from {

        opacity: 0;

        transform:
            translateY(15px)
            scale(0.97);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* =========================================================
   =========================================================
   SEMINARIO PASTORAL
   =========================================================
   ========================================================= */


/* =========================================================
   PÁGINA
   ========================================================= */

.seminar-page {

    min-height: 100vh;

    background: var(--background);

    color: var(--dark);

}


/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.seminar-container {

    width:
        min(
            1180px,
            92%
        );

    margin:
        0
        auto;

}


/* =========================================================
   BARRA SUPERIOR
   ========================================================= */

.seminar-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(
            24,
            24,
            24,
            0.98
        );

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    backdrop-filter:
        blur(12px);

}


/* =========================================================
   CONTENIDO DEL HEADER
   ========================================================= */

.header-inner {

    min-height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   LOGO DEL HEADER
   ========================================================= */

.seminar-brand {

    display: flex;

    align-items: center;

}


.seminar-brand img {

    width: 75px;

    height: auto;

}


/* =========================================================
   MENÚ
   ========================================================= */

.seminar-nav {

    display: flex;

    align-items: center;

    gap: 5px;

}


.seminar-nav-link {

    position: relative;

    padding:
        10px
        14px;

    color:
        #bdbdbd;

    font-size: 0.88rem;

    font-weight: 500;

    transition:
        color
        var(--transition);

}


.seminar-nav-link:hover {

    color:
        var(--white);

}


.seminar-nav-link.active {

    color:
        var(--white);

}


.seminar-nav-link.active::after {

    content: "";

    position: absolute;

    left: 14px;

    right: 14px;

    bottom: 2px;

    height: 2px;

    background:
        var(--red);

    border-radius: 10px;

}


/* =========================================================
   CONTENIDO COMPLETO DEL SEMINARIO
   ========================================================= */

.seminar-main {

    background:
        var(--white);

    padding:
        70px
        0
        90px;

}


/* =========================================================
   TÍTULO PRINCIPAL
   ========================================================= */

.seminar-title {

    text-align: center;

    margin-bottom: 48px;

}


.seminar-title h1 {

    margin: 0;

    color:
        #1c1c1c;

    font-size:
        clamp(
            2.3rem,
            5vw,
            3.8rem
        );

    line-height: 1.1;

    font-weight: 700;

    letter-spacing:
        -0.04em;

}


/* =========================================================
   SELECTOR DE EDICIÓN DEL SEMINARIO
   ========================================================= */

.seminar-edition {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap: 14px;

    margin-top: 34px;

    margin-bottom: 14px;

}


/* =========================================================
   TEXTO
   ========================================================= */

.seminar-edition-label {

    display: inline-block;

    color: #777777;

    font-size: 0.68rem;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    white-space: nowrap;

}


/* =========================================================
   CONTROL DEL AÑO
   ========================================================= */

.seminar-edition-control {

    position: relative;

    display: inline-flex;

    align-items: center;

}


/* =========================================================
   SELECT
   ========================================================= */

.seminar-edition-control select {

    appearance: none;

    -webkit-appearance: none;

    min-width: 78px;

    padding:
        7px
        30px
        7px
        11px;

    border: 1px solid #d7d7d7;

    border-radius: 4px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 0.85rem;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 0.02em;

    cursor: pointer;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;

}


/* =========================================================
   HOVER
   ========================================================= */

.seminar-edition-control select:hover {

    border-color: #a9a9a9;

}


/* =========================================================
   FOCUS
   ========================================================= */

.seminar-edition-control select:focus {

    border-color: #9b1c24;

    box-shadow:
        0 0 0 3px
        rgba(155, 28, 36, 0.08);

}


/* =========================================================
   FLECHA
   ========================================================= */

.seminar-edition-arrow {

    position: absolute;

    right: 10px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #9b1c24;

    font-size: 0.72rem;

    font-weight: 700;

    line-height: 1;

    pointer-events: none;

}


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

@media (max-width: 768px) {

    .seminar-edition {

        margin-top: 28px;

        margin-bottom: 12px;

    }

}


/* =========================================================
   TELÉFONO
   ========================================================= */

@media (max-width: 576px) {

    .seminar-edition {

        gap: 10px;

        margin-top: 24px;

        margin-bottom: 10px;

    }


    .seminar-edition-label {

        font-size: 0.62rem;

        letter-spacing: 0.11em;

    }


    .seminar-edition-control select {

        min-width: 72px;

        padding:
            7px
            27px
            7px
            10px;

        font-size: 0.82rem;

    }


    .seminar-edition-arrow {

        right: 9px;

    }

}


/* =========================================================
   ACENTO ROJO
   ========================================================= */

.title-accent {

    width: 42px;

    height: 3px;

    margin:
        18px
        auto
        17px;

    background:
        var(--red);

    border-radius: 10px;

}


.seminar-title p {

    max-width: 620px;

    margin:
        0
        auto;

    color:
        #777777;

    font-size: 1rem;

    line-height: 1.7;

}


/* =========================================================
   NAVEGACIÓN DE DÍAS
   ========================================================= */

.days-navigation {

    display: grid;

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

    gap: 10px;

    margin-bottom: 50px;

}


.day-button {

    position: relative;

    min-height: 70px;

    padding:
        12px
        15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    background:
        var(--white);

    border:
        1px solid
        var(--border);

    border-radius: 6px;

    color:
        #555555;

    cursor: pointer;

    font-family:
        inherit;

    transition:

        background-color
        var(--transition),

        border-color
        var(--transition),

        color
        var(--transition),

        transform
        var(--transition);

}


.day-button span {

    font-size:
        0.92rem;

    font-weight:
        700;

}


.day-button small {

    color:
        #999999;

    font-size:
        0.68rem;

    letter-spacing:
        0.08em;

}


.day-button:hover {

    border-color:
        var(--red);

    color:
        #222222;

    transform:
        translateY(-2px);

}


.day-button.active {

    background:
        var(--red);

    border-color:
        var(--red);

    color:
        var(--white);

}


.day-button.active small {

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

}


/* =========================================================
   CONTENIDO DE CADA DÍA
   ========================================================= */

.day-content {

    display: none;

}


.day-content.active {

    display: block;

}


/* =========================================================
   ENCABEZADO DEL DÍA
   ========================================================= */

.day-heading {

    margin-bottom:
        28px;

    padding-bottom:
        17px;

    border-bottom:
        1px solid
        var(--border);

}


.day-heading span {

    display: block;

    margin-bottom:
        7px;

    color:
        var(--red);

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.12em;

}


.day-heading h2 {

    margin: 0;

    color:
        #222222;

    font-size:
        clamp(
            1.6rem,
            4vw,
            2.3rem
        );

    line-height:
        1.2;

    letter-spacing:
        -0.03em;

}


/* =========================================================
   GRID DE CONFERENCIAS
   ========================================================= */

.conference-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 24px;

}


/* =========================================================
   TARJETA DE CONFERENCIA
   ========================================================= */

.conference-card {

    overflow: hidden;

    background:
        var(--white);

    border:
        1px solid
        #e5e5e5;

    border-radius:
        8px;

    box-shadow:
        0 7px 24px
        rgba(
            0,
            0,
            0,
            0.05
        );

    transition:

        transform
        var(--transition),

        box-shadow
        var(--transition);

}


.conference-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 14px 32px
        rgba(
            0,
            0,
            0,
            0.09
        );

}


/* =========================================================
   ÁREA DE VIDEO
   ========================================================= */

.video-container {

    width: 100%;

    aspect-ratio:
        16 / 9;

    overflow: hidden;

    background:
        #181818;

}


/* =========================================================
   PLACEHOLDER YOUTUBE
   ========================================================= */

.youtube-placeholder {

    width: 100%;

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 13px;

    background:

        radial-gradient(
            circle at center,
            #303030,
            #141414
        );

}


.youtube-placeholder span {

    color:
        #777777;

    font-size:
        0.72rem;

}


/* =========================================================
   BOTÓN PLAY
   ========================================================= */

.youtube-play {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding-left: 4px;

    border-radius: 50%;

    background:
        var(--red);

    color:
        var(--white);

    font-size:
        1.1rem;

    box-shadow:
        0 10px 30px
        rgba(
            0,
            0,
            0,
            0.35
        );

}


/* =========================================================
   INFORMACIÓN DE CONFERENCIA
   ========================================================= */

.conference-info {

    padding:
        24px;

}


.conference-time {

    margin-bottom:
        9px;

    color:
        var(--red);

    font-size:
        0.7rem;

    font-weight:
        700;

    letter-spacing:
        0.12em;

}


.conference-info h3 {

    margin-bottom:
        11px;

    color:
        #222222;

    font-size:
        1.25rem;

    line-height:
        1.35;

}


.speaker {

    margin-bottom:
        7px;

    color:
        #555555;

    font-size:
        0.9rem;

    font-weight:
        600;

}


.conference-date {

    margin: 0;

    color:
        #999999;

    font-size:
        0.77rem;

    line-height:
        1.5;

}


/* =========================================================
   FOOTER
   ========================================================= */

.seminar-footer {

    padding:
        28px
        0;

    background:
        #181818;

    color:
        #707070;

    text-align:
        center;

}


.seminar-footer p {

    margin: 0;

    font-size:
        0.77rem;

}


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

@media (max-width: 900px) {


    .conference-grid {

        grid-template-columns:
            1fr;

    }


    .days-navigation {

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

    }

}


/* =========================================================
   =========================================================
   MÓVILES
   =========================================================
   ========================================================= */

@media (max-width: 600px) {


    /* HEADER */

    .header-inner {

        min-height:
            auto;

        padding:
            10px
            0;

        flex-direction:
            column;

        gap:
            7px;

    }


    .seminar-brand img {

        width:
            65px;

    }


    .seminar-nav {

        width:
            100%;

        justify-content:
            center;

        gap:
            0;

    }


    .seminar-nav-link {

        padding:
            7px
            9px;

        font-size:
            0.76rem;

    }


    .seminar-nav-link.active::after {

        left:
            9px;

        right:
            9px;

    }


    /* CONTENIDO */

    .seminar-main {

        padding:
            50px
            0
            65px;

    }


    /* TÍTULO */

    .seminar-title {

        margin-bottom:
            35px;

    }


    .seminar-title h1 {

        font-size:
            2.25rem;

    }


    .seminar-title p {

        width:
            90%;

        font-size:
            0.9rem;

    }


    /* DÍAS */

    .days-navigation {

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

        gap:
            8px;

        margin-bottom:
            38px;

    }


    .day-button {

        min-height:
            64px;

    }


    .day-button span {

        font-size:
            0.8rem;

    }


    /* DÍA */

    .day-heading {

        margin-bottom:
            22px;

    }


    .day-heading h2 {

        font-size:
            1.65rem;

    }


    /* CONFERENCIAS */

    .conference-grid {

        gap:
            18px;

    }


    .conference-info {

        padding:
            20px;

    }


    .conference-info h3 {

        font-size:
            1.12rem;

    }

}


/* =========================================================
   =========================================================
   TELÉFONOS MUY PEQUEÑOS
   =========================================================
   ========================================================= */

@media (max-width: 380px) {


    .seminar-nav-link {

        padding:
            7px
            7px;

        font-size:
            0.7rem;

    }


    .seminar-title h1 {

        font-size:
            2rem;

    }


    .day-button span {

        font-size:
            0.76rem;

    }


    .day-button small {

        font-size:
            0.62rem;

    }

}

/* =========================================================
   VIDEOS DE YOUTUBE
   ========================================================= */

.video-container iframe {

    width: 100%;

    height: 100%;

    display: block;

    border: 0;

}


/* =========================================================
   SIN CONFERENCIAS
   ========================================================= */

.conference-empty {

    grid-column:
        1 / -1;

    padding:
        50px
        20px;

    border:
        1px dashed
        var(--border);

    border-radius:
        8px;

    text-align:
        center;

    color:
        #888888;

}


.conference-empty p {

    margin: 0;

    font-size:
        0.9rem;

}