/* ========== RESET BÁSICO ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 25%, #166534 50%, #15803d 75%, #1e293b 100%);
    min-height: 100vh;
    padding: 0;
    color: #1e293b;
    position: relative;
}

/* ========== AÑADIDO: DECORACIÓN NAVIDEÑA ========== */
body::before {
    content: '🎄';
    position: fixed;
    top: 15px;
    left: 20px;
    font-size: 2.5rem;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: sway 4s ease-in-out infinite;
}

body::after {
    content: '⛄';
    position: fixed;
    bottom: 20px;
    right: 25px;
    font-size: 2rem;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

@keyframes sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

/* ========== MENÚ DE NAVEGACIÓN HORIZONTAL ========== */
nav {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(15, 118, 110, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #5eead4;
}

/* ========== AÑADIDO: DECORACIÓN NAV ========== */
nav::before {
    content: '🌟';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    animation: sparkleNav 2s ease-in-out infinite;
}

nav::after {
    content: '🕊️';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 1.3rem;
    opacity: 0.7;
}

@keyframes sparkleNav {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.menu {
    list-style: none;
    position: relative;
}

.menu a {
    display: block;
    text-decoration: none;
    color: #ccfbf1;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(94, 234, 212, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu:last-child a {
    border-right: none;
}

.menu a:hover {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(94, 234, 212, 0.4);
}

/* ========== DIVISOR DECORATIVO ========== */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #5eead4, transparent);
    margin: 2.5rem auto;
    max-width: 1200px;
    opacity: 0.7;
    position: relative;
}

/* ========== AÑADIDO: DECORACIÓN HR ========== */
hr::before {
    content: '🔔';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    font-size: 1.3rem;
}

/* ========== CONTENEDOR PRINCIPAL ========== */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ========== TÍTULO PRINCIPAL ========== */
h1 {
    text-align: center;
    font-size: 3.5rem;
    color: #ccfbf1;
    padding: 2.5rem 2rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(45, 212, 191, 0.15));
    border-radius: 15px;
    border: 2px solid rgba(94, 234, 212, 0.3);
    position: relative;
}

/* ========== AÑADIDO: DECORACIÓN H1 ========== */
h1::before {
    content: '✨';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 1.8rem;
}

h1::after {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
}

/* ========== SUBTÍTULO ========== */
.subtitle {
    font-size: 2.5rem;
    text-align: center;
    color: #ccfbf1;
    padding: 1.5rem;
    margin: 3rem 0 2rem 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    position: relative;
}

.subtitle::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #5eead4, transparent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ========== ACORDEÓN ========== */
.acordeon {
    max-width: 1200px;
    margin: 2rem auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 250, 0.95));
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 2px solid rgba(94, 234, 212, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

/* ========== AÑADIDO: DECORACIÓN ACORDEÓN ========== */
.acordeon::before {
    content: '🎁';
    position: absolute;
    top: 15px;
    right: 60px;
    font-size: 1.5rem;
    z-index: 10;
    opacity: 0.6;
}

.acordeon:hover {
    box-shadow: 0 15px 50px rgba(20, 184, 166, 0.3);
}

.acordeon-titulo {
    display: block;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #134e4a;
    background: linear-gradient(135deg, #5eead4, #2dd4bf);
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
    position: relative;
}

.acordeon-titulo::-webkit-details-marker {
    display: none;
}

.acordeon-titulo::after {
    content: '▼';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.acordeon[open] .acordeon-titulo::after {
    transform: translateY(-50%) rotate(180deg);
}

.acordeon-titulo:hover {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
    color: #0f172a;
}

.acordeon[open] .acordeon-titulo {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #f0fdfa;
}

/* ========== PÁRRAFO DE SANTOS ========== */
.parrafo_santos {
    color: #1e293b;
    font-size: 1.15rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 2.5rem 3rem;
    text-align: justify;
    line-height: 2;
    background: transparent;
    border-left: 6px solid #14b8a6;
    animation: fadeIn 0.5s ease;
    position: relative;
}

/* ========== AÑADIDO: DECORACIÓN PÁRRAFO ========== */
.parrafo_santos::before {
    content: '☩';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #14b8a6;
    opacity: 0.15;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== LISTA DE SANTOS ========== */
ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
    list-style: none;
    max-width: 1300px;
    margin: 0 auto;
}

.santitos {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 253, 250, 0.9));
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    list-style: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* ========== AÑADIDO: DECORACIÓN SANTITOS ========== */
.santitos::after {
    content: '🕊️';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.santitos:hover::after {
    opacity: 0.6;
}

.santitos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #14b8a6, #5eead4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.santitos:hover::before {
    transform: scaleX(1);
}

.santitos:hover {
    background: linear-gradient(145deg, #0f766e, #14b8a6);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 45px rgba(20, 184, 166, 0.4);
    border-color: #5eead4;
}

.santitos a {
    display: block;
    text-decoration: none;
    color: #134e4a;
    font-size: 1.1rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.santitos:hover a {
    color: #f0fdfa;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ========== EFECTO DE SHIMMER ========== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    body {
        padding: 0;
    }

    body::before,
    body::after {
        font-size: 2rem;
    }

    ul {
        flex-wrap: wrap;
    }

    .menu a {
        padding: 1rem 1.2rem;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 2.5rem;
        padding: 2rem 1.5rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .acordeon {
        margin: 1.5rem;
    }

    .acordeon-titulo {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }

    .parrafo_santos {
        font-size: 1rem;
        padding: 2rem 1.5rem;
        line-height: 1.8;
    }

    ul {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    nav::before,
    nav::after {
        font-size: 1.2rem;
    }

    ul {
        flex-direction: column;
        gap: 0;
    }

    .menu {
        border-bottom: 1px solid rgba(94, 234, 212, 0.2);
    }

    .menu a {
        padding: 1rem;
        border-right: none;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
        padding: 1.5rem 1rem;
        letter-spacing: 1px;
    }

    h1::before,
    h1::after {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.6rem;
        padding: 1rem;
    }

    .acordeon {
        margin: 1rem;
        border-radius: 10px;
    }

    .acordeon::before {
        font-size: 1.2rem;
        right: 50px;
    }

    .acordeon-titulo {
        font-size: 1rem;
        padding: 1rem 1.2rem;
        padding-right: 3rem;
    }

    .acordeon-titulo::after {
        right: 1rem;
    }

    .parrafo_santos {
        font-size: 0.95rem;
        padding: 1.5rem 1rem;
        line-height: 1.7;
    }

    ul {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .santitos a {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

    hr {
        margin: 2rem auto;
    }

    hr::before {
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    body::before {
        font-size: 1.5rem;
    }

    body::after {
        font-size: 1.3rem;
    }

    h1 {
        font-size: 1.6rem;
        padding: 1.2rem 0.8rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }

    .acordeon-titulo {
        font-size: 0.9rem;
    }

    .parrafo_santos {
        font-size: 0.9rem;
        padding: 1.2rem 0.8rem;
    }

    .menu a {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}