.gallery-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 0;
    margin: 72px auto 80px auto;
}

.gallery-container {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.lightbox-img {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
}

.close, .prev, .next {
    position: absolute;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.close {
    top: 20px;
    right: 40px;
}

.prev {
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
}

.next {
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
}


/* SADECE GALERİ SAYFASI İÇİN */

.page-galeri .top_bar {
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.page-galeri #main_menu > li > a {
    color: #222 !important;
    opacity: 1 !important;
}

.page-galeri #main_menu > li > a:hover {
    color: #c59d5f !important;
}
#galeri-page .top_bar {
    background: #fff !important;
}

#galeri-page #main_menu > li > a {
    color: #222 !important;
}
.mobile_menu_wrapper {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 99999 !important;
}

.mobile_menu_wrapper.open {
    display: block;
}
.mobile_menu_wrapper {
    transform: translateX(100%);
    transition: 0.3s ease;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 99999;
}

.mobile_menu_wrapper.open {
    transform: translateX(0);
}
