:root {
    --brand-color: #b5853f; 
    --brand-dark: #8c652e;
    --dark-bg: #1a1a1a;
    --light-bg: #fdfbf7;
    --wa-color: #25D366;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--brand-color);
}

/* Modern Kayan Yazı Topbar */
.marquee-container {
    width: 100%;
    background-color: var(--brand-color);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-size: 14px;
    font-weight: 500;
}
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-animation 25s linear infinite;
}
@keyframes marquee-animation {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* MENÜ VE LOGO ALANI */
.navbar {
    background-color: #fdf7ed !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    min-height: 160px !important; 
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.navbar .container {
    position: relative;
}

.navbar-brand.centered-logo {
    z-index: 10;
}

.navbar-brand img {
    height: 130px !important; 
    width: auto !important;
}

/* BÜYÜTÜLMÜŞ MENÜ BUTONLARI VE İKONLAR */
.nav-link { 
    font-weight: 600 !important; 
    font-size: 1.25rem !important; 
    color: var(--brand-dark) !important; 
    padding: 10px 20px !important; 
    transition: all 0.3s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-color) !important; 
    transform: scale(1.05); 
}

.social-icons a {
    color: var(--brand-dark);
    font-size: 26px !important; 
    margin-left: 20px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.social-icons a:hover { 
    color: var(--brand-color); 
    transform: scale(1.15) translateY(-3px); 
}

/* CAROUSEL BOYUT DÜZELTME AYARLARI */
.carousel-item img {
    width: 100%;
    height: 45vh; 
    min-height: 250px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
}
@media (min-width: 768px) {
    .carousel-item img {
        height: 55vh; 
        max-height: 600px; 
    }
}
.carousel-caption {
    bottom: 25%;
}
.carousel-caption h2 {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}
.carousel-caption p {
    color: #eee;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
@media (min-width: 768px) {
    .carousel-caption h2 { font-size: 3.5rem; }
}

/* Info Section (Saatler & Kurye) */
.info-section {
    background-color: var(--dark-bg);
    color: white;
    padding: 30px 0;
    border-bottom: 5px solid var(--brand-color);
}
.info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}
.info-box i {
    font-size: 2.5rem;
    color: var(--brand-color);
}

/* Kategori Yönlendirme Kartları */
.product-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    height: 100%;
    text-decoration: none;
    display: block;
    color: inherit;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: inherit;
}
.product-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Ana Sayfa Kaydırmalı Vitrin */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 10px 5px 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; 
}
.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}
.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: var(--brand-color);
    border-radius: 10px;
}
.horizontal-scroll-card {
    flex: 0 0 auto;
    width: 260px; 
    scroll-snap-align: start;
}

/* Ürün Detay Sayfası Özel Zoom */
.zoomable-img-container {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
}
.zoomable-img-container::after {
    content: '\f00e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.8);
    color: #333;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 20px;
    opacity: 0;
    transition: 0.3s;
}
.zoomable-img-container:hover::after {
    opacity: 1;
}

/* WhatsApp Butonları */
.btn-wa-order {
    background-color: var(--wa-color);
    color: white;
    font-weight: 500;
    border-radius: 25px;
    transition: 0.3s;
}
.btn-wa-order:hover {
    background-color: #1ebc5a;
    color: white;
}

/* Floating WhatsApp Butonu */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: var(--wa-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    text-decoration: none;
}
.float-wa:hover { transform: scale(1.1); color: #fff; }

/* 💻 MEDYA SORGULARI (Bilgisayar) */
@media (min-width: 992px) {
    .navbar-brand.centered-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    .float-wa { bottom: 40px; right: 40px; }
}

/* 📱 MEDYA SORGULARI (Mobil - YENİ DÜZELTME) */
@media (max-width: 991px) {
    .navbar-brand.centered-logo {
        position: relative; 
        display: block;
        margin: 0 auto; 
        transform: none;
        top: auto;
        left: auto;
    }
    
    .navbar-toggler {
        position: absolute;
        left: 15px; 
        top: 60px; 
        z-index: 100;
    }
    
    .navbar-collapse {
        margin-top: 40px !important;
        background-color: #fdf7ed;
        padding-bottom: 20px;
        border-radius: 10px;
    }

    /* HTML'deki sağa/sola yaslama huylarını zorla eziyoruz */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center !important; /* Her şeyi ortaya zorla */
        justify-content: center !important;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-nav .nav-item {
        text-align: center;
        width: 100%;
        margin: 5px 0; /* Butonlar arasına biraz nefes payı */
    }

    /* Sosyal medya ikonlarını da ortalıyoruz */
    .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }
    
    .social-icons a {
        margin: 0 15px !important; 
    }
}

/* =========================================
   📱 MOBİL İÇİN BİLGİ ALANI (SAATLER/TESLİMAT) ALT ALTA YAPMA
   ========================================= */
@media (max-width: 767px) {
    .info-box {
        flex-direction: column !important; /* İkonu ve yazıyı yan yana değil, alt alta dizer */
        text-align: center !important; /* Her şeyi tam ortaya hizalar */
        gap: 10px !important; /* İkon ve yazı arasındaki boşluğu ayarlar */
    }
    
    .info-box .text-start {
        text-align: center !important; /* HTML'deki sola yasla komutunu mobilde zorla ezer */
    }

    /* İki kutu arasına mobilde şık bir ayırıcı çizgi çekelim */
    .info-section .border-md-end {
        border-right: none !important; /* Yan çizgiyi iptal eder */
        border-bottom: 1px dashed #555 !important; /* Alta kesik bir çizgi çeker */
        padding-bottom: 30px !important;
        margin-bottom: 15px !important;
    }
}