/* General Body and Typography */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3 {
    color: #0056b3;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background: #0056b3;
    color: #fff;
    padding-top: 10px;
    min-height: 70px;
    border-bottom: #004085 3px solid;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px; /* Adjust as needed */
    width: auto;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav li {
    display: inline;
    padding: 0 15px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header nav a:hover {
    color: #f4f4f4;
    font-weight: bold;
}

/* Hero Section */
#hero {
    min-height: 400px;
    background: #333 url('../images/hero.jpg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-buttons .btn {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-buttons .btn.primary {
    background: #007bff;
}

.cta-buttons .btn.primary:hover {
    background: #0056b3;
}

.cta-buttons .btn.secondary {
    background: #28a745;
}

.cta-buttons .btn.secondary:hover {
    background: #218838;
}

.cta-buttons .btn.tertiary {
    background: #ffc107;
    color: #333;
}

.cta-buttons .btn.tertiary:hover {
    background: #e0a800;
}

/* Sections */
section {
    padding: 40px 0;
}

section#intro-business, section#featured-services, section#service-area-preview, section#contact-preview {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section#intro-business h2, section#featured-services h2, section#service-area-preview h2, section#contact-preview h2 {
    text-align: center;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: #007bff;
    margin-bottom: 10px;
}

/* About Page Specific */
#about-hero, #services-hero, #service-area-hero, #gallery-hero, #contact-hero {
    min-height: 200px;
    background: #0056b3;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-hero h1, #services-hero h1, #service-area-hero h1, #gallery-hero h1, #contact-hero h1 {
    font-size: 2.5em;
}

#company-description, #service-details, #area-details, #image-gallery, #contact-details {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#company-description h2, #company-description h3, #service-details h2, #area-details h2, #image-gallery h2, #contact-details h2 {
    color: #0056b3;
    margin-bottom: 15px;
}

#company-description ol {
    list-style-type: decimal;
    margin-left: 20px;
}

#company-description ol li {
    margin-bottom: 10px;
}

.service-item-full {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.service-item-full:last-child {
    border-bottom: none;
}

#area-details ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

#area-details ul li {
    background: #e9f7ff;
    padding: 10px;
    border-left: 5px solid #007bff;
    margin-bottom: 5px;
}

/* Gallery Page Specific */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid figure {
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
    border-radius: 3px;
}

.gallery-grid figcaption {
    font-size: 0.9em;
    color: #555;
    text-align: center;
}

/* Contact Page Specific */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #eee;
    margin-bottom: 30px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: auto;
    padding: 12px 25px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background: #0056b3;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        margin-top: 10px;
    }

    header nav li {
        display: block;
        margin-bottom: 5px;
    }

    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    #area-details ul {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
