html {
    scroll-behavior: smooth;
}

a {
    color: inherit; /* Mantém a cor herdada do elemento pai */
    text-decoration: none; /* Remove o sublinhado (opcional) */
}

a:visited {
    color: inherit; /* Define a mesma cor para links visitados */
}

p{
    text-align: justify;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}


#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1A233B;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
    z-index: 10;
    opacity: 0;
    padding: 10px 0;
}


.nav-scrolled {
    opacity: 1;
    background-color: #1A233B;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.bg-white {
    background-color: white;
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Service icon styles */
.service-icon {
    width: 3rem;
    height: 3rem;
    color: #0A2463;
    margin-bottom: 1rem;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Mobile menu transition */
#mobileMenu {
    transition: all 0.3s ease-in-out;
}

/* Form input focus styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #0A2463;
    box-shadow: 0 0 0 1px #0A2463;
}

/* Button hover effect */
button:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* Footer link hover effect */
footer a:hover {
    color: white;
    transition: color 0.2s ease;
}

/* Css da pagina */
#navbar {
    background-color: #1A233B;
}

#about {
    background-color: #d9c99d;
}

#services {
    background-color: #d9c99d;
}

.textoAzul {
    color: #1A233B;
}

.fundoAzul {
    background-color: #1A233B;
}

.textoAmarelo {
    color: #B2923A;
}

button {
    font-weight: bold;
}

.parallax-container {
    position: relative;
    height: 100vh; /* Garante que o parallax ocupe toda a altura da tela */
    overflow: hidden;
    z-index: 0; /* Coloca o parallax atrás da navbar */
}

.parallax-container .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Garante que o fundo do parallax fique atrás do conteúdo */
}

.parallax-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 59, 0.6); /* Ajuste da cor de sobreposição */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Garante que o overlay fique acima do fundo */
}

.parallax-container .overlay .logo {
    max-width: 300px;
    height: auto;
}

.parallax-hidden {
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.parallax-fade-out {
    transition: opacity 0.3s ease-out;
}

/* Footer */
footer {
    position: relative;
    background-color: #1A233B;
    padding: 20px;
    color: white;
    text-align: center;
    z-index: 5; /* Garante que o footer fique acima do conteúdo */
}

.icons-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Cria 4 colunas de tamanho igual */
    gap: 0.25rem; /* Espaçamento entre as células da grade */
    justify-items: center;

}

.icon {
    flex: 1 1 auto; /* Faz com que as divs ocupem o espaço necessário */
    text-align: center; /* Centraliza o conteúdo dentro de cada ícone */
    margin: 0.25rem; /* Espaçamento entre os ícones */
    background-color: #1A233B;
    padding: 0.5rem;
    border-radius: 5px;
}

.address {
    display: flex; /* Certifique-se de que o display seja flex */
    flex-direction: column; /* Organiza os itens em uma coluna */
    align-items: center;
    text-align: center; /* Centraliza o texto do endereço */
    margin-top: 20px; /* Adiciona espaço acima do endereço */
    grid-column: 1 / span 4;
}
