/* ==========================================================================
   Gülen Yüz Temizlik - Gallery Stylesheet (gallery.css)
   Contains styles specific to gallery.html (Page Banner, Filters, Image Grid)
   ========================================================================== */

/* ==========================================
   1. PAGE BANNER (HERO / BREADCRUMB)
   ========================================== */
.page-banner {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #153e68 100%);
    padding: 60px 0;
    color: #ffffff;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 30%, rgba(35, 155, 65, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner-container {
    max-width: 100%;
    width: auto;
    margin: 0 4%;
}

.page-banner-content {
    max-width: 800px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbdbee;
    margin-bottom: 16px;
    font-weight: 500;
}

.breadcrumb a {
    color: #cbdbee;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb a:hover {
    color: var(--accent-yellow);
}

.breadcrumb .current {
    color: var(--accent-yellow);
    font-weight: 600;
}

.page-banner-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-banner-desc {
    font-size: 15px;
    color: #cbdbee;
    line-height: 1.6;
    font-weight: 400;
}


/* ==========================================
   2. GALLERY SECTION & FILTERS
   ========================================== */
.gallery-section {
    padding: 70px 0;
    background-color: #fbfcfd;
    width: 100%;
}

.gallery-container {
    max-width: 100%;
    width: auto;
    margin: 0 4%;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.section-badge {
    display: inline-block;
    background-color: rgba(35, 155, 65, 0.1);
    color: var(--brand-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-main-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Category Filter Buttons */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    background-color: #ffffff;
    border: 1px solid #dbe2e8;
    color: var(--brand-blue);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-main);
}

.filter-btn:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--brand-green);
    color: #ffffff;
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(35, 155, 65, 0.25);
}


/* ==========================================
   3. GALLERY GRID & CARDS
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 6px 20px rgba(11, 49, 84, 0.08);
    cursor: pointer;
    background-color: #eaf0f6;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* Hover Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 49, 84, 0.1) 0%, rgba(11, 49, 84, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.gallery-item-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 8px;
}

.gallery-icon-zoom {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 6px;
}


/* ==========================================
   4. RESPONSIVE GALLERY STYLES
   ========================================== */

/* Tablet Screens (<= 1024px) */
@media (max-width: 1024px) {
    .page-banner-container,
    .gallery-container {
        margin: 0 3%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-card {
        height: 250px;
    }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
    .page-banner {
        padding: 45px 0;
    }

    .page-banner-container,
    .gallery-container {
        margin: 0 16px;
    }

    .page-banner-title {
        font-size: 28px;
    }

    .section-main-title {
        font-size: 26px;
    }

    .gallery-filters {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 18px;
    }

    .gallery-card {
        height: 230px;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(11, 49, 84, 0) 30%, rgba(11, 49, 84, 0.8) 100%);
    }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    .page-banner {
        padding: 35px 0;
    }

    .page-banner-container,
    .gallery-container {
        margin: 0 10px;
    }

    .page-banner-title {
        font-size: 24px;
    }

    .section-main-title {
        font-size: 22px;
    }

    .gallery-card {
        height: 200px;
    }

    .gallery-item-title {
        font-size: 15px;
    }
}
