html, body {
    max-width: 100%;
    overflow-x: hidden;
}

#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s;
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background-color: #343a40;
    color: white;
    border: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 32px;
  }
  
#scrollTopBtn:hover {
   opacity: 1;
}
  
#scrollTopBtn.show {
   display: block;
}

/* Header Styling */

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

#logoimagem {
    width: 250px;
    height: auto; /* aspect ratio */
    position: relative;
    left: -70px;
    margin-top: -25px;
}
    
nav img{
    width: 135px;
}

.nav-links{
    flex: 1;
    text-align: right;
    margin-right: -50px;
    margin-top: -50px;

}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;

}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336 ;
    display: block;
    margin: auto;
    transition: .5s;
 }

.nav-links ul li:hover::after{
    width: 100%;
}

nav .fa{
    display: none;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 20px 0 40px;
    font-size: 17px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #f44336;
    padding: 12px 34px;
    font-size: 13px;
    background: #f44336;
    position: relative;
    cursor: pointer;
    transition: 1s;
}

.hero-btn:hover{
    border: 1px solid #fff;
    background: transparent;
}

@media(max-width: 700px)
{
   .nav-links ul li
    {
        display: block;
    }
    .nav-links
    {
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    .nav-links ul{
        padding: 30px;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
    }
    .text-box h1{
        font-size: 20px;
    }
}


.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;  
}

@media (max-width:700px){
    .row{
        flex-direction: column;
    }
} 

/* Social Icons */
#header-social-icons {
    margin-left: -80px;
    margin-top: -20px;
}

#footer-social-icons {
    text-align: center;
    margin-left: -15px;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ccc;
}

.carousel-item img{
    max-height: 600px;
}

@media (max-width: 768px) { /* Target mobile devices */
    #carouselExampleIndicators {
        display: none; /* Completely hide the carousel on mobile */
    }
}

.nossas-linhas-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nossas-linhas-card img {
    width: 100%;
    transition: transform 0.3s ease;
}

.nossas-linhas-card:hover img {
    transform: scale(1.1);
}

.nossas-linhas-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nossas-linhas-card:hover .card-overlay {
    opacity: 1;
}

.nossas-linhas-card .card-overlay p {
    font-size: 18px;
    text-align: center;
    margin: 0;
}

.card-img-top {
    max-height: 50%;
    text-align: center;
}

.review-card {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
}

.reviewer-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.reviewer-name {
    font-weight: bold;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color:black;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

.accordion-container {
    width: 70%;
    margin: 0 auto; /* top/bottom = 0; right/left = auto */
    padding-top: 20px;
}

.accordion-item {
    border: none;
    background-color: #f9f9f9;
}

.accordion-comentario {
    text-align: center;
    color: #000;
    font-size: 100%
}

.accordion-comentario a {
    color: #25d366;
}

.titulofaq {
    text-align: center;
    margin-bottom: 2%;
}

.card-link {
    color: black;
}

.container-fluid {
    height: 100vh;
    display: flex;
    align-items: center;
}

.container-fluid p {
    margin-right: 15%;
}

.container-fluid img {
    margin-left: 10%;
}

.img-fluid {
    max-width: 65%;
    height: auto;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.mestre-artesão {
    background-color: #212121;
}

.mestre-artesão p {
    color: #ccc;
}

.mestre-artesão h1 {
    color: #ccc;
}

.mestre-artesão img {
    max-height: 30%;
    width: auto;
}

/* Estilo pra celulars */
@media (max-width: 768px) {
    .mestre-artesão {
        padding-bottom: 20px; /* Adiciona espaço para baixo dentro da seção */
    }
    
    .mestre-artesão h1 {
        margin-left: 10%;
        font-size: 90%;
    }
    
    .mestre-artesão p {
        margin-left: 10%;
        font-size: 90%;
    }
    
    .img-fluid {
        max-width: 50%;
        height: auto;
        text-align: center;
    }
}

#info {
    text-align: center;
}

.whatsapp-inline {
    font-size: 24px;
    color: #25D366;
    margin-left: 8px;
    vertical-align: middle; /* Alinha o icon com o texto */
    transition: transform 0.2s ease;
}

.whatsapp-inline:hover {
    transform: scale(1.2);
    color: #20b259;
}

/* Footer styling */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
}

.footer-logo {
    width: 100px;
    text-align: center;
    color: white
}

.footer-link {
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.footer-link:hover {
    text-decoration: underline;
    text-align: center;
    color: white
}

.footer-icon {
    color: white;
    margin-right: 15px;
    transition: color 0.3s;
    text-align: center;
}

.footer-icon:hover {
    color: #ccc;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: white
}

#footer-link {
    text-align: center;
}