/* --- 2025 Modern Tasarım Anlayışı --- */
/* --- Renk Paleti ve Fontlar --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-pink: #FCE4EC; /* Açık Gül Pembesi */
    --secondary-pink: #F48FB1; /* Canlı Gül Pembesi */
    --accent-rose: #E91E63; /* Koyu Gül Rengi */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FFFAFA; /* Kar Beyazı / Hafif Pembe Arka Plan */
    --white: #ffffff;
    --border-color: #f0f0f0;
    --shadow: 0 10px 30px rgba(233, 30, 99, 0.1); /* Accent rengiyle daha belirgin gölge */
    --hover-shadow: 0 15px 40px rgba(233, 30, 99, 0.25);
    --gradient-start: #FFD1DC; /* Pastel Pembe */
    --gradient-end: #FFB6C1; /* Daha Koyu Pastel Pembe */
    --login-bg: #1a0a10; /* Çok Koyu Pembe/Mor Arka Plan */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative; 
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* --- 1. GÜNCELLENMİŞ Giriş Sayfası (index.html) --- */

.login-body {
    background-color: var(--login-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Animasyonlu kalplerin taşmasını engelle */
}

/* Arka Plan Kalp Animasyonu */
.login-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-bg-container span {
    position: absolute;
    bottom: -50px; /* Ekranın altından başla */
    font-size: 2rem;
    color: var(--accent-rose);
    opacity: 0.1;
    animation: animateHearts 15s linear infinite;
}

/* Farklı boyut ve gecikmeler */
.login-bg-container span:nth-child(1) { left: 10%; animation-delay: 0s; font-size: 1.5rem; }
.login-bg-container span:nth-child(2) { left: 20%; animation-delay: 5s; animation-duration: 20s; }
.login-bg-container span:nth-child(3) { left: 30%; animation-delay: 2s; font-size: 2.5rem; }
.login-bg-container span:nth-child(4) { left: 40%; animation-delay: 7s; animation-duration: 18s; }
.login-bg-container span:nth-child(5) { left: 50%; animation-delay: 1s; font-size: 1.2rem; }
.login-bg-container span:nth-child(6) { left: 60%; animation-delay: 6s; animation-duration: 22s; }
.login-bg-container span:nth-child(7) { left: 70%; animation-delay: 3s; font-size: 2.8rem; }
.login-bg-container span:nth-child(8) { left: 80%; animation-delay: 8s; animation-duration: 17s; }
.login-bg-container span:nth-child(9) { left: 90%; animation-delay: 4s; font-size: 1.8rem; }
.login-bg-container span:nth-child(10) { left: 5%; animation-delay: 9s; animation-duration: 25s; }

.login-bg-container span::before {
    content: '\f004'; /* Font Awesome Kalp İkonu */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

@keyframes animateHearts {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0.5;
    }
}


/* Glassmorphism Giriş Kutusu */
.login-container {
    background: rgba(255, 255, 255, 0.05); /* Çok şeffaf beyaz */
    backdrop-filter: blur(15px); /* BUZLU CAM EFEKTİ */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 480px;
    position: relative; /* z-index için */
    z-index: 1;
    overflow: hidden;
}

.login-container .heart-icon {
    font-size: 3rem;
    color: var(--secondary-pink);
    animation: pulse 1.5s infinite alternate;
    margin-bottom: 1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.login-container h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1rem;
    color: var(--white); /* Koyu arka plana karşı beyaz yazı */
    text-shadow: 0 2px 10px rgba(233, 30, 99, 0.5); /* Pembe parlama */
}

/* Ana sayfadaki kalp atışı animasyonu */
.pulsating-heart {
    animation: headerPulse 2s infinite alternate;
}
@keyframes headerPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.08); opacity: 0.9; }
}


.login-container .quote {
    font-size: 1rem;
    color: var(--primary-pink); /* Yazı rengi */
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 300;
}

/* Kayan Etiketli Input Alanı */
#login-form .input-group {
    position: relative;
    margin-bottom: 2rem;
}

#login-form .input-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1); /* Şeffaf input alanı */
    color: var(--white); /* Yazı rengi */
    outline: none;
}

#login-form .input-group label {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#login-form .input-group label i {
    margin-right: 0.5rem;
}

/* Kayan etiket animasyonu */
#login-form .input-group input:focus + label,
#login-form .input-group input:not(:placeholder-shown) + label {
    top: -12px; /* Input'un üstüne çıkar */
    left: 1rem;
    font-size: 0.8rem;
    background: var(--accent-rose); /* Arka plan etiketi */
    color: var(--white);
    padding: 2px 8px;
    border-radius: 5px;
    transform: translateY(0);
}

#login-form .input-group input:focus {
    border-color: var(--secondary-pink);
    box-shadow: 0 0 12px rgba(244, 143, 177, 0.4);
}

/* Parlama Efektli Buton */
#login-form button {
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--secondary-pink), var(--accent-rose));
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    position: relative;
    overflow: hidden; /* Parlama efekti için */
}

/* Parlama efekti */
#login-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-30deg);
    transition: left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#login-form button:hover::before {
    left: 150%; /* Parlamayı kaydır */
}

#login-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
}

#error-message {
    margin-top: 1.2rem;
    color: var(--white);
    font-weight: bold;
    font-size: 0.95rem;
    background: rgba(233, 30, 99, 0.7);
    padding: 0.5rem;
    border-radius: 5px;
    display: none; /* JS ile gösterilecek */
}

#error-message:not(:empty) {
    display: block; /* Hata mesajı varsa göster */
}


/* --- 2. Ana Sayfa (ana-sayfa.html) --- */

.home-body {
    background-color: var(--bg-light); /* Ana arka plan rengi */
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

/* Arka plan animasyonu */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-pink), var(--bg-light), var(--gradient-end));
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    z-index: -1; 
    opacity: 0.7;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1100px; 
    margin: 3rem auto; 
    padding: 0 2rem;
    display: grid;
    gap: 2.5rem;
}

.card {
    background: var(--white);
    border-radius: 20px; 
    padding: 3rem; 
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    position: relative;
    overflow: hidden; 
    border: 1px solid var(--primary-pink); 
}

.card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-7px) scale(1.005);
}

/* Kartların üzerine rastgele kalpler */
.card::before {
    content: '\2764'; 
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 5rem;
    color: rgba(255, 182, 193, 0.08); 
    z-index: 0;
    transform: rotate(20deg);
    animation: floatAndFade 15s infinite linear;
    pointer-events: none; 
}
.card:nth-child(even)::before {
    top: auto;
    bottom: -20px;
    left: -20px;
    transform: rotate(-30deg);
    animation-delay: 7s;
}

@keyframes floatAndFade {
    0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0.5; }
    25% { transform: translateY(-10px) rotate(10deg) scale(1); opacity: 0.6; }
    50% { transform: translateY(0) rotate(0deg) scale(1.2); opacity: 0.7; }
    75% { transform: translateY(10px) rotate(-10deg) scale(1); opacity: 0.6; }
    100% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0.5; }
}


.card h2 {
    font-size: 2rem; 
    color: var(--accent-rose);
    margin-bottom: 2rem; 
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--secondary-pink); 
    display: inline-flex; 
    align-items: center;
    position: relative;
}

.card h2 i {
    margin-right: 1rem;
    font-size: 1.8rem; 
    color: var(--secondary-pink);
}

/* Header */
.main-header {
    background: linear-gradient(180deg, var(--gradient-start) 0%, var(--primary-pink) 100%);
    text-align: center;
    padding: 4rem 1rem; 
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.main-header .header-content {
    position: relative;
    z-index: 2;
}
.main-header h1 {
    font-size: 3.5rem; 
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 5px rgba(255, 182, 193, 0.3); 
}
.main-header .quote {
    font-size: 1.25rem; 
    font-style: italic;
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    min-height: 2rem; /* Animasyon için yer ayır */
}

/* YAZI YAZMA ANİMASYONU */
#animated-quote {
    position: relative;
}
#animated-quote::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: var(--accent-rose);
    animation: blink 0.7s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* Sayaç */
#counter-section {
    text-align: center;
    position: relative;
    z-index: 1;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 1.8rem; 
    margin: 2rem 0;
}
.counter-item {
    background: var(--bg-light);
    padding: 2rem 1.5rem; 
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--primary-pink);
    transition: all 0.3s ease;
}
.counter-item:hover {
    background-color: var(--primary-pink);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(244, 143, 177, 0.2);
}
.counter-item span {
    display: block;
    font-size: 3rem; 
    font-weight: 700;
    color: var(--accent-rose);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.counter-item {
    font-size: 1.1rem;
    color: var(--text-light);
}
.start-date {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 300;
}
/* Sayaç mottosu animasyonu */
.counter-motto {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-pink);
    font-weight: 700;
    animation: fadeInMotto 2s 1s ease-out forwards;
    opacity: 0;
}
@keyframes fadeInMotto {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    border: 1px solid var(--primary-pink);
    position: relative;
    cursor: pointer; 
}
.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.2);
}
.gallery-item img {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    display: block;
    filter: brightness(0.95);
    transition: filter 0.3s ease;
}
.gallery-item:hover img {
    filter: brightness(1.05); 
}
.gallery-info {
    padding: 1.2rem;
    background: linear-gradient(to top, var(--primary-pink) 0%, var(--bg-light) 100%);
    color: var(--text-dark);
}
.gallery-info .date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-rose);
    margin-bottom: 0.5rem;
}
.gallery-info p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Müzik - MP4 VİDEO STİLLERİ */
#music {
    text-align: center;
    position: relative;
    z-index: 1;
}
.music-subtext-above {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--secondary-pink);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
.music-subtext-below {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}
.video-container {
    max-width: 800px;
    margin: 0 auto;
    background: #000;
    border-radius: 15px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 3px solid var(--secondary-pink);
    overflow: hidden; 
}
.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* YENİ EKLENEN STİL: Oynatma butonu (fallback) */
.unmute-button {
    /* display: none; JS ile gösterilecek */
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    background: linear-gradient(45deg, var(--secondary-pink), var(--accent-rose));
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem; /* Video ile arasına boşluk */
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}
.unmute-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.5);
}
.unmute-button i {
    margin-right: 0.5rem;
}


/* Anılar */
.memory-list {
    display: grid;
    gap: 2.5rem;
}
.memory-item {
    border-left: 5px solid var(--accent-rose);
    padding-left: 1.8rem;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.memory-item:hover {
    opacity: 1;
    transform: translateX(5px);
    box-shadow: 5px 5px 20px rgba(233, 30, 99, 0.05);
}
.memory-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 100%; 
    background: var(--accent-rose);
    z-index: -1;
    opacity: 0.3;
}
.memory-item .date {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-pink);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}
.memory-item h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}
.memory-item p {
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Özel Albümler */
#albums {
    text-align: center;
    position: relative;
    z-index: 1;
}
.album-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
}
.special-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.album-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--primary-pink);
    background-color: var(--bg-light);
    cursor: pointer; 
}
.album-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.25);
}
.album-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--primary-pink);
}
.album-item p {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-rose);
}


/* Footer */
.main-footer {
    text-align: center;
    padding: 3.5rem 1rem;
    background: linear-gradient(90deg, var(--accent-rose), var(--secondary-pink));
    color: var(--white);
    margin-top: 4rem;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.main-footer p {
    margin: 0.4rem 0;
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}
.main-footer .animated-infinity {
    animation: infinityRotate 8s infinite linear;
    display: inline-block;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    color: rgba(255,255,255,0.8);
}

@keyframes infinityRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.main-footer::before {
    content: '\2764';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
    animation: footerHeartRotate 20s infinite linear;
    z-index: 1;
}

@keyframes footerHeartRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* --- YENİ EKLENEN LIGHTBOX STİLLERİ --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
    transform: scale(0.8); 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--white);
    border: 2px solid var(--accent-rose);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--accent-rose);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--accent-rose);
    color: var(--white);
    transform: rotate(90deg);
}

#lightbox-img {
    max-width: 100%;
    max-height: 70vh; 
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1rem;
}

#lightbox-caption {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

/* Lightbox Kalp Animasyonları */
.lightbox-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    overflow: hidden;
}

.lightbox-hearts span {
    position: absolute;
    bottom: -50px;
    color: var(--secondary-pink);
    font-size: 1rem;
    opacity: 0.3;
    animation: animateHearts 8s linear infinite;
}

.lightbox-hearts span::before {
    content: '\f004'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.lightbox-hearts span:nth-child(1) { left: 10%; animation-delay: 0s; font-size: 1.2rem; }
.lightbox-hearts span:nth-child(2) { left: 30%; animation-delay: 3s; font-size: 0.8rem; }
.lightbox-hearts span:nth-child(3) { left: 50%; animation-delay: 1s; }
.lightbox-hearts span:nth-child(4) { left: 70%; animation-delay: 4s; font-size: 1.5rem; }
.lightbox-hearts span:nth-child(5) { left: 90%; animation-delay: 2s; }


/* --- Mobil Cihazlar için Ayarlamalar --- */
@media (max-width: 900px) {
    .container {
        padding: 0 1rem;
    }
    .main-header h1 {
        font-size: 2.8rem;
    }
    .main-header .quote {
        font-size: 1.1rem;
    }
    .card {
        padding: 2rem;
    }
    .card h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    .card h2 i {
        font-size: 1.5rem;
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .counter-item span {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .music-subtext-above, .music-subtext-below {
        font-size: 1rem;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    .memory-item h3 {
        font-size: 1.3rem;
    }
    .special-albums-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    .login-container {
        padding: 2.5rem;
        width: 95%;
    }
    .login-container h1 {
        font-size: 2rem;
    }
    .login-container .quote {
        font-size: 0.9rem;
    }
    #login-form .input-group label {
        font-size: 0.95rem;
    }
    
    #login-form .input-group input:focus + label,
    #login-form .input-group input:not(:placeholder-shown) + label {
        font-size: 0.75rem;
    }

    #login-form button {
        padding: 1rem;
        font-size: 1rem;
    }

    .main-header h1 {
        font-size: 2.2rem;
    }
    .main-header .quote {
        font-size: 0.95rem;
    }
    .card {
        padding: 1.5rem;
    }
    .card h2 {
        font-size: 1.4rem;
    }
    .counter-grid {
        grid-template-columns: 1fr; /* Tek sütunlu sayaç */
    }
    .memory-item p {
        font-size: 0.95rem;
    }
    .special-albums-grid {
        grid-template-columns: 1fr;
    }
    .main-footer {
        padding: 2.5rem 1rem;
    }
    
    .lightbox-content {
        padding: 1rem;
        padding-top: 2rem;
    }
    .lightbox-close {
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    #lightbox-img {
        max-height: 60vh;
    }
    #lightbox-caption {
        font-size: 0.9rem;
    }
}