* {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
}
body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
}

.header_container {
        background-color: white;
        /* border-bottom: 1px solid black; */
        color: black;
        padding: 0 0;
        text-align: center;
        max-height: 100%;
        position: relative;
        /* border: 1px solid green; */
}
/*info banner css kodları*/
.header_container .info_banner {
        overflow: hidden;
        white-space: nowrap;
        background: black;
        padding: 10px 0;
        /* border: 1px solid red; */
        max-width: 100%;
        position: relative;
}
.header_container .info_banner p {
        display: flex;
        font-size: 14px;
        color: white;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        display: inline-block;
        padding-left: 100%;
        animation: scroll-left 20s linear infinite;
        font-weight: bold;
}
@keyframes scroll-left {
        0% {
          transform: translateX(0%);
        }
        100% {
          transform: translateX(-100%);
        }
      }

.header_container .main_header {
        margin: 0;
        color: black;
        background-color: white;
        /* border: 1px solid chartreuse; */
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
}


.hamburger {
        display: none; /* mobilde görünür olacak */
        width: 50px;
        height: 50px;
        background-color: rgb(109, 109, 109);
        color: white;
        font-size: 30px;
        line-height: 50px;
        text-align: center;
        cursor: pointer;

        display: none;
        justify-content: center;
        align-items: center;
        margin: 0; 
}

.hamburger:hover {
        background-color: rgb(25, 25, 25);
        color: white;
        transition: all 0.3s ease;
}


.header_container .main_header header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        /* border: 1px solid purple; */
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
}
    
    /* Daha büyük ekranlar için (örneğin: 1200px ve üzeri) */
    @media (min-width: 1200px) {
        .header_container .main_header header {
            max-width: 1700px;
            padding: 1rem 3rem;
        }
    }
    
    /* Orta boy ekranlar için (örneğin: tabletler) */
    @media (max-width: 1199px) and (min-width: 768px) {
        .header_container .main_header header {
            padding: 1rem 2rem;
        }
        .header_container .main_header header .search_container {
            display: none;
        }
    }
    
    /* Küçük ekranlar için (örneğin: mobil cihazlar) */
    @media (max-width: 767px) {
        .header_container {
                height: 40%;
                width: 100%;
        }

        .header_container .main_header header {
                flex-direction: column;
                align-items: flex-start;
                padding: 1rem;
                gap: 0.5rem;
                /* border: 1px solid blue; */
                margin: 10px 10px;
                display: flex;
                width: 100%;
                max-width: 100%;
        }
        .header_container .main_header header .search_container , .header_container .main_header header .nav_list {
                display: none;
        }
        .header_container .main_header header .logo_container {
                width: 10px;
        }
        .hamburger {
                display: block;
                position: absolute;
                right: 26px;
                top: 120px;
                transform: translateY(-50%);
        }
    }
    
/*mobil kısımda menunun gözükmesi*/
.header_container .mobile_menu {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        padding: 2rem 1rem;
        z-index: 1000;
}
.header_container .mobile_menu ul {
        list-style: none;
        padding: 0;
}
.header_container .mobile_menu ul li {
        margin-bottom: 1rem;
}
.header_container .mobile_menu ul li a {
        text-decoration: none;
        color: #333;
        font-size: 1.5rem;
        transition: all 0.3s ease;
}
.header_container .mobile_menu ul li a:hover {
        color: #fbd6c8;
}
.header_container .mobile_menu.active {
        left: 0;
}
.header_container .close_btn {
        font-size: 2rem;
        cursor: pointer;
        text-align: right;
        margin-bottom: 1rem;
}

.header_container .main_header header .nav_list {
        /* border: 1px solid pink; */
        margin: 0;
        padding: 0;
}

.header_container .main_header header .nav_list ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
}

.header_container .main_header header .nav_list ul li {
        display: inline-block;
        position: relative;
        padding: 0 0;
        /* border: 1px solid red; */
        width: min-content;
        border-radius: 5px;
        transition: background-color 0.3s ease;
}

.header_container .main_header header .nav_list ul li a {
        text-decoration: none;
        color: black;
        padding: 10px 20px;
        border-radius: 5px;
        transition: color 0.3s ease;
}

.header_container .main_header header .nav_list ul li a:hover {
        color: #fbd6c8;
}

.header_container .main_header header .logo_container {
        display: flex;
        align-items: center;
        width: 200px;
        height: 100px;
        /* border: 1px solid green; */
        padding: 10px 20px;
}

.header_container .main_header header .logo_container img {
        width: 100%;
        height: auto;
        /* border: 1px solid blue; */
}

@media screen and (max-width: 768px) {
  .header_container .main_header header .logo_container img {
    position: relative;
    right: 40px;
    /* border: 1px solid red; */
  }
}

.header_container .main_header header .search_conteiner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
}

.header_container .main_header header .search_container input {
        width: 175px;
        height: max-content;
        padding: 6px;
        padding-left: 35px;
        /* border: 1px solid green;*/
        border-radius: 5px;
        font-size: 16px;
        margin-right: 10px;
}

#searchInput {
        width: 100%;
        padding: 10px;
        padding-left: 30px;
        font-size: 14px;
        border-radius: 6px;
        border: 1px solid #ccc;
}

.search_results {
        max-height: 300px; /* maksimum yükseklik */
        overflow-y: auto; /* dikeyde kaydırma */
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 50px; /* searchInput'ın hemen altı gibi düşün */
        left: 150;
        top: 120px;
        width: 200px;
        z-index: 10;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
        .search_results {
            max-height: 200px;
            font-size: 14px;
        }
    }

.product_cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background-color: #fdfdfd;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product_cards img {
        width: 100%;
        max-height: 150px;
        object-fit: cover;
        border-radius: 6px;
}

.header_container .main_header header .search_container i {
        position: relative;
        left: 10px;
        bottom: 25px;
        margin: 0;
        padding: 0;
        /* border: 1px solid black; */
        width: max-content;
        color: green;
        height: auto;
        display: flex;
}

.header_container .main_header header .search_container input:focus {
        outline: none;
        background-color: rgb(25, 25, 25);
        color: green;
}

.header_container .main_header header .search_container:focus-within i {
        color: green;
}
