/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #e0f2f7; /* Soft bluish background */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header Styles */
header {
    background: #2196f3; /* A shade of blue */
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #1976d2 3px solid; /* Darker blue border */
    position: fixed; /* Make header sticky */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it stays on top */
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(33, 150, 243, 0.9); /* Slightly transparent when scrolled */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    padding: 0;
    font-size: 2em;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    padding: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #bbdefb; /* Lighter blue on hover */
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: #42a5f5 url('images/hero-placeholder.png') no-repeat center center/cover; /* Blue tint for hero, local image */
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    min-height: 90vh; /* Adjusted to fit view better, considering header */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px; /* Offset for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    color: #fff;
    background: #1976d2; /* Darker blue for button */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #1565c0; /* Even darker blue on hover */
}

/* Services Section */
.services {
    padding: 40px 0;
    background: #fff;
    text-align: center;
    min-height: 100vh; /* Make it take full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.service-item h3 {
    color: #2196f3; /* Blue for service item headings */
    margin-top: 0;
}

/* About Section */
.about {
    padding: 40px 0;
    background: #c5e1ee; /* Lighter blue for about section */
    text-align: center;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.contact p {
    margin-bottom: 10px;
}

.contact a {
    color: #2196f3; /* Blue for contact links */
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background: #1976d2; /* Darker blue for footer */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive Design */
.menu-toggle {
    display: none; /* Hide hamburger icon by default on desktop */
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row; /* Keep logo and hamburger on one line */
        justify-content: space-between;
        align-items: center;
    }

    header nav ul {
        display: none; /* Hide desktop menu on mobile */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: #2196f3;
        position: absolute;
        top: 70px; /* Below header */
        left: 0;
        padding: 20px 0;
    }

    header nav.active ul {
        display: flex; /* Show mobile menu when active */
    }

    header nav ul li {
        display: block;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
        cursor: pointer;
        font-size: 30px;
        color: #fff;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}
