body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.menu-container {
    position: relative;
}

.hamburger-menu {
    width: 30px; /* Hamburger menü boyutunu büyüttük */
    height: 25px; /* Yüksekliği de büyüttük */
    position: fixed; /* Hamburger menüsünün sabit olmasını sağlıyoruz */
    top: 15px; /* Üstten 15px mesafe */
    left: 15px; /* Soldan 15px mesafe */
    cursor: pointer;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.bar {
    width: 100%;
    height: 5px; /* Çubuk kalınlığını artırdık */
    background-color: white; /* Hamburger menü çizgileri beyaz olacak */
    transition: all 0.3s ease;
}

.hamburger-menu:hover .bar {
    background-color: #fff; /* Hoverda beyaz olmasını sağlıyoruz */
}

.menu {
    display: none;
    position: fixed; /* Menü de sabit olmalı */
    top: 0;
    left: 0;
    right: 0;
    border-top: 2px solid transparent;
    background-color: #f0f0f0;
    z-index: 99;
    width: 100%;
}

.menu .logo {
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.menu .logo img {
    width: 150px;
    transition: transform 0.3s ease;
}

.menu .logo:hover img {
    transform: scale(1.1); /* Logo hoverda büyür */
}

.menu ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.menu ul li {
    padding: 3px 8px;
    transition: background-color 0.3s ease;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu ul li a:hover {
    background-color: #333;
    color: #fff;
}

.active .menu {
    display: block;
    border-top: 2px solid #333;
}

/* Hamburger menü çubuklarının dönüşümünü sağlama */
.active .hamburger-menu .bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 5px;
}

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

.active .hamburger-menu .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -5px;
}

.active .hamburger-menu:after {
    content: 'X';
    font-size: 22px; /* X işaretini büyüttük */
    color: black; /* X işareti siyah olacak */
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 101;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.hamburger-menu:hover {
    transform: rotate(90deg); /* Hamburger menüsüne hoverda döndürme efekti */
}

/* Menü açıldığında link hover efekti */
.active .menu ul li a:hover {
    background-color: #444; /* Menüdeki linklerin üzerine gelindiğinde arka plan rengi koyulaşacak */
    color: white;
}
