@font-face {
    font-family: 'IndivisibleRegular';
    src: url("../fonts/IndivisibleRegular.ttf");
}

@font-face {
    font-family: 'IndivisibleLight';
    src: url("../fonts/IndivisibleLight.ttf");
}

@font-face {
    font-family: 'IndivisibleBold';
    src: url("../fonts/IndivisibleBold.ttf");
}



body {
    font-family: 'IndivisibleRegular', sans-serif !important;
}

html {
    scroll-behavior: smooth;
}

.navbar-brand {
    position: relative;
    z-index: 10;
}

.navbar-brand .logo {
    background-color: #FFD700;
    padding: 5px;
    position: absolute;
    top: -20px;
    left: 20px;
}

/* Navbar Items Styling */
.navbar-nav {
    margin-left: auto;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav .nav-item .nav-link {
    color: #fff !important;
    padding-right: 15px;
}

.navbar-nav .nav-item .active {
    color: #FFD700 !important;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox%3D%220 0 30 30%22 xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath stroke%3D%22rgba%28255,255,255,1%29%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-miterlimit%3D%2210%22 d%3D%22M4 7h22M4 15h22M4 23h22%22/%3E%3C/svg%3E'); /* White toggle icon */
}

/* General Styles */
/*.hero-section {
    height: 80vh;
    background-image: url('your-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}*/

.hero-section {
    height: 40vh;
    position: relative;
    overflow: hidden;
  }

  .hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: white;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .video-bg, .image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Mantém a altura completa do container */
    overflow: hidden; /* Garante que as imagens não saiam do container */
}

.image-slider .carousel-inner {
    width: 100%;
    height: 100%; /* Faz com que todas as imagens usem a altura completa */
}

.image-slider .carousel-inner img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    object-position: center; /* Garante o posicionamento central da imagem */
  }

  .image-slider .carousel-control-prev,
  .image-slider .carousel-control-next {
      position: absolute;
      top: 50%; /* Centraliza verticalmente */
      transform: translateY(-50%);
      z-index: 10 !important;
      width: 40px; /* Ajuste conforme o tamanho desejado */
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.5); /* Fundo semitransparente */
      border-radius: 50%;
      cursor: pointer;
  }
  
  .image-slider .carousel-control-prev {
      left: 15px; /* Distância da borda esquerda */
  }
  
  .image-slider .carousel-control-next {
      right: 15px; /* Distância da borda direita */
  }
  
  .image-slider .carousel-control-prev img,
  .image-slider .carousel-control-next img {
      width: 20px; /* Ajuste o tamanho do ícone */
      height: 20px;
  }




.about-section {
    background-color: #000;
    color: #fff;
}

.about-section h2 {
    color: #FFF;
    font-size: 48px;
    font-weight: bold;
}

.about-section p {
    color: #FFF;
}

/* Team Section */
.team-section .team-member {
    margin-bottom: 20px;
}

.team-member h5 {
    font-weight: bold;
}

.team-section .photo-placeholder {
    width: 100%;
    height: 350px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

/* Services Section */
.services-section {
    background-color: #fff;
    color: #000;
}

.services-section .list-unstyled li {
    margin-bottom: 10px;
    font-size: 18px;
    margin: 0 0;
    padding: 0 0;
}

.services-section .list-unstyled li span {
    margin-right: 10px;
}

.services-section h1 {
    font-size: 5.2rem;
    line-height: 1.2;
    font-weight: bold;
}

.services-section h2 {
    font-size: 48px;
    font-weight: bold;
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Contact Section Styles */
.contact-section {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'IndivisibleBold', sans-serif;
}

.contact-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-section .form-group label {
    font-weight: bold;
    font-size: 1rem;
}

.contact-section .form-control {
    background-color: #FFF;
    color: #000;
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 20px;
}

.contact-section .form-control::placeholder {
    color: #999;
}

.contact-section .btn-light {
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    transition: background-color 0.3s ease;
}

.contact-section .btn-light:hover {
    background-color: #e6c200;
}

.contact-section .form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.social-networks {
    display: flex;
}

.social-networks img {
    filter: invert(1);
    width: 2rem;
    margin-right: 1rem;
}

.logos {
    display: flex;
        align-items: flex-end; /* Alinha os itens na parte inferior */
        justify-content: start; /* Ajusta o alinhamento horizontal para a esquerda */
        gap: 10px; /* Espaçamento entre as imagens (opcional) */
}

/* Footer Styles */
.footer {
    background-color: #FFF;
    color: #000;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info {
    align-items: center;
    gap: 15px; /* Espaço entre os textos */
}

.footer-links {
    display: flex;
    gap: 10px; /* Espaço entre os links */
    white-space: nowrap;
}

.footer p {
    margin: 0;
    padding: 5px 0;
}

.footer p:first-of-type {
    font-weight: bold;
}

.footer a {
    color: #000;
    text-decoration: none;
    outline: none;
}

.footer a:hover {
    color: #000;
}

.footer a:visited {
    color: #000;
}

.footer a:active {
    color: #000;
}

.footer-links a {
    color: #000;
    text-decoration: underline;
}

/* Product Categories Section */

/*.product-categories {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.category-tabs .tab {
    width: 150px; 
    height: 150px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    background-color: #FFD700; 
    color: #000; 
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis; 
    font-family: 'IndivisibleBold', sans-serif;
}

.category-tabs .tab.active,
.category-tabs .tab:hover {
    background-color: #000; 
    color: #fff; 
}*/

.product-categories {
    padding: 50px 0;
    background-color: #fff; /* Background color for the section */
    text-align: center;
}

.category-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    gap: 20px;
    overflow-x: hidden; /* Permite rolagem quando necessário */
    scroll-behavior: smooth; /* Rolagem suave */
    padding-bottom: 10px; /* Para o efeito de rolagem */
    width: 100%;
    padding-left: 80px; /* Espaço para a seta esquerda */
    padding-right: 80px; /* Espaço para a seta direita */
}

.category-tabs .tab img {
    max-width: 60%; /* Ajuste o tamanho da imagem conforme necessário */
    margin-bottom: 10px; /* Espaçamento entre a imagem e o texto */
    display: none; /* Inicialmente, ocultar imagens para todas as abas */
}

.category-tabs .tab.has-image img {
    display: block; /* Mostrar apenas para abas com a classe `has-image` */
}

.category-tabs .tab {
    min-width: 150px;
    width: 150px; /* Largura fixa */
    aspect-ratio: 1; /* Garante que a altura seja igual à largura (quadrado) */
    display: flex;
    flex-direction: column; /* Empilha os itens verticalmente */
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #FFD700; /* Fundo dourado para as abas */
    color: #000; /* Texto preto */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'IndivisibleBold', sans-serif;
    white-space: normal; /* Impede quebra de linha no texto */
    text-overflow: ellipsis; /* Adiciona "..." se o texto for muito longo */
    overflow: hidden; /* Impede que o texto saia do quadrado */
    word-wrap: break-word; /* Faz com que o texto quebre quando ultrapassar o limite */
}

.category-tabs .tab.active,
.category-tabs .tab:hover {
    background-color: #000; /* Fundo preto quando ativo ou ao passar o mouse */
    color: #fff; /* Texto branco */
}

.category-tabs .tab.active img,
.category-tabs .tab:hover img {
    filter: brightness(0) invert(1); /* Ajusta a imagem para combinar com o fundo */
}

/* Setas de navegação */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Centraliza as setas verticalmente */
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 3px; /* Adiciona borda arredondada para as setas */
    display: none; /* Inicialmente as setas estão ocultas */
}

.left-btn {
    left: 20px; /* Distância do lado esquerdo das categorias */
}

.right-btn {
    right: 20px; /* Distância do lado direito das categorias */
}

.category-title {
    text-align: left;
}

.category-title h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.category-title h2 span {
    color: #FFD700; /* Gold color for highlighted text */
    font-weight: bold;
    font-family: 'IndivisibleBold', sans-serif;
}

/* Products */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    padding: 20px;
    text-align: left;
    cursor: pointer;
}

.product-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.product-item p {
    font-size: 1rem;
    margin-top: 5px;
}

.product-item .btn-add-to-cart {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #FFD700; /* Gold background for button */
    color: #000; /* Black text for button */
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-item .btn-add-to-cart:hover {
    background-color: #000; /* Black background on hover */
    color: #fff; /* White text on hover */
}

.product-item .product-image {
    min-width: 300px;
    min-width: 300px;
    width: 100%;
    height: 300px;
    background-color: #f7f7f7; /* Placeholder background */
    border: 1px solid #000;
}

.product-item .product-image img {
    width: 100%; /* Faz a imagem se ajustar ao contêiner */
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o contêiner */
    object-position: center; /* Centraliza a imagem no contêiner */
}


/* Modal Product */

.product-details h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.product-details p {
    font-size: 1rem;
    margin-top: 5px;
}

.product-details .btn-add-to-cart {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #FFD700; /* Gold background for button */
    color: #000; /* Black text for button */
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-details .btn-add-to-cart:hover {
    background-color: #000; /* Black background on hover */
    color: #fff; /* White text on hover */
}

.product-details .btn-download-pdf {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #000; /* Gold background for button */
    color: #fff; /* Black text for button */
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-details .product-image {
    min-width: 300px;
    min-height: 300px;
    width: 300px; /* Define uma largura fixa */
    height: 300px; /* Igual à largura para manter o formato quadrado */
    background-color: #f7f7f7; /* Placeholder background */
    border: 1px solid #000;
    object-fit: cover; /* Garante que a imagem se ajuste sem distorcer */
}

.modal-dialog {
    max-width: 80% !important;
}

.modal-content {
    border: none !important;
    padding: 5rem 2rem;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000; /* Preto para corresponder ao design */
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-close:hover {
    color: #ff0000; /* Vermelho ao passar o mouse */
}



.product-image .carousel-inner img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    transition: transform 0.3s, filter 0.3s; /* Suaviza a transição */
    filter: grayscale(100%) brightness(0.5);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1; /* Torna a seta visível */
    transform: scale(1.2); /* Aumenta o tamanho da seta */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.carousel-control-prev-icon:active,
.carousel-control-next-icon:active {
    opacity: 1; /* Mantém a seta visível durante o clique */
    filter: grayscale(0%) brightness(1); /* Remove o filtro para cores completas */
    transform: scale(1); /* Volta ao tamanho normal após o clique */
}

.carousel-control-prev-icon:focus,
.carousel-control-next-icon:focus {
    outline: none; /* Remove o outline ao focar */
    opacity: 1; /* Garante que a seta esteja visível no foco */
    filter: grayscale(0%) brightness(1); /* Garante que a seta tenha cores completas */
}

/* Adiciona uma regra para quando o estado de hover terminar */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    transition: filter 0.3s, transform 0.3s; /* Certifique-se de que o efeito de transição seja aplicado a todas as interações */
}


.product-thumbnails {
    display: flex;
    justify-content: start;
    gap: 10px; /* Espaço entre as miniaturas */
}

.product-thumbnails img {
    width: 50px; /* Tamanho reduzido das miniaturas */
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease-in-out;
}

.product-thumbnails img:hover {
    border: 2px solid #333; /* Cor de destaque ao passar o mouse */
}


.cart-badge {
    font-size: 0.5rem;
    color: #000;
    background-color: #FFD700;
    border-radius: 0 !important;
}


/* Ajuste para dispositivos menores */
@media (max-width: 992px) {
    .modal-dialog {
        max-width: 90% !important; /* Modal ocupa até 90% da tela em dispositivos médios */
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}


/* Media Query para dispositivos pequenos (menores que 768px) */
@media (max-width: 768px) {
    
    .category-tabs .tab {
        min-width: 120px; /* Ajusta o tamanho das abas em telas menores */
    }

    .category-tabs-wrapper {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    /* Mudança de layout para dispositivos menores */
    .product-details {
        flex-direction: column; /* Organiza a imagem e o conteúdo em coluna */
        align-items: center; /* Centraliza os itens */
        text-align: center; /* Alinha o texto ao centro */
    }

    .product-details .product-image {
        max-width: 80%; /* A imagem pode ser maior em telas menores */
        height: auto; /* A altura da imagem se ajusta proporcionalmente */
        margin-bottom: 20px; /* Adiciona espaçamento entre a imagem e o texto */
    }

    .product-details h3 {
        font-size: 1.4rem; /* Tamanho da fonte um pouco maior para visibilidade */
    }

    .product-details p {
        font-size: 1rem; /* Tamanho de fonte ajustado */
    }

    .product-details .btn-add-to-cart,
    .product-details .btn-download-pdf {
        padding: 12px 25px; /* Botões um pouco maiores em telas menores */
        font-size: 1rem; /* Ajuste do tamanho da fonte do botão */
    }
}

@media (max-width: 480px) {
    
    /* Em telas muito pequenas (como celulares em modo retrato) */
    .modal-dialog {
        max-width: 100% !important; /* Modal ocupa 100% da tela */
        padding: 1rem; /* Reduz o padding */
    }

    .product-details h3 {
        font-size: 1.2rem; /* Tamanho menor para cabeçalhos */
    }

    .product-details p {
        font-size: 0.9rem; /* Reduz o tamanho do texto para leitura fácil */
    }

    .product-details .btn-add-to-cart,
    .product-details .btn-download-pdf {
        padding: 10px 20px; /* Botões ajustados para telas pequenas */
        font-size: 0.9rem; /* Fontes menores nos botões */
    }

    .product-details .product-image {
        max-width: 100%; /* A imagem pode ocupar toda a largura disponível */
        height: 200px; /* Definir uma altura fixa para a imagem */
    }
}


.load-more-text {
    display: none;
    font-size: 1.2rem; /* Ajuste o tamanho do texto */
    text-transform: uppercase;
    color: #000; /* Cor de link */
    cursor: pointer;
    margin-bottom: 10px;
}

#cart-toast {
    position: fixed; /* Posiciona em relação à viewport */
    bottom: 20px; /* Distância da parte inferior */
    right: 20px; /* Distância da parte direita */
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Invisível inicialmente */
    transform: translateY(20px); /* Deslocado para baixo */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Animações */
    z-index: 9999; /* Aparece acima de outros elementos */
}
#cart-toast.show {
    opacity: 1; /* Visível */
    transform: translateY(0); /* Posição final */
}


/* Loader Wrapper */
#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px); /* Aplica o desfoque */
    background: rgba(0, 0, 0, 0.4); /* Fundo escuro semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader Animation */
#loader {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #FFD700; /* Cor do loader */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

/* Animação do Loader */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}