/********** Template CSS **********/
:root {
	--logo-blue: #12304C;
    --logo-red: #C74D4C;
    --light: #FDF5EB;
	--dark: #1E1916;
	--white: #FFFFFF;
	--cream: #F7DCB0;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
	background-color: var(--logo-red);
	color: var(--light);
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-lg-square-topbar {
	color: var(--logo-blue);
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 35px 15px;
    color: var(--light);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--logo-blue);
}

.navbar.fixed-top {
    transition: .5s;
}

.navbar-logo-img {
    height: 106px;
    width: auto;
    margin-right: 10px;
}

.navbar .logo-text {
	color: var(--logo-blue);
}

.navbar .btn-lg-square-navbar-phone-icon,
.navbar .btn-lg-square-navbar-phone-text {
	color: var(--logo-blue);
}

.navbar .btn-lg-square-navbar-phone-icon {
	font-size: 26px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .3);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center; /* Dikeyde ortalama için bu kalsın */
    background: rgba(0, 0, 0, .5);
}

/* Metinlerin sola hizalanması için bu kısmı değiştiriyoruz */
.header-carousel .owl-carousel-inner .container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Dikeyde ortalama kalacak */
    height: 100%;
    width: 100%;
    position: relative; /* Önemli: trilece-reklam-wrapper'ın göreceli konumlanması için */
}

.header-carousel .owl-carousel-inner .container .row {
    width: 100%;
    justify-content: flex-start; /* İçerideki col'u sola hizalamak için */
}

.header-carousel .owl-carousel-inner .container .col-lg-8 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Metni ve butonu sola hizala */
    text-align: left; /* Metni sola hizala */
}

/* Reklam görselinin masaüstü ve genel stil ayarları */
.trilece-reklam-wrapper {
    position: absolute; /* Mutlaka absolute olmalı */
    max-width: 300px; /* Masaüstü boyutu */
    height: auto;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.4));
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    /* background-color: rgba(255, 0, 0, 0.2);  /* DEBUGGING: Masaüstü konumu görmek için */
    z-index: 10;
}

.trilece-reklam-img {
    max-width: 100%; /* Kapsayıcısına göre boyutlanmasını sağla */
    height: auto;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.4)); /* Görseldeki gölge efekti */
}


@media (max-width: 768px) {
	
	.header-carousel .owl-carousel-item	{
		position: relative;
		min-height: 600px;
	}
	
	.header-carousel .owl-carousel-item img {
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.header-carousel .owl-carousel-item p {
		font-size: 16px !important;
	}

	/* BURADA trilece-reklam-wrapper SINIFI MOBİL GÖRÜNÜM İÇİN YENİDEN TANIMLANIYOR */
	.trilece-reklam-wrapper {
		position: absolute !important; /* JavaScript'i geçersiz kılmak için !important */
		/* max-width: 120px !important; /* Görselin mobil boyutu */
		width: 40% !important; /* Kapsayıcı kutunun genişliği */
		height: 30% !important; /* Kapsayıcı kutunun yüksekliği */
		right: 2% !important; /* Sağdan mesafe */
		bottom: 7% !important; /* Alttan mesafe */
		top: auto !important; /* Masaüstündeki 'top: 50%;' ayarını geçersiz kıl */
		transform: translateY(0%) !important; /* Masaüstündeki 'transform: translateY(-50%);' ayarını geçersiz kıl */
		/* background-color: rgba(0, 255, 0, 0.4) !important; /* DEBUGGING: Mobil konumu görmek için */
		z-index: 10; /* Diğer elementlerin üzerinde görünmesi için */
	}

    /* *** BURAYA YENİ EKLENECEK KOD (trilece-reklam-img) *** */
    .trilece-reklam-img {
        display: block !important; /* Görselin kapsayıcıyı doldurması için */
        width: 100% !important; /* Kapsayıcı genişliğinin %100'ünü kullan */
        height: 100% !important; /* Kapsayıcı yüksekliğinin %100'ünü kullan */
        object-fit: contain !important; /* Görseli, oranını koruyarak kutuya sığdır */
        /* Alternatif: object-fit: cover !important; // Görseli oranını koruyarak kutuyu tamamen doldur, bazı kısımlar kesilebilir */
    }

	.header-carousel .owl-carousel-inner .container .col-lg-8 {
		text-align: left; /* Mobil görünümde de metni sola hizala */
		align-items: flex-start; /* Mobil görünümde de metni ve butonu sola hizala */
	}

	.header-carousel .owl-carousel-inner .container h1 {
		font-size: 2.5rem !important;
	}

}

.header-carousel .owl-nav {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-carousel .owl-nav::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transform: rotate(45deg);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: relative;
    font-size: 40px;
    color: var(--logo-blue);
    transition: .5s;
    z-index: 1;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--logo-red);
}

.page-header {
    margin-bottom: 6rem;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.header-carousel-p {
    color: var(--logo-blue);
}

.header-carousel .btn-header-carousel {
    background-color: var(--logo-blue);
    color: var(--light);
}

.header-carousel .btn-header-carousel:hover {
    color: rgba(253, 245, 235, 0.7);
    /* background-color: rgba(255, 255, 255, 0.6); */
    --logo-blue: rgba(18, 48, 76, 0.5);
}


/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.fact-item .fact-item-icon {
	color: var(--logo-red);
}


/*** About ***/
.img-twice::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 5%;
    left: 20%;
    background: var(--logo-red);
    border: 25px solid #F7DCB0;
    border-radius: 6px;
    z-index: -1;
}

.container-about .about-text-about {
	color: var(--logo-blue);
}

.container-about .about-icon {
	color: var(--logo-red);
}

.container-about .btn-about {
	background-color: var(--logo-red);
	color: var(--light);
}

.container-about .btn-about:hover {
	color: rgba(253, 245, 235, 0.7);
	/* background-color: rgba(255, 255, 255, 0.6); */
	background-color: rgba(199, 77, 76, 0.5);
}


/*** Product ***/
.product-item {
    transition: .5s;
}

.product-item:hover {
    background: var(--logo-red) !important;
}

.product-item:hover * {
    color: var(--light);
}

.product-item .product-border-price {
	border-color: var(--logo-red) !important;
}

.product-item:hover .product-border-price {
    border-color: var(--light) !important;
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .product-overlay {
    height: 100%;
    opacity: 1;
}

.container-product .product-top {
	padding-top: 40px;
}

.container-product .product-top-text {
	color: var(--logo-blue);
}

.container-product .product-item .product-item-icon {
	color: var(--light);
}

.container-product .product-item a {
	background-color: var(--logo-red);
}

.container-product .product-item a:hover {
	background-color: var(--light);
}

.container-product .product-item a:hover i {
	color: var(--logo-red);
}

#product .product-item .product-price-text {
	font-size: 35px;
	color: var(--logo-red);
}

#product .product-item .product-price-tepsi-depozito-text {
	font-size: 22px;
	color: var(--logo-red);
}

#product .product-item:hover .product-price-text{
	color: var(--logo-red);
	background-color: var(--light);
}

#product .product-item:hover .product-price-tepsi-depozito-text {
	color: var(--light);
}

#product .product-toptan h1 {
	color: var(--logo-red);
	font-size: 55px;
}

@media (max-width: 992px) {
	
	#product .product-toptan h1 {
		font-size: 40px;
		text-align: center;
	}

}

/*** Service ***/
.service .top-text {
	color: var(--logo-blue);
}

.service .service-icon {
	background-color: var(--logo-red);
}

.service span {
	color: var(--logo-red);
	font-size: 18px;
}


/*** Order ***/
.team-item .team-text {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    transition: .5s;
}

.team-item:hover .team-title {
    top: -100px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}

.order-top {
	background-color: var(--logo-red);
}

.order-top .order-top-text {
	color: var(--logo-blue);
}

.order-top .order-top-header {
	color: var(--light);
}

.online-order-logo {
    width: 100%;
    height: 300px;         
    object-fit: contain;   
    background-color: white; 
    padding: 20px;         
}

.online-order-conteiner .trendyol-logo {
	background-color: #EC691F;
}

.online-order-conteiner .yemeksepeti-logo {
	background-color: #D51317;
}

.online-order-conteiner .custom-order-link {
	color: var(--light);
}

/* Her hangi bir yön olmadan karartma efekti */
.team-item .logo-wrapper {
	overflow: hidden;
    position: relative;
}

.logo-wrapper::after {
    content: "";
    position: absolute;
    top: 0; /* Yerinde sabit */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0; /* Başlangıçta görünmez */
    transition: opacity 0.5s ease; /* Yavaşça görünür */
    z-index: 2;
}

.team-item:hover .logo-wrapper::after {
    opacity: 1; /* Hover ile opaklaşır */
}

/* Kaydırma efekti ile karartma*/
/* .team-item .logo-wrapper {
	overflow: hidden;
    position: relative;
}
.logo-wrapper::after {
    content: "";
    position: absolute;
    top: -100%; 
	top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease;
    z-index: 2;
}

.team-item:hover .logo-wrapper::after {
    top: 0;
} */


/*** Shops ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--logo-red) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
	display: flex !important;
    justify-content: center;
	visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: var(--light);
    background: var(--logo-red);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--logo-red);
    background: var(--light);
	border: solid 2px var(--logo-red);
}

.shops-top-text {
	color: var(--logo-blue);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--logo-red);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #111111;
}

.copyright a {
    color: var(--logo-red);
}

.copyright a:hover {
    color: var(--light);
}

.footer .btn-social-link:hover {
	background-color: var(--light);
	color: var(--logo-red);
	border: solid 1px var(--logo-red);
}


/*** 404 ***/
.Not-Found .icon-404 {
	color: var(--logo-red);
}

.Not-Found .btn-404 {
	color: var(--light);
	background-color: var(--logo-red);
}

.Not-Found .btn-404:hover {
	background-color: rgba(199, 77, 76, 0.5);
}