/* Ana Renk Değişkenleri */
:root {
    --tutkum-red: #E63946;
    --tutkum-dark: #212529;
    --tutkum-white: #ffffff;
    --transition: all 0.3s ease;
}

/* Üst Bar Stilleri */
.top-bar {
    background-color: var(--tutkum-red);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    
}

/* Navbar Ayarları */
.navbar {
    background-color: var(--tutkum-white) !important;
    padding: 15px 0;
}

.brand-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--tutkum-dark);
}

.brand-text span {
    color: var(--tutkum-red);
}

.nav-link {
    color: var(--tutkum-dark) !important;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--tutkum-red) !important;
}

/* Açılır Menü (Dropdown) Stilleri */
.dropdown-menu {
    border: none;
    border-top: 4px solid var(--tutkum-red);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0;
}

.dropdown-item {
    padding: 12px 25px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--tutkum-dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--tutkum-red);
    color: white;
}

/* Mobil Menü Butonu */
.navbar-toggler {
    border: none;
    outline: none;
}

/* Sticky Navbar Gölgesi */
.sticky-top {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Sarı Alanın Arka Planı */
.hero-section {
    /* Arka plan ayarları */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../image/voiture1.jpeg') no-repeat center center;
    
    /* 'contain' yerine 'cover' kullanıp oranı sabitleyeceğiz */
    background-size: cover; 
    background-attachment: scroll;
    
    /* Genişlik ve Oran */
    width: 100%;
    /* 16:9 oranı fotoğrafın kesilmesini büyük oranda engeller */
    aspect-ratio: 16 / 9; 

    /* İçeriklerin ortalanması için Flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Padding'i biraz azaltabiliriz çünkü boyutu aspect-ratio belirleyecek */
    padding: 60px 0; 
}

/* Mobil için özel ayar */
@media (max-width: 768px) {
    .hero-section {
        /* Mobilde fotoğrafın çok ince kalmaması için oranı değiştiriyoruz */
        aspect-ratio: 4 / 3; 
        /* Kamyonun (sağ tarafın) görünmesi için odağı biraz sağa kaydırıyoruz */
        background-position: 75% center; 
        padding: 40px 0;
    }
}


.hero-section h1 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7); /* Başlığın okunurluğunu artırır */
}

/* Hakkımızda Bölümü Özel Stilleri */
.hakkimizda-bolumu {
    background-color: #ffffff;
    padding: 80px 0;
}

.hakkimizda-ust-baslik {
    color: #E63946;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.hakkimizda-ana-baslik {
    font-size: 2.8rem;
    font-weight: 900;
    color: #212529;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hakkimizda-metin p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

/* İletişime Geç Butonu */
.btn-iletisim {
    display: inline-block;
    background-color: #E63946;
    color: white !important;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    border: none;
}

.btn-iletisim:hover {
    background-color: #212529;
    transform: translateY(-3px);
}

/* İletişim alanını çevreleyen küçük arka plan */
.iletisim-ozel-bg {
    background: rgba(0, 0, 0, 0.4); /* Yarı şeffaf siyah */
    backdrop-filter: blur(0.5px);    /* Arkayı hafif bulanıklaştırır (modern durur) */
    padding: 20px 30px;
    border-radius: 15px;           /* Köşeleri yuvarlatır */
    display: inline-block;         /* Sadece içerik kadar yer kaplar */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Çok ince beyaz bir çerçeve */
}

/* İkonun duruşu (Önceki ayarlarınla uyumlu) */
.iletisim-daire {
    width: 80px;
    height: 80px;
    background-color: #E63946;
    color: white;
    border-radius: 50%;
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    transition: 0.3s;
}

.iletisim-daire i {
    transform: rotate(-15deg); /* İstediğin ses dalgalı telefon için en iyi açı */
}

/* Hover Efekti */
.iletisim-ozel-bg:hover {
    background: rgba(0, 0, 0, 0.6); /* Üzerine gelince biraz daha koyulaşır */
    transition: 0.3s;
}

/* Üzerine gelince (Hover) efekti */
.iletisim-tikla-alani:hover .iletisim-daire {
   transform: scale(1.1);
    color: #fff;
  
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.iletisim-tikla-alani h3 {
    letter-spacing: 2px;
    transition: 0.3s;
   
}

.iletisim-tikla-alani:hover h3 {
    color: #E63946 !important;
}

/*yorumlar*/
.testimonial-card {
    border: none;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* Ok butonlarının yerini ayarlama */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
    filter: invert(100%); /* Okları siyah yapmak için */
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}
