/* Global Styles */
:root {
    --primary-color: #1E4388;
    --primary-dark: #152d5e;
    --white: #ffffff;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 76px;
}

/* Navigation styles */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark) !important;
}

/* Hero Section */
#heroCarousel {
    margin-top: -76px;
}

.carousel-item {
    height: calc(100vh - 76px);
    min-height: 500px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.carousel-caption .btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.carousel-caption .btn:hover {
    background-color: var(--primary-dark);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--white);
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}

/* Responsive styles */
@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        max-width: 90%;
        padding: 1.5rem;
        bottom: 50%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-caption .btn {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Service Cards */
.service-card, .truck-card, .contact-card, .benefit-card, .value-card, .team-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
    background: white;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover, .truck-card:hover, .contact-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Features Section */
.feature-box {
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Contact Form */
.form-control {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Truck Types */
.truck-card img {
    border-radius: 10px;
    margin-bottom: 20px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.specs-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.specs-list li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Truck Types Page */
.featured-truck {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.truck-specs {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.truck-specs li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.truck-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.truck-info {
    padding: 20px;
}

.truck-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.truck-info p {
    color: #666;
    margin-bottom: 0;
}

.truck-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Fleet Showcase Styles */
.fleet-showcase {
    background-color: #f8f9fa;
}

.fleet-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.fleet-info {
    padding: 20px;
}

.fleet-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.fleet-info p {
    color: #666;
    margin-bottom: 0;
}

.fleet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* About Page */
.mission-card, .vision-card {
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonial-carousel .owl-item {
    padding: 20px;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color) !important;
    color: white !important;
    padding: 10px 15px !important;
    border-radius: 50% !important;
    font-size: 24px !important;
}

.owl-nav button.owl-prev {
    left: -50px;
}

.owl-nav button.owl-next {
    right: -50px;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dots button.owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background: #ccc !important;
}

.owl-dots button.owl-dot.active {
    background: var(--primary-color) !important;
}

/* Upload Section Styles */
.upload-area {
    background-color: var(--light-color);
    border-radius: 10px;
    border: 2px dashed #ccc;
}

.dropzone {
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropzone.highlight {
    background-color: #e9ecef;
    border-color: var(--primary-color);
}

.dropzone i {
    color: var(--primary-color);
}

.preview-wrapper {
    margin-bottom: 15px;
}

.preview-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

#uploadButton {
    min-width: 200px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #004494;
}

/* Footer */
footer {
    background-color: #343a40;
}

footer h4 {
    color: white;
    margin-bottom: 20px;
}

footer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}
