:root {
    --primary-color: #FF6B00; /* Turuncu - Aciliyet */
    --secondary-color: #111111; /* Koyu Siyah - Zemin */
    --text-color: #333333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --phone-blue: #007bff;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-bottom: 60px; /* Mobil butonlar için boşluk */
}

/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: #e65c00;
}

/* Header */
header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Mobilde menünün aşağı inmesi için */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span { color: var(--white); }

/* Mobile Menu Checkbox Hack */
.menu-btn {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.nav-icon {
    background: var(--white);
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 24px;
}

.nav-icon:before,
.nav-icon:after {
    background: var(--white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.nav-icon:before { top: 7px; }
.nav-icon:after { top: -7px; }

/* Menu Open Animation */
.menu-btn:checked ~ .menu-icon .nav-icon { background: transparent; }
.menu-btn:checked ~ .menu-icon .nav-icon:before { transform: rotate(-45deg); top: 0; }
.menu-btn:checked ~ .menu-icon .nav-icon:after { transform: rotate(45deg); top: 0; }

nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 20px; }

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover { color: var(--primary-color); }

/* Mobile Menu Toggle (Basit CSS Çözümü) */
.menu-toggle { display: none; }

/* Hero Section */
.hero {
    background-color: #222;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg'); /* Resim yoksa gri kalır */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Districts Grid */
.districts {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }

.card h3 { margin-bottom: 15px; color: var(--secondary-color); }

.card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Services */
.services { padding: 60px 0; }
.service-item {
    margin-bottom: 20px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background: #fafafa;
}

/* Contact Info Box (Shared) */
.contact-info-box {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}
.contact-phone {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin: 10px 0;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    margin-bottom: 50px; /* Sticky bar için */
}

/* Sticky Mobile Buttons */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-call { background-color: var(--phone-blue); }
.btn-whatsapp { background-color: var(--whatsapp-green); }

/* Responsive */
@media (max-width: 768px) {
    /* Header düzeni */
    header .container {
        flex-wrap: nowrap; /* Alt satıra inmesini engelle */
    }

    /* Logo düzenlemesi */
    .logo {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Sola dayalı */
        line-height: 1.1;
        font-size: 1.3rem; /* Mobilde biraz küçült */
    }
    
    .logo span {
        display: block;
    }

    .menu-icon {
        display: block; /* Hamburger ikonunu göster */
    }

    nav {
        position: absolute; /* Menüyü akıştan çıkar */
        top: 100%; /* Header'ın hemen altına */
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background-color: var(--secondary-color); /* Arka plan rengi */
        z-index: 999;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        /* background-color kaldırıldı, nav'a verildi */
    }

    nav ul li {
        margin: 15px 0;
    }

    /* Checkbox işaretlendiğinde menüyü aç */
    .menu-btn:checked ~ nav {
        max-height: 400px; /* Menü yüksekliği kadar */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Gölge ekle */
    }
    
    .hero h1 { font-size: 1.8rem; }
    .contact-phone { font-size: 1.5rem; }
}
