/* Genel Ayarlar */
/*linear-gradient(135deg, #db8e9a 0%, #fff7f7 50%, #db8e9a 100%)*/
/* Genel Ayarlar */
body {
    /* Saf beyazı kaldırdık. 4 farklı pembe tonu kullandık: */
    /* 1. Belirgin Pembe, 2. Çok Uçuk Pembe, 3. Orta Pembe, 4. Pudra Pembesi */
    background: linear-gradient(-45deg, #db8e9a, #fff0f3, #fdc0c9, #ffe2e6);
    
    background-size: 400% 400%; 
    background-attachment: fixed; 
    animation: gradientAkim 15s ease infinite; 
    
    min-height: 100vh; 
    font-family: 'Lora', serif; 
    color: #4a4a4a;
    overflow-x: hidden;
    overflow-y: hidden; 
}

/* Başlangıçta sayfanın aşağı kaydırılmasını engelle */
body {
    overflow-y: hidden;
}

/* Tıklanana kadar anıları gizle */
#gizli-icerik {
    display: none;
}

/* Karşılama Ekranı (Hero) */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(219, 142, 154, 0.8), rgba(219, 142, 154, 0.8)), 
                url('src/1.png') center/cover no-repeat fixed;
    color: white;
}

.main-title {
    font-family: 'Dancing Script', cursive;
    font-size: 5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background-color: white;
    color: #db8e9a;
}

/* Anılar Bölümü */
.memory-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #c96b79; /* Tatlı bir gül kurusu tonu */
    margin-bottom: 1rem;
}

.memory-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Fotoğraf Çerçeveleri */
.memory-img {
    border-radius: 15px;
    transition: all 0.8s ease; /* Çok yumuşak bir geçiş hızı */
    filter: grayscale(70%); /* Başlangıçta nostaljik ve soluk */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.memory-img:hover {
    transform: scale(1.03) translateY(-8px); /* Hem büyür hem hafif yukarı kalkar */
    filter: grayscale(0%); /* Üzerine gelince tüm renkler canlanır */
    box-shadow: 0 20px 30px rgba(219, 142, 154, 0.4); /* Tatlı pembe bir parlama gölgesi */
}

/* Mobilde başlıkların boyutunu dengeleme */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }
    .memory-row {
        text-align: center;
    }
    .memory-row .text-lg-end {
        text-align: center !important;
    }
}

/* Kalp Atışı (Pulse) Animasyonu */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.pulse-button {
    animation: pulse 2s infinite; /* 2 saniyede bir sürekli tekrarlar */
}

/* Apple Tarzı Bölüm CSS */
.apple-bolumu {
    position: relative;
    height: 100vh; /* Tam ekran yüksekliği */
    overflow: hidden; /* Dışarı taşan büyümüş kısımları gizle */
    margin: 5rem 0;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.apple-foto-kapsayici {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.apple-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotoğrafı alanı kaplayacak şekilde kes/sığdır */
    transform-origin: center center; /* Büyüme tam merkezden olsun */
}

.apple-yazi-kapsayici {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3); /* Yazı okunsun diye fotoğrafı hafif karartır */
}

.apple-metin {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: white;
    text-align: center;
    opacity: 0; /* Başlangıçta görünmez, GSAP ile kaydırdıkça açacağız */
    transform: translateY(50px); /* Biraz aşağıdan başlasın */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Sahne Geçiş Efekti (Sinematik Solma ve Hafif Yakınlaşma) */
.sahne-gecis-efekti {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease-in-out;
}

/* Sahne aktif olduğunda bu class eklenecek */
.sahne-aktif {
    opacity: 1;
    transform: scale(1);
}

/* ===============================
   ŞİFRE / KİLİT EKRANI STİLLERİ
   =============================== */
#sifre-ekrani {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #ffd1d9, #fff0f3);
    z-index: 9999; /* Sayfadaki her şeyin üstünde durmasını sağlar */
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#sifre-input {
    border-radius: 20px;
    border: 2px solid #ffb3c1;
    padding: 10px 20px;
    font-size: 1.5rem;
    letter-spacing: 8px; /* Yazılan şifre karakterlerinin arasını açar */
    background-color: rgba(255, 255, 255, 0.8);
}

#sifre-input:focus {
    box-shadow: 0 0 10px rgba(255, 179, 193, 0.5);
    border-color: #ff8fa3;
    outline: none;
}

/* Yanlış Şifre Girildiğinde Kutuyu Sallama Efekti */
@keyframes sarsinti {
    0% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-8px); }
    100% { transform: translateX(0); }
}

.sarsinti {
    animation: sarsinti 0.4s;
}

/* Bu kodu CSS dosyasının en altına ekle: Akış animasyonunun kuralları */
@keyframes gradientAkim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}