/* General styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Strip styling */
.contact-strip {
    background-color: red;
    padding: 10px 20px;
    color: white;
    text-align: center;
}

.contact-strip ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-strip ul li {
    display: flex;
    align-items: center;
}

.contact-strip ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-strip ul li i {
    font-size: 1rem;
    margin-right: 8px;
}

.contact-strip ul li span {
    font-size: 1rem;
}

.contact-strip ul li a:hover {
    color: #333;
}

/* Responsive - hide span text on smaller screens */
@media screen and (max-width: 768px) {
    .contact-strip ul li span {
        display: none;
    }
    
    .contact-strip ul li i {
        font-size: 1rem;
        margin-right: 0; /* Remove the gap between icon and text when span is hidden */
    }
}

/* General styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
}

.logo img {
    width: 150px; /* Adjust logo size */
}

/* General link styles */
.menu-icon {
    display: none; /* Hidden on larger screens */
    font-size: 2rem;
    cursor: pointer;
}

nav ul li a {
    color: red;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #333;
}

/* Desktop menu styles */
ul.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

ul.nav-links li {
    margin-left: 20px;
}

/* Mobile view - menu icon and hidden menu */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Show the hamburger icon */
        font-size: 2rem;
        color: red;
        cursor: pointer;
    }

    /* Hide the menu initially */
    ul.nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: fixed; /* Use fixed positioning */
        top: 60px; /* Adjust based on your header height */
        left: 0;
        z-index: 100;
        padding: 10px;
        max-height: calc(100vh - 60px); /* Set the maximum height */
        overflow-y: auto; /* Allow scrolling if the menu is too long */
        transition: transform 0.5s ease, opacity 0.5s ease;
        transform: translateY(-100%);
        opacity: 0; /* Initially hidden */
    }

    /* Show the menu with animation */
    ul.nav-links.show {
        transform: translateY(0); /* Slide down */
        opacity: 1; /* Fade in */
    }

    ul.nav-links li {
        margin: 10px 0;
    }

    ul.nav-links li a:hover {
        color: red;
    }
}

/* Showcase section */
#showcase-container {
    position: relative;
    min-height: 100vh;
    background-image: url('images/showcase-truck.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns content to the left */
    justify-content: center;
    color: #fff;
    text-align: center; /* Ensures text is aligned to the left */
    padding: 0 20px; /* Optional: Adjusts padding inside the section */
    box-sizing: border-box;
    z-index: 1;
}

#showcase-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Black overlay with 75% opacity */
    z-index: -1;
}

.showcase {
    max-width: 1000px; /* Limit the width of the entire showcase content */
    margin: 0 auto;
}

.showcase h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.showcase p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.showcase button {
    padding: 15px 25px;
    margin: 0 10px;
    border: none;
    background-color: orange;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.showcase button:hover {
    background-color: white;
    color: red;
}

@media (max-width: 768px) {
    .showcase {
        text-align: left;
    }
}

/* Overview section */
.overview-container {
    padding: 50px 20px;
    background-color: #f9f9f9; /* Light background */
    color: #333; /* Darker text for readability */
    text-align: left; /* Center-align text */
}

.about-brief {
    margin: 0 auto; /* Center the container */
    max-width: 1100px; /* Set a max-width to prevent it from stretching too much on large screens */
    padding: 20px;
    background-color: transparent; /* Remove background to make it more open */
}

.about-brief h2 {
    color: red; /* Orange heading */
    font-size: 2rem; /* Larger heading */
    margin-bottom: 30px; /* Spacing below the heading */
    text-align: center;
}

.about-brief p {
    font-size: 1.2rem; /* Slightly larger font */
    line-height: 1.7; /* Improve readability */
    margin-bottom: 30px; /* Add consistent space between paragraphs */
}

.about-brief ul {
    list-style-type: disc; /* Default bullet points */
    margin: 0 auto; /* Center the list */
    padding-left: 40px; /* Indent bullet points */
    text-align: left; /* Align bullets to the left */
}

.about-brief li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .overview-container {
        padding: 30px 10px; /* Adjust padding on smaller screens */
        text-align: left;
    }

    .about-brief p {
        font-size: 1.1rem; /* Reduce text size for smaller screens */
    }
}

/* Products section with background image */
#products {
    position: relative;
    background-image: url('images/products-showcase.jpg'); /* Replace with the correct image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    color: white;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* 75% overlay */
    z-index: 1; /* Ensure overlay is behind the content */
}

.products {
    position: relative;
    z-index: 2; /* Content stays on top of the overlay */
    text-align: center; /* Center align all text */
}

.products h3 {
    font-size: 1.5rem;
    margin-bottom: 10px; /* Add margin below heading */
}

.products-container {
    display: flex;
    flex-direction: column; /* Stack the p and ul vertically */
    align-items: center; /* Center align both */
}

.products p {
    margin: 0; /* Remove default margin */
    font-size: 1.2rem; /* Adjust font size if needed */
}

.products ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
    display: flex; /* Use flexbox for vertical alignment */
    flex-direction: column; /* Stack list items vertically */
    align-items: flex-start; /* Align items to the left */
}

.products li {
    display: flex;
    align-items: center; /* Align star icon with text */
    font-size: 1rem;
    margin: 5px 0; /* Space between list items vertically */
}

.products li i {
    color: orange; /* Star color */
    margin-right: 5px; /* Space between icon and text */
}

/* Quick form inline styling */
.quick-form {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    position: relative; /* Ensure the form stays above the overlay */
    z-index: 3; /* Higher than the overlay (z-index: 1) */
}

.form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.form-inline input {
    padding: 10px;
    border: none;
    border-bottom: 2px solid white; /* Lines instead of input boxes */
    background-color: transparent;
    color: white;
    width: 200px;
}

.form-inline input::placeholder {
    color: white;
}

.form-inline button {
    padding: 10px 20px;
    background-color: orange;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.form-inline button:hover {
    background-color: red;
}

/* Responsive - vertical alignment for smaller screens */
@media screen and (max-width: 768px) {
    .form-inline {
        flex-direction: column; /* Stack the inputs vertically */
        gap: 15px; /* Space between stacked inputs */
    }

    .form-inline input,
    .form-inline button {
        width: 100%; /* Make inputs and button take full width */
    }
}

/* Footer container */
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: red;
    color: white;
}

.footer-container > div {
    flex: 1 1 200px;
    margin-bottom: 15px;
}

.footer-logo img {
    max-width: 150px;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    margin-bottom: 10px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

/* Social media icons */
.footer-social a {
    color: white;
    margin-right: 15px;
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-social a:hover {
    color: #333; /* Change color on hover */
}

.footer-contact p {
    margin: 8px 0;
}

.footer-contact i {
    margin-right: 8px;
}

/* Footer bottom text */
.footer-bottom {
    background-color: red; /* Slightly darker color for the bottom strip */
    text-align: center;
    padding: 2px 0;
    color: white;
}

/* Responsive layout */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: left;
    }

    .footer-social,
    .footer-links,
    .footer-contact {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .footer-social a {
        font-size: 1.2rem;
    }

    .footer-logo img {
        max-width: 120px;
    }
}

/* contact-us.html styles */
#hero {
    position: relative;
    background-image: url('images/parked-trucks.jpg'); /* Replace with the correct image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 300px; /* Ensure the hero has a minimum height */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* 75% overlay */
    z-index: 1; /* Ensure overlay is behind the content */
}

.hero {
    position: relative;
    z-index: 2; /* Keeps content above the veil */
    max-width: 1000px; /* Max width for larger screens */
    width: 100%; /* Full width */
    margin: 0 auto; /* Center the hero container */
    display: flex; /* Flexbox for centering content */
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Ensure text inside is centered */
    padding: 20px;
}

.hero h1 {
    font-size: 2rem; /* Adjust font size for visibility */
    text-align: center;
    margin-bottom: 15px;
}

.hero p {
    margin: 0; /* Remove default margin */
    width: 100%; /* Take full width of container */
    padding: 10px 0;
    text-align: center; /* Ensure the text is centered */
    max-width: 80%; /* Limit paragraph width for readability */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 15px;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 1.5rem; /* Adjust font size for smaller screens */
    }

    .hero p {
        font-size: 1rem; /* Adjust font size for smaller screens */
        padding: 10px 5px;
        max-width: 100%; /* Ensure it doesn't overflow */
        text-align: left;
    }
}

/* Contact section */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Allows for responsive stacking */
    justify-content: space-between;
    align-items: flex-start;
    background-color: #f4f4f4; /* Light background */
    padding: 50px 20px;
    color: #333;
}

.contact-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-basis: 40%; /* For larger screens */
}

.contact-container ul li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-container ul li i {
    margin-right: 10px;
    color: orange; /* Adjust the icon color (Orange to match the theme) */
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    flex-basis: 55%; /* Adjusting the width */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    padding: 15px 20px;
    background-color: orange; /* Matching the theme color */
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: red; /* Darker hover color */
}

/* Responsive behavior */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-container ul,
    .contact-form {
        flex-basis: 100%; /* Full width on smaller screens */
        max-width: 500px; /* Optional max-width to prevent very wide forms */
        margin-bottom: 20px;
    }

    .contact-container ul li {
        justify-content: left;
    }
}

/* services.html styling */
/* Services Section */
.services-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; /* Allows wrapping for responsiveness */
    padding: 50px 20px;
    background-color: #f4f4f4; /* Light background */
    color: #333;
}

.services-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: orange; /* Orange theme color */
    text-align: left; /* Align heading to the left */
}

/* Core and Truck services division */
.core-services, .truck-services {
    flex-basis: 48%; /* Take up nearly half the width on larger screens */
    margin-bottom: 30px;
    margin-left: 10px;
}

.core-services ul, .truck-services ul {
    list-style: none;
    padding: 0;
    margin: 0; /* Remove margin for better alignment */
}

.core-services li, .truck-services li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 0; /* Remove additional padding */
    display: flex;
    align-items: center; /* Align icon and text vertically */
}

/* Styling for star icons */
.core-services li i, .truck-services li i {
    color: orange; /* Orange color for the stars */
    margin-right: 10px;
    font-size: 1.3rem;
    animation: pop-in 2s ease-in-out infinite; /* Apply the animation */
}

/* Star "pop" animation */
@keyframes pop-in {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2); /* Slightly larger */
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive behavior */
@media (max-width: 768px) {
    .core-services, .truck-services {
        flex-basis: 100%; /* Full width on smaller screens */
    }

    .services-container {
        padding: 30px 10px;
    }
}

/* about.html styling */
/* About Section */
.about-container {
    padding: 50px 20px;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Paragraph at the top */
.about-container p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    text-align: left;
}

/* Grid Layout for Vision, Mission, and Values */
.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px;
}

.grid-section > div {
    /* background-color: #fff; */
    padding: 20px;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
    border-radius: 10px;
}

/* Heading style */
.grid-section h2 {
    color: orange;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Our Values list */
.values ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    transition: transform 0.3s ease-in-out;
}

.values li:hover {
    transform: scale(1.1); /* Pop effect on hover */
}

.values li i {
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: orange;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-section {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .grid-section {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

ul.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

ul.nav-links li {
    margin-left: 20px;
}

ul.nav-links li a {
    color: red;
    text-decoration: none;
    font-size: 1.2rem;
}