/* =========================================
   1. GENEL AYARLAR VE DEĞİŞKENLER
   ========================================= */
:root {
    --primary-color: #b42927; /* Sarı Tonu */
    --primary-hover: #020202;
    --dark-bg: #1e272e;       /* Koyu Antrasit */
    --darker-bg: #111518;
    --light-text: #f5f6fa;
    --grey-text: #808e9b;
    --section-bg: #f8f9fa;
    --border-radius: 6px;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
	margin:0!important;
	
}

/* WordPress Admin Bar Boşluğunu Düzeltme */
body.admin-bar .main-header {
    top: 0px!important; /* Header'ı admin bar'ın hemen altına konumlandırır */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 40px 0; }

.yazi_beyaz{ color:#fff!important}

/* =========================================
   2. BUTONLAR VE UTILITY CLASSES
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover { background-color: var(--primary-hover); }

.btn-outline {
    background-color:#b42a28;
    border: 2px solid var(--primary-color);
    color:#fff!important;
}
.btn-outline:hover {
    background-color:#000000;
    color: #fff;
}

.btn-outline2 {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color:#fff!important;
}
.btn-outline2:hover {
    background-color: var(--primary-color);
    color: #000;
}

.btn-sm { padding: 8px 16px; font-size: 0.9rem; width: 100%; }

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-bg);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 100%; /* Çizgi tüm yazı boyunca */
    height: 3px;
    background: var(--primary-color);
    margin: 5px auto 0;
}

/* --- STOKTAKİ MAKİNALAR BUTONU (SARI) --- */
.btn-stok {
    background-color: #b42927; /* Tam sarı */
    color: #fff; /* Siyah Yazı */
    font-weight: 800; /* Kalın Font */
    padding: 12px 30px;
    border-radius: 6px;
    text-transform: uppercase;
    border: 2px solid #b42927;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-stok i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-stok:hover {
    background-color: #000; /* Hoverda siyah olsun */
    color: #fff; /* Yazı sarı olsun */
    border-color: #000;
}
.btn-stok:hover i {
    transform: translateX(5px); /* Ok sağa kaysın */
}

/* =========================================
   3. HEADER (ÜST KISIM)
   ========================================= */
.top-bar {
    background-color: var(--darker-bg);
    color: var(--grey-text);
    padding: 10px 0;
    font-size: 0.85rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info span { margin-right: 20px; }
.contact-info i, .social-links i { color: var(--primary-color); margin-right: 5px; }

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    font-weight: 800;
    line-height: 1;
}
.logo h1 span { color: var(--primary-color); }
.logo small { font-size: 0.8rem; color: #666; letter-spacing: 1px;}

.navbar ul { display: flex; gap: 25px; align-items: center; }
.navbar > ul > li > a { font-weight: 600; color: var(--dark-bg); font-size: 1rem; padding: 10px 0; display: block; }
.navbar > ul > li > a:hover, .navbar > ul > li > a.active { color: #d35400; }

.menu-toggle { display: none; font-size: 1.8rem; color: var(--dark-bg); cursor: pointer; }
.mobile-only-btn { display: none; }


/* =========================================
   4. MEGA MENÜ (NİHAİ DÜZELTME - Satır Aralığı KÜÇÜLTÜLDÜ)
   ========================================= */

.navbar ul li { position: relative; }

.desktop-arrow {
    font-size: 0.7rem;
    margin-left: 5px;
    color: #999;
    transition: 0.3s;
}
.navbar ul li:hover .desktop-arrow { transform: rotate(180deg); color: var(--primary-color); }

/* MAKINELER ve Genel Mega Menü Ayarları (1000px) */
.mega-menu {
    position: absolute;
    top: 100%; 
    left: 50%;
    margin-top: 25px;
    transform: translateX(-50%) translateY(20px);
    width: 1150px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-top: 3px solid var(--primary-color);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 0 0 8px 8px;
}

.mega-menu::before {
    content: "";
    display: block;
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Makineler için 4 kolon korunur */
    gap: 10px 30px;
}

/* PHP'nin ürettiği tek <ul> elementini yok sayarak <li>'lerin doğrudan Grid'e girmesini sağla */
.mega-menu ul {
    display: contents; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu ul li {
    display: block; 
}

.mega-menu a {
    font-size: 0.95rem;
    color: #555;
    transition: 0.2s;
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 2px 0; 
    white-space: nowrap; 
}
.mega-menu a:hover { color: var(--primary-color); padding-left: 5px; }
.mega-menu i { width: 20px; color: #ccc; margin-right: 8px; font-size: 0.9rem; }
.mega-menu a:hover i { color: var(--primary-color); }

/* small-mega (Eski Blog Menüsü) */
.mega-menu.small-mega { width: 300px; }
.mega-menu.small-mega .mega-grid { grid-template-columns: 1fr; }

/* BLOG MENÜSÜ İÇİN ÖZEL GENİŞLİK VE TEK SÜTUN AYARI */
.mega-menu.blog-mega { 
    width: 700px; /* Genişletilmiş alan */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.mega-menu.blog-mega .mega-grid { 
    grid-template-columns: 1fr; /* Alt alta listeleme için tek sütun */
    gap: 0;
}

.mega-menu.blog-mega ul li a i {
    color: var(--primary-color); 
    font-size: 1rem;
    margin-right: 10px;
}




/* =========================================
   5. HERO BÖLÜMÜ
   ========================================= */
.hero {
    background-image: url('images/01.avif'); /* Resim yolu */
    background-size: cover;
    background-position: center;
    height: 250px; 
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 2rem; 
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #ddd;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-btns { display: flex; gap: 15px; }







/* =========================================
   6. KAYAN BANT (MARQUEE)
   ========================================= */
.category-slider-section {
    padding: 25px 0;
    background-color: #fff;
    overflow: hidden;
}
.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.slider::before, .slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 100px;
    z-index: 2;
}
.slider::after { right: 0; top: 0; transform: rotate(180deg); }
.slider::before { left: 0; top: 0; }

.slide-track {
    display: flex;
    width: calc(250px * 38); 
    animation: scroll 60s linear infinite;
}
.slide-track:hover { animation-play-state: paused; }

.slide {
    height: 80px;
    width: 265px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 0 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
    cursor: pointer;
    white-space: nowrap; 
    overflow: hidden; 
}

.slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}


.slide i { font-size: 1.5rem; color: var(--primary-color); margin-right: 15px; }
.slide:hover {
    background-color: var(--dark-bg);
    color: #fff;
    border-color: var(--dark-bg);
}
.slide:hover i {
    color: var(--primary-color);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 19)); } 
}



/* =========================================
   7. VİTRİN / ÜRÜNLER
   ========================================= */
.products { background-color: var(--section-bg); }

.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
}

/* 4 Kolonlu Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}

/* SATILDI Modu */
.product-card.satildi {
    opacity: 0.7;
    filter: grayscale(100%);
}
.product-card.satildi .badge {
    background-color: #555; 
    color: #fff;
}

.product-img {
    height: 300px;
    width: 100%;
    background-color: #eee;
    border-bottom: 1px solid #f0f0f0;
}
.product-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.product-info { 
    padding: 15px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-info h3 { 
    font-size: 1.1rem; 
    color: var(--dark-bg); 
    margin-bottom: 5px; 
    line-height: 1.3;
}
.product-info .specs { 
    font-size: 0.8rem; 
    color: #888; 
    margin-bottom: 15px; 
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-status, .btn-view {
    padding: 10px 5px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-status { flex: 2; color: #fff; }
.status-ask { background-color: #b52a28; }
.status-price { background-color: #27ae60; }
.status-sold { background-color: #7f8c8d; cursor: default; }

.btn-view {
    flex: 1;
    background-color: var(--dark-bg);
    color: #fff;
}
.btn-view:hover { background-color: #000; }

/* =========================================
   8. KATEGORİ IZGARASI (RESİMLİ)

   ========================================= */
.categories-section {
    padding: 60px 0;
    background-color: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-card {
    position: relative;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover img {
    transform: scale(1.1);
}

.cat-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    padding: 20px 15px;
    display: flex;
    align-items: flex-end;
}

.cat-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin: 0;
    width: 100%;
}

/* =========================================
   9. GÜVEN BAR, CTA & FOOTER
   ========================================= */
.trust-bar {
    background-color: var(--primary-color);
    padding: 30px 0;
    margin-top: -30px;
    position: relative;
    z-index: 3;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.trust-item i { font-size: 2rem; color:#fff; margin-bottom: 10px; }
.trust-item h3 { font-size: 1.1rem; margin-bottom: 5px; color:#fff; }
.trust-item p { font-size: 0.9rem; color: #fff; }

.sell-machine { background-color: var(--dark-bg); color: #fff; }
.sell-content { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.sell-content h2 { font-size: 2rem; margin-bottom: 10px; }
.sell-content p { color: #ccc; }

footer { background-color: var(--darker-bg); color: #999; padding: 60px 0 20px; }
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 { 
    color: #fff; margin-bottom: 20px; 
    border-bottom: 2px solid var(--primary-color); 
    display: inline-block; padding-bottom: 5px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }
.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* =========================================
   10. SABİT İLETİŞİM BUTONLARI
   ========================================= */
.fixed-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.contact-btn {
    height: 60px;
    background-color: #333;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    padding: 0;
    width: 60px;
    transition: width 0.4s ease;
    overflow: hidden;
    position: relative;
}

.contact-btn i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.btn-text {
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    padding-right: 20px;
}

.contact-btn:hover {
    width: 180px;
}
.contact-btn:hover .btn-text {
    opacity: 1;
}

.btn-whatsapp { background-color: #25D366; }
.btn-phone { background-color: #0984e3; }
.btn-offer {
    background-color: var(--primary-color) !important;
    color: #000 !important;
}
.btn-offer i {
    color: #000 !important;
}


/* =========================================
   11. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================= */

@media (max-width: 992px) {
    .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    /* Mega menüleri mobil/tablet görünümde tamamen gizliyoruz */
    .mega-menu { display: none !important; }
    .desktop-arrow { display: none !important; }
    .has-mega-menu > a { display: block; width: 100%; }
}

@media (max-width: 768px) {
    /* Header Mobili */
    .top-bar .contact-info { display: none; }
    .top-bar .container { justify-content: center; }
    .header-container { padding: 15px 20px; }
    .menu-toggle { display: block; }
    .desktop-only { display: none; }
    
    .navbar {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: #fff; border-top: 1px solid #eee;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    }
    .navbar.active { max-height: 500px; }
    .navbar ul { flex-direction: column; padding: 20px; gap: 15px; align-items: flex-start; }
    .navbar > ul > li { width: 100%; }
    .navbar > ul > li > a { 
        display: block; padding: 10px; border-bottom: 1px solid #f1f1f1; 
    }
    .mobile-only-btn { display: block; margin-top: 10px; }
    .mobile-only-btn .btn { width: 100%; display: block; }

    /* Diğer Mobil Ayarlar */
    .hero { height: auto; padding: 60px 0; text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .sell-content { flex-direction: column; text-align: center; }

    /* Mobil Buton Hizalaması */
    .section-header { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
    .section-header .btn-stok {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Mobilde Sabit Butonlar (Sadece İkon) */
    .fixed-contact { bottom: 20px; right: 20px; gap: 10px; }
    .contact-btn { width: 50px; height: 50px; }
    .contact-btn i { width: 50px; height: 50px; font-size: 24px; }
    .contact-btn:hover { width: 50px; } /* Mobilde genişlemesin */
    .contact-btn:hover .btn-text { display: none; }
}

@media (max-width: 576px) {
    .product-grid, .category-grid { grid-template-columns: 1fr; }
}





/* =========================================
   HAKKIMIZDA BÖLÜMÜ (KOYU TEMA / NET AYRIM)
   ========================================= */
.about-section {
    background-color: var(--dark-bg);
    color: #fff;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content { flex: 1; }

.sub-heading {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.about-content .section-title {
    color: #fff;
}
.about-content .section-title::after {
    background: var(--primary-color);
    margin: 5px 0 0 0;
}

.about-desc {
    color: #b2bec3;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat-item { text-align: left; }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 600;
}

.mt-3 { margin-top: 15px; }

/* Sağ Taraf & Rozet */
.about-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 10px 10px 0px rgba(255, 193, 7, 0.1);
}

.exp-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: #fff;
    color: var(--dark-bg);
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 4px solid var(--primary-color);
}

.exp-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.exp-badge span {
    font-weight: 700;
    line-height: 1.2;
    font-size: 1.1rem;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .about-wrapper { flex-direction: column; gap: 40px; }
    .about-image { width: 100%; order: -1; margin-bottom: 20px; }
    .exp-badge { left: 20px; bottom: -20px; padding: 15px 20px; }
    .about-stats { justify-content: space-between; }
}


/* =========================================
   MOBİL İÇİN HAKKIMIZDA DÜZELTMESİ
   ========================================= */
@media (max-width: 768px) {
    
    .about-section {
        padding: 40px 0;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
        order: -1;
        margin-bottom: 50px;
    }

    .about-image img {
        box-shadow: 5px 5px 0px rgba(255, 193, 7, 0.1);
    }

    .exp-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        padding: 15px 20px;
        width: 90%;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .exp-badge i {
        font-size: 1.5rem;
    }

    .exp-badge span {
        font-size: 0.95rem;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-title::after {
        margin: 10px auto;
    }

    .sub-heading {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .stat-item {
        text-align: center;
        flex: 1 1 30%;
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}




/* =========================================
   BLOG BÖLÜMÜ CSS
   ========================================= */
.blog-section {
    background-color: #fff;
}

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

.blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.blog-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 1.25rem;
    color: var(--dark-bg);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 700;
    color: var(--dark-bg);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.read-more:hover {
    color: #d35400;
    gap: 12px;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}




/* =========================================
   YENİ SABİT BUTON RENGİ
   ========================================= */
/* Teklif Al Butonu - SARI */
.btn-offer {
    background-color: var(--primary-color) !important;
    color: #000 !important;
}

/* İkonun rengini de siyah yapalım */
.btn-offer i {
    color: #000 !important;
}


/* =========================================
   YENİ SEKONDER SAYFA NAVİGASYONU (Breadcrumb)
   ========================================= */

.page-nav-bar {
    background-color: var(--dark-bg);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-breadcrumb li {
    font-size: 0.9rem;
    color: var(--grey-text);
    display: flex;
    align-items: center;
}

/* Linkler */
.page-breadcrumb li a {
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}
.page-breadcrumb li a:hover {
    color: var(--primary-color);
}

/* Ayırıcı Ok İkonu (Linklerden sonra) */
.page-breadcrumb li:not(:last-child)::after {
    content: "\f054";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: var(--grey-text);
    margin-left: 10px;
    opacity: 0.6;
}

/* Aktif Sayfa (Son öğe) */
.page-breadcrumb .active-page {
    color:#fff!important;
    font-weight: 700;
}








/***** urun detay ****/



/* =========================================
   ÜRÜN DETAY SAYFASI ÖZEL STİLLERİ
   ========================================= */

.product-detail-section {
    background-color: var(--section-bg);
}

.product-detail-wrapper {
    display: flex;
    gap: 40px;
}

.gallery-area { flex: 2; }
.info-area { flex: 1; }

.main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    background-color: #eee;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ana resim kapsayıcı linki */
.main-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.zoom-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    z-index: 50;
    border: none;
}
.zoom-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    padding-bottom: 5px;
}

.thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
    border: 2px solid transparent;
}
.thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}
.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.detail-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary-color);
}

.detail-card h1 {
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
    line-height: 1.3;
}

.detail-card .price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: #27ae60;
    margin-bottom: 20px;
    display: block;
}

.detail-card .price-tag.ask-price {
    color: #f39c12;
    font-size: 1.5rem;
}

.specs-list {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.specs-list li strong {
    color: var(--dark-bg);
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-buttons a {
    font-size: 1.1rem;
    padding: 15px 20px;
    width: 100%;
}
.contact-buttons .btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}
.contact-buttons .btn-whatsapp:hover {
    background-color: #1eac52;
}


/* Alt Kısımlar (Sekmeler) */
.detail-tabs {
    margin-top: 40px;
}
.tabs-header {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    gap: 1px;
    overflow-x: auto;
}
.tabs-header button {
    background: #fff;
    border: 1px solid #eee;
    border-bottom: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: 0.3s;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    flex-shrink: 0;
}
.tabs-header button.active {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}
.tab-content {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
}
.tab-content ul {
    margin-left: 20px;
    list-style-type: disc;
}
.tab-content h3 {
    color: var(--dark-bg);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 5px;
}
.tab-content p {
    color: #555;
}


/* BASİT LIGHTBOX/FANCYBOX STİLİ */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}
.lightbox-close:hover {
    opacity: 1;
    color: var(--primary-color);
}


/* RESPONSIVE VİDEO (YOUTUBE İÇİN) */

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Oranı (9 / 16 * 100) */
    position: relative;
    height: 0;
    margin-top: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
}



/* =========================================
   13. İLGİLİ ÜRÜNLER & KATEGORİ KEŞFİ
   ========================================= */

.section-padding-small { 
    padding: 30px 0; 
}
.related-products {
    background-color: #fff;
    border-top: 1px solid #eee;
}
.related-products .section-title::after {
    margin: 5px 0 0 0; /* Sol Hizalı Çizgi */
}

/* 3 Kolonlu İlgili Ürünler */
.related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Detay Sayfası İçi Kısa Güven Barı */
.trust-bar-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: var(--dark-bg);
    color: #fff;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.trust-item-detail {

    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.trust-item-detail i {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.trust-item-detail p {
    margin: 0;
    color: var(--light-text);
}


/* Kategori Keşif Grubu */
.category-discovery {
    background-color: var(--section-bg);
    border-top: 1px solid #eee;
}

.category-discovery .section-title::after {
    margin: 5px 0 0 0; /* Sol Hizalı Çizgi */
}

.category-grid-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cat-mini-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-bg);
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.cat-mini-item i {
    color: var(--primary-color);
    margin-right: 8px;
}

.cat-mini-item:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Mobil Uyumlu Düzenlemeler */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-bar-small {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
    .trust-bar-small {
        padding: 20px;
    }
    .trust-item-detail {
        justify-content: center;
        text-align: center;
    }
    .trust-item-detail i {
        font-size: 1.2rem;
    }
    .trust-item-detail p {
        font-size: 0.9rem;
    }
    .cat-mini-item {
        width: 100%;
        justify-content: center;
    }
}




/* =========================================
   BASİT LIGHTBOX/FANCYBOX STİLİ (GELİŞTİRİLDİ)
   ========================================= */
.lightbox-overlay {
    /* Daha koyu ve opak arka plan */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98); /* Neredeyse tamamen siyah */
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    /* Görüntü içeriği için esnek alan */
    max-width: 95%; /* Daha geniş alan */
    max-height: 95%; /* Daha uzun resimlere yer açar */
    position: relative;
}

.lightbox-content img {
    /* Resmin alana sığmasını sağlar */
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Hafif gölge ekleyelim */
}

/* Kapatma Butonu (Modern Konum) */
.lightbox-close {
    position: fixed; /* İçerikten bağımsız */
    top: 20px; 
    right: 20px; 
    color: #fff;
    font-size: 48px; /* Daha büyük çarpı ikonu */
    opacity: 1; /* Tam görünür */
    font-weight: 300; /* Daha ince bir çarpı */
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: 0.3s;
}
.lightbox-close:hover {
    color: var(--primary-color);
}


/* =========================================
   LIGHTBOX GALERİ NAVİGASYON STİLLERİ (YENİ VE BELİRGİN)
   ========================================= */
.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Okları içeriğin dışına, ekran kenarına yaklaştıralım */
    padding: 0 0; 
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-nav button {
    /* Butonları daha büyük, yarı saydam bir arka planla vurgulayalım */
    background: rgba(0, 0, 0, 0.4); 
    border: none;
    color: var(--primary-color); /* Okların rengi SARIMSI olsun */
    font-size: 36px; /* Ok boyutu büyüdü */
    padding: 20px 15px;
    cursor: pointer;
    opacity: 1; /* Daima tam görünür olsun */
    transition: 0.3s;
    pointer-events: all;
    line-height: 1;
    z-index: 100000; /* Kapatma butonunun bile önünde olsun */
}

.lightbox-nav button.nav-prev {
    /* Sol tarafa konumlandırma */
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-left: -5px; /* İçeriğin kenarına sıfırla */
}

.lightbox-nav button.nav-next {
    /* Sağ tarafa konumlandırma */
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    margin-right: -5px; /* İçeriğin kenarına sıfırla */
}

.lightbox-nav button:hover {
    background: rgba(0, 0, 0, 0.7); /* Hoverda arka plan daha koyu */
    color: #fff; /* Hoverda ok rengini beyaz yapalım (daha keskin kontrast) */
}

/* Mobil Uyumlu Düzenlemeler (LightBox için) */
@media (max-width: 768px) {
    .lightbox-nav button {
        font-size: 28px;
        padding: 10px 8px;
    }
}


/* =========================================
   ÜRÜN DETAY MOBİL UYUMLULUK
   ========================================= */

@media (max-width: 992px) {
    /* Tablet ve küçük masaüstü için */
    .product-detail-wrapper {
        flex-direction: column; /* Galeri ve Bilgiyi alt alta sırala */
        gap: 30px;
    }
    
    .gallery-area, .info-area { 
        flex: none; /* Flex oranını kaldır */
        width: 100%;
    }

    .main-image {
        max-height: 400px; /* Tablette resmi biraz küçült */
    }

    .trust-bar-small {
        grid-template-columns: repeat(2, 1fr); /* 2 kolon olsun */
        gap: 15px;
        padding: 20px;
    }
    
    .trust-item-detail {
        text-align: left;
        justify-content: flex-start;
    }

    .related-products .product-grid.related-grid {
        grid-template-columns: repeat(2, 1fr); /* İlgili ürünler 2 kolon */
    }
}

@media (max-width: 768px) {
    /* Telefon için */
    .product-detail-section {
        padding: 20px 0; /* Padding'i azalt */
    }

    .detail-card {
        padding: 15px; /* Kart içeriği padding'ini azalt */
    }
    
    .detail-card h1 {
        font-size: 1.5rem; /* Başlık boyutunu küçült */
    }

    .contact-buttons a {
        font-size: 1rem; /* Buton fontunu küçült */
        padding: 12px 15px;
    }

    .main-image {
        max-height: 300px; /* Resim yüksekliğini telefonda daha da azalt */
    }

    .thumbnails {
        justify-content: space-between; /* Küçük resimlerin arasını aç */
    }
    
    .thumbnail {
        width: 60px;
        height: 60px; /* Küçük resimleri küçült */
    }

    .trust-bar-small {
        grid-template-columns: 1fr; /* Güven çubuğu alt alta */
        gap: 10px;
    }
    .trust-item-detail {
        justify-content: flex-start;
        text-align: left;
    }
    .related-products .product-grid.related-grid {
        grid-template-columns: 1fr; /* İlgili ürünler tek kolon */
    }
    
    .tabs-header button {
        padding: 10px 15px; /* Sekme butonlarını küçült */
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    .category-discovery .category-grid-mini {
        flex-direction: column;
    }
    
    .cat-mini-item {
        width: 100%;
        justify-content: flex-start;
    }
}


/* Mobil cihazlarda Galeri ve Bilgi alanlarının tam genişlikte alt alta gelmesini sağlar */
@media (max-width: 768px) {
    .product-detail-wrapper {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .gallery-area, .info-area {
        width: 100% !important;
        flex: 1 1 100% !important; 
    }
}




.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Oranı */
    position: relative;
    height: 0;
    /* ... */
}

.video-responsive iframe, .video-responsive video { /* <video> etiketini de ekleyelim */
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
}




/* Breadcrumb'ı mobil cihazlarda alt alta sırala */
@media (max-width: 768px) {
    /* ... (Mevcut 768px kuralları) ... */
    
    .page-breadcrumb {
        flex-direction: column; /* Alt alta yığma */
        align-items: flex-start; /* Yazıların sola yaslanması */
        gap: 5px; /* Her bir öğe arasına biraz boşluk ekle */
    }

    /* Ayırıcı oku (>) kaldır */
    .page-breadcrumb li:not(:last-child)::after {
        content: none;
    }
    
    /* İstenirse, alt alta yığılan her bir öğeye bir alt çizgi ekle */
    .page-breadcrumb li:not(:last-child) {
        padding-bottom: 2px;
        border-bottom: 1px dashed #444; /* Dikey ayrım */
        width: 100%;
    }
}




/* =========================================
   KATEGORİ LİSTELEME BAŞLIK VE SEÇENEKLERİ
   ========================================= */

/* H2 Başlığın Altındaki Sarı Çizgiyi Kaldır (Sol Hizada olduğu için) */
.category-header-custom .section-title {
    margin-bottom: 0; /* Boşluğu tamamen sıfırla */
}

.category-header-custom .section-title::after {
    /* Başlığın altındaki sarı çizgiyi (::after) burada gizleyelim */
    content: none; 
}


/* Dropdown Kapsayıcısı */
.category-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-bg);
    flex-shrink: 0; /* Başlık alanını sıkıştırmasın */
}

/* Seçmeli Liste (Dropdown) Stili */
.category-dropdown-wrapper select {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: var(--font-main);
    color: var(--dark-bg);
    min-width: 300px; /* Okunabilirliği artırmak için minimum genişlik */
    transition: border-color 0.3s;
}

.category-dropdown-wrapper select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
}

/* Label gizlenebilir (Opsiyonel, alan kazanmak için) */
.category-dropdown-wrapper label {
    color: var(--grey-text);
    font-size: 0.95rem;
}


/* Mobil Uyumlu Düzenleme (768px altı) */
@media (max-width: 768px) {
    
    /* section-header zaten flex-direction: column olarak ayarlanmış (site.css'te mevcut) */
    /* .section-header { flex-direction: column; gap: 15px; text-align: center; } */

    .category-header-custom {
        align-items: flex-start; /* Başlık ve dropdown sola hizalansın */
        margin-bottom: 30px;
    }
    
    .category-header-custom .section-title {
        width: 100%; /* Başlık tam genişlikte olsun */
        text-align: left !important;
        margin-bottom: 10px;
    }

    .category-dropdown-wrapper {
        width: 100%; /* Dropdown tam genişlikte olsun */
        flex-direction: column; /* Label ve select alt alta */
        align-items: flex-start;
        gap: 5px;
    }

    .category-dropdown-wrapper select {
        width: 100%; /* Select tam genişlikte olsun */
        min-width: unset;
        max-width: 100%;
    }
}



/* =========================================
   BLOG DETAY SAYFASI ÖZEL STİLLERİ (YENİ VE OPTİMİZE EDİLMİŞ)
   ========================================= */

.blog-detail-section {
    background-color: var(--section-bg);
    padding: 40px 0; /* section-padding tanımı */
}

.blog-detail-wrapper {
    display: flex;
    align-items: flex-start;
}

/* 1. Sol Sütun: Ana İçerik (Yaklaşık %66.6 genişlik) */
.blog-content-area {
    flex: 2; /* 2/3 oranında genişlik (Col-8'e benzer) */
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.post-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.post-header h1 {
    font-size: 2.2rem;
    color: var(--dark-bg);
    line-height: 1.3;
    margin-top: 5px;
    margin-bottom: 20px;
}

.post-meta {
    /* post-date ve post-category'nin kapsayıcısı */
    display: flex;
    gap: 20px;
}

.post-date, .post-category, .post-meta span {
    font-size: 0.85rem;
    color: var(--grey-text);
    font-weight: 600;
}
.post-date i, .post-category i, .post-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-top: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Post Gövdesi (post-entry veya the_content() çıktısı) */
.post-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #444;
}

.post-body h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--dark-bg);
    padding-left: 10px;
}

.post-body ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444;
}

.post-body li {
    margin-bottom: 8px;
}

/* Tablo Stilleri */
.post-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.post-table th, .post-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 0.95rem;
}
.post-table th {
    background-color: var(--primary-color);
    color: #000;
    font-weight: 700;
}

/* Etiketler (Tags) */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}
.post-tags a {
    display: inline-block;
    background-color: #f1f1f1;
    color: var(--dark-bg);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}
.post-tags a:hover {
    background-color: var(--primary-color);
}
.post-tags strong {
    color: var(--dark-bg);
    margin-right: 10px;
}


/* 2. Sağ Sütun: Sidebar (Yaklaşık %33.3 genişlik - Col-4'e benzer) */
.blog-sidebar {
    flex: 1; /* 1/3 oranında genişlik (Col-4'e benzer) */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary-color);
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-card h3 i {
    color: var(--primary-color);
}


/* CTA Card Özel Stilleri */
.cta-card {
    background-color: var(--dark-bg);
    color: var(--light-text);
    text-align: center;
    /* CTA kartının padding ve border-top stili sidebar-card'dan geliyor */
}
.cta-card h3 {
    color: var(--primary-color);
    border-bottom-color: #333;
}
.cta-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}
/* .cta-card .btn-stok ve .btn-sm stilleri zaten globalde tanımlı */


/* Kategoriler ve İlgili Yazılar Stilleri */
.categories-card ul, .related-posts-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Liste öğesi ayrımı */
.categories-card li, .related-posts-card li {
    border-bottom: 1px dashed #f0f0f0;
}
/* Sonuncu öğenin alt çizgisini kaldır */
.categories-card li:last-child, .related-posts-card li:last-child {
    border-bottom: none;
}

/* Link stili */
.categories-card a, .related-posts-card a {
    display: block;
    padding: 10px 0;
    color: #555;
    font-weight: 500;
    transition: 0.2s;
}
.categories-card a:hover, .related-posts-card a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}


/* Blog Sidebar Listesi (Active Vurgulama) */

/* Aktif listenin kapsayıcısı */
.related-posts-card li.active {
    background-color: var(--section-bg); 
    border-radius: var(--border-radius);
}

/* Aktif linkin kendisi */
.related-posts-card li.active a {
    color: var(--dark-bg); 
    font-weight: 700; 
    border-left: 3px solid var(--primary-color); 
    padding-left: 15px; 
}

/* Aktif linkin üzerine gelindiğinde stilini koru */
.related-posts-card li.active a:hover {
    color: var(--dark-bg); 
    padding-left: 15px; 
}


/* Mobil Uyumlu Düzenlemeler (992px altı) */
@media (max-width: 992px) {
    .blog-detail-wrapper {
        flex-direction: column; /* Alt alta sırala */
    }
    .blog-content-area, .blog-sidebar {
        flex: none;
        width: 100%; /* Tam genişlik */
    }
    .blog-content-area {
        padding: 20px;
    }
    .blog-sidebar {
        gap: 20px;
    }
    .post-header h1 {
        font-size: 1.8rem;
    }
}




/* =========================================
   BLOG YAZISI NAVİGASYON BUTONLARI (Önceki/Sonraki)
   ========================================= */

.post-navigation-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Navigasyon Başlıkları (Yazı Adları) */
.nav-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 5px;
    line-height: 1.3;
}

/* Önceki Yazı Butonu (Sol) - Koyu Tema */
.nav-prev {
    background-color: var(--dark-bg);
    color: var(--light-text);
    text-align: left;
}
.nav-prev i { margin-right: 10px; }
.nav-prev:hover {
    background-color: var(--darker-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sonraki Yazı Butonu (Sağ) - Ana Renk (Sarı) Tema */
.nav-next {
    background-color: var(--primary-color);
    color: #000;
    text-align: right;
}
.nav-next i { margin-left: 10px; }
.nav-next:hover {
    background-color: var(--primary-hover);
    color: var(--dark-bg);
    border-color: var(--dark-bg);
}

/* Boşluk Koruyucu (Bir buton yoksa diğerinin yerini korur) */
.nav-filler {
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
    flex: 1;
}

/* Mobil Uyumlu Düzenlemeler */
@media (max-width: 768px) {
    .post-navigation-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-button {
        flex: none;
        width: 100%;
    }
    .nav-prev, .nav-next {
        text-align: center; /* Mobilde ortala */
    }
    .nav-prev .nav-title, .nav-next .nav-title {
        text-align: center;
    }
    /* Mobil cihazlarda boşluk koruyucuyu kaldır */
    .nav-filler {
        display: none; 
    }
}










/* =========================================
   İLETİŞİM SAYFASI ÖZEL STİLLERİ
   ========================================= */

.contact-section {
    background-color: var(--section-bg);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-header .section-title {
    margin-bottom: 10px;
}
.contact-slogan {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* 3 Kolonlu Bilgi Kartları */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--dark-bg);
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.info-card h3 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.info-card a {
    margin-top: 10px;
}
.info-card .btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border-color: #25D366;
}
.info-card .btn-whatsapp:hover {
    background-color: #1eac52;
    color: #fff;
    border-color: #1eac52;
}

/* Harita ve Form Alanı Wrapper */
.contact-map-form-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.map-area { flex: 1; }
.form-area { flex: 1; }

.section-title-left {
    text-align: left;
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.section-title-left::after {
    content: '';
    display: block;
    width: 60px; /* Çizgi kısa olsun */
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0 0 0;
}


/* Harita Iframe Kapsayıcısı */
.map-responsive {
    overflow: hidden;
    padding-bottom: 75%; /* 4:3 oranı (3/4*100) */
    position: relative;
    height: 0;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: none;
}













/*** iletişim ***/



/* ----------------------------------------------------- */
/* İLETİŞİM FORMU (CUSTOM) - GÜÇLÜ HEDEFLEME */
/* ----------------------------------------------------- */

/* Kapsayıcıyı hedef alarak Flex düzenini zorla */
.contact-map-form-wrapper .custom-contact-form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 0 !important;
}

/* İki Kolon Düzeni (Form grupları) */
.contact-map-form-wrapper .custom-contact-form .form-group {
    flex: 1 1 calc(50% - 10px) !important;
    display: flex !important;
    flex-direction: column !important;
}

.contact-map-form-wrapper .custom-contact-form .form-group.full-width {
    flex: 1 1 100% !important;
}

/* Input Alanı Stilleri */
.contact-map-form-wrapper .wpcf7-form-control-wrap {
    display: block !important; 
    width: 100% !important;
}

.contact-map-form-wrapper .custom-contact-form .wpcf7-form-control.form-element {
    /* Görsel Stillerinizi Zorunlu Uygulama */
    padding: 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important; 
    background-color: #f9f9f9 !important;
    width: 100% !important; 
    box-sizing: border-box !important;
    transition: border-color 0.3s;
}

/* ----------------------------------------------------- */
/* B. Buton ve İkon Düzeltmesi */
/* ----------------------------------------------------- */

/* Butonun Kendisi */
.contact-map-form-wrapper .custom-contact-form input.wpcf7-submit.btn-primary {
    background-color: var(--primary-color) !important;
    color: #000 !important;
    font-weight: 700 !important;
    /* Diğer buton stilleri zaten site.css'ten gelecektir */
}

/* Buton ve İkonun Hizalaması */
.contact-map-form-wrapper .custom-contact-form .form-group.full-width:last-child {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Sola hizala */
    gap: 15px !important;
}

/* İkon Stili (Resimde çok küçük görünüyor) */
.contact-map-form-wrapper .custom-contact-form .form-group.full-width:last-child i {
    font-size: 1.2rem !important;
    color: var(--dark-bg) !important;
}

/* ----------------------------------------------------- */
/* Mobil Düzenleme */
/* ----------------------------------------------------- */
@media (max-width: 768px) {
    .contact-map-form-wrapper .custom-contact-form .form-group {
        flex: 1 1 100% !important; 
    }
}





.wpcf7-form-control{
	width:100%!important;
	padding: 10px 12px!important; 
    border: 1px solid #ddd!important; 
    border-radius: var(--border-radius)!important; 
    font-size: 1rem!important; 
    transition: border-color 0.3s!important; 
    background-color: #fcfcfc!important; 
	
	}

.wpcf7-submit{
	    width: 100%!important; 
    font-size: 1.1rem!important; 
    padding: 15px!important; 
    display: flex!important; 
    align-items: center!important; 
    justify-content: center!important; 
    gap: 10px!important; 
	 background-color: var(--primary-color)!important;
	 color: #000!important;
	}
	
	
	

	
	
	
	
	
/* =========================================
   HAKKIMIZDA SAYFASI ÖZEL STİLLERİ
   ========================================= */

.about-page-content {
    background-color: #fff;
}

.about-main-info {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-text-content {
    flex: 3;
    padding-right: 20px;
}

.about-image-stat {
    flex: 2;
    padding-top: 10px;
    position: relative;
}

.about-image-stat img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vision-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.vision-title i {
    color: var(--dark-bg);
}

/* İstatistik Alanı (Anasayfadan daha büyük versiyon) */
.about-stats-large {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: var(--dark-bg);
    color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border-top: 4px solid var(--primary-color);
}
.about-stats-large .stat-item {
    text-align: center;
}
.about-stats-large .stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.about-stats-large .stat-label {
    color: #ccc;
    font-size: 0.9rem;
}


/* Hizmetler ve Makine Listesi Alanı */
.services-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.machine-list-title {
    font-size: 1.4rem;
    color: var(--dark-bg);
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    display: inline-flex;
}
.machine-list-title i {
    color: var(--primary-color);
}

.service-list-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-list-grid li {
    background-color: var(--section-bg);
    padding: 15px;
    border-left: 5px solid var(--primary-color);
    font-weight: 600;
    color: var(--dark-bg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.service-list-grid li i {
    font-size: 1.3rem;
    color: var(--dark-bg);
}

.machine-groups {
    list-style: disc;
    margin-left: 20px;
    columns: 2; /* İki sütunlu liste */
    column-gap: 40px;
    color: #444;
}
.machine-groups li {
    margin-bottom: 8px;
}


/* Mobil Uyumlu Düzenlemeler */
@media (max-width: 992px) {
    .about-main-info {
        flex-direction: column;
        gap: 30px;
    }
    .about-image-stat {
        order: -1;
    }
    .about-stats-large {
        justify-content: space-around;
        gap: 10px;
    }
    .about-text-content {
        padding-right: 0;
    }
    .service-list-grid {
        grid-template-columns: 1fr;
    }
    .machine-groups {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .about-stats-large {
        flex-direction: column;
    }
    .about-stats-large .stat-item {
        text-align: left;
        border-bottom: 1px dashed #333;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .about-stats-large .stat-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}	




/* =========================================
   HAKKIMIZDA DÜKKAN GALERİSİ STİLLERİ
   ========================================= */

.shop-gallery-section {
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.gallery-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Sütunlu düzen */
    gap: 15px;
    margin-top: 25px;
}

.gallery-item {
    display: block;
    height: 350px; 
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-note {
    text-align: center;
    margin-top: 25px;
    font-style: italic;
    color: var(--grey-text);
}


/* Mobil Uyumlu Düzenlemeler (Galeri) */
@media (max-width: 992px) {
    .gallery-grid-small {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .gallery-item {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .gallery-grid-small {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-item {
        height: 100px;
    }
}




/* =========================================
   İLETİŞİM SAYFASI MOBİL DÜZELTMELERİ
   ========================================= */

@media (max-width: 992px) {
    /* 3'lü bilgi kartlarını tablet ve mobilde düzelt */
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Harita ve Form alanını alt alta getir */
    .contact-map-form-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .map-area, .form-area {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Bilgi kartlarını telefonda tek sütun yap */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Başlık ve sloganı daha iyi hizala */
    .contact-header {
        padding: 0 10px;
    }
    
    .contact-slogan {
        font-size: 0.95rem;
    }

    /* Harita yüksekliğini mobilde biraz azalt (ekranı kaplamasın) */
    .map-responsive {
        padding-bottom: 100%; /* Kare görünüm mobilde daha iyidir */
    }

    /* Başlıkların altındaki boşluğu ayarla */
    .section-title-left {
        font-size: 1.5rem;
        margin-top: 20px;
    }
}

/* Formun içindeki inputların mobil genişlik ayarı */
@media (max-width: 576px) {
    .contact-map-form-wrapper .custom-contact-form .form-group {
        flex: 1 1 100% !important; /* Form elemanlarını tam genişlik yap */
    }
    
    .contact-map-form-wrapper {
        padding: 15px;
    }
}