﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

.container {
    max-width: 1110px;
    margin: 0 auto;
    width: 90%;
}

header {
    background-color: #f8f9fa;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    header .header-top {
        display: flex;
        flex-direction: column;
    }

        header .header-top .wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            header .header-top .wrapper .logo {
                font-weight: bold;
                font-size: 1.2rem;
                color: #28a745;
                /* Bootstrap success rengi */
            }

            header .header-top .wrapper .mobil-navbar {
                display: none;
            }


            header .header-top .wrapper .list {
                display: flex;
                gap: 20px;
            }

                header .header-top .wrapper .list i {
                    color: #28a745;
                }

        header .header-top .search-box {
            display: flex;
            align-items: center;
            background-color: #f2f2f2;
            border-radius: 8px;
            padding: 0 12px;
            width: 100%;
            height: 50px;
            margin-top: 10px;
        }

            header .header-top .search-box input {
                flex: 1;
                border: none;
                outline: none;
                background: transparent;
                font-size: 16px;
                color: #333;
            }

            header .header-top .search-box button {
                background: none;
                border: none;
                color: #28a745;
                /* Turuncu renk */
                font-size: 18px;
                cursor: pointer;
            }

    header .header-footer .category-slider {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0 10px 0;
        scrollbar-width: thin; /* Firefox: İnce scrollbar */
        scrollbar-color: #aaa transparent; /* Firefox: Renk ayarı */
    }

        /* Chrome, Edge, Safari için */
        header .header-footer .category-slider::-webkit-scrollbar {
            height: 6px; /* Scrollbar yüksekliği */
        }

        header .header-footer .category-slider::-webkit-scrollbar-track {
            background: transparent; /* Arka plan rengi */
        }

        header .header-footer .category-slider::-webkit-scrollbar-thumb {
            background-color: #aaa; /* Kaydırma çubuğu rengi */
            border-radius: 10px; /* Yuvarlak uçlar */
        }


        header .header-footer .category-slider a {
            display: inline-block;
            margin-right: 10px;
            border: none;
            background: none;
            color: black;
        }

        header .header-footer .category-slider .active {
            background-color: #28a745; /* Bootstrap'in success yeşili */
            color: white; /* Yazı rengi */
            padding: 6px 12px; /* İç boşluk */
            border-radius: 8px; /* Hafif yuvarlatma */
            font-weight: 500; /* Yazıyı biraz kalın yapar */
            transition: background-color 0.3s ease;
        }

        header .header-footer .category-slider a:hover {
            background-color: #28a745; /* Bootstrap'in success yeşili */
            color: white; /* Yazı rengi */
            padding: 6px 12px; /* İç boşluk */
            border-radius: 8px; /* Hafif yuvarlatma */
            font-weight: 500; /* Yazıyı biraz kalın yapar */
            transition: background-color 0.3s ease;
        }




@media (max-width: 768px) {
    header .header-top .wrapper .mobil-navbar {
        display: flex;
    }

    header .header-top .wrapper .list {
        display: none;
    }
}

/* Offcanvas genel arka plan ve yazı rengi */
#mobileMenu {
    background-color: #f8f9fa; /* Açık gri arka plan (kontrast için) */
    color: #212529;
}

    /* Logo */
    #mobileMenu .logo {
        font-size: 1.4rem;
        font-weight: 600;
        color: #28a745;
    }


    /* Menü bağlantıları */
    #mobileMenu .offcanvas-body ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
        color: #212529;
        border-bottom: 1px solid #dee2e6;
        transition: all 0.3s ease;
    }

        /* Hover ve aktif durum */
        #mobileMenu .offcanvas-body ul li a:hover,
        #mobileMenu .offcanvas-body ul li a.active {
            color: white;
            background-color: #28a745;
            padding-left: 10px;
            border-radius: 5px;
        }


/* Slider */

main #slider img {
    height: 500px;
    width: 100%;
    display: block;
}


@media (max-width:768px) {
    main #slider img {
        height: 200px;
    }
}

@media (min-width:768px) {
    main #slider{
        width: 70% !important;
    }
}

/* Yotube */

#youtube iframe {
    height: 600px;
}

@media (max-width:768px) {
    #youtube iframe {
        height: 225px
    }
}

@media (min-width:768px) {
    #youtube .container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #youtube iframe {
        width: 76% !important;
        display: block;
    }
}


/* Populer */
.populer-section .card-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
}



.populer-section .card {
    background-color: #f8f9fa;
    color: #28a745;
    border: 1px solid #dee2e6;
    padding-bottom: 10px;
    cursor: pointer;
    text-decoration: none;
    /* Shadow eklendi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Hafif geçiş efekti */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-width: 320px;
    display: block;
}

    /* Hover efekti */
    .populer-section .card:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }


    .populer-section .card img {
        width: 100%; /* kart kadar genişlesin */
        height: 250px;
        object-fit: cover; /* taşma yapmadan doldursun */
        display: block;
    }



.populer-section .card-body {
    padding: 0 10px;
}

    .populer-section .card-body h5 {
        color: #28a745;
        padding: 0;
        margin-bottom: 8px;
        font-size: 18px;
    }

    .populer-section .card-body i {
        color: #ff2c55;
        font-size: 16px;
    }

    .populer-section .card-body div {
        margin-bottom: 8px;
    }

    .populer-section .card-body p {
        font-size: 16px;
        color: white;
    }

@media (max-width: 769px) {
    .populer-section .card-slider {
        padding: 0;
        padding-bottom: 10px
    }

    .populer-section .card {
        min-width: 30px;
        display: block;
    }

        .populer-section .card img {
            height: 200px;
        }

    .populer-section .card-body h5 {
        font-size: 15px;
    }

    .populer-section .card-body i {
        color: red;
        font-size: 12px;
    }

    .populer-section .card-body div {
        margin-bottom: 1px;
    }

    .populer-section .card-body p {
        font-size: 14px;
    }

    .populer-section img {
        min-height: 173px;
    }
}

.populer-section .card-slider .card {
    scroll-snap-align: center;
    flex: 0 0 auto;
    width: 16rem;
}

.populer-section .card-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

@media (max-width: 769px) {
    .populer-section .card-title {
        font-size: 18px;
    }
}

@media (min-width: 769px) {
    .populer-section .card-slider::-webkit-scrollbar {
        display: none;
    }

    .populer-section .card-slider {
        scrollbar-width: auto;
        -ms-overflow-style: auto;
    }
}

/* Ok butonları */
.populer-section .populer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.populer-section .populer-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.populer-section .slider-btn {
    background: #28a745;
    color: white;
    border: 1px solid white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .populer-section .slider-btn.left {
        border: 1px solid;
        margin-right: 5px;
    }

        .populer-section .slider-btn.left i,
        .populer-section .slider-btn.right i {
            font-size: 16px;
        }

        .populer-section .slider-btn.left:hover,
        .populer-section .slider-btn.right:hover {
            background-color: gray;
        }

    .populer-section .slider-btn.right {
        border: 1px solid;
    }

@media (max-width: 769px) {
    .populer-section .slider-btn {
        width: 30px;
        height: 30px;
    }
}


.LatestAdd .card {
    background-color: #f8f9fa;
    color: #28a745;
    border: 1px solid #dee2e6;
    padding-bottom: 10px;
    cursor: pointer;
    text-decoration: none;
    /* Shadow eklendi */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Hafif geçiş efekti */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-width: 320px;
    display: block;
}

    .LatestAdd .card img {
        width: 100%; /* kart kadar genişlesin */
        height: 250px;
        object-fit: cover; /* taşma yapmadan doldursun */
        display: block;
    }

@media (max-width: 768px) {
    .LatestAdd .card {
        min-width: 100%;
    }
}


/* Patners */

.partners-section {
    background-color: #f8f9fa;
    padding: 0px 0;
}

.partners-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
}

.partner-logo {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

    .partner-logo:hover {
        transform: scale(1.1);
    }

.partners-scroll::-webkit-scrollbar {
    height: 6px;
}

.partners-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Patners */

.contact-map-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: 15px;
}

.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    iframe {
        min-height: 300px;
        margin-bottom: 20px;
    }
}

/* yukarı */

.floating-buttons-left {
    position: fixed;
    bottom: 30px;
    left: calc((100% - 1140px) / 2 + 20px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Sağ taraftaki yukarı çık butonu */
.floating-buttons-right {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
}

.circle-btn {
    width: 45px;
    height: 45px;
    background-color: #25d366;
    /* WhatsApp yeşili */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: none;
}

    .circle-btn.phone {
        background-color: #007bff;
        /* Telefon için mavi */
    }

    .circle-btn.back-to-top {
        background-color: #333;
    }

        .circle-btn.back-to-top:hover {
            background-color: #555;
        }


@media (max-width: 768px) {

    .floating-buttons-left {
        left: 5px;
        bottom:15px;
    }

    /* Sağ taraftaki yukarı çık butonu */
    .floating-buttons-right {
        right: 5px;
        bottom: 15px;
    }

  
}

@media (min-width:769px) {
    .floating-buttons-left {
        display: none;
    }
}