/* =========================================
   1. TEMEL AYARLAR VE DEĞİŞKENLER
   ========================================= */
:root {
    --primary-blue: #0044cc;
    --dark-blue: #002a80;
    --light-blue: #e6f0ff;
    --text-color: #333;
    --white: #ffffff;
    --gray-bg: #f4f7f6;
    --success-green: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body { background-color: var(--gray-bg); color: var(--text-color); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

/* =========================================
   2. HEADER (MASAÜSTÜ VARSAYILAN)
   ========================================= */
/* Top Bar */
.top-bar {
    background-color: var(--dark-blue); color: #ccc; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block; /* Masaüstünde görünür */
}
.top-flex { display: flex; justify-content: space-between; align-items: center; }
.contact-small a, .social-small a { color: #ccc; margin-right: 15px; }
.contact-small a:hover, .social-small a:hover { color: #fff; }

/* Ana Header */
.main-header {
    background: linear-gradient(to right, var(--dark-blue), var(--primary-blue));
    color: var(--white); padding: 15px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky; top: 0; z-index: 1000;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo-container svg { height: 50px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
header .logo-container svg path, header .logo-container svg text { fill: var(--white) !important; }

/* Navigasyon (Masaüstü: Yan Yana) */
.navbar {
    display: flex;
    align-items: center;
    background: transparent;
    box-shadow: none;
    height: auto;
    position: static;
}
.nav-links {
    display: flex;
    align-items: center;
}
.navbar a {
    color: var(--white); margin-left: 25px; font-weight: 600; opacity: 0.8; position: relative; padding-bottom: 5px; border: none;
}
.navbar a:hover, .navbar a.active { opacity: 1; }
.navbar a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--white); transition: width 0.3s;
}
.navbar a:hover::after, .navbar a.active::after { width: 100%; }

/* Teklif Al Butonu */
.nav-btn-call {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px !important;
    border-radius: 20px;
    margin-left: 20px;
    color: var(--white) !important;
}

/* Masaüstünde Gizli Olanlar */
.mobile-toggle { display: none; }
.mobile-nav-footer { display: none; }


/* =========================================
   3. MARKA VİTRİNİ
   ========================================= */
.brand-bar {
    background: white; padding: 40px 0; border-bottom: 1px solid #eee; margin-bottom: 30px; text-align: center;
}
.brand-bar h3 { color: var(--dark-blue); font-size: 24px; margin-bottom: 5px; }
.brand-bar p { color: #666; font-size: 14px; margin-bottom: 30px; }

.brand-grid { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }

.brand-item {
    display: flex; justify-content: center; align-items: center; 
    width: 180px; height: 140px; 
    background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 20px;
    transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.brand-item img {
    max-width: 100%; max-height: 100%; object-fit: contain; 
    opacity: 0.9; filter: grayscale(0%);
    transition: all 0.3s ease;
}
.brand-item:hover {
    transform: scale(1.05); border-color: var(--primary-blue); box-shadow: 0 10px 25px rgba(0, 68, 204, 0.15);
}

/* =========================================
   4. ÜRÜN KARTLARI VE LİSTELEME
   ========================================= */
.simple-product-layout { display: block; width: 100%; }
.products-header { display: flex; justify-content: center; text-align: center; margin-bottom: 40px; }

/* Masaüstünde 4 Sütun */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card { background: var(--white); border: 1px solid #e1e1e1; border-radius: 8px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.img-wrapper { height: 200px; width: 100%; background: #fff; display:flex; align-items:center; justify-content:center; }
.product-card img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.brand-tag { font-size: 11px; background: var(--light-blue); color: var(--primary-blue); padding: 3px 8px; border-radius: 4px; display: inline-block; font-weight: bold; }
.product-title { font-size: 16px; margin: 10px 0; font-weight: 600; line-height: 1.4; color: var(--text-color); }
.price { font-size: 18px; color: var(--dark-blue); font-weight: bold; }

/* Kart Butonları */
.card-actions { display: flex; gap: 10px; margin-top: 15px; }
.btn-action-detail, .btn-action-wp {
    flex: 1; padding: 8px 5px; font-size: 13px; font-weight: bold; text-align: center; border-radius: 5px;
    transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-action-detail { background: #f1f5f9; color: var(--dark-blue); border: 1px solid #e2e8f0; }
.btn-action-detail:hover { background: #e2e8f0; }
.btn-action-wp { background: #25D366; color: white; border: 1px solid #25D366; }
.btn-action-wp:hover { background: #128C7E; }

.alert { background: #fff3cd; color: #856404; padding: 15px; border-radius: 5px; text-align: center; width: 100%; border: 1px solid #ffeeba; }

/* =========================================
   5. İLETİŞİM BANDI VE HARİTA (MASAÜSTÜ)
   ========================================= */
.info-strip {
    background-color: #f8fafc;
    padding: 60px 0;
    margin-top: 50px;
    border-top: 1px solid #e2e8f0;
}

.info-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.info-box {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.info-icon-circle {
    width: 60px; height: 60px; margin: 0 auto 20px;
    background: var(--light-blue); color: var(--primary-blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}

.info-box h4 { font-size: 18px; font-weight: 700; color: var(--dark-blue); margin-bottom: 10px; }
.info-box p, .info-box a { color: #64748b; font-size: 15px; line-height: 1.6; text-decoration: none; }
.info-box a:hover { color: var(--primary-blue); }

.map-container {
    width: 100%; height: 400px; background: #eee; border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 4px solid #fff;
}
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================
   6. FOOTER
   ========================================= */
.main-footer { background-color: #1a1a1a; color: #bbb; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-bottom: 1px solid #333; padding-bottom: 40px; }
.footer-col h3 { color: #fff; margin-bottom: 20px; font-size: 18px; border-left: 3px solid var(--primary-blue); padding-left: 10px; }
.footer-col a { color: #bbb; }
.footer-col a:hover { color: var(--primary-blue); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 14px; }
.socials a { color: #fff; font-size: 18px; margin-left: 15px; }

.floating-btn { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.btn-contact { width: 50px; height: 50px; border-radius: 50%; color: white; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.whatsapp { background-color: var(--success-green); }
.phone { background-color: var(--primary-blue); }

/* =========================================
   7. DİĞER SAYFALAR (DETAY, İLETİŞİM)
   ========================================= */
.detail-wrapper { display: flex; gap: 40px; margin-top: 30px; align-items: flex-start; }
.detail-gallery { flex: 1; background: white; padding: 20px; border: 1px solid #eee; border-radius: 10px; }
.detail-gallery img { width: 100%; height: auto; object-fit: contain; border-radius: 5px; }
.detail-content { flex: 1; background: white; padding: 30px; border-radius: 10px; border: 1px solid #eee; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.detail-brand-badge { background: var(--light-blue); color: var(--primary-blue); padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; text-transform: uppercase; display: inline-block; margin-bottom: 10px; }
.product-title-large { font-size: 28px; color: var(--dark-blue); margin-bottom: 15px; line-height: 1.3; }
.product-price-large { font-size: 32px; color: var(--primary-blue); font-weight: 800; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.product-features-list { list-style: none; margin-bottom: 25px; }
.product-features-list li { margin-bottom: 8px; color: #555; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.product-features-list li i { color: var(--success-green); }
.order-area { background: #f8fafc; padding: 20px; border-radius: 8px; border: 1px solid #e2e8f0; text-align: center; }
.btn-whatsapp-big { display: block; width: 100%; background: #25D366; color: white; font-size: 18px; font-weight: bold; padding: 15px; border-radius: 8px; margin-bottom: 15px; transition: 0.3s; }
.btn-whatsapp-big:hover { background: #128C7E; }
.trust-badges { display: flex; justify-content: center; gap: 15px; font-size: 12px; color: #666; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.trust-item i { font-size: 20px; color: var(--dark-blue); }

.about-grid, .contact-grid { display: flex; gap: 40px; margin-bottom: 60px; }
.about-text, .contact-details { flex: 1; }
.about-image, .contact-form-wrapper { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; }
.contact-form-wrapper { background: white; padding: 40px; border-radius: 10px; }
.contact-card-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.c-card { background: white; padding: 20px; border-radius: 8px; border: 1px solid #eee; display: flex; align-items: center; gap: 15px; }
.c-card:hover { border-color: var(--primary-blue); }
.full-width-map { position: relative; width: 100%; margin-top: 50px; }
.full-width-map iframe { display: block; filter: grayscale(20%); }
.map-overlay-btn { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; }
.btn-map-link { background: var(--dark-blue); color: white; padding: 12px 25px; border-radius: 30px; font-weight: bold; display: flex; align-items: center; gap: 10px; }

/* =========================================
   8. MOBİL UYUMLULUK (TÜM AYARLAR BURADA)
   ========================================= */
@media (max-width: 900px) {
    /* 1. Header ve Menü */
    .top-bar { display: none; }
    
    .mobile-toggle { 
        display: block; 
        font-size: 26px; 
        cursor: pointer; 
        position: relative; 
        z-index: 2002; 
    }
    
    .navbar { 
        display: none; 
        flex-direction: column; 
        position: fixed; 
        top: 75px; 
        left: 0; 
        width: 100%; 
        height: calc(100vh - 75px); 
        background: white; 
        z-index: 2000;
        overflow-y: auto; 
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        justify-content: space-between;
        align-items: stretch;
    }
    
    .navbar.active { display: flex; }

    .nav-links {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        width: 100%;
    }
    
    .navbar a { 
        color: var(--dark-blue); 
        margin: 10px 0;
        font-size: 18px;
        padding: 10px;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        opacity: 1; 
    }
    
    .nav-btn-call {
        background: var(--primary-blue);
        color: white !important;
        margin-left: 0;
        margin-top: 15px;
    }

    .mobile-nav-footer {
        display: block; 
        background: #f8fafc;
        padding: 20px;
        border-top: 1px solid #e2e8f0;
    }
    .m-contact-item {
        display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #e2e8f0;
    }
    .m-contact-item:last-child { border-bottom: none; margin-bottom: 0; }
    .m-contact-item i { width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-blue); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
    .m-contact-item div { text-align: left; }
    .m-contact-item span { display: block; font-size: 12px; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
    .m-contact-item a, .m-contact-item p { color: var(--dark-blue); font-weight: bold; font-size: 15px; margin: 0; padding: 0; border: none; }

    /* 2. Grid Yapıları (MOBİL ÜRÜN AYARI BURADA) */
    .product-grid { 
        grid-template-columns: 1fr; /* TEK SÜTUN OLSUN */
        gap: 25px; /* Kartlar arası boşluk */
    }
    .img-wrapper {
        height: 250px; /* Mobilde resim biraz daha büyük görünsün */
    }

    .info-grid { flex-direction: column; }
    
    /* 3. İletişim Alanı Büyütme */
    .info-strip { padding: 80px 20px; } /* Üstten alttan boşluğu artır */
    .info-box { 
        width: 100%; 
        padding: 40px 20px; /* Kutu içini ferahlat */
        margin-bottom: 20px;
    }
    .map-container { height: 300px; }

    .about-grid, .contact-grid { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .detail-wrapper { flex-direction: column; }
    .contact-card-row { grid-template-columns: 1fr; }
    
    .btn-action-detail span, .btn-action-wp span { display: inline-block; font-size: 14px; } /* Mobilde buton yazılarını geri açtım, yer var */
    .btn-action-detail, .btn-action-wp { padding: 12px 0; }
}
