/* Genel Ayarlar */
:root {
    --reklam-gold: #f59e0b;
    --reklam-dark: #0f172a;
    --reklam-whatsapp: #25D366;
}

body {
    background-color: #fcfdfe;
}

.breadcrumb-nav {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    padding: 15px 0;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: var(--reklam-dark);
    text-decoration: none;
}

.badge-reklam {
    background: rgba(245, 158, 11, 0.1);
    color: var(--reklam-gold);
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Galeri Grid */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.image-inner {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

    .image-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
}

/* Sidebar & İletişim */
.shadow-reklam {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.btn-whatsapp {
    background-color: var(--reklam-whatsapp);
    color: white;
}

    .btn-whatsapp:hover {
        background-color: #1eb956;
        color: white;
        transform: translateY(-2px);
    }

.transition {
    transition: all 0.3s ease;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
}

/* Lightbox */
.reklam-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .reklam-lightbox.active {
        display: flex;
    }

.popup-container {
    position: relative;
    text-align: center;
    width: min(1200px, 100%);
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.close-btn {
    position: fixed;
    top: 24px;
    right: 32px;
    background: none;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 10001;
}

/* Navigation */
.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

    .nav-btn:hover {
        background: rgba(255,255,255,0.22);
    }

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

/* Toolbar */
.lightbox-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.toolbar-btn {
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 700;
}

    .toolbar-btn:hover {
        background: rgba(255,255,255,0.22);
    }

.lightbox-counter {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Büyük görsel alanı */
.lightbox-image-stage {
    flex: 1;
    min-height: 0;
    overflow: auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 14px;
}

    .lightbox-image-stage img {
        max-width: 100%;
        max-height: 65vh;
        object-fit: contain;
        transition: transform 0.25s ease;
        cursor: grab;
        transform-origin: center center;
        border-radius: 12px;
        box-shadow: 0 0 50px rgba(0,0,0,0.5);
    }

#popupCaption {
    flex-shrink: 0;
    margin-bottom: 12px !important;
}

/* Thumbnail alanı */
.thumbs-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    flex-shrink: 0;
}

.lightbox-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
    min-width: 100%;
    padding: 4px 2px;
}

    .lightbox-thumbs img {
        width: 110px;
        height: 78px;
        object-fit: cover;
        border-radius: 10px;
        cursor: pointer;
        opacity: 0.6;
        border: 2px solid transparent;
        transition: all 0.25s ease;
        box-shadow: none;
        flex: 0 0 auto;
    }

        .lightbox-thumbs img:hover,
        .lightbox-thumbs img.active {
            opacity: 1;
            border-color: var(--reklam-gold);
            transform: scale(1.04);
        }

/* Scroll bar */
.thumbs-wrapper::-webkit-scrollbar {
    height: 8px;
}

.thumbs-wrapper::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
}

.thumbs-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.28);
    border-radius: 20px;
}

    .thumbs-wrapper::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255,0.4);
    }

@media (max-width: 768px) {
    .masonry-gallery {
        grid-template-columns: 1fr;
    }

    .display-5 {
        font-size: 2rem;
    }

    .nav-btn {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .close-btn {
        top: 14px;
        right: 18px;
        font-size: 36px;
    }

    .lightbox-image-stage img {
        max-height: 55vh;
    }

    .lightbox-thumbs img {
        width: 82px;
        height: 58px;
    }

    .popup-container {
        width: 100%;
        max-height: 100vh;
    }
}
