/* Global Styles */
* {
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f4;
    padding-top: 80px; /* Compensação da altura do menu fixo */
    overflow-x: hidden;
}


h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Navbar geral */
header {
    background-color: #333;
    color: white;
    position: fixed; /* Fixa o menu no topo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Garante que o menu fique acima de todos os elementos */
    padding: 1rem 0;
    transition: background-color 0.3s ease;
}

nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.nav-links li a:hover {
    text-decoration: underline;
}

.logo img {
    height: 80px;
}

/* Ícone de menu para dispositivos móveis */
.menu-toggle {
    display: none; /* Escondido em telas maiores */
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Responsividade para o menu hamburguer */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: auto;
        overflow: hidden;
        background-color: #333;
        flex-direction: column;
        align-items: center;
        transition: height 0.3s ease;
        max-height: 0; /* Começa fechado */
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links.open {
        max-height: 500px; /* Abre o menu hamburguer */
    }

    .menu-toggle {
        display: block; /* Mostra o ícone do menu hamburguer */
    }

    .nav-links li a {
        font-size: 1.5rem; /* Tamanho maior para leitura em telas menores */
    }
}

/* Home Section */
.home {
    height: 50vh;
    background: url('/images/cleansurface.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    text-align: center;
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Transparência escura sobre a imagem */
}

.home .content {
    position: relative;
    z-index: 1;
}

.home h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.home p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.buttons .btn {
    background-color: #848080;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    display: inline-block;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.buttons .btn:hover,
.buttons .btn:active {
    background-color: transparent;
    color: #848080;
    border: 2px solid #848080;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .buttons .btn {
        width: 100%;
    }
}

/* About Section */
.about {
    position: relative;
    padding: 4rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/produtos.jpg') no-repeat center center/cover;
    opacity: 0.6;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: left;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.operating-hours {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.operating-hours h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.operating-hours ul {
    list-style: none;
    padding: 0;
}

.operating-hours li {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.operating-hours li strong {
    color: #333;
}

@media (max-width: 768px) {
    .about {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-content {
        max-width: 100%;
    }

    .operating-hours h3 {
        font-size: 1.5rem;
    }

    .operating-hours li {
        font-size: 1rem;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas para tela grande */
    gap: 20px;
    padding: 2rem;
    justify-items: center;
}

.service {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 100%;
    max-width: 300px; /* Limita a largura máxima dos cards */
}

.service img {
    width: 100%; /* Largura completa no card */
    height: 200px; /* Altura fixa para telas maiores */
    object-fit: cover; /* Garante que a imagem preencha o espaço corretamente sem distorcer */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Apenas 1 coluna em dispositivos móveis */
        padding: 1rem; /* Ajuste o espaçamento em telas menores */
    }

    .service img {
        width: 100%; /* Garante que a imagem ocupe toda a largura disponível */
        height: 150px; /* Altura ajustada para dispositivos móveis */
    }
}

.service:hover {
    transform: translateY(-10px);
}

.service:hover img {
    transform: scale(1.05);
}

.service h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .service img {
        width: 100%; /* Mantém a largura */
        height: 150px; /* Ajusta a altura para telas menores */
    }
}

/* Reviews Section */
.reviews {
    padding: 4rem 2rem;
    background-color: #f4f4f4;
    text-align: center;
}

.reviews h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.reviews-container {
    display: flex;
    justify-content: space-around; /* Garante espaçamento uniforme */
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.review {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(30% - 40px);
    margin-bottom: 20px;
    max-width: 350px;
}

.review:hover {
    transform: translateY(-10px);
}

.review-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
    font-style: italic;
}

.review-author {
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.review-rating {
    font-size: 1.5rem;
    color: #f39c12;
}

/* Responsividade */
@media (max-width: 768px) {
    .reviews-container {
        flex-direction: column;
        padding: 0;
    }

    .review {
        max-width: 100%;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 1rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    margin: 10px 0;
    font-size: 1rem;
}

.footer-contact a {
    color: #f39c12;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    margin: 0 10px;
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #f39c12;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid #555;
    padding: 1rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
    color: #ccc;
}
/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: #f4f4f4;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Garante que os itens estejam alinhados ao topo */
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 3rem;
}

/* Informações de contato */
.contact-info {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    min-width: 300px;
    max-width: 600px; /* Limita a largura máxima para evitar esticamento */
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #555;
}

.contact-info a {
    color: #f39c12;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Mapa Google */
.contact-map {
    flex: 1;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    min-width: 300px;
    max-width: 600px; /* Garante que o mapa tenha um tamanho balanceado */
}

/* Responsividade para dispositivos menores */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contact-map {
        width: 100%; /* Faz com que o mapa e as informações ocupem 100% da largura */
        margin-bottom: 20px;
    }

    .contact-info p {
        font-size: 1rem; /* Reduz o tamanho do texto em telas menores */
    }

    .contact h2 {
        font-size: 2rem; /* Tamanho do título ajustado para telas menores */
    }
}

/* Appointment Section Styles */
#appointment-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.appointment-form label {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.appointment-form .form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.1em;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

.appointment-form .form-control:focus {
    border-color: #0078d4;
    background-color: #fff;
    outline: none;
}

.appointment-form .btn-submit {
    background-color: #0078d4;
    color: white;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.appointment-form .btn-submit:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
}

.checkbox-group label {
    margin-bottom: 10px;
}

.residential-options label {
    display: flex;
    align-items: center; /* Alinha o checkbox e o texto no centro verticalmente */
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.residential-options input[type="checkbox"] {
    margin-right: 10px; /* Espaçamento entre o checkbox e o texto */
}

.commercial-options label {
    display: flex;
    align-items: center; /* Alinha o checkbox e o texto no centro verticalmente */
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.commercial-options input[type="checkbox"] {
    margin-right: 10px; /* Espaçamento entre o checkbox e o texto */
}

.airbnb-options label {
    display: flex;
    align-items: center; /* Alinha o checkbox e o texto no centro verticalmente */
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}

.airbnb-options input[type="checkbox"] {
    margin-right: 10px; /* Espaçamento entre o checkbox e o texto */
}

/* Estilo para o botão Make an Appointment */
.btn {
    background-color: #848080;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    display: inline-block;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.btn:hover,
.btn:active {
    background-color: transparent;
    color: #848080;
    border: 2px solid #848080;
}
