/* ==========================================================================
   RESET & DEĞİŞKENLER (Variables)
   ========================================================================== */
:root {
    /* Kurumsal Renk Paleti */
    --primary-color: #1b3a2a;
    /* Koyu Yeşil - Tarımı ve Güveni temsil eder */
    --secondary-color: #8c6239;
    /* Toprak Rengi - Tarım sektörü ve doğallık */
    --dark-color: #2a2d34;
    /* Antrasit/Lacivert - Resmiyet ve lojistik gücü */
    --light-color: #f8f9fa;
    /* Açık Arka Plan - Temizlik ve modernlik */
    --text-color: #4a4a4a;
    /* Okunabilir Ana Metin Rengi */
    --white: #ffffff;

    /* Genel Ayarlar */
    --transition: all 0.3s ease;
    --font-main: 'Inter', sans-serif;
    /* Temiz, modern, profesyonel font */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   ÖZEL SCROLLBAR (Kaydırma Çubuğu)
   ========================================================================== */
/* Tüm sayfa için (Webkit Tarayıcıları) */
::-webkit-scrollbar {
    width: 10px;
    /* İnce ve zarif genişlik */
}

/* Scrollbar Arka Planı (Track) */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* Çok açık gri tonu, sırıtmaması için */
}

/* Scrollbar Kaydırıcı (Thumb) */
::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    /* Ağırbaşlı Koyu Yeşil */
    border-radius: 5px;
    /* Hafif yuvarlatılmış köşeler */
}

/* Scrollbar üzerine gelince (Hover) */
::-webkit-scrollbar-thumb:hover {
    background-color: #12281d;
    /* Koyu yeşilin bir ton daha koyusu (interaktif his) */
}

/* CSS Scroll Behavior (Yumuşak kaydırma ve ofset) */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Sabit menü kaydırma ofseti: Başlıkların menü altında kalmasını engeller */
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Sayfa Genişlik Sınırlandırıcı */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   YARDIMCI SINIFLAR (Utilities)
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #7a5431;
    /* Toprak renginin koyu tonu */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-full {
    width: 100%;
}

/* Bölüm Başlıkları Stilleri */
.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.title-underline {
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
    margin-bottom: 30px;
}

/* ==========================================================================
   HEADER & NAVBAR (Üst Menü)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Başlangıçta hafif şeffaf antrasit veya koyu yeşil */
    background-color: rgba(27, 58, 42, 0.95);
    color: var(--white);
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

/* Scroll edildiğinde küçülen ve tamamen matlaşan (sticky) stil */
.header.scrolled {
    padding: 15px 0;
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

/* Logo İkonu Rengi */
.logo i {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

/* Menü Linkleri Hover Efekti (Alt Çizgi Animasyonu) */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Ana Sayfa)
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    /* Yerel görsel kullanımı */
    background-image: url('assets/herosection.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax efekti hissi için */
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Karanlık overlay filtre: Koyu Yeşil ve Antrasit karışımı */
    background: linear-gradient(rgba(42, 45, 52, 0.8), rgba(27, 58, 42, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

/* Animasyon: Yumuşak Yukarı Kayarak Gelme */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1.2s ease forwards;
}

/* ==========================================================================
   HAKKIMIZDA SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
    /* Resmi ve derli toplu görünüm için */
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    /* Fare üzerine gelince yumuşak geçiş animasyonu */
}

/* Hakkımızda Görseli Hover Animasyonu */
.about-image img:hover {
    transform: scale(1.03);
    /* Hafif Büyüme: Öne çıkma hissi */
    filter: drop-shadow(0 4px 8px rgba(27, 58, 42, 0.4));
    /* Zarif Gölge: Kurumsal koyu yeşil tonunda dikey derinlik */
}

/* ==========================================================================
   HİZMETLERİMİZ SECTION
   ========================================================================== */
.section-subtitle {
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    /* 6 kart olduğu için geniş ekranlarda 3 kolon, 2 satır (3x2) tam hizalı düzen */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Modern, hafif gölge */
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    /* Havada süzülme efekti */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
}

/* ==========================================================================
   SİZİ ARAYALIM (İletişim Formu / Callback)
   ========================================================================== */
.callback {
    position: relative;
    /* Lojistik ve Taşımacılık vizyonunu yansıtan placeholder görsel */
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8ed7c8de2e?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.callback-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Görsel üzerine koyu yeşil/antrasit filtre */
    background-color: rgba(27, 58, 42, 0.85);
}

.callback-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.callback-form-wrapper {
    background-color: var(--white);
    padding: 50px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.callback-form-wrapper h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.callback-form-wrapper p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

/* Input Focus Efekti (Kurumsal Yeşil) */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 58, 42, 0.1);
}

/* ==========================================================================
   İLETİŞİM / FOOTER
   ========================================================================== */
.footer {
    background-color: var(--dark-color);
    /* Ağırbaşlı Antrasit/Lacivert */
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--secondary-color);
}

.brand-col p {
    line-height: 1.8;
}

.contact-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.branch-info {
    margin-bottom: 25px !important;
    /* Şubeler ile diğer iletişim bilgileri arasına biraz daha boşluk */
}

.branch-info span {
    color: rgba(255, 255, 255, 0.85);
    /* Hafifçe daha belirgin yap */
}

.contact-info a {
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Harita Container */
.map-container {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer Alt (Telif vb.) */
.footer-bottom {
    background-color: #1a1c20;
    /* Daha koyu ton */
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobil Uyumluluk)
   ========================================================================== */
@media (max-width: 992px) {

    /* Tablet ve küçük ekranlı bilgisayarlar */
    .about-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .map-col {
        grid-column: 1 / -1;
        /* İkinci satırda tam genişlik kaplamasını sağlar */
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    /* Mobil cihazlar */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        /* Dikey boşluğu ayarlama */
    }

    .about-text {
        width: 100%;
        padding-right: 0;
    }

    .about-text p {
        text-align: left;
        /* Mobilde daha iyi okunabilirlik için sola yasla */
        margin-bottom: 15px;
    }

    .about-image {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .about-image img {
        max-width: 90%;
        margin: 0 auto;
    }

    .nav-links {
        display: none;
        /* Mobilde CSS ile gizlenir, JS ile toggle edilir */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    /* JavaScript tarafından eklenecek 'active' sınıfı */
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-icon {
        display: block;
        /* Hamburger ikonunu göster */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}