/* Genel Ayarlar */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: #fcf5f7; color: #333; }

/* Şifre Ekranı Tasarımı */
#sifre-ekrani {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #faf5f5; display: flex; justify-content: center; align-items: center;
    z-index: 99999; transition: opacity 0.5s ease;
}
.sifre-kutu { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; max-width: 90%; width: 400px; }
.sifre-kutu h2 { color: #e63946; margin-bottom: 10px; }
.sifre-kutu input { width: 100%; padding: 12px; margin-bottom: 15px; border: 2px solid #fecfef; border-radius: 10px; font-family: 'Poppins', sans-serif; outline: none; text-align: center; font-size: 1.1rem; }
.sifre-kutu button { width: 100%; padding: 12px; background: #e63946; color: white; border: none; border-radius: 10px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.1rem; transition: transform 0.2s ease; }
.sifre-kutu button:hover { transform: scale(1.05); }
#sifre-hata { color: red; font-size: 0.9rem; margin-top: 15px; display: none; }
.gizli { opacity: 0; pointer-events: none; }

/* Müzik Butonu */
.music-btn {
    position: fixed; bottom: 20px; right: 20px; background-color: #e63946; color: white;
    border: none; padding: 12px 20px; border-radius: 50px; font-size: 1rem; cursor: pointer;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4); z-index: 1000; transition: transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.music-btn:hover { transform: scale(1.05); }

/* GİRİŞ (HERO) BÖLÜMÜ */
.hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #fff; border-bottom-left-radius: 50px; border-bottom-right-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; 
}
.hero-content { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; gap: 20px; }
.baslik-kutu { text-align: center; flex: 1; }
.baslik-kutu h1 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.baslik-kutu p { font-size: 1.2rem; font-weight: 300; }
.kucukluk-foto { width: 170px; height: 170px; flex-shrink: 0; }
.kucukluk-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; border: 5px solid #fff; box-shadow: 0 8px 15px rgba(0,0,0,0.15); transition: transform 0.3s ease; }
.sol-foto img { transform: rotate(-8deg); }
.sag-foto img { transform: rotate(8deg); }
.kucukluk-foto img:hover { transform: scale(1.08) rotate(0deg); cursor: pointer; z-index: 10; }

/* BERABER FOTO BÖLÜMÜ */
.beraber-foto-section { text-align: center; padding: 30px 20px; margin-top: 10px; }
.yuvarlak-profil { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 8px solid #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.15); transition: transform 0.3s ease; }
.yuvarlak-profil:hover { transform: scale(1.05) rotate(2deg); }
.romantik-yazi { font-family: 'Caveat', cursive; font-size: 2.2rem; color: #e63946; margin-top: 15px; font-weight: 700; }

/* Kronometre */
.sayac-section { text-align: center; padding: 20px 20px 40px 20px; }
.sayac-section h2 { font-size: 2rem; margin-bottom: 20px; color: #e63946; }
.zaman-sayaci-container { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.zaman-kutu { background-color: #fff; padding: 20px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); min-width: 100px; }
.zaman-kutu span { display: block; font-size: 2.5rem; font-weight: 600; color: #e63946; }
.zaman-kutu .etiket { font-size: 0.9rem; color: #777; text-transform: uppercase; letter-spacing: 1px; }

/* Şiir Bölümü */
.siir-section { padding: 50px 30px; background-color: #fff; margin: 20px auto; max-width: 1000px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.siir-kutu { display: flex; justify-content: space-between; gap: 50px; margin-top: 30px; font-family: 'Georgia', serif; font-style: italic; color: #444; }
.siir-sutun { flex: 1; text-align: left; }
.siir-sutun p { margin-bottom: 25px; line-height: 1.8; font-size: 1.15rem; }

/* GALERİ VE POLAROID */
.anilar-section { padding: 50px 20px; text-align: center; }
.section-title { font-size: 2.5rem; color: #333; margin-bottom: 40px; }
.anilar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; grid-auto-flow: dense; justify-content: center; }

.ani-kutu {
    background-color: #fff; padding: 12px 12px 25px 12px; border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; align-items: center; cursor: pointer;
}
.ani-kutu img, .ani-kutu video { width: 100%; height: 280px; object-fit: cover; border-radius: 2px; }
.ani-kutu img.yazisma { object-fit: contain; background-color: #111; } 
.ani-kutu p { font-family: 'Caveat', cursive; font-size: 1.8rem; color: #444; margin-top: 15px; width: 100%; }
.ani-kutu:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }

/* BÜYÜK MERKEZ VİDEO */
.dev-ani { grid-column: span 2; grid-row: span 2; justify-self: center; width: 100%; }
.dev-ani video { height: 600px !important; }
.dev-ani p { font-size: 2.2rem; color: #e63946; font-weight: bold; }

/* Bonus Simetri Kutusu */
.bonus-kutu { justify-content: center; align-items: center; text-align: center; background: linear-gradient(135deg, #fff 0%, #fecfef 100%); }
.bonus-icerik span { font-size: 3rem; margin-bottom: 10px; display: block; animation: kalpAtisi 1.5s infinite; }
.bonus-icerik p { font-family: 'Caveat', cursive; font-size: 2rem; color: #e63946; }

/* SÜRPRİZ MESAJ (ZARF) */
.surpriz-mesaj-section { text-align: center; margin: 60px 20px; }
.surpriz-mesaj-section h2 { font-size: 2.5rem; color: #333; margin-bottom: 30px; font-family: 'Caveat', cursive; }
.zarf-btn {
    background: #ff4d6d; width: 280px; height: 160px; margin: 0 auto; border-radius: 8px; position: relative; cursor: pointer;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(255, 77, 109, 0.4);
    transition: transform 0.3s ease; overflow: hidden;
}
.zarf-btn::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; border-top: 80px solid #c9184a;
    border-left: 140px solid transparent; border-right: 140px solid transparent; z-index: 1;
}
.zarf-yazi { z-index: 2; color: white; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.3rem; margin-top: 50px; }
.zarf-btn:hover { transform: translateY(-10px); }

/* Mektup Kağıdı ve Modallar */
.mektup-kagit {
    background: #fffdf8; padding: 40px 30px; border-radius: 5px; width: 90%; max-width: 600px; max-height: 85vh; overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); font-family: 'Caveat', cursive; font-size: 1.8rem; color: #333; position: relative;
    background-image: repeating-linear-gradient(transparent, transparent 31px, #e0e0e0 31px, #e0e0e0 32px); line-height: 32px; text-align: left;
}
.kapat-mektup { position: absolute; top: 10px; right: 20px; font-size: 40px; cursor:pointer; font-family: sans-serif; color: #e63946; }
.modal { display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); justify-content: center; align-items: center; flex-direction: column; }
.modal-icerik { max-width: 90%; max-height: 80vh; border-radius: 10px; display: none; box-shadow: 0 5px 25px rgba(230, 57, 70, 0.4); }
.kapat { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 50px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.kapat:hover { color: #e63946; }
#modal-metin { color: white; margin-top: 20px; font-size: 2rem; font-family: 'Caveat', cursive; }

#gizli-kalp { cursor: pointer; font-size: 1.5rem; display: inline-block; transition: transform 0.3s ease; animation: kalpAtisi 1.5s infinite; }
@keyframes kalpAtisi { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

footer { text-align: center; padding: 30px; background-color: #333; color: #fff; margin-top: 50px; }

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .hero-content { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .baslik-kutu { width: 100%; order: 1; margin-bottom: 25px; }
    .kucukluk-foto { order: 2; width: 130px; height: 130px; margin: 0 10px; }
    
    .yuvarlak-profil { width: 180px; height: 180px; }
    .romantik-yazi { font-size: 1.8rem; }
    
    .siir-kutu { flex-direction: column; gap: 10px; }
    .siir-sutun { text-align: center; }
    .siir-sutun p:last-child { text-align: center !important; }
    
    /* Mobilde dev videolar tam ortalanır ve tüm genişliği kaplar */
    .dev-ani { 
        grid-column: span 2 !important; 
        width: 100%; 
        justify-self: center;
    }
    .dev-ani video { height: 280px !important; }
}
@media (max-width: 600px) {
    .anilar-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; justify-content: center; }
    .ani-kutu img, .ani-kutu video { height: 180px; }
    .ani-kutu p { font-size: 1.3rem; margin-top: 10px; }
    .zaman-kutu { min-width: 70px; padding: 15px; }
    .zaman-kutu span { font-size: 1.8rem; }
}