/* Nakliyat Pro - Custom CSS */
/* Font: Poppins */

/* FORCE POPPINS FONT ON EVERYTHING - HIGHEST PRIORITY */
html, body,
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol, td, th, 
label, input, textarea, select, button,
.btn, .form-control, .form-select, .form-label, 
.card, .navbar, .nav-link, .dropdown-menu, 
.breadcrumb, .badge, .alert, .modal, .tooltip,
.popover, .accordion, .carousel, .offcanvas {
    font-family: 'Poppins', sans-serif !important;
}

/* Preserve Font Awesome icons - HIGHEST PRIORITY */
.fas, .far, .fab, .fal, .fad, .fa,
[class^="fa-"], [class*=" fa-"],
.fa, .fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-brands,
i[class^="fa"], i[class*=" fa"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome" !important;
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-color: #ffffff;
    
    --font-family: 'Poppins', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family) !important;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Buttons */
.btn {
    font-family: var(--font-family);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #e0a800);
    border: none;
    color: var(--dark-color);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffcd39, var(--warning-color));
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    transition: var(--transition);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
}

.hero-bg {
    z-index: -1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
}

.hero-features .d-flex {
    margin-bottom: 1rem;
}

.hero-form-container {
    position: sticky;
    top: 2rem;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.service-card {
    height: 100%;
}

.service-icon {
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Forms */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    transition: var(--transition);
    font-family: var(--font-family);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
}

.counter {
    font-size: 3rem;
    font-weight: 800;
}

/* Features */
.feature-item {
    transition: var(--transition);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.feature-item:hover {
    background-color: rgba(13, 110, 253, 0.05);
    transform: translateX(10px);
}

.feature-icon {
    min-width: 60px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.hover-warning:hover {
    color: var(--warning-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Hero Features - Mobilde 2 sütun ve büyük yazı */
    .hero-features .row {
        margin: 0 !important;
    }
    
    .hero-features .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0.25rem !important;
    }
    
    .hero-features .d-flex {
        margin-bottom: 0.5rem !important;
        padding: 0.3rem 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(5px);
    }
    
    .hero-features .me-3 {
        margin-right: 0.75rem !important;
    }
    
    .hero-features i {
        font-size: 1.1rem !important;
        min-width: 24px;
        flex-shrink: 0;
    }
    
    .hero-features span {
        font-size: 0.95rem !important;
        line-height: 1.3;
        font-weight: 500 !important;
    }
    
    /* Hero Features container'ı da sıklaştır */
    .hero-features {
        margin-bottom: 1.5rem !important;
    }
    
    /* Teklif Formu - Daha Küçük */
    .hero-form-container .card {
        padding: 0.75rem !important;
        margin: 0 0.5rem;
    }
    
    .hero-form-container .card-header {
        padding: 0.75rem 1rem !important;
    }
    
    .hero-form-container .card-body {
        padding: 1rem !important;
    }
    
    .hero-form-container .form-control,
    .hero-form-container .form-select {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.6rem !important;
        margin-bottom: 0.5rem !important;
        height: auto !important;
    }
    
    .hero-form-container .form-label {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
        font-weight: 600 !important;
    }
    
    .hero-form-container .btn {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.8rem !important;
    }
    
    .hero-form-container .card-header h4 {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
    }
    
    .hero-form-container .row.g-3 {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
    }
    
    .hero-form-container textarea {
        min-height: 60px !important;
    }
    
    /* Stats Section Mobile */
    .stats-section .counter {
        font-size: 1rem !important;
    }
    
    .stats-section .stat-item i {
        font-size: 1.2rem !important;
    }
    
    /* CTA Section Mobile - Ortalama */
    .cta-section .col-lg-8,
    .cta-section .col-lg-4 {
        text-align: center !important;
    }
    
    .cta-section .d-flex {
        justify-content: center !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color), #146c43);
}

.border-radius {
    border-radius: var(--border-radius);
}

.border-radius-lg {
    border-radius: calc(var(--border-radius) * 2);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Print Styles */
@media print {
    .navbar,
    footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #000000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-color: #ffffff;
        --white-color: #121212;
        --light-color: #1e1e1e;
    }
    
    body {
        background-color: var(--white-color);
        color: var(--dark-color);
    }
    
    .bg-light {
        background-color: var(--light-color) !important;
    }
    
    .card {
        background-color: var(--light-color);
        border: 1px solid #333;
    }
}

/* Contact Page Specific Styles */
.contact-btn {
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Social Media Button Hover Colors */
.btn-primary.social-btn:hover {
    background-color: #3b5998 !important;
    border-color: #3b5998 !important;
}

.btn-danger.social-btn:hover {
    background-color: #e4405f !important;
    border-color: #e4405f !important;
}

.btn-info.social-btn:hover {
    background-color: #1da1f2 !important;
    border-color: #1da1f2 !important;
}
