.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0;
    margin: 0 auto;
}

.logo {
    padding: 10px 0;
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-left: 1rem;
}

.logo img {
    width: 150px;
    height: 50px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    margin-left: -0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo a:hover img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-right: 2rem;
}

.menu-item {
    position: relative;
    padding: 0.5rem 0.75rem;
}

.menu-item > a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.menu-item > a:hover {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .logo {
        margin-left: 0;
    }

    .logo img {
        width: 120px;
        height: 40px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-right: 0;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .menu-item {
        width: 100%;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item > a {
        font-size: 1rem;
        display: block;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
        border-radius: 4px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: 1rem;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 28px;
        height: 3px;
        margin: 6px 0;
        background: #333;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Tablet için ek düzenlemeler */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .navbar .container {
        height: 70px;
    }

    .logo img {
        width: 100px;
        height: 35px;
    }

    .nav-links.active {
        max-height: calc(100vh - 70px);
    }
}

/* Küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }

    .navbar .container {
        height: 60px;
        padding: 0 0.5rem;
    }

    .logo img {
        width: 90px;
        height: 30px;
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        margin: 5px 0;
    }

    .nav-links.active {
        max-height: calc(100vh - 60px);
    }

    .menu-item {
        padding: 0.5rem 0;
    }

    .menu-item > a {
        font-size: 0.9rem;
    }

    .dropdown-content a {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

.navbar-collapse,
.navbar-toggler {
    display: none !important;
} 