/* ===== Güvenli Nakliyat - Custom Styles ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1a2e1a 0%, #15803d 50%, #1a2e1a 100%);
}

.hero-overlay {
    background: linear-gradient(to right, rgba(26, 46, 26, 0.92) 0%, rgba(21, 128, 61, 0.75) 50%, rgba(26, 46, 26, 0.85) 100%);
}

/* Section fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(21, 128, 61, 0.15);
}

.service-card:hover .service-icon {
    background-color: #15803d;
    color: white;
    transform: scale(1.1);
}

.service-icon {
    transition: all 0.3s ease;
}

/* Stat counter animation */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Testimonial card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.form-input {
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #15803d;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
    outline: none;
}

/* Custom checkbox */
.custom-checkbox {
    accent-color: #15803d;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Price table */
.price-row {
    transition: background-color 0.2s ease;
}

.price-row:hover {
    background-color: #f0fdf4;
}

/* Navbar shadow on scroll */
#mainNav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for CTA */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(21, 128, 61, 0); }
}

.pulse-cta {
    animation: pulse-green 2s infinite;
}

/* Badge glow */
.badge-glow {
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}

/* Truck animation */
@keyframes drive {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(calc(100vw + 100%)); }
}

.truck-animate {
    animation: drive 15s linear infinite;
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav, footer, .fixed {
        display: none !important;
    }
}
