html {
    scroll-behavior: smooth;
}

::selection {
  background-color: #54c3c3;
  color: #3d5263; 
}

section{
    padding: 50px 0px;
    scroll-margin-top: 75px;
}
#servicos-ancora{
    scroll-margin-top: 75px;
}

/* Navbar */
.navbar {
    background-color: #54c3c3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.navbar a {
    color: black;
    text-decoration: none;
}
.navbar a:hover {
    color: #3d5263;
    transition: color 0.5s ease;
}

/* Banner */
.carousel-item img {
    padding-top: 100px;
    margin-top: -100px;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}
.caption-box {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(-100%);
    bottom: auto;
    left: 10%;
    right: auto;
}
.caption-inner {
    width: 600px;
    padding: 60px;
    margin-top: -200px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Banner Mobile*/
@media (max-width: 650px) {
    .carousel-item img {
        height: 300px;
        padding-top: 0;
        margin-top: 0;
    }
    .caption-box {
    position: absolute;
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-15%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    }
    .caption-inner {
        width: 75%;
        padding: 20px;
        margin-top: 0;
        font-size: 1rem;
    }
    .caption-inner .display-2 {
        font-size: 2rem;
    }
    .caption-inner .lead {
        font-size: 1rem;
    }
	section{
		scroll-margin-top: 250px;
}
	#servicos-ancora{
		scroll-margin-top: 250px;
	}
}

/* Serviços */
#servicos{
    background-color: #3d5263;
    color: white;
}
#servicos h2, #servicos h4, #servicos a{
    color: #54c3c3;
}
#servicos-wrapper > div {
    flex: 0 0 50%;
}
.transition-servicos {
    transition: transform 0.5s ease-in-out;
}

/* Sobre */
#sobre {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
        url('../img/bg_sobre.webp') center/cover no-repeat;
    background-position: top;
    object-fit: cover;
    object-position: center;
    background-attachment: fixed;
    display: block;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
#sobre h2{
    color: #54c3c3;
    margin-top: 100px;
    text-shadow: none;
}
#sobre a{
    color: #54c3c3;
}

/* Sobre Mobile */
#sobre-mobile .tit{
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
        url('../img/bg_sobre.webp') center/cover no-repeat;
    height: 300px;
}
#sobre-mobile h2{
    color: #54c3c3;
    margin-top: 130px;
    text-shadow: none;
}
#sobre-mobile a{
    color: #54c3c3;
}

/* Sobre Detalhes */
#sobre_detalhes {
    background-color: #3d5263;
    color: white;
}
#sobre_detalhes img{
    height: 400px;
    object-fit: contain;
}
#sobre_detalhes h2, #sobre_detalhes .fw-bold{
    color: #54c3c3;
}
#sobre_detalhes a{
    color: #54c3c3;
}
#sobre_detalhes .high{
    color: #54c3c3;
    font-size: 18px;
    font-weight: bold;
}
#sobre_detalhes hr{
    border-top: 4px solid #54c3c3;
}

/* Clientes */
#clientes h2, #clientes .dest{
    color: #54c3c3;
}

/* Contato */
#contato{
    background-color: #3d5263;
    color: white;
}
#contato a {
    text-decoration: none;
}
#contato a:hover {
    color: #54c3c3;
    transition: color 0.5s ease;
}
#contato h2{
    color: #54c3c3;
}
.btn-primary{
    background-color: #54c3c3 !important;
    color: black !important;
}
.btn-primary:hover{
    background-color: white !important;
    color: black !important;
    transition: background-color 0.5s ease;
}

/* Footer */
.footer{
    background-color: #54c3c3;
    color: black;
    font-size: 14px;
}
.footer p{
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}
.footer a {
    text-decoration: none;
    color: black;
}
.footer a:hover {
    color: #3d5263;
    transition: color 0.5s ease;
}

/* Selo */
.selo{
    font-size: x-small;
}
.selo a:hover{
    color: #e50914 !important;
}