/* ==========================================================================
   1. GENEL AYARLAR VE DEĞİŞKENLER (Mevcut Yapı Korundu)
   ========================================================================== */
:root {
    --asmir-red: #e63946;
    --asmir-dark: #2b2d42;
    --asmir-light: #f8f9fa;
    --asmir-gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--asmir-light);
    color: var(--asmir-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. ÜST BİLGİ SATIRI (TOP BAR)
   ========================================================================== */
.top-bar {
    background-color: var(--asmir-dark);
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bar-phone {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* ==========================================================================
   3. NAVİGASYON (NAVBAR) & LOGO BOYUTLARI
   ========================================================================== */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Düzenlenen Alan: Logoların bozulmasını ve taşmasını önleyen boyutlar */
.site-logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--asmir-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--asmir-red);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--asmir-dark);
    cursor: pointer;
}

/* ==========================================================================
   4. KAHRAMAN ALANI (HERO SECTION) BOYUT AYARLARI
   ========================================================================== */
/* Düzenlenen Alan: Arka plan resminin tam oturması ve kesilmemesi için boyutlar ayarlandı */
.hero-section {
    background-image: linear-gradient(rgba(43, 45, 66, 0.85), rgba(43, 45, 66, 0.85)), url('hero-bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 75vh;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 60px 0;
}

.hero-content {
    max-width: 700px;
}

.badge {
    background-color: var(--asmir-red);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-section h1 span {
    color: var(--asmir-red);
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.primary-btn {
    background-color: var(--asmir-red);
    color: #fff;
    margin-right: 15px;
}

.whatsapp-btn {
    background-color: #25d366;
    color: #fff;
}

/* ==========================================================================
   5. BAŞLIKLAR VE KART YAPILARI (GRID SISTEMI)
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--asmir-dark);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--asmir-gray);
}

/* Özellikler (Features) */
.features-section {
    padding: 60px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--asmir-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--asmir-red);
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--asmir-gray);
    font-size: 15px;
}

/* Hakkımızda (About) */
.about-section {
    padding: 60px 0;
}

/* ==========================================================================
   6. HİZMETLER VE ÜRÜNLER (Görsel Boyut Sabitlemeleri)
   ========================================================================== */
.services-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card, .product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

/* Düzenlenen Alan: Hizmet ve Ürün kutularının fotoğraflarını sabitleyen alanlar */
.service-img-wrapper, .product-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.service-card-img, .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-img-wrapper:hover .service-card-img,
.product-img-wrapper:hover .product-img {
    transform: scale(1.08);
}

.img-overlay-hover {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(43, 45, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s;
}

.service-img-wrapper:hover .img-overlay-hover {
    opacity: 1;
}

.service-icon-wrapper {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--asmir-red);
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.service-body, .product-body {
    padding: 25px;
}

.service-body h3, .product-body h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.service-body p, .product-body p {
    color: var(--asmir-gray);
    font-size: 14px;
}

/* ==========================================================================
   7. KAMPANYA VE ÖZEL SAYFA DETAYLARI
   ========================================================================== */
/* Düzenlenen Alan: Kampanya afişlerinin ekrandan taşmasını önleyen boyutlandırma */
.campaigns-grid {
    display: flex;
    justify-content: center;
    width: 100%;
}

.campaign-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.campaign-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Lightbox Görsel İzleyici */
.asmir-lightbox {
    transition: background-color 0.3s;
}

.lightbox-content {
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ==========================================================================
   8. MOBİL UYUMLULUK VE HAMBURGER MENÜ
   ========================================================================== */
@media (max-width: 992px) {
    /* Mobil Menü Butonu */
    .menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--asmir-dark);
        cursor: pointer;
        padding: 5px 10px;
    }

    /* Mobil Yan Menü Düzeni */
    .nav-links, .nav-menu {
        display: none !important; /* Varsayılanda kapalı */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 15px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        z-index: 999;
    }

    /* Menü Açıldığında Görünecek Sınıf */
    .nav-links.active, .nav-menu.active {
        display: flex !important;
    }

    .nav-links li, .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 8px 0;
    }

    .nav-links a, .nav-menu a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }

    /* Mobil Hero Görünümü */
    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section p {
        font-size: 16px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .primary-btn {
        margin-right: 0;
    }
}

@media (min-width: 993px) {
    .menu-btn {
        display: none !important; /* Masaüstünde gizle */
    }
}