/* ========================================
   GÜVENLI NAKLİYE - ANA STIL DOSYASI
   ======================================== */

/* Genel Ayarlar */
:root {
    --primary-color: #0d6efd;
    --success-color: #25D366;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px; /* Navbar yüksekliği */
}

/* Navbar */
.navbar-brand {
    font-size: 1.4rem;
}

.navbar-brand i {
    color: #ffc107;
}

/* Slider */
.carousel {
    /* Resmin etrafındaki object-fit: contain yüzünden oluşan boşlukları dolduran arka plan rengini kaldırıyoruz */
    background-color: transparent; 
}

.slider-img {
    width: 100%;
    /* Sabit yüksekliği korur, böylece sayfa geçişlerde kaymaz */
    height: 600px; 
    /* Resmin hiçbir parçasının kesilmemesini sağlar */
    object-fit: contain; 
    object-position: center center;
    filter: brightness(0.85);
}

@media (max-width: 768px) {
    .slider-img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .slider-img {
        height: 300px;
    }
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.carousel-caption h1 {
    font-size: 2.5rem;
}

.carousel-caption p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1.2rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
        display: none;
    }
}

/* Güven Rozetleri */
.trust-badge {
    padding: 20px;
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

/* Sayfa Başlığı */
.page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    padding-top: 80px !important;
}

/* İstatistik Kutuları */
.stat-box {
    padding: 20px;
}

.stat-mini {
    padding: 15px;
}

/* Hizmet Satırları */
.service-row {
    padding: 30px 0;
}

.service-icon {
    display: inline-block;
}

/* Araç Kartları */
.vehicle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.vehicle-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.vehicle-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-plate {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #000;
    font-weight: bold;
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.driver-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-type-box {
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.vehicle-type-box:hover {
    transform: scale(1.05);
}

/* Ekip Kartları */
.team-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    
    /* YÜKSEKLİĞİ İÇERİĞE GÖRE OTOMATİK AYARLAR */
    display: flex; 
    flex-direction: column; 
    /* Metin kısımlarını (card-body) dikeyde hizalamak için */
    justify-content: space-between; 
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    /* Resmin tamamını kesmeden göstermek için */
    height: auto; 
    object-fit: contain; 
    width: 100%; /* Kart genişliğini kaplamasını sağlar */
    
    /* Resmin yatayda ortalanması */
    margin: 0 auto; 
    display: block;
}

/* İletişim Kartları */
.contact-card {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.call-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

.contact-card-link {
    text-decoration: none;
}

/* Harita Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* Floating Butonlar (WhatsApp ve Ara) */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-float {
    width: auto;
    min-width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    padding: 0 20px;
    gap: 10px;
}

.btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.btn-float .btn-text {
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 576px) {
    .btn-float {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
        padding: 0;
        border-radius: 50%;
    }
    
    .btn-float .btn-text {
        display: none;
    }
}

.whatsapp-btn {
    background: #25D366;
    border-color: #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* İl Badge'leri */
.province-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.province-tags .badge {
    font-size: 0.8rem;
    padding: 5px 10px;
}

/* Feature Box */
.feature-box {
    padding: 20px;
}

/* Accordion Özelleştirme */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Breadcrumb */
.breadcrumb-item a {
    text-decoration: none;
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .page-header {
        padding-top: 70px !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Animasyonlar */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp-btn {
    animation: pulse 2s infinite;
}

/* Scroll için smooth davranış */
html {
    scroll-behavior: smooth;
}

/* Yükleniyor durumu */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Kart gölgeleri */
.card {
    border: none;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Form elemanları */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Alert özelleştirme */
.alert {
    border-radius: 10px;
}

/* Liste stil */
.list-unstyled li {
    padding: 5px 0;
}

/* Görsel placeholder (resim yoksa) */
img[src=""] {
    background: linear-gradient(45deg, #e0e0e0 25%, #f5f5f5 25%, #f5f5f5 50%, #e0e0e0 50%, #e0e0e0 75%, #f5f5f5 75%);
    background-size: 20px 20px;
    min-height: 200px;
}

/* Print için */
@media print {
    .floating-buttons,
    .navbar,
    footer {
        display: none !important;
    }
}