/* galeri sayfasina ozel stiller */

.gallery-filter { text-align: center; margin-bottom: 40px; }

.filter-btn { background: var(--light); color: var(--gray-dark); border: 1px solid var(--gray-lighter); padding: 8px 20px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); margin: 4px; }

.filter-btn:hover, .filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }

.gallery-item.tall { grid-row: span 2; }

.gallery-item.wide { grid-column: span 2; }

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

.gallery-item.tall img { min-height: 496px; }

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

.gallery-item .gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,82,118,0.85) 0%, rgba(26,82,118,0) 60%); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px; opacity: 0; transition: var(--transition); }

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

.gallery-overlay h6 { color: var(--white); font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }

.gallery-overlay span { color: rgba(255,255,255,0.7); font-size: 0.78rem; }

.gallery-overlay .zoom-icon { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; backdrop-filter: blur(4px); }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; cursor: pointer; }

.lightbox.active { display: flex; }

.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.lightbox-close { position: absolute; top: 24px; right: 32px; color: var(--white); font-size: 2rem; cursor: pointer; z-index: 10000; background: none; border: none; }

.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: var(--white); font-size: 2.5rem; cursor: pointer; background: rgba(255,255,255,0.1); border: none; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); backdrop-filter: blur(4px); }

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }

.lightbox-prev { left: 24px; }

.lightbox-next { right: 24px; }

@media (max-width: 992px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } .gallery-item.tall img { min-height: 360px; } }

@media (max-width: 767px) {
            .top-bar .d-flex { flex-direction: column; text-align: center; gap: 4px; }
            .top-bar .social-links { display: none; }
            .page-hero h1 { font-size: 1.6rem; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .gallery-item img { min-height: 180px; }
            .gallery-item.tall img { min-height: 370px; }
            .cta-section h2 { font-size: 1.5rem; }
        }
