/*
|--------------------------------------------------------------------------
| 01 - NORMALIZE
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Evita a barra de rolagem horizontal */
}

/* Garante que o container da imagem ocupe toda a largura, sem espaços */
.banner-full-width {
  width: 100vw; /* 'vw' (viewport width) garante 100% da largura da tela */
  padding: 0;
  margin: 0;
}

/* Garante que a imagem preencha o container */
.banner-full-width img {
  width: 100%;
  display: block;
}

/*
|--------------------------------------------------------------------------
| 02 - HEADER - Estilos para o cabeçalho
|--------------------------------------------------------------------------
*/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

img.logo {
    width: 50px;
}

p.logo-name {
    font-weight: 600;
    font-size: 2.2rem;
    font-family: "Bodoni Moda", serif;
    font-style: normal;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #333;
    transition: text-decoration 0.3s ease;
    padding: 2px;
}

nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/*
|--------------------------------------------------------------------------
| 03 - RESPONSIVE HEADER - Estilos para o menu mobile
|--------------------------------------------------------------------------
*/

.menu-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    p.logo-name {
        font-size: 1.8rem;
    }
    
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 9;
    }

    nav.active {
        display: flex;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .menu-mobile-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10;
    }

    .menu-mobile-toggle span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #333;
        margin: 4px 0;
        transition: 0.4s;
    }

    .menu-mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 4px);
    }

    .menu-mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -4px);
    }
}

/*
|--------------------------------------------------------------------------
| 04 - SLIDER
|--------------------------------------------------------------------------
*/

/* Escurece a imagem do carrossel APENAS no hover */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* Começa transparente */
    transition: background-color 0.5s ease; /* Transição suave */
    z-index: 1;
}

.carousel-item:hover::before {
    background-color: rgba(0, 0, 0, 0.4); /* Escurece para 40% de opacidade no hover */
}

/* Garante que o conteúdo do caption esteja acima da sobreposição */
.carousel-caption {
    z-index: 2;
    bottom: 12%; 
}

/* Título e parágrafo */
.carousel-caption h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    color: #fff;
    text-shadow: none;
    margin-bottom: 0.5rem; 
}

.carousel-caption p {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: none;
    margin-bottom: 2.5rem; 
}

/* Botão */
.main-btn {
    background-color: #fff;
    color: #333;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.main-btn:hover {
    background-color: transparent;
    color: #fff;
}

/*
|--------------------------------------------------------------------------
| 05 - INFORMAÇÕES
|--------------------------------------------------------------------------
*/

.apresentacao {
    padding-top: 50px;
    padding-bottom: 50px;
}

.banner-full-width {
    width: 100%;
    padding: 0;
    margin: 0;
}

.mapa-container {
    width: 100%;
    padding: 0;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| 06 - FOOTER - Estilos para o rodapé
|--------------------------------------------------------------------------
*/

.main-footer {
    background-color: #212121;
    color: #f0f0f0;
    padding: 60px 20px 20px;
    font-family: "Roboto", sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3,
.footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #bdbdbd;
}

.footer-section ul {
    padding: 0;
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

/* Alteração: Alinhar os ícones com o conteúdo */
.social-links {
    display: flex; /* Transforma em um flexbox para controle de alinhamento */
    gap: 15px; /* Adiciona espaço entre os ícones */
}

.social-links a {
    font-size: 1.5rem;
    color: #bdbdbd;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #444444;
    font-size: 0.9rem;
    color: #999999;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        min-width: 100%;
        text-align: center;
    }

    /* Alteração: Centraliza os ícones no mobile */
    .social-links {
        justify-content: center;
    }
}