/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header {
    background: #f1c40f;
    color: #333;
    padding: 0.5em 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.contact-info {
    display: flex;
    gap: 1.5em;
}

.contact-info span {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5em;
}

.social-media {
    display: flex;
    gap: 1em;
}

.social-media a {
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
}

.site-header {
    background: #fff;
    color: #333;
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.2em;
    margin: 0;
    flex: 1;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    color: #5c772e;
}


.site-nav {
    display: flex;
    gap: 2em;
    flex: 2;
    justify-content: center;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2em;
}

.site-nav ul li {
    display: inline;
}

.site-nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.free-quote {
    background: #2980b9;
    padding: 0.7em .5em;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    border-radius: 3px;
    flex: 1;
    text-align: center;

}

.hero {
    background: url('img/banner_01.jpg') no-repeat center center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 600px;
    margin-left: 2em;
}

.hero h2 {
    font-size: 3em;
    margin: 0 0 0.5em;
}

.hero p {
    font-size: 1.2em;
    margin: 0 0 1em;
}

.services {
    background: #fff;
    padding: 2em 0;
    text-align: center;
}

.services h2 {
    font-size: 2em;
    margin: 0 0 1em;
}

.service-items {
    display: flex;
    justify-content: space-around;
}

.service-item {
    width: 30%;
}

.service-item h3 {
    font-size: 1.5em;
    margin: 0 0 0.5em;
}

.service-item p {
    font-size: 1em;
}

.contact {
    background: #f4f4f4;
    padding: 2em 0;
}

.contact h2 {
    font-size: 2em;
    text-align: center;
    margin: 0 0 1em;
}

.form-group {
    margin: 1em 0;
}

.form-group label {
    display: block;
    font-size: 1em;
    margin: 0 0 0.5em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5em;
    font-size: 1em;
}

.form-group textarea {
    height: 100px;
}

.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 90%;
        flex-direction: column;
        align-items: flex-start;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-info, .social-media {
        margin-bottom: 0.5em;
    }

    .site-header {
        flex-direction: column;
        text-align: center;
    }

    .site-nav {
        flex-direction: column;
        gap: 1em;
    }

    .free-quote {
        margin-top: 1em;
        text-align: center;
    }
}
