/* --- Global Reset & Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c1810;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c1810 100%);
    min-height: 100vh;
    overflow-x: hidden; /* Prevents side-scrolling on mobile */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%; /* Flexible padding for mobile */
}

/* --- Top Banner --- */
.top-banner {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #000;
    text-align: center;
    padding: 10px 5px;
    font-weight: 700;
    font-size: 0.9rem; /* Slightly smaller for mobile first */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- Header & Navigation --- */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d2518 100%);
    color: #d4af37;
    padding: 1.5rem 0;
    border-bottom: 3px solid #d4af37;
}

header .container {
    display: flex;
    flex-direction: column; /* Stacked for mobile */
    align-items: center;
    gap: 20px;
}

header h1 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.8rem; /* Smaller for mobile */
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Wraps items on small screens */
    justify-content: center;
    gap: 10px;
}

nav ul li {
    margin: 5px;
}

nav ul li a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 10px;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 50%, #03045e 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-images {
    display: flex;
    flex-wrap: wrap; /* Stacks on mobile */
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-image {
    width: 100%; /* Full width on mobile */
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #ffffff;
}

/* --- Vehicle Sections --- */
.trucks {
    padding: 60px 0;
    background: #f8f8f8;
}

.trucks h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.vehicle-section {
    background: white;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #d4af37;
    display: flex;
    flex-direction: column; /* Stack vertically for mobile */
}

.vehicle-info {
    padding: 30px;
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
    color: #d4af37;
    text-align: center;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 10px;
    padding: 15px;
}

.image-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

/* --- Testimonials Section (Visibility Fix) --- */
.testimonials {
    padding: 80px 0;
    background: #ffffff; /* Light background to ensure text visibility */
    display: block !important; /* Forces visibility */
    width: 100%;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: #2c1810;
    font-weight: 700;
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #d4af37;
}

.testimonial-grid {
    display: grid;
    /* This allows the cards to be 300px wide, or fill the whole screen on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    width: 100%;
}

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-author strong {
    display: block;
    color: #2c1810;
    font-size: 1.2rem;
}

.testimonial-author span {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.stars {
    color: #d4af37;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* --- Mobile Fix for Testimonials --- */
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr; /* Force one card per row on phones */
    }
    
    .testimonials h2 {
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
}


/* --- Form --- */
form {
    max-width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #d4af37;
}

form input, form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* --- Footer & Contact --- */
.contact {
    padding: 40px 0;
    font-size: 0.9rem;
}

/* --- DESKTOP ADJUSTMENTS (Screens larger than 768px) --- */
@media (min-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    header h1 {
        font-size: 2.5rem;
    }

    nav ul li {
        margin-left: 30px;
    }

    nav ul li a {
        font-size: 1.1rem;
    }

    .hero {
        padding: 120px 0;
    }

    .hero h2 {
        font-size: 4rem;
    }

    .hero-image {
        width: 300px;
    }

    .vehicle-section {
        /* Optional: Change to row for desktop if preferred */
        /* flex-direction: row; */
    }

    .top-banner {
        font-size: 1.2rem;
    }
}

/* --- Button Styles (Hero & General) --- */
.btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #000;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    border: 2px solid #d4af37;
    cursor: pointer;
    font-family: 'Times New Roman', serif;
}

.btn:hover {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* --- WhatsApp Specific Button --- */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    margin-top: 20px;
    border: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* --- Form Submit Button --- */
form button.btn {
    width: 100%; /* Full width for the form submit */
    margin-top: 10px;
    font-size: 1.2rem;
}

/* --- Responsive Button Adjustments --- */
@media (max-width: 768px) {
    .btn {
        padding: 15px 25px;
        font-size: 0.9rem;
        width: 90%; /* Buttons take up most of the screen width on mobile */
        max-width: 400px;
    }
    
    .whatsapp-btn, form button.btn {
        width: 100%;
    }
}
