/* ==========================================================================
   1. GENEL AYARLAR & TIPOGRAFI
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Mobilde yatay kaymayı kesin olarak engeller */
}

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

/* ==========================================================================
   2. NAVBAR (NAVİGASYON ALANI)
   ========================================================================== */
.navbar {
    background-color: #0f172a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.menu a:hover, .menu a.active {
    color: #fff;
}

.nav-cekilis-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

/* ==========================================================================
   3. HERO (KAHRAMAN) ALANI
   ========================================================================== */
.hero {
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 15px 32px;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   4. BAŞLIKLAR & SEKSİYONLAR
   ========================================================================== */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-top: 50px;
    color: #0f172a;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 1.05rem;
    padding: 0 20px;
}

/* ==========================================================================
   5. ÜRÜN GRID YAPISI & KARTLAR
   ========================================================================== */
.product-grid {
    display: grid;
    /* Masaüstünde 3 sütun, ekran daraldıkça otomatik sığdırma */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Çoklu Etiket Alanı */
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge-shipping {
    background-color: #3b82f6;
    color: #fff;
}

.badge-taksit {
    background-color: #10b981;
    color: #fff;
}

/* Görsel Alanı Sabitleme (En Boy Oranı Çözümü) */
.product-card .img-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.product-card .img-box img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .img-box img {
    transform: scale(1.04);
}

/* Ürün Bilgileri */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Kart boylarını içerik az olsa bile eşitler */
}

.product-info h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info .desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Açıklama metinleri farklı uzunlukta olsa da butonları hizalar */
}

/* Fiyat ve Satın Al Satırı */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Öğeleri en alta kilitler */
    gap: 15px;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.btn-buy {
    background-color: #0f172a;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-buy:hover {
    background-color: #1e293b;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* ==========================================================================
   7. %100 MOBİL & TABLET RESPONSIVE AYARLARI (KRİTİK İYİLEŞTİRME)
   ========================================================================== */

/* --- TABLET MODU (Ekran < 991px) --- */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

/* --- MOBİL TELEFON MODU (Ekran < 768px) --- */
@media (max-width: 768px) {
    /* 1. Menü Taşmasını Önleme (Dikey Yerleşim veya Esnek Daralma) */
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap; /* Linkler sığmazsa alt satıra güvenle geçer */
        gap: 12px;
    }

    .menu a {
        font-size: 0.9rem;
    }

    /* 2. Hero Alanı Küçültme */
    .hero {
        padding: 50px 15px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-hero {
        width: 100%; /* Mobilde buton tam genişlik kaplar */
        padding: 14px;
    }

    /* 3. Grid Yapısını Tekli Sütuna Zorlama */
    .product-grid {
        grid-template-columns: 1fr; /* Mobilde yan yana kart kalmaz, alt alta listelenir */
        padding: 0 5px;
    }

    /* 4. Kart İçi Satır Düzeni Düzenleme */
    .product-card .img-box {
        height: 240px; /* Telefon ekranlarında görsellerin aşırı büyük durmasını engeller */
    }

    .product-info {
        padding: 16px;
    }

    .price-row {
        flex-direction: column; /* Fiyat ve Satın Al butonunu alt alta getirir */
        align-items: stretch; /* Butonun kart geneline esnemesini sağlar */
        gap: 10px;
        text-align: center;
    }

    .btn-buy {
        width: 100%;
        padding: 12px;
    }
}

/* --- ÇOK KÜÇÜK TELEFONLAR (Ekran < 480px) --- */
@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .card-badges {
        top: 8px;
        left: 8px;
    }

    .product-card .badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
/* ==========================================================================
   8. BİZ KİMİZ (HAKKIMIZDA) SAYFASI STİLLERİ & RESPONSIVE
   ========================================================================== */

/* Sayfa İçerik Alanı */
.content-page {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-block h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-text-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

/* Standartlar Kart Yapısı (Grid) */
.standards-grid {
    display: grid;
    /* Masaüstünde 3 sütun düzeni */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.standard-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.standard-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.standard-card h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 600;
}

.standard-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Hakkımızda Sayfası İçin Hero Özelleştirmesi */
.style-about {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* --- BİZ KİMİZ MOBİL RESPONSIVE AYARLARI --- */
@media (max-width: 768px) {
    .content-page {
        padding: 40px 15px; /* Mobilde kenar boşluklarını daraltır */
    }

    .about-text-block h2 {
        font-size: 1.75rem; /* Başlığın mobilde çok büyük durmasını engeller */
        text-align: center;
        margin-bottom: 15px;
    }

    .about-text-block p {
        font-size: 0.95rem; /* Okunabilirliği artırmak için yazı boyutunu dengeler */
        line-height: 1.7;
        text-align: justify; /* Mobilde metnin daha düzenli durmasını sağlar */
    }

    .standards-grid {
        grid-template-columns: 1fr; /* Mobilde 3 sütundan tek sütuna düşer, kartlar alt alta sıralanır */
        gap: 20px;
        margin-top: 35px;
    }

    .standard-card {
        padding: 25px 20px; /* Kart içi boşlukları dikey ekrana göre optimize eder */
    }
}

}
/* ==========================================================================
   9. OTOMATİK DÖNEN PREMİUM SLIDER (BANNER) ALANI
   ========================================================================== */
.slider-section {
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    min-height: 480px; /* PC için ideal yükseklik */
}

/* Slaytların Temel Davranışı (Gizleme/Gösterme Animasyonu) */
.slide {
    display: none; /* Varsayılan olarak tümünü gizle */
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    display: flex; /* Aktif olan slaytı göster */
    opacity: 1;
}

/* Sol İçerik Alanı */
.slide-content {
    flex: 1.2;
    max-width: 650px;
    color: #fff;
}

.slide-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.slide-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.slide-actions {
    display: flex;
    gap: 15px;
}

.btn-slide-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-slide-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.3);
}

.btn-slide-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-slide-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sağ Görsel Alanı */
.slide-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.slide-visual img {
    max-width: 100%;
    height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: float 4s ease-in-out infinite; /* Premium hafif sallanma efekti */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Alt Gezinme Noktaları (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #3b82f6;
    width: 28px; /* Aktif noktayı genişleterek modern bir hava katıyoruz */
    border-radius: 6px;
}

/* ==========================================================================
   📱 BANNER %100 RESPONSIVE MOBİL AYARI
   ========================================================================== */
@media (max-width: 991px) {
    .slider-container {
        min-height: auto;
    }

    .slide {
        flex-direction: column; /* Mobilde dikey alt alta sıralama */
        text-align: center;
        padding: 40px 20px 60px 20px; /* Dots alanına basmasın diye alttan pay */
        gap: 25px;
    }

    .slide-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .slide-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .btn-slide-primary, .btn-slide-secondary {
        width: 100%;
        justify-content: center;
    }

    .slide-visual img {
        height: 200px; /* Telefonlarda görsel boyutunu küçülterek ekranı kurtarır */
        margin-top: 10px;
    }
}