/* ==================== Genel ve Değişkenler ==================== */
:root {
    --bg-color: #1a1a2e;
    --card-bg-color: #2a2a3e;
    --primary-color: #f7c53e;
    --text-color: #ffffff;
    --text-muted-color: #a0a0b4;
    --emergency-color: #e44d4d;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted-color);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}


/* ==================== Header ==================== */
header {
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem; /* Linkler arasına boşluk ekleyelim */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ==================== Hero Bölümü ==================== */
#hero {
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background-color: rgba(42, 42, 62, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==================== Diğer Bölümler ==================== */
#vehicles, #services, #contact {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted-color);
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    background-color: var(--card-bg-color);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-info, .contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-map h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 25px;
    text-align: center;
    margin-top: 4px;
}

.contact-info li strong{
    color: var(--text-color);
}

.emergency-title {
    margin-top: 2rem;
}
.btn-emergency, .btn-reservation {
    display: block;
    text-align: center;
    margin-top: 1rem;
}
.btn-emergency {
    background-color: var(--emergency-color);
    color: white;
}
.btn-emergency:hover {
    background-color: #c53939;
}
.btn-reservation {
    background-color: var(--primary-color);
    color: var(--bg-color);
}
.btn-reservation:hover {
    background-color: #d8a834;
}

.contact-map p {
    color: var(--text-muted-color);
    margin-bottom: 1.5rem;
}
.map-button {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}

/* ==================== Footer ==================== */
footer {
    background-color: #121220;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-about h4, .footer-links h4, .footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.footer-about h4 i {
    margin-right: 8px;
}
.footer-about p, .footer-contact li {
    color: var(--text-muted-color);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: var(--text-muted-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.footer-contact li i {
    width: 20px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--card-bg-color);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted-color);
}


/* =================================================================== */
/* ============= MOBİL UYUM (RESPONSIVE) KODLARI ===================== */
/* =================================================================== */

@media (max-width: 768px) {

    /* === NAVİGASYON MENÜSÜ === */
    header nav.container {
        flex-direction: column; /* Logoyu ve linkleri alt alta getir */
        gap: 1rem; /* Aralarına boşluk koy */
    }

    .logo {
        padding-top: 0.5rem;
    }

    .nav-links {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--card-bg-color); /* Altına ince bir çizgi ekle */
        width: 100%;
        justify-content: center;
    }

    /* === HERO BÖLÜMÜ === */
    #hero {
        /* Header artık daha yüksek olduğu için, hero bölümünü daha aşağıdan başlat */
        padding-top: 200px;
        padding-bottom: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem; /* Başlık yazısını mobilde küçült */
    }

    .hero-features {
        flex-direction: column; /* Özellikleri alt alta diz */
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center; /* Butonu ortala */
    }
    
    .hero-buttons .btn {
        width: 80%; /* Buton genişliğini ayarla */
        text-align: center;
    }

    /* === DİĞER BÖLÜMLER === */
    .section-title {
        font-size: 2rem; /* Bölüm başlıklarını küçült */
    }

    .contact-wrapper {
        flex-direction: column; /* İletişim bölümünü alt alta diz */
    }
    
    .footer-content {
        grid-template-columns: 1fr; /* Footer'ı tek sütun yap */
        text-align: center;
    }

    .footer-about, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}