/* GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #383E42;
    --accent: #FF9800;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

body {
    background: var(--light-bg);
    color: #333;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--primary);
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
}

.logo span {
    color: var(--accent);
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-contact {
    border: 2px solid var(--accent) !important;
    padding: 8px 20px !important;
    border-radius: 5px !important;
    color: var(--accent) !important;
    background: transparent !important;
    font-weight: 700 !important;
}

.nav-contact:hover {
    background: var(--accent) !important;
    color: white !important;
}

/* HERO AREA */
.hero {
    height: 85vh; /* 75vh'den 85'e çıkardık, siyah alan uzadı */
    background: url('/images/kamyon1.jpeg') center/cover no-repeat;
}

.hero-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 650px;
    padding: 0 20px;
    /* İŞTE BURASI: her şeyi 80px yukarı çeker */
    transform: translateY(-80px); 
}

.hero-main-logo {
    width: 280px; /* 350 çok fazlaydı, 280 ideal */
    height: auto;
    margin-bottom: 10px; /* Yazıyla arasındaki boşluğu azalttık */
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 14px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

.hero-phone {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: 0.3s;
    margin-top: 20px;
}

/* MODERN BAŞLIKLAR */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    display: block;
}

.section-title {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: block;
}

.section-header h2 {
    color: var(--primary);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.header-line {
    width: 100px;
    height: 6px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 10px;
}

/* HAKKIMIZDA */
.about {
    padding: 50px 5%;
    background: var(--white);
}

.about-flex {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.stat-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 5px solid var(--accent);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

/* HİZMETLER */
.services {
    padding: 80px 5%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    background: var(--white);
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    height: 450px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-text {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-badge {
    background: #4CAF50;
    color: white;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    width: fit-content;
}

/* GALERİ */
.gallery {
    padding: 100px 5%;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* HARİTA */
.map-wrapper {
    padding: 80px 5%;
    text-align: center;
    background: var(--light-bg);
}

.map-container {
    width: 100%;
    max-width: 1100px;
    height: 400px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.map-address-box {
    margin-top: 20px;
    display: inline-block;
}

.map-address-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.map-address-link i {
    color: var(--accent);
    font-size: 1.4rem;
}

/* FOOTER */
.main-footer {
    background: var(--primary);
    color: white;
    padding: 70px 5% 0px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-box h3 {
    color: var(--accent);
    margin-bottom: 25px;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 12px;
}

/* Hızlı Menü Linkleri İçin Kritik Düzeltme */
.footer-box ul li a {
    color: #ffffff !important; /* Mavi/Mor olan yazıları zorla beyaz yaptık */
    text-decoration: none;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: var(--accent) !important;
}

/* Sosyal Medya İkonları İçin Düzeltme */
.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white !important; /* Logoları beyaz yaptık */
    font-size: 1.5rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--accent) !important;
    transform: translateY(-3px);
}

/* İletişim Bilgileri İkon Renkleri */
.footer-contact i {
    color: var(--accent);
    margin-right: 8px;
}

.footer-info-bar {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
    width: 100%;
}

/* Bilgi çubuğundaki linkler için */
.info-content a {
    color: var(--accent) !important;
    text-decoration: none;
}

/* ANIMASYON */
.reveal {
    position: relative;
    transform: translateY(40px);
    opacity: 0;
    transition: 1s ease-out;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column !important; /* Elemanları alt alta diz */
        align-items: center !important;   /* Hepsini yatayda ortala */
        justify-content: center !important;
        padding: 10px 0 !important;       /* Gereksiz yan boşlukları sil */
        gap: 10px;                         /* Logo ve menü arasına boşluk */
    }

    logo {
        margin: 0 auto !important;
        text-align: center;
        width: 100%;
        font-size: 1.3rem !important;
    }

    /* 3. Menü linklerini ve butonu ortala */
    .menu {
        width: 100%;
        display: flex;
        justify-content: center !important;
        align-items: center;
        flex-wrap: wrap; /* Sığmazsa buton aşağı kaysın */
        gap: 12px;
        margin-left: 0 !important;
    }

    .menu a {
        margin-left: 0 !important;
        font-size: 12px !important;
    }

    /* 4. İletişim butonunu biraz küçültelim ki sırıtmasın */
    .nav-contact {
        padding: 5px 12px !important;
        font-size: 12px !important;
    }

    /* 5. Kamyon üzerindeki logonun (resmin) navbar'a binmesini engelle */
    .hero-main-logo {
        margin-top: 110px !important; /* Navbar mobilde uzadığı için bu boşluk şart */
        width: 140px !important;
    }

    /* Kamyon üzerindeki logonun navbar'a çarpmasını engelleyelim */
    .hero-main-logo {
        margin-top: 125px !important; /* Devasa 75px'i 40px'e çektik */
        width: 150px !important;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .service-card, .service-card.reverse {
        flex-direction: column !important;
    }

    .service-img {
        height: 250px;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.4) !important;
        padding-top: 30px;
    }

    .hero-main-logo {
        width: 130px !important;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 1.6rem !important;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.9rem !important;
        margin-bottom: 15px;
    }

    .whatsapp-btn {
        padding: 10px 22px !important;
        margin-top: 10px !important;
    }

    .hero-phone {
        font-size: 1rem !important;
        margin-top: 15px !important;
    }
}
