/* ==========================================
   ATÖLYESEL - GALERİ (GALLERY) MODÜLÜ V2.0
   ========================================== */

:root {
    --white:        #ffffff;
    --bg:           #f7f5f2;
    --primary:      #ff5c35;
    --primary-soft: #fff1ee;
    --primary-dark: #e04520;
    --ink:          #1a1a1a;
    --ink-2:        #444444;
    --ink-3:        #888888;
    --border:       #eae8e4;
    --border-2:     #d8d5d0;
    --radius-pill:  999px;
    --radius-xl:    24px;
    --radius-lg:    16px;
    --radius-md:    12px;
    --shadow-sm:    0 4px 16px rgba(0,0,0,.08);
    --shadow-md:    0 12px 32px rgba(0,0,0,.10);
    --ease:         cubic-bezier(.25,.46,.45,.94);
    --font:         'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── 1. Hero / Karşılama Bölümü ── */
.gallery-hero {
    padding: 80px 0 60px;
    background: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-family: var(--font);
}

.gallery-hero .hero-title {
    font-family: var(--font);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gallery-hero .hero-title .highlight {
    color: var(--primary);
}

.gallery-hero .hero-desc {
    font-family: var(--font);
    font-size: 1.1rem;
    color: var(--ink-2);
    line-height: 1.7;
    margin: 0 auto;
}

/* ── 2. Ana İçerik & Grid ── */
.gallery-main {
    background: var(--bg);
    padding: 80px 0 120px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* ── 3. Galeri Kartı ── */
.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* ── 4. Etiketler (Badges) ── */
.photo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.badge-studio {
    background: rgba(26, 26, 26, 0.85); /* var(--ink) tabanlı */
    color: var(--white);
}

.badge-customer {
    background: rgba(255, 92, 53, 0.9); /* var(--primary) tabanlı */
    color: var(--white);
}

/* ── 5. Overlay Bilgi (Hover Durumu) ── */
.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 24px 24px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    z-index: 5;
}

.gallery-item:hover .gallery-info {
    opacity: 1;
    transform: translateY(0);
}

.info-name {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.3;
}

.info-desc {
    font-family: var(--font);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ── Mobil Optimizasyon ── */
@media (max-width: 640px) {
    .gallery-hero { padding: 60px 0 40px; }
    .gallery-main { padding: 40px 0 80px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
    .gallery-item { aspect-ratio: 1 / 1; }
}