/* Genel Ayarlar ve Renkler */
:root {
    --primary-color: #CC0000; /* Kırmızı vurgu rengi */
    --secondary-color: #333333; /* Siyah/koyu gri ana renk */
    --text-color: #444444;
    --light-bg: #f9f9f9;
    --dark-bg: #222222; /* Footer gibi koyu alanlar */
    --white-color: #ffffff;
    --border-color: #e0e0e0;
	--footer-bg: var(--dark-bg);
    --footer-text: var(--white-color);
    --footer-link-color: rgba(255, 255, 255, 0.75);
    --footer-heading-color: var(--primary-color);
    --footer-border: rgba(255, 255, 255, 0.15);
    --footer-icon-color: var(--primary-color);
    --footer-hover-color: var(--white-color);
    --footer-social-bg: rgba(255, 255, 255, 0.1);
}

/* GENEL RESET VE TEMEL AYARLAR */
html {
    box-sizing: border-box; /* Tüm elementler için kutu modelini ayarlar */
}
*, *::before, *::after {
    box-sizing: inherit; /* Inherit sayesinde bu kural tüm alt elementlere uygulanır */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased; /* Fontları daha net gösterir */
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Sayfa genelinde yatay kaydırmayı engelle */
    word-wrap: break-word; /* Uzun kelimelerin taşmasını önler */
    overflow-wrap: break-word; /* Daha modern alternatif */
}

/* GENEL BAŞLIK STİLLERİ (Masaüstü) - BURASI ANA KONTROL NOKTASI */
h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

h1::after { /* h1 altına çizgi */
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

h2::after { /* h2 altına çizgi */
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left; /* Varsayılan olarak sola hizalı */
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4em;
    font-weight: 500;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: left;
}

/* Genel paragraf stili */
p {
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}


/* Genel resim ve medya düzenlemesi */
img, video, svg {
    max-width: 100%; /* Medya öğelerinin kapsayıcılarından taşmasını engeller */
    height: auto; /* Oranlarını korur */
    display: block; /* Bazı boşluk sorunlarını gidermek için */
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px; /* Yatayda daha güvenli padding eklendi */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a00000; /* Kırmızının daha koyu tonu */
    text-decoration: none;
}

/* GENEL BUTON STİLİ */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px; /* Daha standart ve kompakt buton boyutu */
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95em; /* Standart buton font boyutu */
    font-weight: bold;
    text-align: center; /* Yazıyı ortala */
    white-space: nowrap; /* Buton yazısının tek satırda kalmasını sağla */
    overflow: hidden; /* Taşmayı gizle */
    text-overflow: ellipsis; /* Taşma durumunda üç nokta göster */
    max-width: 100%; /* Butonların da taşmasını engelle */
}

.btn:hover {
    background: #a00000;
    color: var(--white-color);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Header */
header {
    background: var(--dark-bg);
    color: var(--white-color);
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.logo img {
    height: 60px;
    max-width: 100%; /* Logo için de taşma engelleme */
    width: auto; /* Oranı koru */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

/* Hamburger Menü (Sadece mobil için) */
.menu-toggle {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: var(--white-color);
    padding: 5px 10px; /* Tıklama alanı genişletildi */
}

/* Slider Alanı */
.slider-area {
    position: relative;
    width: 100%;
    height: 600px; /* Sabit yükseklik, ihtiyaca göre ayarlayın */
    overflow: hidden;
}

.slider-inner-wrapper { /* Yeni kapsayıcı */
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Normal slaytlar */
    user-select: none; /* Metin seçimi engellenir */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slider-item.active {
    opacity: 1;
    z-index: 2; /* Aktif slayt diğerlerinin üzerinde olsun */
}

.slider-caption {
    color: var(--white-color);
    text-align: center;
    background: rgba(0,0,0,0.6); /* Daha belirgin arka plan */
    padding: 30px 50px;
    border-radius: 10px;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    box-sizing: border-box;
    position: relative; /* Z-index çalışması için */
    z-index: 2; /* Slaytın üzerinde kalsın */
}

/* SLIDER İÇİN ÖZEL H1 STİLİ (GENEL H1'İ OVERRIDE EDER) */
.slider-caption h1 {
    font-size: 3.5em; /* Genel h1'den farklı olabilir */
    color: var(--white-color); /* Beyaz renk olsun */
    margin-top: 0;
    margin-bottom: 15px;
    word-wrap: break-word;
    text-align: center;
    padding-bottom: 0; /* Alt çizgi olmasın */
}
.slider-caption h1::after { /* Slider h1'in alt çizgisini kaldır */
    display: none;
}


.slider-caption p {
    font-size: 1.3em;
    margin-bottom: 30px;
    word-wrap: break-word;
}

.slider-caption .slider-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    box-sizing: border-box;
}

.slider-caption .btn {
    padding: 12px 28px;
    font-size: 1em;
    transform: none;
    min-width: 160px;
    box-sizing: border-box;
}

.slider-caption .btn:hover {
    transform: translateY(-3px);
}

/* Slider Navigasyon Butonları (Oklar) */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6); /* Biraz daha koyu arka plan */
    color: var(--white-color);
    border: none;
    width: 50px; /* Sabit genişlik */
    height: 50px; /* Sabit yükseklik */
    display: flex; /* İçindeki ikonu ortalamak için flex kullan */
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
    font-size: 1.6em; /* İkon boyutu */
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 50%; /* Tamamen yuvarlak butonlar */
    opacity: 0.8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Hafif gölge */
}

.slider-prev:hover, .slider-next:hover {
    background: var(--primary-color);
    color: var(--white-color);
    opacity: 1;
    transform: translateY(-50%) scale(1.05); /* Hover'da hafif büyüme efekti */
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dot Navigasyon */
.slider-dots {
    position: absolute;
    bottom: 20px; /* Alttan boşluk */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* Slider item'ların üzerinde olsun */
    display: flex; /* Noktaları yan yana sıralamak için */
    gap: 10px; /* Noktalar arası boşluk */
    padding: 5px 10px; /* Tıklama alanını genişletmek için */
    background: rgba(0,0,0,0.3); /* Dot kapsayıcısı için hafif arka plan */
    border-radius: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5); /* Yarı şeffaf beyaz nokta */
    border-radius: 50%; /* Tamamen yuvarlak nokta */
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.2); /* Hafif kenarlık */
}

.slider-dot.active {
    background: var(--primary-color); /* Aktif nokta ana renk */
    transform: scale(1.2); /* Aktif noktayı biraz büyüt */
    border-color: var(--primary-color);
}

/* İçerik Bölümleri */
.content-section {
    background: var(--white-color);
    padding: 50px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
    box-sizing: border-box; /* İçerik bölümü için güvenlik */
}

.content-page {
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box; /* İçerik sayfası için güvenlik */
}

/* Güven ve Kalite Banner Alanı */
.trust-quality-banner {
    width: 100%;
    padding: 60px 0;
    background-color: var(--light-bg);
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
}

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

.trust-quality-banner .banner-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-quality-banner .banner-item {
    flex: 1;
    min-width: 280px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-quality-banner .banner-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* İkon Stilleri */
.trust-quality-banner .icon-large {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* Trust Quality Banner H3 (Genel h3'ü override eder) */
.trust-quality-banner h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center; /* Ortalanmış olsun */
}

.about-preview {
    text-align: center;
}
.about-preview p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    word-wrap: break-word;
}

.services-preview .service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    box-sizing: border-box;
}

.services-preview .card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    flex: 1 1 calc(33% - 60px);
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.services-preview .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Services Preview Card H3 (Genel h3'ü override eder) */
.services-preview .card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.8em;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    text-align: center; /* Ortalanmış olsun */
}

.services-preview .card p {
    flex-grow: 1;
    margin-bottom: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

/* Ürün Sayfası - Ürün Kartları Düzeltmeleri */
.category-filter {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    padding-top: 5px;
}

.category-filter a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95em;
    flex-shrink: 0;
    white-space: nowrap;
    box-sizing: border-box;
}

.category-filter a:hover,
.category-filter a.active {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    box-sizing: border-box;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

/* Product Card H3 (Genel h3'ü override eder) */
.product-card h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin: 15px 10px 10px 10px;
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-overflow: ellipsis;
    word-wrap: break-word;
    text-align: center; /* Ortalanmış olsun */
}

.product-card p {
    font-size: 0.95em;
    color: var(--text-color);
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 20px;
    height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

/* "İncele" Butonu - .product-card içindeki btn */
.product-card .btn {
    margin: 15px;
    align-self: center;
    width: calc(100% - 30px);
    max-width: 180px;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* İletişim Sayfası */
.contact-info p {
    margin-bottom: 12px;
    font-size: 1.1em;
    color: var(--text-color);
    word-wrap: break-word;
}
.contact-info strong {
    color: var(--secondary-color);
}

.map-container {
    margin-top: 35px;
    margin-bottom: 45px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    box-sizing: border-box;
}

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

.contact-form {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color); /* Hata vardı, düzeltildi: 1:px -> 1px */
    border-radius: 5px;
    font-size: 1em;
    background-color: var(--white-color);
    color: var(--text-color);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1em;
}

.error, .success {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    word-wrap: break-word;
}

.error {
    color: #a94442;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
}

.success {
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
}

/* Footer css */
.main-footer {
    background: var(--dark-bg);
    color: var(--white-color);
    padding: 70px 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95em;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.25);
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.main-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-areas: "about quick contact";
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    align-items: flex-start;
}

.footer-col.about-us-col { grid-area: about; }
.footer-col.quick-links-col { grid-area: quick; }
.footer-col.contact-info-col { grid-area: contact; }

.main-footer .footer-col {
    padding: 0;
}

/* Footer Kolon Başlıkları (Genel h3'ü override eder, kendi alt çizgisini kullanır) */
.main-footer .footer-col h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 25px;
    margin-top: 0;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left; /* Footer başlıkları sola hizalıdır */
}
.main-footer .footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--white-color);
    border-radius: 2px;
}

/* Logo Stili */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}
.footer-logo {
    height: 80px;
    max-width: 100%;
}

/* Hakkımızda Metni */
.main-footer .about-us-col p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0;
    margin-bottom: 25px;
}

/* Sosyal Medya Linkleri */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.2em;
    transition: background 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
}

/* Hızlı Linkler (Quick Links) */
.quick-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quick-links-col ul li {
    margin-bottom: 12px;
}
.quick-links-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    text-decoration: none;
}
.quick-links-col ul li a::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.8em;
    transition: transform 0.3s ease;
}
.quick-links-col ul li a:hover {
    color: var(--white-color);
    transform: translateX(5px);
}
.quick-links-col ul li a:hover::before {
    transform: translateY(-50%) translateX(5px);
}

/* İletişim Bilgileri */
.contact-info-col p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}
.contact-info-col p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.15em;
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-info-col p a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
    text-decoration: none;
}
.contact-info-col p a:hover {
    color: var(--white-color);
}


/* Bottom Bar - En Alt Telif Hakkı ve Geliştirici Barı */
.bottom-bar {
    background: rgba(0,0,0,0.15);
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.bottom-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
    padding: 0 25px;
}
.bottom-bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88em;
    line-height: 1.5;
}
.bottom-bar p a {
    color: var(--primary-color);
    transition: color 0.3s ease;
    text-decoration: none;
}
.bottom-bar p a:hover {
    color: var(--white-color);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .services-preview .card {
        flex: 1 1 calc(50% - 30px);
    }
	/*banner*/
	.trust-quality-banner .banner-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .trust-quality-banner .banner-item {
        max-width: 400px;
        min-width: unset;
    }
	/*FOOTER 992px*/
	.main-footer .container {
        padding: 0 20px;
    }
    .main-footer .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }
    /* Footer h3'ü kendi medya sorgusundaki değerine geri alalım */
    .main-footer .footer-col h3 {
        margin-bottom: 20px;
        font-size: 1.3em;
    }
    .footer-logo {
        height: 70px;
    }
    .quick-links-col ul li {
        margin-bottom: 10px;
    }
    .contact-info-col p {
        margin-bottom: 15px;
    }
    .bottom-bar .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        display: none;
        flex-direction: column;
        z-index: 1000;
        box-sizing: border-box;
    }
    nav.active {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    nav ul li:last-child {
        border-bottom: none;
    }
    nav ul li a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }

    /* Slider Responsive Düzenlemeleri */
    .slider-area {
        height: 400px;
    }
    .slider-prev {
        width: 40px;
        height: 40px;
        font-size: 1.4em;
        left: 10px;
    }

	.slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.4em;
        right: 10px;
    }

    .slider-dots {
        bottom: 15px;
        gap: 8px;
        padding: 3px 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-caption {
        padding: 20px 30px;
        max-width: 90%;
    }

    /* MOBİL İÇİN GENEL BAŞLIK STİLLERİ */
    h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }
    h1::after {
        width: 70px;
        height: 3px;
    }
    h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }
    h2::after {
        width: 50px;
        height: 2px;
    }
    h3 {
        font-size: 1.5em;
        margin-bottom: 12px;
    }
    h4 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }
    /* Slider Caption h1'i tekrar özelleştirelim */
    .slider-caption h1 {
        font-size: 2em;
        margin-bottom: 15px;
        color: var(--white-color);
        padding-bottom: 0; /* Alt çizgi olmasın */
    }
    .slider-caption h1::after { /* Slider h1'in alt çizgisini mobilde de kaldır */
        display: none;
    }

    /* Trust Quality Banner h3 */
    .trust-quality-banner h3 {
        font-size: 1.6em;
    }

    /* Service Card H3 */
    .services-preview .card h3 {
        font-size: 1.5em; /* Genel h3 ile aynı, isteğe göre ayarlanabilir */
    }

    /* Product Card H3 */
    .product-card h3 {
        font-size: 1.3em; /* Mobil için ürün kartı h3 boyutu */
        height: auto;
        min-height: unset;
        -webkit-line-clamp: unset;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        height: 60px; /* Mobil'de 2 satır gibi sabit yükseklik */
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .slider-caption p {
        font-size: 0.9em;
    }
    .slider-caption .btn {
        padding: 8px 18px;
        font-size: 0.85em;
        min-width: 120px;
    }

    .content-section {
        padding: 30px;
    }

    .services-preview .card {
        flex: 1 1 100%;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        width: 100%;
    }

    .category-filter {
        justify-content: flex-start;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: -15px;
        margin-right: -15px;
    }
    .category-filter a {
        flex-shrink: 0;
    }
    .category-filter::-webkit-scrollbar {
        height: 8px;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }
    .category-filter::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
	.category-filter::-webkit-scrollbar-thumb:hover {
        background-color: #a00000;
    }

    .product-card p {
        height: 90px;
        -webkit-line-clamp: 4;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Ürün detay sayfası mobil düzenlemesi */
    .product-detail-content {
        flex-direction: column;
        align-items: center;
    }
    .product-detail-content img,
    .product-info {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .product-detail-page h1 { /* Varsayılan h1 kullanılacak */
        font-size: 2.2em; /* Genel h1'i burada override ediyoruz, eğer sayfa içeriği için spesifik bir h1 ise */
        margin-bottom: 20px;
    }
    .product-detail-page .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
	/*banner*/
	.trust-quality-banner {
        padding: 40px 0;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .trust-quality-banner .icon-large {
        font-size: 3em;
        margin-bottom: 18px;
    }
	/*FOOTER 768px*/
	.main-footer {
        padding-top: 50px;
        font-size: 0.9em;
    }
    .main-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "about about"
            "quick contact";
        gap: 30px;
        column-gap: 30px;
        padding-bottom: 30px;
    }

    /* Footer h3'ü kendi medya sorgusundaki değerine geri alalım */
    .main-footer .footer-col h3 {
        text-align: left;
        margin-top: 25px;
        margin-bottom: 15px;
        font-size: 1.25em;
    }
    .main-footer .footer-col:first-child h3 {
        margin-top: 0;
    }
    .main-footer .footer-col h3::after {
        left: 0;
        transform: none;
    }

    .footer-logo {
        height: 60px;
    }
    .main-footer .about-us-col p {
        margin-bottom: 20px;
    }
    .social-links {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .bottom-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .bottom-bar p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
	.slider-prev {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        left: 5px;
    }
	.slider-next {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
        right: 5px;
    }
    /* Slider Caption h1'i tekrar özelleştirelim */
    .slider-caption h1 {
        font-size: 1.6em;
        margin-bottom: 10px;
        color: var(--white-color);
    }
    .slider-caption p {
        font-size: 0.8em;
        margin-bottom: 15px;
    }
    .slider-caption .slider-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .slider-caption .btn {
        width: calc(100% - 40px);
        max-width: 220px;
        margin: 0 auto;
        padding: 10px 15px;
        font-size: 0.9em;
    }
	/*banner*/
	.trust-quality-banner .icon-large {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .trust-quality-banner .banner-item {
        padding: 25px;
    }
    /* Trust Quality Banner h3 */
    .trust-quality-banner h3 {
        font-size: 1.4em;
    }
	/*FOOTER 480px*/
	.main-footer {
        padding-top: 40px;
        font-size: 0.85em;
    }
    .main-footer .footer-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "about"
            "quick"
            "contact";
        gap: 30px;
        padding-bottom: 25px;
        justify-items: start;
    }

    .footer-col.about-us-col,
    .footer-col.quick-links-col,
    .footer-col.contact-info-col {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .main-footer .container {
        padding: 0 15px;
    }
    /* Footer h3'ü kendi medya sorgusundaki değerine geri alalım */
    .main-footer .footer-col h3 {
        font-size: 1.15em;
        margin-bottom: 12px;
        margin-top: 0;
    }
    .main-footer .footer-col.about-us-col h3 {
        margin-top: 0;
    }
    .main-footer .footer-col.quick-links-col h3,
    .main-footer .footer-col.contact-info-col h3 {
        margin-top: 30px;
    }


    .footer-logo {
        height: 55px;
    }
    .main-footer .about-us-col p {
        margin-bottom: 15px;
    }
    .social-links {
        justify-content: flex-start;
        gap: 10px;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }

    .quick-links-col ul li a {
        padding-left: 20px;
    }

    .contact-info-col p {
        margin-bottom: 10px;
    }
    .contact-info-col p i {
        margin-right: 8px;
        font-size: 1em;
    }
    .bottom-bar {
        padding: 18px 0;
    }
    .bottom-bar p {
        font-size: 0.78em;
    }

    /* MOBİL İÇİN GENEL BAŞLIK STİLLERİ */
    h1 {
        font-size: 2em;
        margin-bottom: 18px;
    }
    h1::after {
        width: 60px;
        height: 2px;
    }
    h2 {
        font-size: 1.8em;
        margin-bottom: 18px;
    }
    h2::after {
        width: 40px;
        height: 2px;
    }
    h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    h4 {
        font-size: 1.1em;
        margin-bottom: 6px;
    }
}