﻿:root {
    --bg: #f6f3ee;
    --dark: #1f2328;
    --line: rgba(31,35,40,.14);
    --serif: "Playfair Display", serif;
    --sans: "Inter", sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--sans);
    background: var(--bg);
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
   ========================= */
.header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.brand {
    text-decoration: none;
    color: var(--dark);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* =========================
   DESKTOP NAV (DEFAULT)
   ========================= */

/* NAV ana container masaüstünde yatay */
.nav {
    display: flex;
    align-items: center;
}

/* Masaüstünde mobil header (MENÜ + X) kesinlikle görünmesin */
.nav__header {
    display: none !important;
}

/* Masaüstünde linkler yatay */
.nav__links-wrapper {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    /* Masaüstü hover çizgisi */
    .nav__link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--dark);
        transition: width 0.3s ease;
    }

    .nav__link:hover::after {
        width: 100%;
    }

    .nav__link:hover {
        color: #000;
    }

/* Hamburger masaüstünde gizli */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2005;
}

.hamburger__line {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
}

/* Backdrop (masaüstünde görünmez) */
.navbackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1990;
}

    .navbackdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

/* =========================
   MOBILE / TABLET (<= 992px)
   ========================= */
@media (max-width: 992px) {

    /* hamburger görünür */
    .hamburger {
        display: flex;
    }

    /* NAV off-canvas */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        padding: 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2010;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

        .nav.is-open {
            right: 0;
        }

    /* mobil header (MENÜ + X) görünür */
    .nav__header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .nav__close-x {
        background: #eee;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 5px 15px;
        border-radius: 4px;
    }

    /* mobil linkler dikey */
    .nav__links-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .nav__link {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f5f5f5;
        text-transform: none;
        letter-spacing: 0;
    }

        .nav__link::after {
            display: none;
        }
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding: 70px 0 30px;
    flex-shrink: 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer__bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.software-signature {
    margin-top: 10px;
}

    .software-signature a {
        color: #fff;
        font-weight: 800;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.4);
    }

/* footer responsive */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}
/* Tarayıcının varsayılan mor rengini ve alt çizgisini her yerde kapatır */
a, a:link, a:visited {
    text-decoration: none !important;
    color: inherit !important;
}

/* Footer için özel koruma (Eğer footer hala morarıyorsa) */
footer a, footer a:visited {
    color: #ffffff !important; /* Burayı footer yazı rengin neyse o yap */
    text-decoration: none !important;
}