/* ===================================================
   SDM DİL OKULU - YILBAŞI SÜSLEMELERİ 🎄
   Performans: CSS-only, GPU hızlandırmalı
   Kaldırma: Bu dosyayı ve menu.html'deki ışık HTML'ini silin
   =================================================== */

/* ====== SARKAN IŞIKLAR (HEADER) ====== */
.sdm-christmas-lights {
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
    pointer-events: none;
    z-index: 100;
}

.sdm-lights-wire {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

/* Işık kablosu görünümü */
.sdm-lights-wire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            #2d2d2d 5%,
            #2d2d2d 95%,
            transparent 100%);
    border-radius: 1px;
}

/* Her bir ışık */
.sdm-light {
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Işık kablosu (dik çizgi) */
.sdm-light::before {
    content: '';
    width: 1px;
    height: 8px;
    background: #2d2d2d;
}

/* Ampul */
.sdm-light-bulb {
    width: 10px;
    height: 14px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    position: relative;
    animation: sdm-glow 2s ease-in-out infinite;
    box-shadow: 0 0 8px currentColor, 0 0 15px currentColor;
}

/* Ampul tabanı */
.sdm-light-bulb::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 4px;
    background: #555;
    border-radius: 2px 2px 0 0;
}

/* Renk varyasyonları */
.sdm-light:nth-child(4n+1) .sdm-light-bulb {
    background: linear-gradient(180deg, #ffeb3b 0%, #ffc107 100%);
    color: #ffc107;
    animation-delay: 0s;
}

.sdm-light:nth-child(4n+2) .sdm-light-bulb {
    background: linear-gradient(180deg, #ff6b6b 0%, #e53935 100%);
    color: #e53935;
    animation-delay: 0.5s;
}

.sdm-light:nth-child(4n+3) .sdm-light-bulb {
    background: linear-gradient(180deg, #4caf50 0%, #2e7d32 100%);
    color: #2e7d32;
    animation-delay: 1s;
}

.sdm-light:nth-child(4n+4) .sdm-light-bulb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%);
    color: #1976d2;
    animation-delay: 1.5s;
}

/* Yanıp sönme animasyonu */
@keyframes sdm-glow {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px currentColor, 0 0 15px currentColor;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 3px currentColor, 0 0 6px currentColor;
        transform: scale(0.95);
    }
}

/* Header için position ayarı ve yılbaşı ışıkları için boşluk */
.sdm-header {
    position: relative;
    padding-bottom: 20px;
    /* Işıklar için alan */
}

/* Responsive - Mobilde daha az ışık */
@media (max-width: 768px) {
    .sdm-light {
        width: 30px;
    }

    .sdm-light-bulb {
        width: 8px;
        height: 11px;
    }

    .sdm-christmas-lights {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .sdm-light:nth-child(2n) {
        display: none;
    }

    .sdm-light {
        width: 35px;
    }
}


/* ====== KAR EFEKTİ (HAFİF) ====== */
.sdm-snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.sdm-snowflake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    animation: sdm-snowfall linear infinite;
    text-shadow: 0 0 3px rgba(200, 220, 255, 0.5);
    will-change: transform;
}

/* Kar taneleri pozisyonları ve animasyon süreleri */
.sdm-snowflake:nth-child(1) {
    left: 5%;
    animation-duration: 15s;
    animation-delay: 0s;
    font-size: 12px;
}

.sdm-snowflake:nth-child(2) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: 2s;
    font-size: 16px;
}

.sdm-snowflake:nth-child(3) {
    left: 25%;
    animation-duration: 18s;
    animation-delay: 4s;
    font-size: 10px;
}

.sdm-snowflake:nth-child(4) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 14px;
}

.sdm-snowflake:nth-child(5) {
    left: 45%;
    animation-duration: 16s;
    animation-delay: 3s;
    font-size: 12px;
}

.sdm-snowflake:nth-child(6) {
    left: 55%;
    animation-duration: 13s;
    animation-delay: 5s;
    font-size: 18px;
}

.sdm-snowflake:nth-child(7) {
    left: 65%;
    animation-duration: 17s;
    animation-delay: 2s;
    font-size: 10px;
}

.sdm-snowflake:nth-child(8) {
    left: 75%;
    animation-duration: 15s;
    animation-delay: 4s;
    font-size: 14px;
}

.sdm-snowflake:nth-child(9) {
    left: 85%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 16px;
}

.sdm-snowflake:nth-child(10) {
    left: 95%;
    animation-duration: 16s;
    animation-delay: 3s;
    font-size: 12px;
}

@keyframes sdm-snowfall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Mobilde daha az kar */
@media (max-width: 768px) {
    .sdm-snowflake:nth-child(2n) {
        display: none;
    }
}


/* ====== YILBAŞI BADGE (HERO İÇİN) ====== */
.sdm-christmas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    animation: sdm-badge-pulse 3s ease-in-out infinite;
}

.sdm-christmas-badge::before {
    content: '🎄';
    font-size: 18px;
}

.sdm-christmas-badge::after {
    content: '✨';
    font-size: 14px;
}

@keyframes sdm-badge-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
    }
}