#logo {
    filter: brightness(0) invert(1); 
    transition: transform 1.5s;
}

#logo:hover {
    transform: rotateY(360deg) rotateX(0);
}

#logo path,
#logo circle,
#logo ellipse {
    stroke-width: 15px !important; /* Tüm çizgi kalınlıklarını 15px yap */
}

.scrolled #logo {
    filter: none; /* Siyah hale getir */
    /*transition: stroke 0.3s ease-in-out;*/
}

/* Sol Sağ Menü */
#openLeftMenu:focus,#openRightMenu:focus,#closeMenu:focus {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(100%); /* İkonu beyaz yapar */
    color:#fff;
    opacity: 1;
}

#header.scrolled .navbar-toggler-icon {
    filter: invert(0%); /* İkonu beyaz yapar */
}

/* Breakpoint'lere göre genişlik ayarları */
@media only screen and (min-width: 300px) and (max-width:449px) { 
    .head-ozel { height: 65px; }
    #logo { height: 52px !important; }
    .w-ozel { width: 97% !important; }
    .carousel,.slider-img {height: 500px; }
    .carousel-control-prev,.carousel-control-next { display: none; }
    .custom-offcanvas {
        scrollbar-width: none !important; /* Firefox'ta gizle */
        -ms-overflow-style: none; /* IE ve Edge'de gizle */
     }
}


/* Breakpoint'lere göre genişlik ayarları */
@media only screen and (min-width: 450px) and (max-width:767px) { 
    .head-ozel { height: 65px; }
    #logo { height: 52px !important; }
    .w-ozel { width: 97% !important; }
    .carousel,.slider-img {height: 400px; }
    .carousel-control-prev,.carousel-control-next { display: none; }
    .custom-offcanvas {
        scrollbar-width: none !important; /* Firefox'ta gizle */
        -ms-overflow-style: none; /* IE ve Edge'de gizle */
     }
}



@media only screen and (min-width: 768px) and (max-width:991px) { 
    .head-ozel { height: 75px; }
    #logo { height: 55px !important; }
    .w-ozel { width: 97% !important; }
    .carousel,.slider-img {height: 400px; }
    .carousel-control-prev,.carousel-control-next { display: none; }
    .custom-offcanvas {
        scrollbar-width: none !important; /* Firefox'ta gizle */
        -ms-overflow-style: none; /* IE ve Edge'de gizle */
     }
}



@media only screen and (min-width: 992px) and (max-width:1199px) { 
    .head-ozel { height: 75px; }
    #logo { height:55px; }
    .w-ozel { width: 97% !important; }
    .carousel,.slider-img {height: 500px; }
    .carousel-control-prev,.carousel-control-next { display: block; }

    .navbar-toggler {
        position: absolute;
        left: 0; /* Menü ikonu sola yerleşir */
        z-index: 1; /* Diğer öğelerin üstünde olsun */
    }
}



@media only screen and (min-width: 1200px) and (max-width:1399px) { 
    .head-ozel { height: 75px; }
    #logo { height:60px; }
    .w-ozel { width: 95% !important; }
    .carousel,.slider-img {height: 600px; }
    .carousel-control-prev,.carousel-control-next { display: block; }
}



@media only screen and (min-width: 1400px) { /* xxl */
    .head-ozel { height: 75px; }
    #logo { height:60px; }
    .w-ozel { max-width: 1520px !important; }
    .carousel,.slider-img {height: 800px; }
    .carousel-control-prev,.carousel-control-next { display: block; }
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar, .navbar a, .navbar .nav-link, .navbar .navbar-brand, .navbar .btn, .navbar .searchBtn #heartBtn {
    color: white;
}

.navbar .btn-outline-success {
    border-color: white;
}

.navbar-nav .nav-item {
    margin-right: 15px; /* Sağ boşluk */
    font-style: normal;
    font-weight: 300;
    font-size:12px;
}

.nav-scroll {
    display: flex;
    flex-wrap: nowrap; /* Satır kırılmasını engeller */
    overflow-x: auto; /* Yatay kaydırma ekler */
    scrollbar-width: none; /* Firefox için scrollbar gizleme */
    -ms-overflow-style: none; /* IE ve Edge için scrollbar gizleme */
    white-space: nowrap; /* Linklerin alt alta düşmesini engeller */
}

/* WebKit tarayıcılarında scrollbar'ı gizle */
.nav-scroll::-webkit-scrollbar {
    display: none;
}

/* Slider stil */
.carousel {
    z-index: 1;
    background-color: black;
}

.carousel-item {
    opacity: 0.7;
    position: relative;
}

.slider-img {
    object-fit: cover; /* Resmi kaplamak için */
    object-position: center; /* Orta hizalama */
}

.carousel-caption-custom {
    position: absolute;
    bottom: 40px;
    left: 20px;
    color: white;
    padding: 10px;
    /*text-align: left;*/
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 10;
}

.carousel-caption-custom h2 {
    font-size: clamp(20px, 5vw, 50px); /* Min: 20px, ideal: 5vw, Max: 50px */
    margin-bottom: 5px;
    font-weight: 900;
}

.carousel-caption-custom p {
    font-size: clamp(12px, 2.5vw, 20px); /* Min: 20px, ideal: 5vw, Max: 50px */
    font-weight: normal;
    opacity: 1;
}

.carousel-control-prev {
    justify-content: left !important;
}

.carousel-control-next {
    justify-content: right !important;
}


#header {
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Arka plan ve border rengi değişimi için geçiş efekti */
    
}

/* Kaydırma sonrası stil */
#header.scrolled {
    background-color: white !important; /* Arka plan rengi beyaz */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Menü linklerinin rengini değiştirmek için */
#header.scrolled .nav-link,
#header.scrolled .navbar-brand,
#header.scrolled .btn,
/* Mega Menüler hiçbir şekilde etkilenmesin!*/
#header.scrolled a:not(.mega-link):not(.mega-leaf):not(.mega-col-title):not(.mega-title):not(.mega-all):not(.mega-more),
#header.scrolled #sepetGostergesi,
#header.scrolled .searchBtn,
#header.scrolled #heartBtn {
    color: black; /* Yazı rengi siyah */
}

/* Header içindeki border'ları gri yap */
#header.scrolled nav.navbar {
    border-bottom-color: rgba(0, 0, 0, 0.1) !important; /* Üst nav border rengi gri */
}

#header.scrolled .navbar-expand {
    border-bottom-color: rgba(0, 0, 0, 0.1) !important; /* Alt nav border rengi gri */
}

#header.scrolled .btn {
    border-color: black !important; /* Butonun border rengini siyah yap */
}