/* Temas Estacionales - CECATI 176 */
/* Elementos decorativos sutiles que no interfieren con la funcionalidad */

/* ===== MES PATRIO (Septiembre) ===== */
.tema-mes-patrio {
    /* Partículas flotantes sutiles */
    position: relative;
    overflow: hidden;
}

.tema-mes-patrio::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(34, 139, 34, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(220, 20, 60, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(34, 139, 34, 0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float-particles 20s linear infinite;
}

/* Bordes sutiles con colores patrios */
.tema-mes-patrio .card {
    border-left: 2px solid rgba(34, 139, 34, 0.2);
    border-right: 2px solid rgba(220, 20, 60, 0.2);
}

.tema-mes-patrio .btn-primary {
    box-shadow: 0 0 10px rgba(34, 139, 34, 0.3);
}

/* Sombras sutiles en títulos */
.tema-mes-patrio h1,
.tema-mes-patrio h2,
.tema-mes-patrio h3 {
    text-shadow: 1px 1px 3px rgba(34, 139, 34, 0.2);
}

/* ===== DÍA DE MUERTOS (Octubre) ===== */
.tema-dia-muertos {
    position: relative;
    overflow: hidden;
}

.tema-dia-muertos::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(3px 3px at 30px 40px, rgba(255, 140, 0, 0.08), transparent),
        radial-gradient(2px 2px at 60px 80px, rgba(139, 0, 139, 0.08), transparent),
        radial-gradient(1px 1px at 100px 20px, rgba(255, 105, 180, 0.08), transparent),
        radial-gradient(2px 2px at 140px 60px, rgba(255, 140, 0, 0.08), transparent);
    background-repeat: repeat;
    background-size: 180px 120px;
    animation: float-particles 25s linear infinite;
}

.tema-dia-muertos .card {
    border-left: 2px solid rgba(255, 140, 0, 0.2);
    border-right: 2px solid rgba(139, 0, 139, 0.2);
}

.tema-dia-muertos .btn-primary {
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

.tema-dia-muertos h1,
.tema-dia-muertos h2,
.tema-dia-muertos h3 {
    text-shadow: 1px 1px 3px rgba(255, 140, 0, 0.2);
}

/* ===== NAVIDAD (Diciembre) ===== */
.tema-navidad {
    position: relative;
    overflow: hidden;
}

.tema-navidad::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 25px 35px, rgba(34, 139, 34, 0.08), transparent),
        radial-gradient(1px 1px at 50px 70px, rgba(220, 20, 60, 0.08), transparent),
        radial-gradient(2px 2px at 80px 25px, rgba(255, 215, 0, 0.08), transparent),
        radial-gradient(1px 1px at 120px 55px, rgba(34, 139, 34, 0.08), transparent),
        radial-gradient(2px 2px at 150px 85px, rgba(220, 20, 60, 0.08), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float-particles 30s linear infinite;
}

.tema-navidad .card {
    border-left: 2px solid rgba(34, 139, 34, 0.2);
    border-right: 2px solid rgba(220, 20, 60, 0.2);
}

.tema-navidad .btn-primary {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.tema-navidad h1,
.tema-navidad h2,
.tema-navidad h3 {
    text-shadow: 1px 1px 3px rgba(255, 215, 0, 0.2);
}

/* ===== ANIMACIONES ===== */
@keyframes float-particles {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-10px) translateX(5px);
    }
    66% {
        transform: translateY(5px) translateX(-5px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tema-mes-patrio::before,
    .tema-dia-muertos::before,
    .tema-navidad::before {
        background-size: 150px 80px;
    }
}

/* ===== COMPATIBILIDAD ===== */
/* Asegurar que no interfiera con elementos existentes */
.tema-mes-patrio *,
.tema-dia-muertos *,
.tema-navidad * {
    position: relative;
    z-index: 2;
}

/* Mantener funcionalidad de botones y enlaces */
.tema-mes-patrio a,
.tema-dia-muertos a,
.tema-navidad a {
    position: relative;
    z-index: 10;
}

.tema-mes-patrio button,
.tema-dia-muertos button,
.tema-navidad button {
    position: relative;
    z-index: 10;
}
