/* Google'dan Modern Yazı Tipi Ekleme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Değişkenlerimizi burada kullanıyoruz */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
}

/* Renk Geçişli Çizgi Efekti */
.section-divider {
    height: 5px;
    width: 100px;
    background-image: var(--accent-gradient, linear-gradient(90deg, #F72B50, #FF5733));
    margin: 0 auto 2rem auto;
    border-radius: 5px;
}

/* Modern Buton Stili */
.btn-modern {
    background-image: var(--accent-gradient, linear-gradient(90deg, #F72B50, #FF5733));
    color: var(--yazi-rengi, #FFFFFF);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.2);
    color: var(--yazi-rengi, #FFFFFF);
}

/* Modern Kart Tasarımı */
.modern-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    height: 100%;
}
.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.modern-card .card-img-top {
    height: 220px;
    object-fit: cover;
}
.modern-card .card-title {
    font-weight: 600;
    color: #333;
}
.modern-card .card-text {
    color: #666;
}

/* Mobil Alt Bar */
.mobile-bottom-bar i {
    color: var(--ana-renk, #F72B50) !important;
}

/* Genel Başlıklar */
.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* =============================================== */
/* KAMPANYALAR SAYFASI İÇİN YENİ STİLLER */
/* =============================================== */

.campaign-page-card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.campaign-image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.campaign-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.campaign-page-card:hover .campaign-image {
    transform: scale(1.1);
}

.price-tag {
    position: absolute;
    top: 15px;
    right: -20px; /* Dışarıda başlat */
    background-image: var(--accent-gradient);
    color: var(--yazi-rengi);
    padding: 8px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
}

.campaign-page-card:hover .price-tag {
    right: 15px; /* Üzerine gelince içeri kaydır */
}

.campaign-page-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.campaign-page-card .card-title {
    font-weight: 700;
    color: #343a40;
}

.campaign-page-card .card-text {
    flex-grow: 1; /* Butonun her zaman en altta kalmasını sağlar */
    margin-bottom: 1.5rem;
}

.campaign-page-card .btn-modern {
    width: 100%; /* Butonun kartı kaplamasını sağlar */
}

/* =============================================== */
/* KATEGORİ KARTI STİLLERİ (Tüm Sitede Kullanılır) */
/* =============================================== */
 /* Kategori Kartları */
.category-card-link {
    text-decoration: none;
    display: block; /* Kartın tüm alanını kaplaması için */
}

.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.category-card-img {
    width: 100%;
    height: 300px; /* Menü sayfasında biraz daha uzun */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
	filter: brightness(0.9);
}

.category-card:hover .category-card-img {
    transform: scale(1.1); /* Üzerine gelince resim büyüsün */
	filter: brightness(1);
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transition: all 0.4s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 120%);
}

.category-card-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
	font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* =============================================== */
/* ÜRÜN LİSTELEME SAYFASI İÇİN YENİ STİLLER */
/* =============================================== */

/* Sayfa başlığı için renkli banner */
.page-banner {
    padding: 3rem 0;
    background-image: var(--accent-gradient);
    color: var(--yazi-rengi);
    text-align: center;
    margin-bottom: 4rem;
}

.page-banner h1 {
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-banner .breadcrumb-item::before {
    color: var(--yazi-rengi) !important;
}

.page-banner .breadcrumb-item a,
.page-banner .breadcrumb-item.active {
    color: var(--yazi-rengi);
    opacity: 0.8;
    text-decoration: none;
}
.page-banner .breadcrumb-item a:hover {
    opacity: 1;
}

/* Yeni ürün kartı stili */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3; /* Resimlerin en-boy oranını sabitler */
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.25rem;
}

.product-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    flex-grow: 1;
    min-height: 60px; /* Açıklama alanları için minimum yükseklik */
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ana-renk);
    margin-top: 1rem;
    text-align: right;
}

/* =============================================== */
/* ANASAYFA YENİ BÖLÜMLER İÇİN STİLLER */
/* =============================================== */

/* Şefin Tavsiyesi Kartı */
.chef-special-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.chef-special-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.chef-special-card:hover img {
    transform: scale(1.1);
}
.chef-special-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}
.chef-special-card .badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1rem;
    padding: 0.5em 1em;
    background-image: var(--accent-gradient);
}

/* Müşteri Yorumları Kartı */
.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    border-left: 7px solid;
    border-left-color: var(--ana-renk);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    height: 100%;
}
.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--ana-renk);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    right: 20px;
}
.testimonial-card .stars {
    color: #ffc107; /* Altın sarısı yıldız rengi */
    margin-bottom: 1rem;
}

/* Yatay Kayan Kampanya Şeridi */
.scrolling-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 20px;
}
.scrolling-wrapper .campaign-scroll-card {
    display: inline-block;
    width: 280px; /* Kart genişliği */
    margin-right: 20px;
    white-space: normal;
    vertical-align: top;
}
/* Kaydırma çubuğunu gizle (isteğe bağlı) */
.scrolling-wrapper::-webkit-scrollbar {
    display: none;
}
.scrolling-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* =============================================== */
/* ANASAYFA SON DOKUNUŞ STİLLERİ */
/* =============================================== */

/* Hakkımızda & Şefin Tavsiyesi Bölümü */
.about-us-content h2 {
    font-weight: 700;
}
.about-us-content .text-divider {
    height: 4px;
    width: 80px;
    background-image: var(--accent-gradient);
    margin: 1rem 0;
    border-radius: 2px;
}
.chef-special-square {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}

/* Yeni Kampanya Kartı Tasarımı */
.stylish-campaign-card {
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.stylish-campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}
.stylish-campaign-card .image-container {
    height: 200px;
    overflow: hidden;
}
.stylish-campaign-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.stylish-campaign-card:hover img {
    transform: scale(1.1);
}
.stylish-campaign-card .card-content {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stylish-campaign-card .campaign-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}
.stylish-campaign-card .campaign-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ana-renk);
    margin: 1rem 0;
}

/* =============================================== */
/* YENİ FOOTER STİLLERİ */
/* =============================================== */

.site-footer {
    background-color: #212529; /* Koyu arkaplan */
    color: #adb5bd; /* Soluk yazı rengi */
    padding: 4rem 0;
    font-size: 0.9rem;
}

.footer-widget h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

/* Başlıkların altına renkli çizgi */
.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-image: var(--accent-gradient);
}

.footer-widget ul {
    list-style: none;
    padding-left: 0;
}

.footer-widget ul li a {
    color: #adb5bd;
    text-decoration: none;
    line-height: 2;
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover,
.footer-widget .contact-info a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-widget .social-icons-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #343a40;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-widget .social-icons-footer a:hover {
    background-color: var(--ana-renk);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #000;
    color: #6c757d;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.8rem;
}

/* =============================================== */
/* YUKARI ÇIK BUTONU STİLLERİ (DÜZELTİLMİŞ) */
/* =============================================== */

.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Değişiklik burada yapıldı */
    width: 50px;
    height: 50px;
    background-image: var(--accent-gradient);
    color: var(--yazi-rengi);
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    border-radius: 50%;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Butonun görünür hali */
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    color: var(--yazi-rengi);
    box-shadow: 0 7px 20px rgba(0,0,0,0.3);
}

/* Mobil barda kaybolmaması için küçük bir ayar */
@media (max-width: 991px) {
    .scroll-to-top-btn {
        bottom: 80px;
        right: 20px; /* Mobil için de sağda olmasını sağla */
    }
}


/* =============================================== */
/* MOBİL ALT BAR STİLLERİ */
/* =============================================== */

/* Bu stiller sadece 992px'den küçük ekranlarda aktif olacak */
@media (max-width: 991.98px) {
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
    }

    .bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 500;
        background: none;
        border: none;
        padding: 0;
    }

    .bar-item i {
        font-size: 1.4rem;
        color: var(--ana-renk); /* Tema rengini kullanır */
        margin-bottom: 2px;
    }
}

/* 992px'den büyük ekranlarda mobil barı tamamen gizle */
@media (min-width: 992px) {
    .mobile-bottom-bar {
        display: none;
    }
