/* --- GEÇİŞ AYARLARI --- */
.bg-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: opacity 0.4s ease; 
    z-index: 0; 
}
.bg-dark-version { opacity: 1; }
#home.lights-on .bg-dark-version { opacity: 0; }

.dark-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; opacity: 0.6;
    transition: opacity 0.4s ease; 
    z-index: 0; 
}
#home.lights-on .dark-overlay { opacity: 0.1; }

/* --- Z-INDEX KURTARICI --- */
.z-index-20 { z-index: 20 !important; }

/* --- DEV YAZI KONUMLANDIRMA --- */
.benim-ozel-yazim {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5; /* !!! BURAYA DİKKAT: KUTULARIN (1000) ALTINDA !!! */
    pointer-events: none;
    line-height: 1;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible;
}

.benim-ozel-yazim strong {
    display: block;
    width: 100%;
    position: absolute;
    left: 50%; 
    bottom: 40px; 
    transform: translateX(-50%); 
    white-space: nowrap;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    font-size: 11.0vw; 
    letter-spacing: -1px;
    transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
    .benim-ozel-yazim strong { font-size: 11vw; bottom: 80px; }
}

/* --- METİN EFEKTİ --- */
.text-karanlik {
    opacity: 1;
    z-index: 6;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.2);
}

.text-aydinlik {
    opacity: 0;
    z-index: 6;
    background: -webkit-linear-gradient(top, rgba(50,50,50,0) 0%, rgba(50,50,50,0.8) 100%);
    background: linear-gradient(to bottom, rgba(50,50,50,0) 0%, rgba(50,50,50,0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

#home.lights-on .text-karanlik { opacity: 0; }
#home.lights-on .text-aydinlik { opacity: 1; }

/* IŞIKLAR YANINCA (Sadece Opacity Değişir, Konum Değişmez) */
#home.lights-on .text-mode-dark { opacity: 0 !important; visibility: hidden; }
#home.lights-on .text-mode-light { opacity: 1 !important; visibility: visible !important; }


/* --- BUTON VE YAZI --- */
.power-btn-wrap {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.5);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 24px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

#home.lights-on .power-btn-wrap {
    background: var(--primary); /* Turuncu */
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 20px var(--primary);
    transform: scale(1.1);
}

/* AÇIK / KAPALI YAZISI */
.label-kapali { display: block; }
.label-acik { display: none; }

#home.lights-on .label-kapali { display: none; }

/* AÇIK YAZISI STİLİ (TURUNCU + BEYAZ KONTUR) */
#home.lights-on .label-acik { 
    display: block; 
    color: #F07D00 !important; /* TURUNCU RENK */
    /* Beyaz Kontur Efekti */
    -webkit-text-stroke: 0.5px #FFF; 
    text-shadow: 0 0 15px rgba(240, 125, 0, 0.8);
    font-weight: 900;
}
/* --- YENİ ETİKET KUTU STİLİ (Zıplama Yok + Kalın Kontur) --- */
.etiket-kutu {
    /* Kontur kalınlığını 2px yaptım */
    border: 2px solid rgba(255,255,255,0.5); 
    padding: 10px 25px;
    text-align: center;
    color: #FFF;
    
    /* Zıplamayı önlemek için kalınlığı sabitledik */
    font-weight: 700; 
    
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 50px; 
    background: rgba(0, 0, 0, 0.1); 
    cursor: default;
    white-space: nowrap;
    transition: all 0.4s ease;
}

/* --- IŞIKLAR AÇILINCA (LIGHT MODE) --- */
#home.lights-on .etiket-kutu {
    /* Buradaki renkleri güncelledik ama font-weight değiştirmedik */
    border-color: rgba(0,0,0,0.6); /* Koyu ve kalın çizgi */
    color: #222; /* Koyu yazı */
    background: rgba(255, 255, 255, 0.1);
}
