/* =================================================
   ADIM 1: YENİ TEMEL AYARLAR VE DEĞİŞKENLER
================================================== */

/* Kök Değişkenler (Daha Modern Renk Paleti ve Global Değişkenler) */
:root {
    --primary-color: #0D6EFD;   /* Ana Mavi (Değişmedi) */
    --dark-color: #1a202c;      /* DAHA YUMUŞAK SİYAH: Gözü daha az yorar. */
    --gray-color: #4a5568;      /* DAHA OKUNAKLI GRİ: Kontrastı artırır. */
    --light-color: #f7fafc;     /* DAHA SOĞUK GRİ: Daha temiz ve modern bir arka plan. */
    --white-color: #FFFFFF;
    --border-color: #e2e8f0;    /* YENİ: Kenarlıklar için standart bir renk. */
    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.3s;    /* YENİ: Tüm animasyonlar için standart bir hız. */
}

/* Kutu modelini ve temel fontu ayarla */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* YENİ: Sayfa genelinde yumuşak kaydırma (scroll) efekti */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.75;
    background-color: var(--white-color);
    color: var(--gray-color); /* DEĞİŞİKLİK: Varsayılan metin rengini gri yaptık. */
    -webkit-font-smoothing: antialiased; /* YENİ: Fontları daha pürüzsüz gösterir (Mac/iOS için) */
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1140px; /* Genişliği biraz artırdık */
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* DEĞİŞİKLİK: Bölümler arası boşluğu artırarak daha ferah bir görünüm sağladık. */
section {
    padding: 100px 0;
}

/* YENİ: Tüm başlıklar için ortak stil. Artık metinler daha koyu ve net. */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}


/* ------------------- */
/* HEADER & NAVİGASYON */
/* ------------------- */

.header {
    /* DEĞİŞİKLİK: Arka planı hafif transparan yapıp blur efekti ekledik. */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color); /* Yeni renk değişkenimizi kullandık */
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: box-shadow var(--transition-speed) ease; /* Gölge efekti için yumuşak geçiş */
}

/* YENİ: Sayfa aşağı kaydırıldığında header'a gölge eklemek için. 
   Bu sınıfı daha sonra JavaScript ile ekleyeceğiz. */
.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    font-size: 1.8rem; /* Logoyu biraz büyüttük */
    font-weight: 700;
    color: var(--dark-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px; /* DEĞİŞİKLİK: Menü öğeleri arasını daha da açarak ferahlattık. */
}

.nav-item a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0; /* Tıklama alanını artırmak için dikey padding */
    position: relative; /* Alt çizgi animasyonu için gerekli */
    transition: color var(--transition-speed) ease;
}

.nav-item a:hover {
    color: var(--primary-color);
}

/* YENİ: Aktif link alt çizgisi için daha zarif bir animasyon */
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0); /* Başlangıçta çizgi görünmez */
    transform-origin: right; /* Animasyonun başlangıç yönü */
    transition: transform var(--transition-speed) ease-out;
}

/* Üzerine gelince veya aktif link ise alt çizgiyi soldan sağa doğru göster */
.nav-item a:hover::after,
.nav-item a.active-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 24px;
    border-radius: 8px; /* Daha yuvarlak köşeler */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.nav-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2); /* Daha belirgin ve renkli gölge */
}


/* --- AÇILIR MENÜ (DROPDOWN) İYİLEŞTİRMELERİ --- */

.dropdown {
    position: relative;
}

.nav-item a .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform var(--transition-speed) ease;
}

.dropdown-menu {
    position: absolute;
    top: 120%; /* DEĞİŞİKLİK: Menüden biraz daha aşağıda başlasın */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* YENİ: Başlangıçta 10px aşağıda */
    width: 240px;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Daha profesyonel gölge */
    border: 1px solid var(--border-color);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1); /* Daha yumuşak bir animasyon eğrisi */
    z-index: 1100;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px; /* Padding artırıldı */
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Fare ile üzerine gelince (HOVER) */
.dropdown:hover > .dropdown-menu {
    top: 100%;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* YENİ: Yavaşça yukarı kayarak yerine otursun */
}

.dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}


/* ------------------- */
/* HERO BÖLÜMÜ */
/* ------------------- */

#hero {
    text-align: center;
    padding: 100px 20px;
}

#hero h1 {
    font-size: 3.5rem; /* Başlığı büyüt */
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 20px auto; /* Ortala ve alt boşluk bırak */
}

#hero p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

#hero .cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1rem;
    display: inline-block; /* Butonun padding alabilmesi için */
    transition: all 0.3s ease;
}

#hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* ------------------- */
/* HİZMETLER BÖLÜMÜ */
/* ------------------- */

/* Bölüm başlıkları için ortak stil */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color );
}

/* Hizmet kartlarını yan yana dizen grid yapısı */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 eşit sütun oluştur */
    gap: 30px; /* Kartlar arasındaki boşluk */
}

/* Hizmetler, Ürünler, Blog ve Yorum Kartları için ORTAK stil */
.service-card,
.product-card,
.blog-card,
.testimonial-card {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Tüm kartlar için ORTAK hover (üzerine gelme) efekti */
.service-card:hover,
.product-card-link:hover .product-card, /* Tıklanabilir ürün kartı için özel seçici */
.blog-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px); /* Kartı yukarı kaldır */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Gölgeyi belirginleştir */
    border-color: transparent; /* Hover anında kenarlığı kaldırarak daha temiz bir görünüm */
}

/* Hizmet Kartlarına Özel Stiller */
.service-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1; /* İkonların altındaki fazlalık boşluğu alır */
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    flex-grow: 1; /* Kart içeriği az bile olsa, kartın altını doldurur */
    line-height: 1.7; 
    margin-top: 10px; 
}

/* İkonların stili */
.service-icon {
    font-size: 2.5rem; /* İkon boyutu */
    color: var(--primary-color); /* Vurgu rengi */
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* ------------------- */
/* FOOTER BÖLÜMÜ */
/* ------------------- */

.footer {
    background-color: var(--dark-color); /* Koyu arka plan */
    color: #adb5bd; /* Açık gri metin rengi */
    padding: 80px 0 0 0; /* Üstten boşluk, alttan sıfır */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Esnek sütun yapısı */
    gap: 40px; /* Sütunlar arası boşluk */
    margin-bottom: 50px;
}

.footer-col .footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
}

/* Başlıkların altına küçük bir çizgi efekti */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links li a,
.footer-contact li a {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.footer-links li a:hover,
.footer-contact li a:hover {
    color: var(--white-color);
    padding-left: 5px; /* Üzerine gelince hafifçe sağa kaysın */
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-color);
}

/* Sosyal Medya İkonları */
.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* En Alt Telif Hakkı Bölümü */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ------------------- */
/* HAKKIMIZDA (KISA) BÖLÜMÜ */
/* ------------------- */

#about-us-short {
    background-color: var(--light-color); /* Bölümü ayırmak için hafif gri arka plan */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Sol sütun (resim) daha dar, sağ sütun (metin) daha geniş */
    align-items: center; /* İçerikleri dikeyde ortala */
    gap: 60px; /* İki sütun arası boşluk */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-content .section-title {
    margin-bottom: 20px;
}

.about-text {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Buton için ek bir boşluk */
.about-content .cta-button {
    display: inline-block;
}

/* ------------------- */
/* HAKKIMIZDA (KISA) BÖLÜMÜ */
/* ------------------- */

#about-us-short {
    background-color: var(--light-color); /* Bölümü ayırmak için hafif gri arka plan */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Sol sütun (resim) daha dar, sağ sütun (metin) daha geniş */
    align-items: center; /* İçerikleri dikeyde ortala */
    gap: 60px; /* İki sütun arası boşluk */
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-content .section-title {
    margin-bottom: 20px;
}

.about-text {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Buton için ek bir boşluk */
.about-content .cta-button {
    display: inline-block;
}

/* ------------------- */
/* MÜŞTERİ YORUMLARI BÖLÜMÜ */
/* ------------------- */

#testimonials {
    background-color: var(--white-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Esnek kart yapısı */
    gap: 30px;
}   

.testimonial-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 25px;
    flex-grow: 1; /* Kartların aynı yükseklikte olmasını sağlar */
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* =========================================== */
/*          RESPONSIVE (DUYARLI) TASARIM       */
/* =========================================== */

/* 1. TABLET BOYUTU (Örn: 992px ve altı) */
@media (max-width: 992px) {
    /* Navigasyon menüsünü küçültelim */
    .navbar {
        padding: 0 40px;
    }

    .nav-menu {
        gap: 25px; /* Menü öğeleri arasını daralt */
    }

    /* Hakkımızda bölümünü alt alta getir */
    .about-grid {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
        gap: 40px;
    }

    .about-image {
        order: -1; /* Resmi metnin üstüne al */
        max-width: 500px; /* Resim çok büyümesin */
        margin: 0 auto;
    }

    /* Hizmetler bölümünü 2 sütuna düşür */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 2. MOBİL BOYUTU (Örn: 768px ve altı) */
@media (max-width: 768px) {
  .nav-menu {
    display: flex; 
    }

    /* Buraya daha sonra hamburger menü ikonu gelecek */
    /* .mobile-menu-icon { display: block; } */


    /* Hero alanını küçült */
    #hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    /* Hizmetler bölümünü tek sütuna düşür */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Yorumlar bölümünü tek sütuna düşür */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer'ı tek sütuna düşür */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        margin-top: 20px;
    }
}


/* 3. DAHA KÜÇÜK MOBİL EKRANLAR (Örn: 576px ve altı) */
@media (max-width: 576px) {
    .navbar {
        padding: 0 20px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* =========================================== */
/*             İLETİŞİM SAYFASI (YENİ)         */
/* =========================================== */

#contact-details {
    padding: 80px 0;
    background-color: var(--light-color); /* Sayfa arka planı */
}

/* İki sütunu saran ana kart */
.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Sol sütun daha dar */
    background-color: var(--white-color); /* Kartın kendisi beyaz */
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Köşelerin düzgün görünmesi için */
}

/* Sol taraf: Bilgi sütunu */
.contact-info {
    padding: 50px 40px;
    background-color: #fdfdfd; /* Çok hafif bir ton farkı */
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 40px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 30px; /* İkonların hizalı durması için */
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-text p {
    margin-bottom: 0;
    color: var(--dark-color);
    font-weight: 500;
}

/* Sağ taraf: Form sütunu */
.contact-form {
    padding: 50px 40px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 1.1rem;
}

/* Harita bölümü */
#map {
    padding: 0;
    line-height: 0;
}
#map iframe {
    width: 100%; /* Haritanın tam genişlikte olmasını sağla */
}

/* İletişim sayfası için responsive ayarlar */
@media (max-width: 992px) {
    .contact-card-wrapper {
        grid-template-columns: 1fr; /* Tablette tek sütun */
    }
    .contact-info {
        border-bottom: 1px solid #eee; /* İki bölüm arasına çizgi ekle */
    }
}

/* Harita bölümü */
#map {
    padding: 0;
    line-height: 0; /* iframe altındaki boşluğu kaldırır */
}

/* İletişim sayfası için responsive ayarlar */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Tablette tek sütun */
    }
}

/* Mobil Menü İkonu */
.mobile-menu-toggle {
    display: none; /* Masaüstünde gizli */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1500; /* Her şeyin üstünde olmalı */
}
.mobile-menu-toggle .fa-times {
    display: none; /* Kapatma ikonu başlangıçta gizli */
}

/* Mobil için Responsive Bölümünü Güncelleme */
@media (max-width: 768px) {
    .nav-menu {
        /* Menünün mobil görünümdeki hali */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta ekranın sağında, gizli */
        width: 100%;
        height: 100vh;
        background-color: var(--dark-color);
        transition: right 0.5s ease-in-out;
        z-index: 1400;
    }

    .nav-menu.active {
        right: 0; /* "active" class'ı gelince ekranın içine kaysın */
    }

    .nav-item {
        margin: 20px 0;
    }

    .nav-item a {
        font-size: 1.5rem;
        color: var(--white-color); /* Mobil menüdeki link rengi */
    }
    
    .nav-cta-button { display: none; } /* Buton zaten gizliydi, teyit edelim */

    .mobile-menu-toggle {
        display: block; /* Mobil görünümde ikonu göster */
    }
}
/* =========================================== */
/*             BLOG LİSTELEME SAYFASI          */
/* =========================================== */

#blog-posts {
    background-color: var(--light-color); /* Ana sayfanızdaki diğer bölümlerle uyumlu */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3'lü grid yapısı */
    gap: 30px;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image img {
    width: 100%;
    height: 220px; /* Tüm kart görsellerinin aynı yükseklikte olmasını sağlar */
    object-fit: cover; /* Resmin orantısını bozmadan alanı kaplamasını sağlar */
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1; /* Kartların alt alta hizalı ve aynı boyda olmasını sağlar */
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1; /* Açıklama ne kadar kısa olursa olsun linki en alta iter */
}

.blog-card-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex; /* İkonla metni hizalamak için */
    align-items: center;
    gap: 8px;
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover i {
    transform: translateX(5px);
}


/* =========================================== */
/*             BLOG YAZI ŞABLONU               */
/* =========================================== */

.post-layout {
    display: grid;
    grid-template-columns: 3fr 1fr; /* 4x | 1x oranı için 3 parça ve 1 parça */
    gap: 60px; /* Ana içerik ve kenar çubuğu arası boşluk */
    padding: 80px 0;
}

.post-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    flex-wrap: wrap; /* Mobil için önemli */
    gap: 25px;
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-image {
    margin-bottom: 30px;
}

.post-image img {
    width: 100%;
    border-radius: 8px;
}

.post-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
}

.post-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Kenar Çubuğu (Sidebar) Stilleri */
.sidebar-widget {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list li:last-child {
    margin-bottom: 0;
}

.widget-list a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.widget-list a:hover {
    color: var(--primary-color);
}


/* =========================================== */
/*     BLOG SAYFALARI İÇİN RESPONSIVE AYARLAR  */
/* =========================================== */

@media (max-width: 992px) {
    /* Blog listesini 2 sütuna düşür */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog yazısını tek sütuna düşür */
    .post-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    /* Blog listesini tek sütuna düşür */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 2.2rem;
    }
}
/* =========================================== */
/*             ÜRÜNLERİMİZ BÖLÜMÜ              */
/* =========================================== */

#products {
    padding: 80px 0;
    background-color: var(--white-color); /* Arka planı beyaz */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3'lü grid yapısı */
    gap: 30px;
}

/* Kartın tamamını tıklanabilir yapan link için stiller */
.product-card-link {
    text-decoration: none;
    color: inherit; /* Kartın kendi metin rengini kullan */
    display: block; /* Linkin tüm kart alanını kaplamasını sağla */
}



.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.product-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color); /* Vurgu rengi */
    margin-bottom: 15px;
}

.product-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    flex-grow: 1; /* Açıklama ne kadar kısa olursa olsun, kartın altını doldurur */
}

.soon-badge {
    background-color: #ffc107; /* Uyarıcı bir sarı renk */
    color: var(--dark-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Ürünler bölümü için responsive ayarlar */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: 1fr; /* Tablette tek sütuna düşür */
    }
}

/* =========================================== */
/*         YENİ: AÇIKLAMALI LİSTE STİLİ        */
/* =========================================== */

/* about-list'in yeni versiyonu için sarmalayıcı */
.descriptive-list {
    list-style: none;
    padding: 0;
    margin-top: 30px; /* Paragraftan sonra boşluk bırak */
}

.descriptive-list-item {
    display: grid;
    grid-template-columns: 30px 1fr; /* Sol: ikon, Sağ: içerik */
    gap: 0 20px; /* Sütunlar arası 20px boşluk */
    align-items: start; /* İkon ve metni yukarıdan hizala */
    margin-bottom: 25px; /* Her madde arasına dikey boşluk */
}

.descriptive-list-item .item-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 5px; /* Metinle daha iyi hizalanması için */
}

.descriptive-list-item .item-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 5px 0; /* Başlık altı boşluk */
}

.descriptive-list-item .item-content p {
    margin: 0;
    color: var(--gray-color);
    line-height: 1.6;
}
.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-logo img {
    height: 80px;
    width: auto;
    display: block;
}
/* ============================================= */
/*             SERVICE HEADER STYLING            */
/* ============================================= */

.service-header {
    position: relative; /* Overlay katmanı için gereklidir */
    padding: 100px 0;   /* Üst ve alt boşluğu artırarak bölümü büyütür */
    color: #ffffff;     /* Tüm metinleri beyaz yapar */
    background-size: cover;
    background-position: center;
    text-align: center;
}

/* Arka plan resminin üzerine siyah, yarı saydam bir katman ekler */
.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Siyah renk, %60 opaklık. Burayı değiştirerek koyuluğu ayarlayabilirsiniz. */
    z-index: 1; /* Katmanın resmin üstünde olmasını sağlar */
}

/* İçeriğin (başlık, paragraf) overlay katmanının da üstünde kalmasını sağlar */
.service-header .container {
    position: relative;
    z-index: 2;
}

/* Başlık ve paragraf stillerini iyileştirme */
.service-header h1 {
    font-size: 3.5rem; /* Başlığı büyütür */
    margin-bottom: 15px;
    font-weight: 700;
}

.service-header p {
    font-size: 1.2rem; /* Paragrafı büyütür */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.service-header h1 {
    color: #ffffff;
}
.process-list {
    list-style: none; /* Liste başındaki noktaları kaldırır */
    padding: 0;
    margin: 0;
}

.process-list li {
    margin-bottom: 25px; /* Her liste elemanı arasına dikey boşluk ekler */
}

.process-list .list-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px; /* Başlık ile açıklama arasına küçük bir boşluk ekler */
}

.process-list .list-item-header i {
    color: #007bff; /* İkon rengini tema rengiyle uyumlu yapar (mavi) */
    font-size: 1.2rem;
    margin-right: 12px; /* İkon ile başlık arasına boşluk ekler */
}

.process-list .list-item-header strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333; /* Başlık rengi */
}

.process-list .list-item-description {
    padding-left: 34px; /* Açıklamayı ikon ve başlıkla hizalı tutar (ikon genişliği + boşluk) */
    margin: 0;
    color: #666; /* Açıklama metni rengini biraz daha açık yapar */
    line-height: 1.6;
}
/* ============================================= */
/*           SÜREÇ LİSTESİ STİLLERİ              */
/* ============================================= */

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    margin-bottom: 25px;
}   
img {
    max-width: 100%;
    height: auto;
    display: block; /* Görselin altındaki istenmeyen boşlukları kaldırır */
}
