/* --- GALERİ VE ALBÜM TASARIMI --- */

/* 1. GENEL AYARLAR */
.main-content {
    background-color: #fcfcfc;
    min-height: 100vh;
}

.content-wrapper {
    padding: 40px 50px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* 2. BAŞLIK ALANI */
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2.2rem;
    color: #1c2331;
    margin: 0;
    position: relative;
}

.gallery-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: #c5a059;
    margin-top: 10px;
    border-radius: 2px;
}

/* Geri Dön Butonu */
.back-btn {
    text-decoration: none;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.back-btn:hover { color: #c5a059; }

/* 3. ALBÜM LİSTELEME (GRID) */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.album-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.album-cover {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.1);
}

/* Albüm Üzerindeki Overlay */
.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.album-card:hover .album-overlay { opacity: 1; }

.view-icon {
    color: #fff;
    font-size: 2rem;
    background: rgba(197, 160, 89, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-info {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

/* BAŞLIK MARJINI DÜŞÜRDÜK: 5px -> 2px */
.album-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #1c2331;
    margin: 0 0 2px 0; /* Alt boşluk azaltıldı */
    font-weight: 700;
}

/* YENİ EKLENEN AÇIKLAMA STİLİ */
.album-desc-short {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0;      /* Üst boşluk sıfırlandı */
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-meta {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Inter', sans-serif;
}

/* 4. FOTOĞRAF DETAY SAYFASI */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.photo-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .content-wrapper { padding: 30px 20px; }
    .gallery-title { font-size: 2rem; }
    .albums-grid, .photos-grid { grid-template-columns: 1fr; }
}