/**
 * Demir Transfer - Ana CSS Dosyası
 * Modern, temiz ve kurumsal tasarım
 */

:root {
    --primary-color: #1b3b8b;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 120px 0 80px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.min-vh-50 {
    min-height: 50vh;
}

/* Navigation */
/* Navbar Menü Ortalama */
@media (min-width: 992px) {
    .navbar-collapse {
        flex-grow: 1;
        justify-content: space-between;
    }
    
    .navbar-nav {
        margin: 0 auto;
        flex-grow: 0;
    }
}

.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand img {
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--warning-color) !important;
}

/* Kartlar */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.service-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.route-card {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.blog-card {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Butonlar */
.btn {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-warning {
    background-color: var(--warning-color);
    color: #000;
}

.btn-warning:hover {
    background-color: #ffb300;
    color: #000;
}

/* İkonlar */
.bi {
    margin-right: 5px;
}

.display-3, .display-4 {
    font-weight: 700;
}

/* İçerik */
.content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.75rem;
}

.content h3 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.content ul, .content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.75rem;
}

.content p {
    margin-bottom: 1.25rem;
}

/* Feature Boxes */
.feature-box {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.feature-box:hover {
    transform: translateY(-5px);
    background-color: #f8f9fa;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: var(--dark-color) !important;
}

footer a {
    transition: color 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--warning-color) !important;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Accordion (FAQ) */
.accordion-button {
    font-weight: 600;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Bölüm Aralıkları */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .display-3, .display-4 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Print Stilleri */
@media print {
    .navbar, footer, .btn {
        display: none;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .feature-box {
    animation: fadeIn 0.6s ease;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d47a1;
}

/* Form Stilleri */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(27, 59, 139, 0.25);
}

/* Link Stilleri */
a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gradient-start);
}

/* Text Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}
