/* General Body Styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: 18px;
    background-color: #0D1B2A; /* Dark blue background */
    color: #FFFFFF;
}

/* Global Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Header Section */
header {
    background: rgba(16, 42, 67, 0.9); /* Dark blue with slight transparency */
    color: #FFFFFF;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #00A8E8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #FFFFFF;
    font-size: 1rem;
    text-decoration: none;
    padding: 12px 20px;
    border: 2px solid #00A8E8;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background-color: rgba(0, 168, 232, 0.1);
}

nav ul li a:hover {
    background-color: #00A8E8;
    color: #102A43;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('hand-car-wash-near-me.jpg') no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 10, 20, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    color: #00A8E8;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero .cta-button {
    display: inline-block;
    background-color: #00A8E8;
    color: #102A43;
    padding: 15px 35px;
    font-size: 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero .cta-button:hover {
    background-color: #005f8b;
    color: white;
}

/* Services Section */
#services {
    padding: 60px 20px;
    background-color: #102A43;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: #0D1B2A;
    border: 1px solid #00A8E8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0, 168, 232, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover {
    background-color: #00A8E8;
    color: #102A43;
}

/* Contact Section */
#contact {
    background-color: #00A8E8;
    padding: 80px 20px;
}

#contact h2 {
    font-size: 3rem;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 40px;
    font-weight: 700;
}

form {
    max-width: 850px;
    margin: 0 auto;
    background-color: #00A8E8;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

form .form-group {
    margin-bottom: 25px;
}

form label {
    font-size: 1.2rem;
    color: #FFFFFF;
}

form input,
form textarea {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    background-color: #005f8b;
    margin-top: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #FFFFFF;
    outline: none;
}

form button {
    background-color: #005f8b;
    color: #FFFFFF;
    padding: 18px 35px;
    font-size: 1.3rem;
    border: 2px solid #FFFFFF;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #003f5c;
}

/* Footer Section */
footer {
    background-color: #0D1B2A;
    color: #FFFFFF;
    padding: 20px 0;
    text-align: center;
}

/* Background image for Home and About Us pages */
.home-page, .about-page {
    background-image: url('hand-car-wash-near-me.jpg'); /* Make sure this path is correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Overlay for better readability */
.home-page::before, .about-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
