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

/* Header and Navigation */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 3px solid #3498db;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo img {
    height: 50px;
}

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

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
#hero {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn:hover {
    background-color: #2980b9;
}

/* Main Content Sections */
main section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

main section h1, main section h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

/* Service Grid (Homepage) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

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

.service-item h3 {
    color: #3498db;
    margin-top: 0;
}

/* About Page Specifics */
#about-us ul {
    list-style: disc inside;
    margin-left: 20px;
}

#about-us ul li {
    margin-bottom: 10px;
}

/* Services Page Specifics */
#services .service-item {
    text-align: left;
    margin-bottom: 20px;
}

#services .service-item h2 {
    text-align: left;
    color: #3498db;
}

/* Gallery Page Specifics */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.image-grid figure {
    margin: 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-grid figcaption {
    padding: 15px;
    font-size: 0.9em;
    color: #555;
}

/* Contact Page Specifics */
#contact .contact-info, #contact .contact-form, #contact .map-container {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

#contact .contact-form input[type="text"],
#contact .contact-form input[type="email"],
#contact .contact-form input[type="tel"],
#contact .contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#contact .contact-form button {
    background-color: #3498db;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#contact .contact-form button:hover {
    background-color: #2980b9;
}

.map-container iframe {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
    }

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

    header nav ul li {
        margin: 0 10px;
    }

    #hero h1 {
        font-size: 2.5em;
    }

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

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