:root {
    --bordo: #4a1f18;
    --altin: #f7ca5e;
    --turuncu: #e67e22;
    --acik-krem: #fdfaf6;
    --koyu-kahve: #2c110d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--acik-krem);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main.main-content {
    flex: 1;
}

/* --- NAVBAR'IN ÜSTTE TAKILI KALMASI İÇİN --- */
#navbar-placeholder {
    position: sticky;
    top: 0;
    z-index: 2000;
}

/* --- NAVBAR STİLLERİ --- */
.navbar {
    background-color: var(--bordo);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    width: 100%;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    height: 100px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 82px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.6));
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
}

/* Navbar Yazı Boyutu */
.nav-links li a {
    text-decoration: none;
    color: var(--acik-krem);
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links li a.active, 
.nav-links li a:hover {
    color: var(--altin);
    border-bottom: 2px solid var(--altin);
    padding-bottom: 3px;
}

/* Çerçeveli İletişim Butonu */
.nav-links li a.btn-iletisim {
    border: 1px solid var(--acik-krem);
    padding: 7px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-links li a.btn-iletisim:hover,
.nav-links li a.btn-iletisim.active {
    background-color: var(--altin);
    color: var(--bordo);
    border-color: var(--altin);
    border-bottom: 1px solid var(--altin);
}

/* --- BİLGİSAYAR: İLETİŞİM YANINDA ISO LOGOSU (Daha Geniş ve Belirgin) --- */
.nav-iso-wrapper {
    margin-left: 12px;
    display: flex;
    align-items: center;
}

.nav-iso-btn {
    background: none;
    border: 2px solid var(--altin);
    border-radius: 6px;
    padding: 3px;
    cursor: pointer;
    width: 60px;  /* Bilgisayarda daha geniş/belirgin yapıldı */
    height: 54px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.nav-iso-btn:hover {
    transform: scale(1.08);
}

.nav-iso-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Masaüstünde Mobil Alan Gizli */
.nav-right-area {
    display: none;
}

/* --- FOOTER STİLLERİ --- */
.footer {
    background-color: var(--koyu-kahve);
    color: var(--altin);
    padding-top: 60px;
    border-top: 5px solid var(--altin);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
    display: block;
}

.footer-brand p {
    margin-top: 0;
    font-size: 15px;
    color: #e3d3c4;
    line-height: 1.8;
}

.footer-links h3, .footer-contact h3 {
    color: var(--altin);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    height: 70px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 0;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #d1bfae;
    transition: all 0.3s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 12px;
    color: var(--turuncu);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--altin);
    transform: translateX(5px);
}

.footer-contact p {
    font-size: 15px;
    margin-bottom: 15px;
    color: #d1bfae;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--turuncu);
    font-size: 18px;
    width: 20px;
}

.footer-contact strong {
    color: var(--altin);
}

.footer-bottom {
    background-color: #1a0a08;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    color: #a39182;
}

/* --- POP-UP (MODAL) STİLLERİ --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: scaleIn 0.3s ease;
}

.modal-img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--turuncu);
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.close-btn:hover {
    background-color: var(--bordo);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- MOBİL UYUMLULUK (992px altı) --- */
@media (max-width: 992px) {
    .navbar-container {
        height: 75px;
        padding: 0 15px;
    }

    /* Mobilde logonun net ve okunaklı olması için boyutu ayarladık */
    .nav-logo {
        height: 56px;
    }

    /* Mobilde Masaüstü ISO menü öğesini gizle */
    .nav-links .nav-iso-wrapper {
        display: none;
    }

    /* Mobilde sağ taraf: ISO Logosu + Hamburger Toggle Butonu yan yana */
    .nav-right-area {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Mobilde Navbar Üstündeki ISO Butonu */
    .nav-right-area .mobile-iso {
        width: 44px;
        height: 40px;
        display: flex;
    }

    .menu-toggle {
        background: none;
        border: none;
        color: var(--altin);
        font-size: 26px;
        cursor: pointer;
        padding: 5px;
        display: block;
    }

    /* Mobil açılır menü */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--koyu-kahve);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        border-top: 2px solid var(--altin);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 16px;
    }

    .nav-links li a.btn-iletisim {
        border: none;
        background-color: transparent;
    }

    .nav-links a:hover, .nav-links a.active {
        border-bottom: none;
        background-color: rgba(212, 175, 55, 0.1);
    }
}