/* General Styles */
html {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Banner Styles */
.banner {
    background: #5f90c0; /* Complementary light blue */
    color: white;
    padding: 1px 10%;
    text-align: center;
    font-size: 0.9rem;
}

/* Header Styles */
header {
    background: #003366; /* Dark navy */
    color: white;
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and text */
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.logo-text p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    font-style: italic;
    color: #d1d1d1; /* Light gray for contrast */
}

/* Navigation Styles */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    gap: 50px; /* Increased gap for better spacing */
}

nav a {
    font-family: 'Playfair Display', serif;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 15px; /* Adds top and bottom padding */
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #ffc107;
    border-bottom: 2px solid #ffc107; /* Gold underline effect */
}

/* Hero Section */
.hero {
    background: url('/static/img/lone_truck.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 15rem 10%;
}

.hero h1 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.2rem;
}

.hero .cta {
    margin-top: 20px;
}

.cta button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta .learn-more {
    background-color: gold;
    color: navy;
}

.cta .learn-more:hover {
    background-color: #ffc107;
}

.cta .quote {
    background-color: white;
    color: navy;
    border: 2px solid navy;
    margin-left: 10px;
}

.cta .quote:hover {
    background-color: #e6e6e6;
}

/* Services Section Styling */
.services {
    text-align: center;
    padding: 50px 10px;
    background-color: #f8f8f8;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Container for service cards */
.services-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* Service Card Styling */
.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 300px;
    height: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

/* What We Stand By Section */
.values {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.values h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Container for value items */
.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Individual value item (card effect) */
.value-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 1rem;
    color: #555;
}

.closing-statement {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 30px;
}


/* General Sections */
section {
    padding: 50px 10%;
}

/* Contact Us Section */
.contact-us {
    background: #f9f9f9;
    padding: 50px 10%;
    text-align: center;
}

.contact-us h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background: #003366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background: #00509e;
}

/* Footer Styles */
footer {
    background: #003366;
    color: white;
    padding: 20px 10%;
    text-align: center;
}

footer a {
    color: gold;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 15px; /* Smaller gap for stacked navigation */
        align-items: center;
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #f9f9f9;
}

.about-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
    padding-left: 30px;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
}
