/* ==============================
   CONFIGURACIÓN GENERAL
   ============================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: #eeeeee;

background-image:
    linear-gradient(
        rgba(20, 12, 7, 0.55),
        rgba(20, 12, 7, 0.65)
    ),
    url("assets/madera.jpg");



    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow-x: hidden;
}


/* ==============================
   BOTÓN HAMBURGUESA
   ============================== */

.menu-btn {
    position: fixed;

    top: 18px;
    left: 18px;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 6px;

    background: rgba(0, 0, 0, 0.55);

    cursor: pointer;

    z-index: 1001;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 6px;

    transition: background 0.2s ease;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

.menu-btn span {
    display: block;

    width: 25px;
    height: 2px;

    background: #ffffff;

    transition: transform 0.25s ease,
                opacity 0.25s ease;
}


/* ==============================
   MENÚ LATERAL
   ============================== */

.side-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 280px;
    max-width: 80vw;
    height: 100vh;

    background: rgba(20, 14, 10, 0.97);

    border-right: 1px solid rgba(255, 255, 255, 0.12);

    z-index: 1000;

    transform: translateX(-100%);

    transition: transform 0.3s ease;

    padding-top: 80px;
}


/* Menú abierto */

.side-menu.open {
    transform: translateX(0);
}


/* ==============================
   TÍTULO DEL MENÚ
   ============================== */

.menu-title {
    padding: 0 25px 25px;

    font-size: 20px;

    letter-spacing: 2px;

    color: #eeeeee;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


/* ==============================
   ENLACES
   ============================== */

.menu-links {
    display: flex;
    flex-direction: column;

    padding-top: 12px;
}

.menu-link {
    display: block;

    padding: 16px 25px;

    color: #eeeeee;

    text-decoration: none;

    font-size: 18px;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.08);

    padding-left: 32px;
}


/* ==============================
   OSCURECIMIENTO DEL RESTO
   ============================== */

.menu-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    z-index: 999;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;
}

.menu-overlay.show {
    opacity: 1;

    pointer-events: auto;
}


/* ==============================
   CONTENIDO PRINCIPAL
   ============================== */

.main-content {
    min-height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 30px;
}


/* ==============================
   TEXTO
   ============================== */

.verse-container {
    width: 100%;
    max-width: 720px;

    text-align: center;

    padding: 30px;
}

.verse {
    margin: 0;

    font-size: clamp(20px, 3vw, 27px);

    line-height: 1.65;

    font-weight: normal;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9);
}

.reference {
    margin-top: 22px;

    font-size: 18px;

    font-style: italic;

    color: #dddddd;

    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.9);
}


/* ==============================
   MÓVILES
   ============================== */

@media (max-width: 600px) {

    .menu-btn {
        top: 14px;
        left: 14px;

        width: 44px;
        height: 44px;
    }

    .main-content {
        padding: 20px;
    }

    .verse-container {
        padding: 20px 12px;
    }

    .verse {
        font-size: 20px;

        line-height: 1.6;
    }

    .reference {
        font-size: 16px;
    }
}