/* Temel Ayarlar ve Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* Navigasyon (Üst Menü) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a252f;
    padding: 15px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px; /* Logonu kendi boyutuna göre burdan ayarlayabilirsin */
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero (Geniş Görsel) Bölümü */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: #000;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Hizmetler Kartları ve Animasyonları */
.services {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.section-title {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1a252f;
    margin-bottom: 10px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    width: 45%;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid #3498db;
}

.card-content {
    padding: 25px;
    text-align: left;
}

.card-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-content p {
    color: #666;
    line-height: 1.6;
}

/* JavaScript Scroll Kart Animasyonu İçin Sınıflar */
.hidden-card {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.delay-card {
    transition-delay: 0.2s; /* İkinci kartın biraz daha geç gelmesi için */
}
.show-card {
    opacity: 1;
    transform: translateY(0);
}

/* Neden Emirhan Nakliyat? Bölümü */
.why-us {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: #ff6b35; /* Turuncu çizgi */
    margin: 10px auto 30px auto;
}

.why-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background-color: #f8f9fc;
    width: 22%;
    min-width: 250px;
    padding: 40px 20px;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.why-card .icon-box {
    width: 60px;
    height: 60px;
    background-color: #fdece8;
    color: #ff6b35;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
    transition: all 0.4s ease;
}

.why-card h3 {
    color: #1a252f;
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.why-card p {
    color: #7a8b9a;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.4s ease;
}

/* Neden Biz Hover Efekti (Fare ile üzerine gelince renk değişimi) */
.why-card:hover {
    background-color: #1a252f;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(26, 37, 47, 0.2);
}

.why-card:hover h3, 
.why-card:hover p {
    color: #ffffff;
}

.why-card:hover .icon-box {
    background-color: #ffffff;
    color: #1a252f;
}

/* Müşteri Yorumları Kayan Kısım (Marquee) */
.testimonials {
    background-color: #ecf0f1;
    padding: 60px 0; /* Container full width için yan boşlukları sıfırladık */
    text-align: center;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 20px 0;
    /* 35 saniyede baştan sona yavaşça akar, infinite ile sonsuza dek sürer */
    animation: scroll-left 35s linear infinite; 
}

/* Üzerine gelince kaymanın durması (Opsiyonel) */
.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        /* İçerik iki katına çıkarıldığı için tam ortasında başa döner */
        transform: translateX(-50%);
    }
}

.review-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 320px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.review-box p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.review-box h4 {
    color: #2c3e50;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 40px 20px 15px 20px;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-content p {
    color: #bdc3c7;
    margin-bottom: 30px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 15px;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* WhatsApp Sabit Butonu */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 24px;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    .card, .why-card {
        width: 90%;
    }
    .hero-text h2 {
        font-size: 2rem;
    }
    .whatsapp-btn span {
        display: none;
    }
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }
}

/* =========================================
   ASANSÖRLÜ NAKLİYAT BLOG BÖLÜMÜ CSS KODLARI
========================================= */

.blog-section {
    padding: 80px 20px;
    background-color: #f8f9fa; /* Hafif gri, göz yormayan arkaplan */
    max-width: 1200px;
    margin: 0 auto;
}

.blog-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    /* JS Animasyonu için hazırlık */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Scroll yapıldıkça görünür olacak sınıf */
.blog-row.show-card {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Blok için görseli sola, yazıyı sağa alır */
.blog-row.reverse {
    flex-direction: row-reverse;
}

.blog-text {
    flex: 1;
}

.blog-text h3 {
    color: #1a252f;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Başlığın altındaki şık turuncu çizgi */
.blog-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #ff6b35;
}

.blog-text p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

/* Resmin üstüne fare gelince hafif yakınlaşma efekti */
.blog-image:hover img {
    transform: scale(1.05);
}

/* Mobil Cihazlar İçin Uyumluluk */
@media (max-width: 768px) {
    .blog-row, .blog-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .blog-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .blog-image {
        width: 100%;
    }
}

/* =========================================
   HAKKIMIZDA SAYFASI CSS KODLARI
========================================= */

.about-us-section {
    padding: 60px 20px 100px 20px;
    background-color: #f8f9fa;
    min-height: 70vh; /* Sayfa çok kısa kalmasın diye minimum yükseklik verildi */
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    font-size: 2.2rem;
    color: #1a252f;
    margin-bottom: 10px;
}

.about-header .title-line {
    width: 60px;
    height: 3px;
    background-color: #ff6b35;
    margin: 0 auto;
}

.about-content {
    max-width: 900px; /* İçeriğin çok yayılmaması ve okunabilir olması için genişlik sınırı */
    margin: 0 auto;
}

.about-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.about-text {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center; /* Yazıları ortalar */
}

.about-text h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.about-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify; /* Yazıların sağdan ve soldan hizalı olmasını sağlar */
}

/* Sadece şehir içi yapıldığını vurgulayan yazının rengi */
.about-text strong {
    color: #ff6b35; 
    font-weight: 700;
}

/* Mobil cihazlar için uyumluluk ayarı */
@media (max-width: 768px) {
    .about-text {
        padding: 25px;
    }
    .about-text p {
        text-align: center; /* Mobilde justify okumayı zorlaştırabilir, o yüzden ortaladık */
    }
}