/* =========================================================
   MRPD BİRİMLER VİTRİNİ (SHOWCASE DESIGN)
   ========================================================= */

body {
    margin: 0;
    padding: 0;
    background-color: #020617;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- HERO SECTION (Başlık) --- */
.units-hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(2, 6, 23, 0.7), #020617), url('https://wallpapers.com/images/hd/police-car-at-night-4k-v9w0gs0q5y9u7j8k.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    color: #cbd5e1;
    max-width: 700px;
    margin-top: 15px;
}

/* --- ANA KONTEYNER --- */
.units-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* --- BİRİM KARTI (Her satır) --- */
.unit-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px; /* Birimler arası boşluk */
    position: relative;
}

/* ZIG-ZAG YAPISI: Çift numaralı (2, 4, 6) birimleri ters çevir */
.unit-section:nth-child(even) {
    flex-direction: row-reverse;
}

/* --- GÖRSEL ALANI --- */
.unit-visual {
    flex: 1;
    position: relative;
}

.unit-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s ease;
}

.unit-section:hover .unit-visual img {
    transform: scale(1.02); /* Üzerine gelince hafif büyüsün */
}

/* Resmin arkasındaki renkli parlama (Glow) */
.visual-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

/* --- YAZI ALANI --- */
.unit-details {
    flex: 1;
}

.unit-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.unit-details h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.unit-details p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Özellik Listesi */
.unit-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.feature-item i {
    color: #3b82f6; /* Varsayılan ikon rengi */
}

/* --- RENK TEMALARI --- */
/* Devriye (Mavi) */
.theme-blue .visual-glow { background: #3b82f6; }
.theme-blue h2 { color: #60a5fa; }
.theme-blue .unit-badge i { color: #3b82f6; }

/* Trafik (Turuncu) */
.theme-orange .visual-glow { background: #f59e0b; }
.theme-orange h2 { color: #fbbf24; }
.theme-orange .unit-badge i { color: #f59e0b; }
.theme-orange .feature-item i { color: #f59e0b; }

/* SWAT (Kırmızı) */
.theme-red .visual-glow { background: #ef4444; }
.theme-red h2 { color: #f87171; }
.theme-red .unit-badge i { color: #ef4444; }
.theme-red .feature-item i { color: #ef4444; }

/* Dedektif (Mor) */
.theme-purple .visual-glow { background: #8b5cf6; }
.theme-purple h2 { color: #a78bfa; }
.theme-purple .unit-badge i { color: #8b5cf6; }
.theme-purple .feature-item i { color: #8b5cf6; }

.theme-cyan .visual-glow { background: #06b6d4; }
.theme-cyan h2 { color: #22d3ee; }
.theme-cyan .unit-badge i { color: #22d3ee; }
.theme-cyan .feature-item i { color: #22d3ee; }
/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .unit-section {
        flex-direction: column !important; /* Mobilde her zaman alt alta */
        gap: 30px;
        margin-bottom: 80px;
        text-align: center;
    }
    .unit-features {
        text-align: left; /* Listeler sola dayalı kalsın */
        grid-template-columns: 1fr; /* Tek sütun */
    }
    .hero-content h1 { font-size: 2.5rem; }
}