
:root {
    --gold: #d6ad42;
    --gold-light: #f3d77d;
    --dark: #171717;
    --muted: #737373;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ORTAK İÇERİK GENİŞLİĞİ */
.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ÜST SİYAH BİLGİ BANDI */
.topbar {
    width: 100%;
    background: #171717;
    color: #ddd;
    font-size: 12px;
    padding: 10px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.topbar strong {
    color: var(--gold-light);
}

/* ORTAK ANA MENÜ */
.site-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 100;
    box-shadow: 0 3px 20px rgba(0,0,0,.06);
}

.site-header .navbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-header .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.site-header .logo img {
    width: 250px;
    max-width: 250px;
    max-height: none;
    height: auto;
    object-fit: contain;
    display: block;
}

/* MENÜ BAĞLANTILARI */
.site-header .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.site-header .nav-links a {
    color: #171717;
    text-decoration: none;
    transition: color .2s;
}

.site-header .nav-links a:hover {
    color: #b58a20;
}

/* ÖĞRENCİ GİRİŞİ */
.site-header .nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: var(--gold);
    color: #171717;
    padding: 13px 20px;
    border-radius: 7px;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}

/* MOBİL MENÜ BUTONU */
.site-header .mobile-menu {
    display: none;
}

/* DAR MASAÜSTÜ VE TABLET */
@media(max-width: 1250px) {
    .site-header .navbar {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .site-header .logo img {
        width: 220px;
    }

    .site-header .nav-links {
        gap: 15px;
        font-size: 13px;
    }
}

/* MOBİL */
@media(max-width: 760px) {
    .topbar-inner {
        justify-content: center;
        text-align: center;
    }

    .topbar-inner span:last-child {
        display: none;
    }

    .site-header .navbar {
        min-height: 75px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .site-header .logo img {
        width: 190px;
        max-height: none;
    }

    .site-header .mobile-menu {
        display: block;
        border: 1px solid #ddd;
        background: #fff;
        border-radius: 7px;
        padding: 9px 13px;
        font-size: 20px;
        cursor: pointer;
        margin-left: auto;
    }

    .site-header .nav-links {
        display: none;
        order: 4;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 15px 0;
        gap: 0;
        white-space: normal;
    }

    .site-header .nav-links.open {
        display: flex;
    }

    .site-header .nav-links a {
        padding: 11px 5px;
        border-bottom: 1px solid #eee;
    }

    .site-header .nav-button {
        display: none;
    }
}
