/* ——— GENEL AYARLAR ——— */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
}

a {
    text-decoration: none;
}

/* ——— ÜST BÖLÜM (LOGO + DÝL) ——— */
.ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #808080;
    padding: 5px 10px;
}

.ust_ic {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.logo_ve_yazi {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 150px;
    height: 70px;
}

.firma {
    color: #ffcd10;
    font-size: 20px;
    font-weight: bold;
}

.lng_dis {
    display: flex;
    align-items: center;
}

.lng_ic {
    display: flex;
    gap: 10px;
    margin-right: 10px;
}

    .lng_ic img {
        cursor: pointer;
    }

/* ——— GENEL MENÜ ——— */
.menu_dis {
    width: 100%;
    background: #666;
    display: flex;
    justify-content: center;
}

.menu_ic {
    width: 100%;
}

.menuler {
    width: 100%;
    text-align: center;
}

/* Mobil menü butonu */
.menu_toggle {
    display: none;
    color: #fff;
    background: #444;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

/* Menü yapýsý */
#menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: max-height 0.3s ease;
}

    #menu > li {
        position: relative;
    }

        #menu > li > a {
            display: block;
            padding: 0 15px;
            height: 35px;
            line-height: 35px;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
        }

        #menu > li:hover > a {
            background: #ffcd10;
            color: #000;
        }

    /* ALT MENÜLER */
    #menu li ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        z-index: 9999;
        background-color: #666;
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        text-align:left;
        width:350px;
    }

    #menu li:hover > ul {
        display: block;
    }

    #menu li ul li a {
        display: block;
        padding: 8px 12px;
        color: #fff;
        font-size: 14px;
        background-color: #666;
        text-decoration: none;
    }

        #menu li ul li a:hover {
            background: #ffcd10;
            color: #000;
        }


/* Mobil */
@media (max-width: 768px) {
    .menu_toggle {
        display: block;
        cursor: pointer;
        padding: 10px 20px;
        color: #fff;
        background: #444;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
    }

    #menu {
        display: none; /* toggle ile açýlacak */
        flex-direction: column;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center; /* Ana menü linklerini ortalar */
    }

        #menu > li {
            width: 100%;
            border-top: 1px solid #555;
            display: flex; /* Flex ile dikey ortalama */
            justify-content: center; /* Yatay ortalama */
            align-items: center; /* Dikey ortalama */
        }

        #menu li ul { /* Tüm alt menüler */
            display: none !important;
            height: 0 !important; /* Eðer JS height veriyorsa */
            overflow: hidden !important;
        }

        #menu > li > a {
            display: block;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            width: 100%; /* Tüm alaný kapsasýn */
            text-align: center; /* Metin ortalý */
        }

            #menu > li > a:hover {
                background: #ffcd10;
                color: #000;
            }

    .submenu {
        display: none !important;
    }

    .search {
        display: flex;
        background-color: #00B4CC;
        border-radius: 6px;
        overflow: hidden;
        margin:5px;
    }

    .searchTerm {
        height: 25px;
        border: none;
        padding: 5px 8px;
        color: #333;
        width: 100px;
        outline: none;
        padding: 5px;
    }
}


/* Masaüstü */
@media (min-width: 769px) {
    #menu {
        display: flex;
        justify-content: center;
    }

        #menu > li {
            margin: 0 10px;
        }

            #menu > li > a {
                padding: 0 15px;
                height: 35px;
                line-height: 35px;
                color: #fff;
                font-size: 16px;
                font-weight: bold;
            }

                #menu > li > a:hover {
                    background: #ffcd10;
                    color: #000;
                }
}



/* ——— ARAMA KUTUSU ——— */
.wrap {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.search {
    display: flex;
    background-color: #00B4CC;
    border-radius: 6px;
    overflow: hidden;
}

.searchTerm {
    border: none;
    padding: 5px 8px;
    color: #333;
    width: 80px;
    outline: none;
}

.btnSearch {
    background: #00B4CC;
    border: none;
    color: #fff;
    padding: 0 10px;
    cursor: pointer;
    font-weight: bold;
}

    .btnSearch:hover {
        color: black;
    }

/* ——— ÝÇERÝK ALANI ——— */
.content {
    width: 100%;
    min-height: 600px;
}

/* ——— MARKA KAYDIRMA ——— */
.marquee {
    width: 90%;
    margin: 10px auto;
    overflow: hidden;
    white-space: nowrap;
}

    .marquee span {
        display: inline-block;
        padding-left: 50%;
        animation: marqueeAnim 80s linear infinite;
    }

@keyframes marqueeAnim {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-150%);
    }
}

/* ——— DÝSTRÝBÜTÖR GÖRSELLERÝ ——— */
.dist {
    height: 50px;
    max-width: 140px;
    margin: 5px;
    transition: box-shadow 0.2s;
}

    .dist:hover {
        box-shadow: 0.1em 0.1em 0.3em gray;
    }

/* ——— FOOTER ——— */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #666;
    color: white;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.footersol {
    font-size: 14px;
}

.sosyalbutonlar a i {
    color: white; /* Ýkon rengi */
    font-size: 24px; /* Ýkon boyutu */
    transition: color 0.3s;
}

.sosyalbutonlar a:hover i {
    color: #ffcd10; /* Hover rengi */
}

/* ——— ÇEREZ BÝLDÝRÝMÝ ——— */
#cookie-notice {
    position: fixed;
    bottom: 10px;
    left: 10px;
    max-width: 400px;
    width: 100%;
    background: #666;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
    visibility: hidden;
    z-index: 100000;
}

    #cookie-notice button {
        background: #3b44ef;
        border: none;
        padding: 10px;
        color: #fff;
        margin-top: 10px;
        width: 100%;
        cursor: pointer;
    }

    #cookie-notice a {
        font-weight: bold;
        color: #fff;
    }

@media only screen and (max-width: 600px) {
    #cookie-notice {
        max-width: 90%;
        left: 0;
        bottom: 0;
        border-radius: 0;
    }
}




/* ——— AUTOCOMPLETE (jQuery UI) ——— */
.ui-autocomplete {
    position: absolute;
    width: 290px;
    z-index: 1000;
    list-style: none;
    background-color: #666;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

    .ui-autocomplete > li > div {
        padding: 3px 20px;
        color: #fff;
    }

.ui-state-hover,
.ui-state-active {
    background-color: #0088cc;
    color: #fff;
}
