/* ========== Reset básico ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    background-color: #FFE5A1;
    color: #2E2E2E;
}

/* ========== Variables ========== */
:root {
    --rojo: #D3362D;
    --naranja: #F4891F;
    --amarillo: #F6B12F;
    --verde: #2E8B57;
    --verde-oscuro: #125C31;
    --fondo-claro: #FFE5A1;
}

/* ========== Sección de portada con fondo ========== */
.Card__Section {
    height: 100vh;
    background: url("../img/fondo.png") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Section__Button {
    background-color: rgba(0, 0, 0, 0.5);
    border: 3px solid #fff;
    border-radius: 8px;
    padding: 1em 2em;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease-in-out;
    margin-top: 80vh;
}

.Section__Button a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.Section__Button:hover {
    background-color: var(--rojo);
    transform: scale(1.05);
}

/* ========== Header ========== */
.Card__Header {
    background-color: var(--naranja);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.Header__Title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

.Header__Navegation {
    margin-top: 1rem;
}

.Navegation__Menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.Menu__Option {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    transition: color 0.3s ease;
    list-style: none;
}

.Menu__Option:hover {
    color: var(--amarillo);
}

/* ========== Main ========== */
.Card__Main {
    padding: 2rem;
    background-color: var(--fondo-claro);
    color: #333;
}

.Main__Section {
    margin-bottom: 0.2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid;
    padding: 10px;
    border-radius: 50px;
    border-color: var(--rojo);
}

.Section__Div {
    text-align: center;
    margin-bottom: 2rem;
}

.Div__Title {
    font-size: 1.8rem;
    color: var(--rojo);
    margin-bottom: 1rem;
}

.Div__Description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.Div__Link {
    display: inline-block;
    background-color: var(--verde);
    color: white;
    padding: 0.75em 1.5em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.Div__Link:hover {
    background-color: var(--verde-oscuro);
}

.Section__Title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--naranja);
}

.Section__Menu {
    list-style-type: square;
    padding-left: 2rem;
    font-size: 1rem;
    color: #333;
}

/* ========== Footer ========== */
.Card__Footer {
    background-color: var(--rojo);
    color: #fff;
    text-align: center;
    padding: 1rem 1rem;
}

.Footer__Div .Div__Description {
    margin: 0.5rem 0;
}

/* ========== Responsive - Móviles ========== */
@media screen and (max-width: 600px) {
    /* Portada */
    .Card__Section {
        height: auto;
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
    }

    .Section__Button {
        margin-top: 2rem;
        padding: 0.75em 1.5em;
        font-size: 0.95rem;
    }

    /* Header */
    .Card__Header {
        padding: 1rem;
    }

    .Header__Title {
        font-size: 1.5rem;
    }

    .Navegation__Menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .Menu__Option {
        font-size: 1rem;
    }

    /* Main */
    .Card__Main {
        padding: 1rem;
    }

    .Main__Section {
        padding: 1rem;
        border-radius: 25px;
    }

    .Div__Title {
        font-size: 1.4rem;
    }

    .Div__Description {
        font-size: 0.95rem;
    }

    .Div__Link {
        padding: 0.6em 1.2em;
        font-size: 0.95rem;
    }

    .Section__Title {
        font-size: 1.25rem;
    }

    .Section__Menu {
        padding-left: 1.2rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .Card__Footer {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}
