/* --- GENEL AYARLAR --- */
:root {
    --primary-color: #0b2046;
    --accent-color: #e63946;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a { text-decoration: none; }

/* --- ÜST BİLGİ VE MENÜ (SABİT TARAFI) --- */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left i, .top-bar-right i { margin-right: 5px; color: var(--accent-color); }
.top-bar-right { display: flex; gap: 20px; }

header {
    background-color: #ffffff;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.logo span { color: var(--accent-color); }
nav ul { list-style: none; display: flex; gap: 30px; }
nav ul li a { color: var(--text-dark); font-weight: 500; transition: color 0.3s; }
nav ul li a:hover, nav ul li a.active { color: var(--accent-color); }
.btn-call {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

/* --- SAYFA BAŞLIĞI (PAGE HEADER) --- */
.page-header {
    background: linear-gradient(rgba(11, 32, 70, 0.8), rgba(11, 32, 70, 0.8)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 80px 5%;
    text-align: center;
    color: var(--text-light);
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.breadcrumb { font-size: 0.95rem; font-weight: 500; }
.breadcrumb a { color: var(--text-light); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-color); }

/* --- GALERİ ALANI --- */
.gallery-section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 32, 70, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-overlay i {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gallery-overlay span {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }
.gallery-item.hide { display: none; }

/* Lightbox Pop-up */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s;
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--accent-color); }

/* --- FOOTER VE MOBİL (SABİT TARAFI) --- */
footer {
    background-color: #051024;
    color: #b0b7c3;
    padding: 70px 5% 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-size: 1.8rem; font-weight: 700; color: var(--text-light); margin-bottom: 20px; display: block; }
.footer-logo span { color: var(--accent-color); }
.footer-title { color: var(--text-light); font-size: 1.2rem; margin-bottom: 20px; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #b0b7c3; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-light); }
.footer-contact li { display: flex; margin-bottom: 15px; }
.footer-contact i { color: var(--accent-color); margin-top: 5px; margin-right: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; }

.whatsapp-btn {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25d366; color: white; width: 60px; height: 60px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 35px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 9999;
}

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .top-bar { flex-direction: column; text-align: center; gap: 10px; }
    nav ul { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; } /* Mobilde galeri taşmasını önler */
}