/* Navbar Temel Stili */
.navbar {
    background-color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    padding: 0.5rem 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Logo/Marka Stili */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-brand img {
    height: 35px;
    width: auto;
    margin-right: 10px;
}

/* Navigasyon Linkleri */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* Hamburger Menü */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:last-child {
    top: 18px;
}

/* Hamburger Menü Aktif */
.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobil Responsive */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .nav-brand img {
        height: 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        gap: 1rem;
    }

    .nav-links.active {
        right: 0;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}
