/* ==========================================
   ALBUM PAGE & UPLOAD LAYOUT FIXES
   ========================================== */
.album-hero {
    background: linear-gradient(135deg, #fff0f3 0%, #f0f3ff 100%);
    padding: 50px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.album-container {
    max-width: 1000px; /* Ortalanmış genişlik */
    margin: 40px auto;
    padding: 0 20px;
}

/* Modern Sürükle-Bırak Yükleme Alanı */
.upload-section {
    margin-bottom: 45px;
}

.drop-zone {
    border: 2px dashed #a29bfe;
    background: rgba(248, 249, 250, 0.8);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary-color);
    background: #fff5f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 75, 110, 0.1);
}

.drop-icon {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.drop-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.file-label {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
}

.drop-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-input {
    display: none;
}

/* Galeri Başlığı ve Butonları */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f2f6;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.gallery-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.count-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-clear-danger {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-clear-danger:hover {
    background: #e53935;
    color: white;
}

/* Fotoğraf Grid Düzeni */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.photo-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-soft);
    background: #eee;
    transition: var(--transition);
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.photo-card .delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.photo-card:hover .delete-btn {
    opacity: 1;
}

.photo-card .delete-btn:hover {
    background: #e53935;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.empty-state span {
    font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}