/* ==========================================================================
   1. GENEL AYARLAR & DEĞİŞKENLER
   ========================================================================== */
:root {
    --primary: #f1c40f;    /* Taksi Sarısı */
    --black: #1a1a1a;      /* Koyu Siyah */
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 70px; /* Alttaki sabit butonun içeriği kapatmaması için */
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* ==========================================================================
   2. HEADER & NAVİGASYON
   ========================================================================== */
header {
    background-color: var(--black);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* ==========================================================================
   3. HERO (GİRİŞ) ALANI
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1494783367193-14bc0062a4e8?q=80&w=1920') no-repeat center center/cover;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   4. BUTONLAR
   ========================================================================== */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--black);
    text-decoration: none;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
}

/* Sabit Alt Arama Çubuğu (Mobil Odaklı) */
.fixed-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 12px 20px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2ecc71; /* Arama butonu yeşil olursa dönüşüm artar */
    color: var(--white);
    text-decoration: none;
    padding: 14px;
    font-weight: 800;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.btn-main:hover,
.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-main,
.btn-call {
    transition: all 0.3s ease;
}

/* ==========================================================================
   5. HİZMETLER (KARTLAR YAPISI)
   ========================================================================== */
.services, .about, .contact {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
    color: var(--black);
}

/* ==========================================================================
   6. HAKKIMIZDA & İLETİŞİM
   ========================================================================== */
.about {
    background-color: var(--gray-light);
    max-width: 100%;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.contact {
    text-align: center;
}

.contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1.1rem;
}

.contact a {
    color: var(--black);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 30px 20px 100px 20px; /* Alt bar için ekstra padding */
    font-size: 0.9rem;
}

/* ==========================================================================
   8. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================================================== */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services, .about, .contact {
        padding: 50px 20px;
    }
}