:root {
    --gray-900: #010a1a;
    --gray-800: #1a2331;
    --white: white;
    --black: black;
    --orange: #DE7405;
    --orange-footer: #C16402;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    margin-top: 40px;
    width: 100%;
    background-color: var(--gray-900);
}

h2{
    font-size: 2.5em;
    color: var(--white);
}

strong{
    color: var(--orange);
}

.navbar {
    transition: background-color 0.3s ease; 
    z-index: 99;

}

.navbar.scrolled {
    background-color: var(--gray-800);
    color: #fff;
    z-index: 99;

}
a .navbar-link .active{
    background-color: var(--gray-800);
}
  

.carousel-section {
    position: relative;
    width: 90%;
    margin: 0% 0% 0% 10%;
    padding: 0;
}

.carousel-caption-custom {
    position: absolute;
    top: 0;
    transform: translateX(-20%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    color: #fff;
}

.carousel-caption-custom-text {
    font-size: 5em;
}

.about-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--gray-900);
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    opacity: 0.2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%), 
                linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0) 100%), 
                         linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%);
    position: absolute;
    top: 0; 
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    width: 90%; 
}

.text-left, .text-right {
    flex: 1;
    padding: 0 20px; 
}

.text-overlay h2 {
    font-size: 4em;
    margin: 0; 
}

.text-overlay p {
    font-size: 1.8em;
    margin: 0; 
}


.services-section {
    display: flex;
    flex-wrap: wrap;
    height: 100vh;
}

.services-section {
    padding: 20px;
    background-color: var(--gray-900);
    color: var(--white);
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0;
}
  
.section-title {
    width: 100%;
    font-size: 1em;
    color: var(--white);
    margin-bottom: 20px;
}
  
.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}
  
.item {
    background-color: var(--gray-900);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-800);
    cursor: pointer;
    text-align: center;
    height: 70vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}
  
.item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
  
.item:hover img {
    opacity: 0.3;
}
  
.item p {
    position: relative;
    z-index: 1;
    font-size: 0.8em;
    font-weight: 500;
    color: var(--white);
}
  
.item .bi-arrow-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1em;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s, color 0.3s;
    border: 3px solid var(--orange);
}
  
.item:hover .bi-arrow-right {
    background-color: var(--orange);
    color: white;
}
  
.contact {
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    margin-top: 25%; 
}
  
.contact-title {
    margin-bottom: 20px;
}
  
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: center;
    margin-top: 2.5%;
}
  
.contact-info > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
  
.contact-info-whatsapp-number,
.contact-info-email-contact,
.contact-info-full-adress {
    margin-top: 10px;
}
  
.contact-map iframe {
    margin-top: 2%;
}
  
.icon-circle {
    background-color: var(--orange);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    z-index: 1000; 
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
}

.whatsapp-button img {
    width: 60px;
    height: auto;
    border-radius: 50%;
}

a {
    text-decoration: none;
    color: var(--white);
}

a:hover,
a:focus,
a:visited,
a:active {
    color: var(--white);
}

.socials {
    background-color: var(--gray-800);
    padding: 10px 0;
}

.socials-itens {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 10px;
}

.socials-itens p {
    margin: 0;
    line-height: 1;
    color: var(--white);
    font-weight: 600;
}

.socials-itens i {
    font-size: 1.3rem;
}

.socials-itens i:hover{
    color: var(--orange);
}

.footer {
    background-color: var(--orange-footer);
    color: #fff;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    margin: 0;
}
.footer div {
    max-width: 300px;
}
.footer .logo img {
    width: 100%;
    max-width: 100%;
    margin-left: 15%;
}
.footer h3 {
    margin-bottom: 10px;
}
.footer a {
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer .contacts div,
.footer .links div {
    margin-bottom: 10px;
}
.footer-copyright {
    background-color: var(--orange-footer);
    color: var(--white);
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 0.8em;
    flex-direction: column;
}

.footer-copyright p{
    margin-bottom: 0;
}

/* pagina de serviços */
body.services-body .navbar {
    display: flex;
    align-items: center;
    padding: 8px 16px 8px 16px;
}

body.navbar .show {
    background-color: var(--gray-800)
}

.services-body{
    background-color: var(--gray-900);
}

.services-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3% 0% 3% 0%;
}

.services-title{
    margin: 0;
    padding-bottom: 2%;
}

.services-text{
    color: var(--white);
    text-align: justify;
    width: 80%;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.thumbnail {
    width: 80%; 
    max-width: 400px;    
    height: auto;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    transition: 0.3s;
}

.thumbnail:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    z-index: 100;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 100;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* responsividade */
@media (max-width: 940px) {
    .carousel-caption-custom {
        transform: translateX(-10%);
    }
    
    .carousel-caption-custom-text {
        font-size: 4em;
    }

    .text-overlay {
        display: flex;
        flex-direction: column;
        position: absolute;
        align-items: center;
        width: 90%; 
    }
    
    .text-left, .text-right {
        flex: 1;
        padding: 0 20px; 
    }
    
    .text-overlay h2 {
        font-size: 2.5em;
        margin: 0; 
    }
    
    .text-overlay p {
        font-size: 1.2em;
        margin: 0; 
        margin-top: 2%;
        text-align: justify;
    }
    
      
    .section-title {
        font-size: 1em;
    }
      
    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
      
    .item {
        height: 30vh;
        font-size: 1.5em;
    }
      
    .item .bi-arrow-right {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }


      
    .contact-info {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
      
    .contact-info-whatsapp-number,
    .contact-info-email-contact,
    .contact-info-full-adress {
        margin-top: 5px;
    }
      
    .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }


    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }


    .footer {
        background-color: #C16402;
        color: #fff;
        padding: 20px 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .footer div {
        max-width: 200px;
    }
    .footer .logo img {
        width: 100%;
        max-width: 100%;
        margin-left: 20%;
    }
    .footer h3 {
        margin-bottom: 10px;
    }

}

@media (max-width: 490px) {
    h2{
        font-size: 2em;
        color: var(--white);
    }

    .carousel-section {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .carousel-caption-custom {
        transform: translateX(0);
    }
    
    .carousel-caption-custom-text {
        font-size: 2em;
        margin-left: 3%;
        width: 100%;
    }


    .text-overlay {
        display: flex;
        flex-direction: column;
        position: absolute;
        align-items: center;
        width: 90%; 
    }
    
    .text-left, .text-right {
        flex: 1;
        padding: 0 20px; 
    }
    
    .text-overlay h2 {
        font-size: 2em;
        margin: 0; 
    }
    
    .text-overlay p {
        font-size: 1em;
        margin: 0; 
        margin-top: 2%;
        text-align: justify;
    }

    .section-title {
        font-size: 1em;
    }
      
    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
      
    .item {
        height: 28vh;
        font-size: 1.5em;
    }
      
    .item .bi-arrow-right {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }

    .contact-title{
        margin-top: 25px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
      
    .contact-info-whatsapp-number,
    .contact-info-email-contact,
    .contact-info-full-adress {
        margin-top: 5px;
    }
      
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .whatsapp-button {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }


    .footer {
        background-color: #C16402;
        color: #fff;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        gap: 2%;
        padding: 2%;
    }
    .footer div {
        max-width: 300px;
    }
    .footer .logo img {
        width: 90%;
        max-width: 90%;
        margin: 0;
    }
    .footer h3 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}