/* Temel Stiller */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; 
}

/* Başlıklar (Romantik Font) */
h1, h2, h3 {
    font-family: 'Great Vibes', cursive;
    color: #d6336c;
    font-weight: normal;
}
#login-container h1 { font-size: 4rem; margin-bottom: 5px; }

/* Şifre Alanı */
#login-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10;
    transition: all 0.5s ease;
}
#login-container.hidden { opacity: 0; transform: scale(0.8); }
#password-input {
    width: 80%;
    padding: 12px;
    margin-top: 20px;
    border: 2px solid #fecfef;
    border-radius: 8px;
    font-size: 16px;
}
#login-button {
    background-color: #d6336c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}
#login-button:hover { background-color: #c2255c; }
#error-message { color: red; margin-top: 15px; height: 20px; }

/* Galeri Alanı */
#gallery-container {
    display: none; 
    text-align: center;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto; 
}
#gallery-container h2 { font-size: 3.5rem; }
#gallery-container h3 { font-size: 2.5rem; margin-top: 30px; }

/* Özel Mesaj */
.special-message {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    background: #fff8f9;
    padding: 20px;
    border-left: 5px solid #d6336c;
    border-radius: 5px;
    margin: 30px 0;
}

/* Galeri Izgarası */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Galeri Öğesi (Tüm Kart) */
.gallery-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Galeri Resmi */
.gallery-item img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    display: block; 
    cursor: pointer;
    border: none;
    border-radius: 0; 
}

/* Fotoğraf Detayları Alanı */
.photo-details {
    padding: 15px;
    text-align: center;
    background-color: #fff8f9; 
}

/* Fotoğraf Tarihi */
.photo-date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #d6336c; 
    margin: 0 0 5px 0;
    font-family: 'Arial', sans-serif; 
}

/* Fotoğraf Açıklaması */
.photo-caption {
    font-size: 1rem;
    color: #555;
    margin: 0;
    font-family: 'Arial', sans-serif; 
}

/* Uçuşan Kalpler */
.heart-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.heart { position: absolute; bottom: -50px; width: 20px; height: 20px; background-color: #ff69b4; opacity: 0.7; transform: rotate(-45deg); animation: fly-up linear forwards; }
.heart::before, .heart::after { content: ''; position: absolute; width: 20px; height: 20px; background-color: #ff69b4; border-radius: 50%; }
.heart::before { top: -10px; left: 0; }
.heart::after { top: 0; left: 10px; }
@keyframes fly-up {
    0% { bottom: -50px; opacity: 0.7; transform: rotate(-45deg) translateX(0); }
    100% { bottom: 110vh; opacity: 0; transform: var(--sway); }
}

/* Şifre Sallanma Animasyonu */
.shake { animation: shake 0.5s ease-in-out; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

/* Lightbox Stilleri (Resim Büyütme) */
#lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 1000; display: none; justify-content: center; align-items: center; animation: fadeIn 0.3s ease; }
#lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
#close-lightbox { position: absolute; top: 20px; right: 40px; font-size: 50px; color: #fff; cursor: pointer; font-family: Arial, sans-serif; transition: transform 0.3s ease; }
#close-lightbox:hover { transform: scale(1.2); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* === YENİ: MÜZİK KONTROL STİLLERİ === */

.music-controls {
    display: none; /* Başlangıçta gizli */
    justify-content: center; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 20px; 
    background: #fff8f9;
    padding: 10px;
    border-radius: 50px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.music-controls button {
    background-color: #d6336c;
    color: white;
    border: none;
    border-radius: 50%; 
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.music-controls button:hover {
    background-color: #c2255c;
    transform: scale(1.1);
}

/* Ses ayarı kaydırıcısı */
#volume-slider {
    -webkit-appearance: none; 
    appearance: none; 
    width: 120px; 
    height: 8px;
    background: #fecfef; 
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

/* Kaydırıcı topuzu (Chrome/Safari) */
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #d6336c; 
    border-radius: 50%;
}

/* Kaydırıcı topuzu (Firefox) */
#volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #d6336c;
    border-radius: 50%;
    border: none;
}
