/* Imagens sempre adaptáveis */
img {
    max-width: 100%;
    height: auto;
    display: block;
}/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #cbd6ab;
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.logo-container img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.contact-button {
    background-color: #4a7c59;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 20px;
}

/* Hero Section */
#hero {
    background: url("imagens/hero-background.jpg") no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-button {
    background-color: #2c5530;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
}

/* Sections */
section {
    padding: 50px 20px;
    background-color: white;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #2c5530;
}

/* About Section */
#about .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

#about .about-text {
    flex: 2;
}

#about .about-text p {
    margin-bottom: 15px;
}

#about .about-image {
    flex: 1;
}

#about .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-button {
    background-color: #4a7c59;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Services Section */
#services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#services .service-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

#services .service-item h3 {
    color: #2c5530;
    margin-bottom: 10px;
}

/* Portfolio Section */
#portfolio .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#portfolio .portfolio-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

#portfolio .portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

#portfolio .portfolio-item h3 {
    color: #2c5530;
    margin-bottom: 5px;
}

/* Testimonials Section */
#testimonials .testimonial-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

#testimonials .testimonial-item p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonials-button {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    background-color: #4a7c59;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* Contact Section */
#contact .contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#contact .contact-content p {
    margin-bottom: 15px;
}

.contact-button {
    background-color: #2c5530;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
}

/* Footer */
footer {
    background-color: #cbd6ab;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsividade */
@media (max-width: 480x) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        padding: 0;
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }

    .logo-container {
        padding-left: 0;
        width: 100%;
        justify-content: center;
    }

    .contact-button {
        margin: 10px auto;
    }

    #about .about-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 2em;
    }

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


