/* Renk Değişkenleri */
:root {
    --raisin-black: #F4F4F4;
    --silver: #1A1A1A;
    --cardinal-red: #FFB800;
    --white: #ffffff;
    --page-bg: #F9F9F9;      /* Sayfanın genel arka plan rengi */
    --border-color: #dddddd; /* Belirgin kenarlıklar */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: #f9f9f9;
    line-height: 1.6;
}

/* Header & Navigasyon */
.navbar {
    display: flex;
    justify-content: space-between; /* Sol, Orta ve Sağ arasında boşluk bırakır */
    align-items: center;
    padding: 10px 5%;
    background: var(--raisin-black); /* Arka plan rengi değişti */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Gölgeyi biraz koyulaştırdık */
}

.logo img {
    height: 80px; /* Logonun boyutunu buradan ayarlayabilirsin */
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    color: var(--light-gray); /* Beyaza yakın bir gri yaptık ki göz yormasın */
    flex: 1; /* Ortadaki alanı kaplamasını sağlar */
    justify-content: center; /* Menü elemanlarını tam ortaya hizalar */
}

.nav-links li a {
    color: var(--silver);
    text-decoration: none;
    margin-left: 2rem;
    transition: 0.3s;
    font-size: 20px;
}

.nav-links li a:hover {
    color: var(--cardinal-red); /* Hover olunca tam beyaz parlasın */
}

/* Hero Alanı */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(29, 29, 39, 0.8), rgba(29, 29, 39, 0.8)), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--raisin-black);
}

.hero h1 span {
    color: var(--cardinal-red);
}

.btn-primary {
    display: inline-block;
    background-color: var(--cardinal-red);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    margin-top: 1.5rem;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #a01d35;
}

/* WhatsApp Butonu */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
}
/* Header Search Style */
.search-container {
    display: flex;
    align-items: center;
    background: #f3f3f3;
    border-radius: 8px;
    padding: 5px 15px;
    width: 350px; /* Biraz daha genişlettik */
    transition: all 0.3s;
    border: 1px solid transparent;
}

.search-container input {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px;
    width: 100%;
    font-size: 14px;
}

.search-container input:focus {
    width: 250px; /* Fokuslanınca genişleyen arama kutusu */
    box-shadow: 0 0 10px rgba(242, 122, 26, 0.1);
}

.search-container button {
    border: none;
    background: transparent;
    color: #f27a1a;
    cursor: pointer;
    background: transparent;
    font-size: 16px;
}

.search-container input::placeholder {
    color: #888; /* Placeholder rengi */
}

/* --- ABOUT HERO BÖLÜMÜ --- */
.about-hero {
    background: linear-gradient(rgba(29, 29, 39, 0.8), rgba(29, 29, 39, 0.8)), 
                url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.about-hero p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--white) !important;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    display: inline-block;
    border-radius: 30px;
    margin-top: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* --- BİZ KİMİZ IZGARA YAPISI --- */
.section-padding {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.accent-title {
    font-family: 'Playfair Display', serif;
    color: var(--silver);
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
}

.accent-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--cardinal-red);
    margin-top: 10px;
}

.about-text p {
    line-height: 1.8;
    color: var(--silver); /* */
    margin-bottom: 20px;
    background-color: var(--white);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--silver); /* Geleneksel/Modern bir dokunuş */
}

/* --- DEĞERLERİMİZ BÖLÜMÜ --- */
.values {
    background-color: var(--raisin-black);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(191, 191, 191, 0.2);
    transition: 0.4s;
}

.value-card:hover {
    border-color: var(--cardinal-red);
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--cardinal-red);
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--cardinal-red);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--silver);
    line-height: 1.6;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .about-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    .about-hero h1 { font-size: 2.5rem; }
    .about-image { order: -1; } /* Mobilde görsel yukarı çıksın */
}
/* WhatsApp Butonu */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
}

/* --- MARKA FİLTRELEME ALANI ---
.filter-container {
    margin: 50px 0;
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Çok hafif bir derinlik
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    padding: 10px 22px;
    background: var(--raisin-black);
    border: 2px solid var(--border-color);
    color: var(--silver) !important;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.filter-btn:hover {
    opacity: 1;
    border-color: var(--cardinal-red);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--cardinal-red);
    border-color: var(--cardinal-red);
    color: var(--silverl);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
    opacity: 1;
}
@media (max-width: 600px) {
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .filter-btn {
        flex: 0 0 auto;
    }
}
*/

/* İki Sütunlu Düzen */
.filter-scroll-list {
    max-height: 350px; /* Liste uzarsa kaydırma çubuğu çıkar */
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar'ı Trendyol gibi ince ve şık yapalım */
.filter-scroll-list::-webkit-scrollbar {
    width: 5px;
}
.filter-scroll-list::-webkit-scrollbar-thumb {
    background: #dcdcdc;
    border-radius: 10px;
}

.shop-layout {
    display: flex !important;
    align-items: flex-start;
    gap: 30px;
    padding: 20px 0;
}

.sidebar-filters {
    width: 280px;
    min-width: 280px; /* Genişliği sabitleyerek ürünlerin altına girmesini önler */
    position: sticky;
    top: 20px; /* Sayfayı kaydırdığında yukarıda asılı kalır */
    z-index: 100;
}

.products-content {
    flex: 1; /* Kalan tüm alanı kapla */
}

/* Filtre Kutusu */
.filter-box {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

/* Filtre İçi Arama */
.filter-search input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 10px;
    background-color: #fafafa;
}

/* Kaydırılabilir Liste */
.filter-scroll-list {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Custom Checkbox (Trendyol Tarzı) */
.filter-checkbox-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.filter-checkbox-item:hover {
    color: #f27a1a;
}

.filter-checkbox-item input {
    margin-right: 10px;
    accent-color: #f27a1a; /* Modern tarayıcılarda turuncu yapar */
    width: 16px;
    height: 16px;
}

/* Kategori Linkleri */
.category-links {
    list-style: none;
    padding: 0;
}

.category-links li a {
    text-decoration: none;
    font-size: 13px;
    color: #666;
    display: block;
    padding: 5px 0;
}

.category-links li a.active {
    color: #f27a1a;
    font-weight: bold;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .shop-layout {
        flex-direction: column;
    }
    .sidebar-filters {
        width: 100%;
        position: relative;
        top: 0;
    }
}
/* Product Card Improvements */
.brand-tag {
    font-size: 0.8rem;
    color: var(--cardinal-red);
    font-weight: bold;
    text-transform: uppercase;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
/* --- İLETİŞİM WRAPPER (GRID) --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

/* --- SOL TARAF: BİLGİ ALANI --- */
.contact-info {
    background-color: var(--raisin-black);
    color: var(--white);
    padding: 50px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--cardinal-red);
}

.contact-info > p {
    color: var(--silver);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--cardinal-red);
    background: rgba(191, 37, 65, 0.1);
    padding: 12px;
    border-radius: 4px;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    color: var(--silver);
}

.info-item p {
    color: var(--silver);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

.map-container {
    margin-top: 30px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(191, 191, 191, 0.2);
}

/* --- SAĞ TARAF: FORM ALANI --- */
.contact-form-container {
    padding: 50px;
    background-color: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--raisin-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background-color: var(--input-bg);
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--cardinal-red);
    box-shadow: 0 0 5px rgba(191, 37, 65, 0.2);
}

/* Buton Stili */
.btn-primary.full-width {
    width: 100%;
    background-color: var(--cardinal-red);
    color: var(--white);
    padding: 15px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
}

.btn-primary.full-width:hover {
    background-color: #a01e35; /* Cardinal Red'in bir tık koyusu */
    transform: translateY(-2px);
}

/* --- MOBİL UYUM --- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-info, .contact-form-container {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }
}
/* Slider Genel Alanı */
.horizontal-slider {
    position: relative;
    width: 100%;
    height: 450px; /* Yatay ve ince görünüm için ideal yükseklik */
    overflow: hidden;
    background: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Görseli Yatayda Tam Yayma */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli kesmeden/ezmeden alanı kaplar */
}

/* Üzerindeki Karartma ve Yazı Alanı */
.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    padding-left: 8%; /* Yazıları sola yasla */
}

.content {
    color: #fff;
    max-width: 600px;
}

.badge {
    background: #d4af37; /* Altın/Bakır rengi */
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.btn-main {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.btn-main:hover {
    background: #fff;
    color: #000;
}

/* Navigasyon Butonları */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 20px 10px;
    cursor: pointer;
    z-index: 10;
}

.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }

/* Alt Göstergeler */
.indicators {
    position: absolute;
    bottom: 20px;
    left: 8%;
    display: flex;
    gap: 10px;
}

.line {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.line.active { background: #d4af37; }

/* --- Referanslar Bölümü --- */
.brands-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.section-title span {
    color: #B8860B; /* Altın/Bakır Tonu */
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-item {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%); /* Siyah-Beyaz efekti */
    opacity: 0.6;
    transition: all 0.4s ease;
}

.brand-item:hover {
    filter: grayscale(0%); /* Üzerine gelince renklenir */
    opacity: 1;
    transform: scale(1.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
}

/* --- Footer Bölümü --- */
.main-footer {
    background-color: var(--raisin-black);
    color: var(--silver);
    padding: 40px 0 0; /* Üst boşluğu 70px'den 40px'e indirdik */
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px; /* Boşlukları daralttık */
    padding: 0 20px 30px;
}

/* Footer Logo Boyutu */
.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    /* Eğer logonun arka planı varsa ve Raisin Black ile uysun istersen: */
    /* mix-blend-mode: multiply; */
}

.footer-col h4 {
    color: var(--silver);
    font-size: 1rem; /* Başlıkları küçülttük */
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 25px;
    height: 2px;
    background: var(--cardinal-red);
}

.footer-col p, .footer-col ul li a {
    font-size: 0.85rem; /* Yazı boyutunu küçülttük */
    color: var(--silver);
    text-decoration: none;
    line-height: 1.4;
}

.footer-col ul li a:hover {
    color: var(--cardinal-red);
}

.footer-whatsapp {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #25D366;
    color: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
}

.footer-bottom {
    background-color: #15151d; /* Raisin Black'ten biraz daha koyu */
    text-align: center;
    padding: 15px 0;
    font-size: 0.75rem;
    color: #666;
    border-top: 1px solid #2a2a35;
}

/* Sosyal Medya İkonları */
.social-links a {
    color: var(--silver);
    margin-right: 15px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--cardinal-red);
}

.more-brands-text {
    margin-top: 40px; /* Logolarla arasına mesafe koyar */
    text-align: center;
    position: relative;
}

.more-brands-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color:var(--cardinal-red); /* Senin Cardinal Red rengin */
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: lowercase;
    opacity: 0.8;
    display: inline-block;
    position: relative;
}

/* Metnin yanlarına şık ince çizgiler ekleyelim */
.more-brands-text p::before,
.more-brands-text p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background-color: #BFBFBF; /* Gümüş rengi çizgi */
}

.more-brands-text p::before {
    right: 120%; /* Sol taraftaki çizgi */
}

.more-brands-text p::after {
    left: 120%; /* Sağ taraftaki çizgi */
}

/* Mobilde çizgiler çok yer kaplamasın diye ayar */
@media (max-width: 600px) {
    .more-brands-text p::before,
    .more-brands-text p::after {
        width: 30px;
    }
}

/* Filtreleme Butonları */
.filter-container {
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--white);
    border: 1px solid var(--silver);
    color: var(--raisin-black);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    transition: 0.3s;
    border-radius: 4px;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--cardinal-red);
    color: white;
    border-color: var(--cardinal-red);
}

/* Ürün Grid Yapısı - Masaüstünde Sabit 4'lü */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;}

/* Ürün Kartı Genel Yapısı */
.product-card {
    display: flex;
    flex-direction: column; /* İçeriği dikey hizalar */
    height: 100%; /* Tüm kartlar aynı boyda olur */
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #FFB800; /* 3K Makine Sarısı */
}

/* Görsel Kutusu - Ürün Fotosunun Alanı */
.product-img {
    height: 250px; /* Sabit yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

/* Görselin Kendisi - Ezilmeyi ve Taşmayı Önler */
.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Resmi bozmadan kutuya sığdırır */
}

/* Ürün Bilgi Alanı */
.product-info {
    background: #f4f4f4;
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* İçeriğin kartın kalanını doldurmasını sağlar */
}

.brand-tag {
    color: #FFB800; /* Kurumsal Sarı */
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #1A1A1A; /* Kömür Siyahı */
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-info p {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1; /* Metin kısa olsa bile butonun yerini korur */
}

/* WhatsApp Teklif Butonu */
.btn-wa {
    display: block;
    text-align: center;
    padding: 10px;
    background: #1A1A1A; /* Siyah Arka Plan */
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
    margin-top: auto; /* Butonu her zaman en alta sabitler */
}

.btn-wa:hover {
    background: #FFB800; /* Üzerine gelince Sarı */
    color: #1A1A1A;
}

/* --- MOBİL UYUMLULUK (Responsive) --- */

/* Tablet ve küçük ekranlar için 2'li dizilim */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefonlar için tekli dizilim */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   RESPONSIVE İYİLEŞTİRMELER (Mobil ve Tablet)
   ========================================= */

/* 1. Header ve Navigasyon (Mobil Menü) */
@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    .search-container input:focus {
        width: 100%; /* Odaklanınca da tam genişlik kalsın */
    }
}

/* =========================================
   MOBİL ÖZEL DÜZENLEMELER (TELEFON İÇİN)
   ========================================= */

   @media (max-width: 768px) {

    /* --- 1. HEADER DÜZENİ --- */
    
    /* Logo Alanı: Altına çizgi ekle ve boşlukları ayarla */
    .navbar .logo {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e0e0e0; /* İnce gri çizgi */
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    /* Logo boyutunu mobilde biraz daha dengeli yap */
    .logo img {
        height: 60px; 
        margin: 0 auto;
    }

    /* Menü Linkleri: Yan yana diz ve küçült */
    .nav-links {
        display: flex;
        flex-direction: row; /* Yan yana zorla */
        justify-content: center;
        flex-wrap: wrap; /* Sığmazsa taşsın ama düzenli olsun */
        gap: 15px; /* Aralarındaki boşluk */
        width: 100%;
        margin-top: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        font-size: 10px; /* Yazıları küçült */
        margin-left: 0;
        padding: 5px;
        font-weight: 600;
        color: #333; /* Mobilde daha okunaklı olması için koyu renk */
    }

    /* Arama çubuğunu menünün altına al */
    .search-container {
        order: 3; 
        width: 100%;
        margin-top: 10px;
    }


    /* --- 2. MARKA LOGOLARI (REFERANSLAR) --- */
    
    /* Logoları mobilde renkli yap */
    .brand-item {
        filter: grayscale(0%) !important;
        opacity: 1 !important;
    }


    /* --- 3. FOOTER (ALT KISIM) --- */

    /* Footer'daki Logoyu Gizle */
    .footer-logo {
        display: none !important;
    }

    /* Footer Konteyner Düzeni */
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
    }

    /* Footer Başlıklarını (Hızlı Erişim, İletişim) ortala ve çizgisini ayarla */
    .footer-col h4 {
        text-align: center;
        border-bottom: none; /* Alt çizgiyi kaldır veya ortala */
        margin-bottom: 10px;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); /* Kırmızı çizgiyi ortala */
    }

    /* Hızlı Erişim Linkleri: Yan Yana ve Noktasız */
    .footer-col ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        list-style: none; /* Noktaları kaldır */
        padding: 0;
    }
    
    .footer-col ul li a {
        font-size: 13px;
        white-space: nowrap; /* Satır kırmayı engelle */
    }

    /* İletişim Bilgileri: Yan Yana */
    .footer-col p {
        display: inline-block; /* Yan yana gelmesi için */
        margin: 0 10px 10px 0;
        font-size: 13px;
    }
    
    .footer-col {
        text-align: center; /* İçeriği ortala */
    }

    /* WhatsApp butonu mobilde footer içinde sırıtmaması için */
    .footer-whatsapp {
        display: inline-block;
        margin-top: 5px;
    }
}

/* 2. Hero Alanı (Ana Görsel) */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Mobilde çok yüksek olmasın */
    }
    
    .hero h1 {
        font-size: 2rem; /* Başlık mobilde taşmasın */
        padding: 0 10px;
    }
}

/* 3. Mağaza Düzeni (Filtre ve Ürünler) */
@media (max-width: 992px) {
    .shop-layout {
        flex-direction: column; /* Mobilde yan yana değil alt alta olsun */
    }

    .sidebar-filters {
        width: 100%; /* Filtre paneli tam genişlik olsun */
        min-width: 100%;
        position: relative; /* Sticky özelliği mobilde kapatılsın */
        top: 0;
        margin-bottom: 30px;
        z-index: 1; /* Ürünlerin üstüne çıkmasın */
    }

    /* Filtre listesi mobilde çok uzun olmasın, kaydırılabilir kalsın */
    .filter-scroll-list {
        max-height: 200px;
    }
}

/* 4. Ürün Grid Yapısı (Kartlar) */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 20px;
    }

    .product-card {
        margin: 0 auto; /* Kartı ortala */
        width: 100%;
        max-width: 350px; /* Çok geniş ekranda kart devasa olmasın */
    }

    .btn-wa {
        padding: 12px; /* Mobilde parmakla basmak kolay olsun */
    }
}

/* 5. Footer (Alt Bilgi) */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Footer elemanları alt alta gelsin */
        text-align: center;
        gap: 40px;
    }

    .footer-col h4::after {
        left: 50%; /* Çizgiyi ortala */
        transform: translateX(-50%);
    }

    .footer-logo {
        margin: 0 auto 15px auto; /* Logoyu ortala */
        display: block;
    }
}

/* 6. İletişim Sayfası */
@media (max-width: 768px) {
    .contact-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .contact-info, .contact-form-container {
        padding: 30px 20px;
    }
}

/* 7. WhatsApp Butonu (Mobilde Çakışmayı Önle) */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* =========================================
   HAKKIMIZDA (DEĞERLER) MOBİL İYİLEŞTİRMESİ
   ========================================= */

   @media (max-width: 768px) {
    
    /* Bölümün genel boşluğunu biraz azalt */
    .values {
        padding: 50px 0; 
    }

    /* Grid yapısına kenarlardan boşluk vererek içeriği daralt */
    .values-grid {
        display: flex; /* Flex'e çevirerek ortalamayı kolaylaştır */
        flex-direction: column;
        align-items: center; /* Kartları tam ortaya hizala */
        gap: 20px; /* Kartlar arası boşluk */
        padding: 0 15px; /* Ekranın sağından solundan 15px boşluk */
    }

    /* Kartların kendisini özelleştir */
    .value-card {
        width: 100%;
        max-width: 350px; /* Kartın en fazla ne kadar genişleyeceğini sınırla (Daha dar görünüm) */
        padding: 30px 20px; /* İç boşluğu (padding) azaltarak metni toparla */
        margin: 0 auto; /* Ortala */
        box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Hafif gölge ekle okunabilirliği artır */
    }

    /* İkon boyutunu dengele */
    .value-card i {
        font-size: 2.5rem; 
        margin-bottom: 15px;
    }

    /* Başlık ve Metin Ayarları */
    .value-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .value-card p {
        font-size: 0.95rem; /* Yazı boyutunu ideal seviyeye getir */
        line-height: 1.5; /* Satır aralığını okuma için optimize et */
        padding: 0 10px; /* Metni kenarlardan biraz daha içeri it */
    }
}
/* =========================================
   MOBİL ÜRÜN KATALOG VE FİLTRE DÜZENİ
   ========================================= */

   @media (max-width: 768px) {

    /* 1. BOŞLUKLARI DARALTMA (Katalog Yazısı Etrafı) */
    .products-page.section-padding {
        padding-top: 20px !important; /* Üst boşluğu ciddi oranda azalttık */
    }

    .section-title {
        margin-top: 0 !important;
        margin-bottom: 20px !important; /* Başlık altındaki boşluğu azalttık */
        font-size: 1.8rem; /* Mobilde başlığı biraz kibarlaştırdık */
    }

    .shop-layout {
        margin-top: 10px !important; /* Layout başlangıç boşluğunu aldık */
        gap: 15px;
    }


    /* 2. MOBİL FİLTRE BUTONLARI */
    .mobile-filter-buttons {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        width: 100%;
    }

    .m-filter-btn {
        flex: 1; /* Eşit genişlikte yan yana */
        padding: 12px;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: 0.3s;
    }

    .m-filter-btn.active {
        background-color: #FFB800; /* Aktif olunca sarı olsun */
        color: #000;
        border-color: #FFB800;
    }

    .m-filter-btn i {
        font-size: 0.8rem;
        transition: transform 0.3s;
    }

    .m-filter-btn.active i {
        transform: rotate(180deg); /* Ok yukarı dönsün */
    }


    /* 3. FİLTRE KUTULARINI MOBİLDE GİZLE/AÇ */
    
    /* Varsayılan olarak mobilde kutuları gizle */
    .sidebar-filters .filter-box {
        display: none; 
        margin-bottom: 10px;
        border: 1px solid #eee;
        box-shadow: none;
    }

    /* JavaScript 'show' sınıfı eklediğinde göster */
    .sidebar-filters .filter-box.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Masaüstünde butonları gizle */
@media (min-width: 769px) {
    .mobile-filter-buttons {
        display: none;
    }
}