/* Temel font ve yapı */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

/* Nav container */
.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* PC Menü */
#nav-menu {
    background-color: rgba(20, 20, 20, 0.85); /* biraz daha açık ve net */
    backdrop-filter: blur(8px); /* arkayı bulanıklaştırır */
    -webkit-backdrop-filter: blur(8px); /* Safari desteği */
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.6); /* daha belirgin bir gölge */
}

/* Menü toggle butonu (mobilde gizli) */
.mobile-menu-toggle {
    display: none;
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.05); /* yarı saydam şık görünüm */
        border: none;
        cursor: pointer;
        z-index: 2000;
        position: fixed;
        top: 1rem;
        right: 1rem;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        margin: 4px 0;
        background-color: white;
        border-radius: 2px;
        transition: all 0.4s ease-in-out;
    }

    /* Buton aktifken çarpı işareti animasyonu */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}