/* style.css - ARNAVUTKÖY KOMBİ (V2 MOBİL FİX) */

:root {
    --primary: #0056b3; /* Güven Mavisi */
    --secondary: #ff9900; /* Alev Turuncusu */
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
}

body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Poppins', sans-serif; 
    color: var(--text); 
    background: var(--white); 
    line-height: 1.6; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

* { box-sizing: border-box; }

/* --- TOP BAR (Siyah Üst Bant) --- */
.top-bar { 
    background: var(--dark); 
    color: var(--white); 
    padding: 10px 0; 
    font-size: 13px; 
    font-weight: 500;
}
.tb-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.tb-contact a { 
    color: var(--white); 
    font-weight: 700; 
}
.tb-contact i { 
    color: var(--secondary); 
    margin-right: 5px; 
}

/* --- HEADER (Logo ve Menü) --- */
header { 
    background: var(--white); 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
}
.logo { 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: -1px;
}
.logo span { color: var(--secondary); }

.menu { display: flex; gap: 25px; }
.menu a { 
    font-weight: 600; 
    color: var(--dark); 
    font-size: 15px; 
    position: relative;
}
.menu a:hover { color: var(--secondary); }

.btn-servis { 
    background: var(--secondary); 
    color: #fff; 
    padding: 12px 25px; 
    border-radius: 5px; 
    font-weight: 700; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 14px;
    white-space: nowrap; /* Yazının alt satıra kaymasını engeller */
}
.btn-servis:hover { background: #e68a00; transform: translateY(-2px); }

/* --- HERO SECTION (Ana Manşet) --- */
.hero { 
    /* İnternet linkini sildik, senin yüklediğin banner.jpg'yi koyduk */
    background: linear-gradient(rgba(0,86,179,0.85), rgba(0,86,179,0.85)), url('img/banner.jpg');
    background-size: cover; 
    background-position: center;
    /* Diğer ayarlar aynı kalacak... */
    height: 600px; 
    display: flex; 
    align-items: center; 
    color: var(--white); 
    text-align: center;
}
.hero-content { max-width: 800px; margin: 0 auto; width: 100%; }
.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    line-height: 1.2; 
    text-transform: uppercase;
}
.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 40px; 
    opacity: 0.9; 
    font-weight: 300;
}
.hero-btns { display: flex; gap: 20px; justify-content: center; }

.btn-primary { 
    background: var(--secondary); 
    color: #fff; 
    padding: 15px 40px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1.1rem; 
    border: 2px solid var(--secondary);
}
.btn-outline { 
    border: 2px solid var(--white); 
    color: #fff; 
    padding: 15px 40px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1.1rem; 
}
.btn-primary:hover { background: #fff; color: var(--secondary); border-color: #fff; }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* --- SECTIONS (Genel) --- */
.section { padding: 80px 0; }
.sec-title { text-align: center; margin-bottom: 50px; }
.sec-title h2 { 
    font-size: 2.5rem; 
    color: var(--primary); 
    margin-bottom: 10px; 
    font-weight: 800;
}
.sec-title p { color: #666; max-width: 600px; margin: 0 auto; }

/* --- HİZMETLER GRID --- */
.serv-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.serv-card { 
    background: var(--white); 
    border: 1px solid #eee; 
    border-radius: 10px; 
    overflow: hidden; 
    transition: 0.3s; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}
.serv-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--secondary); }
.serv-img { height: 220px; background: #eee; overflow: hidden; }
.serv-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.serv-card:hover .serv-img img { transform: scale(1.1); }
.serv-body { padding: 25px; }
.serv-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; display: block; }
.serv-desc { font-size: 0.95rem; color: #666; margin-bottom: 20px; line-height: 1.5; }
.serv-link { color: var(--primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- BÖLGELER --- */
.area-sec { background: #f0f4f8; }
.area-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.area-tag { 
    background: var(--white); 
    padding: 12px 25px; 
    border-radius: 50px; 
    border: 1px solid #ddd; 
    color: var(--dark); 
    font-weight: 600; 
    transition: 0.3s; 
    font-size: 0.9rem;
}
.area-tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* --- FOOTER --- */
footer { background: var(--dark); color: #aaa; padding: 60px 0 20px; border-top: 5px solid var(--secondary); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.foot-box h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; border-left: 3px solid var(--secondary); padding-left: 10px; }
.foot-links a { display: block; margin-bottom: 10px; transition: 0.3s; }
.foot-links a:hover { color: var(--secondary); padding-left: 5px; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 13px; }

/* =========================================
   RESPONSIVE (MOBİL DÜZELTMELER - KRİTİK)
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. TOP BAR (Siyah Bant) DÜZELTME */
    .tb-flex {
        flex-direction: column; /* Alt alta al */
        text-align: center;
        gap: 5px;
    }
    .tb-text {
        font-size: 11px; /* Yazıyı küçült */
        padding: 0 10px;
    }

    /* 2. HEADER (Logo ve Buton) DÜZELTME */
    .nav-flex {
        flex-direction: column; /* Alt alta al */
        padding: 15px 0;
        gap: 15px;
    }
    .logo {
        font-size: 26px; /* Logoyu mobilde ayarla */
        margin-bottom: 5px;
    }
    .menu {
        display: none; /* Mobilde menü linklerini gizle (Kalabalık yapmasın) */
    }
    .btn-servis {
        width: 100%; /* Butonu tam genişlik yap */
        justify-content: center; /* Yazıyı ortala */
        padding: 15px; /* Parmakla basmak kolay olsun */
        font-size: 16px;
    }

    /* 3. HERO (Mavi Alan) DÜZELTME */
    .hero {
        height: auto; /* Sabit yüksekliği kaldır */
        padding: 80px 0; /* İçeriğe göre boşluk ver */
    }
    .hero h1 {
        font-size: 1.8rem; /* O devasa yazıyı küçült */
        line-height: 1.3;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    .hero-btns {
        flex-direction: column; /* Butonları alt alta diz */
        gap: 15px;
        width: 100%;
    }
    .btn-primary, .btn-outline {
        width: 100%; /* Butonları tam genişlik yap */
        display: block;
        padding: 15px 0;
    }

    /* GENEL DÜZENLEMELER */
    .container {
        padding: 0 20px; /* Kenar boşluklarını garantiye al */
    }
    .sec-title h2 {
        font-size: 1.8rem;
    }
    .serv-grid, .area-grid, .foot-grid {
        grid-template-columns: 1fr; /* Mobilde her şey tek sütun olsun */
    }
    .area-tag {
        width: 100%; /* Bölge etiketleri tam satır olsun */
        text-align: center;
    }
}