/* 24Motors Corporate Logistics - Custom Styles */

:root {
    --primary-color: #1a4d5c;
    --secondary-color: #d4a574;
    --accent-color: #2c2c2c;
    --text-dark: #2c2c2c;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

/* Global Styles - Roboto Font */
body {
    font-family: 'Roboto', sans-serif !important;
    color: var(--text-dark);
    padding-top: 76px; /* Account for fixed navbar */
}

/* Apply Roboto to all text elements */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, textarea, select, label, 
li, td, th, .navbar, .nav-link, .dropdown-item,
.card, .card-title, .card-text, .btn, .form-control, .form-label,
.breadcrumb, .breadcrumb-item, .alert, .lead, .display-1, .display-2,
.display-3, .display-4, .display-5, .display-6 {
    font-family: 'Roboto', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    gap: 0.5rem;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Legacy styles - kept for backward compatibility if needed */
.logo-circle {
    width: 50px;
    height: 50px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 165, 116, 0.1);
}

.logo-text {
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.brand-tagline {
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-style: italic;
    text-transform: lowercase;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.btn-cta {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #c49564;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a6d7a 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
}

/* Desktop - More compact hero */
@media (min-width: 992px) {
    .hero-section {
        min-height: 60vh;
        padding: 120px 0 100px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 77, 92, 0.85);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    min-height: auto;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.service-image-wrapper {
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: #f8f9fa;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(26, 77, 92, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    color: var(--primary-color);
}

.service-card .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.service-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Feature Icons */
.feature-icon {
    color: var(--secondary-color);
}

/* Statistics Section */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.stat-item h2 {
    font-size: 3.5rem;
}

/* Testimonials */
.testimonial-card {
    border-radius: 10px;
}

/* Buttons */
.btn-warning {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: none;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #c49564;
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #153d49;
    border-color: #153d49;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-call-btn .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

/* Footer */
.footer {
    background-color: var(--accent-color) !important;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color) !important;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Cards */
.card {
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 77, 92, 0.25);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: var(--secondary-color) !important;
}

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

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.shadow-custom {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.border-radius-custom {
    border-radius: 10px;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

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

/* Carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

