/* --- GENEL AYARLAR --- */
* { box-sizing: border-box; }

body { 
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif; 
    background-color: #f4f7f6; 
    margin: 0; 
    padding: 0; 
    color: #333; 
}

/* --- ÜST BAR (HEADER) - KESİN İNCE DÜZEN --- */
header { 
    background: #2c3e50; 
    padding: 5px 0 !important;
    border-bottom: 2px solid #3498db;
    width: 100%;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    max-width: 1200px;
    margin: 0 auto;
    height: 50px;
}

.logo-img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.brand-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text h1 {
    color: #ffffff;
    margin: 0;
    font-size: 18px !important;
    text-transform: uppercase;
    line-height: 1;
}

.brand-text p {
    color: #3498db;
    margin: 2px 0 0 0;
    font-size: 10px !important;
    font-weight: bold;
    letter-spacing: 1.5px;
    line-height: 1;
}

/* --- NAVİGASYON --- */
nav { 
    background: #34495e; 
    padding: 10px 0; 
    text-align: center; 
    position: sticky; 
    top: 0; 
    z-index: 1001;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

nav a { 
    color: white; 
    text-decoration: none; 
    margin: 0 15px; 
    font-weight: bold; 
    font-size: 14px; 
    transition: 0.3s; 
}
nav a:hover { color: #3498db; }

/* --- İÇERİK YAPISI --- */
.container { 
    max-width: 1100px; 
    margin: 20px auto; 
    padding: 20px; 
}

/* --- HERO (Giriş) --- */
.hero { 
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/anaSayfa2.jpeg'); 
    background-size: cover; 
    background-position: center;
    color: white; 
    padding: 100px 20px; 
    text-align: center;
}
.hero h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-btn { 
    background: #4b8d8a; color: white; padding: 15px 30px; 
    text-decoration: none; border-radius: 50px; font-weight: bold;
    box-shadow: 0 4px 15px rgba(7, 90, 88, 0.4); display: inline-block;
}

/* --- HİZMET KARTLARI (KÜÇÜK GÖRSEL & SABİT BOYUT) --- */
.card { 
    background: white; 
    margin-bottom: 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    display: flex; 
    align-items: stretch; 
    overflow: hidden;
    border: 1px solid #ddd;
    min-height: 220px; /* Kart yüksekliğini biraz daha makul bir seviyeye çektik */
}

.img-container {
    width: 220px; /* Görselleri senin istediğin o küçük ve şık boyuta geri getirdik */
    min-width: 220px;
    background-color: #eee;
}

.service-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

.card-body { 
    padding: 15px 25px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortaladık */
}

/* --- İLETİŞİM KARTI --- */
.contact-card { background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 40px; text-align: center; }
.tel-link { border: 2px solid #3498db; color: #2c3e50; padding: 15px; border-radius: 10px; text-decoration: none; font-weight: bold; display: block; margin: 10px 0; }
.location-btn { background: #2c3e50; color: white; padding: 20px; border-radius: 10px; text-decoration: none; font-weight: bold; display: block; margin-top: 30px; }

/* --- FOOTER --- */
footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 4px solid #3498db;
    font-size: 14px;
}
.company-name { font-weight: bold; color: #3498db; }

/* --- WHATSAPP --- */
.whatsapp-fixed {
    position: fixed; bottom: 20px; right: 20px;
    background: #25d366; color: white; padding: 15px 25px;
    border-radius: 50px; text-decoration: none; font-weight: bold; z-index: 1000;
}

@media (max-width: 768px) {
    .header-container { gap: 8px !important; }
    .card { flex-direction: column; }
    .img-container { width: 100%; height: 220px; }
}
/* --- İSTATİSTİK BÖLÜMÜ --- */
.stats { 
    display: flex; 
    justify-content: space-around; 
    background: white; 
    padding: 40px 0; 
    border-bottom: 1px solid #ddd; 
}
.stat-item { text-align: center; }
.stat-item h3 { color: #2980b9; font-size: 2.2rem; margin: 0; }
.stat-item p { color: #7f8c8d; font-weight: bold; margin: 5px 0 0; }

/* --- NEDEN BİZ (GRID) DÜZENİ --- */
.why-us-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-top: 30px; 
}
.why-card { 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    text-align: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    border: 1px solid #eee;
}
.why-card h4 { color: #2c3e50; margin-bottom: 10px; font-size: 1.2rem; }
.why-card p { font-size: 0.95rem; line-height: 1.5; color: #555; }

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .stats { flex-direction: column; gap: 30px; }
}