.top-bar {
    background-color: #333;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.social-icons a {
    color: #fff;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #FF8C00; /* Cor laranja ao passar o mouse */
}

.navbar {
    transition: all 0.3s ease;
    padding: 10px 0;
    background-color: #fff;
    margin-top: 30px; /* Espaço para a barra superior */
}

.navbar.scrolled {
    margin-top: 0;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-brand img {
    height: 80px; /* Tamanho maior do logo */
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 60px; /* Um pouco menor quando rolado */
}

.content-wrapper {
    padding-top: 150px; /* Ajuste baseado na altura da navbar */
}

/* Estilos para os links do menu */
.nav-link {
    position: relative;
    padding: 5px 0;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #FF8C00; /* Cor laranja para a linha */
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Estilos para o rodapé */
.footer {
    background-color: #f8f9fa;
    color: #333;
    padding-top: 20px;
    font-size: 14px;
    border-bottom: 1px solid #cecece;
}

.footer-heading {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #FF8C00;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    min-width: 16px;
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: block;
    color: #FF8C00;
    margin-bottom: 5px;
    text-decoration: none;
}

.social-link:hover {
    text-decoration: underline;
}

.read-more {
    color: #FF8C00;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.subfooter {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    font-size: 12px;
}

.subfooter p {
    margin-bottom: 0;
}

/* Botão WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    text-decoration: none; /* Remove o sublinhado */
}

.whatsapp-float a:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 1000;
    opacity: 0; /* Inicialmente invisível */
    visibility: hidden; /* Inicialmente oculto */
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #FF8C00; /* Cor laranja para combinar com o tema */
    color: white;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    text-decoration: none;
}

.back-to-top a:hover {
    background-color: #e67e00;
    transform: scale(1.1);
}

/* Seção de Apresentação */
.about-banner {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
}

.about-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.read-more {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #FFA500;
    text-decoration: none;
}

.read-more i {
    margin-left: 5px;
}

/* Seção de Destaques */
.features {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #cecece;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: #FF8C00;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 28px;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Seção de Portfólio */
.portfolio {
    background-color: #fff;
    padding: 260px 0;
}

.section-title {
    position: relative;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: #FF8C00;
}

/* Navegação do carrossel */
.carousel-navigation {
    display: flex;
    justify-content: flex-end;
}

.carousel-navigation button {
    position: static;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background-color: #FF8C00;
    border-radius: 50%;
    opacity: 1;
}

.carousel-navigation button:hover {
    background-color: #e67e00;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Itens do portfólio */
.portfolio-item {
    margin-bottom: 30px;
    overflow: hidden;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.portfolio-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 140, 0, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.portfolio-info {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-info h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-info {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-details {
    padding: 15px 0;
}

.portfolio-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-details p {
    font-size: 14px;
    margin-bottom: 0;
}

.logos-container {
    width: 100%;
    background: #f9f9f9;
    padding: 40px 0;
    overflow: hidden;
    position: relative;
  }
  
  .logos-slider {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
  }
  
  .logo-item {
    flex: 0 0 200px;
    height: 100px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .logo-item:hover {
    transform: scale(1.1);
  }
  
  .logo-img {
    max-width: 100%;
    max-height: 120px;
    filter: grayscale(100%) brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
  }
  
  .logo-item:hover .logo-img {
    filter: grayscale(0%) brightness(1) contrast(1);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Adicionando responsividade */
  @media (max-width: 768px) {
    .logo-item {
      flex: 0 0 150px;
    }
    
    .section-title {
      font-size: 24px;
    }
  }

  /* Estruturas */
  .gallery-item {
    cursor: pointer;
    transition: transform 0.3s;
    height: 100%;
  }
  
  .gallery-item:hover {
    transform: scale(1.03);
  }
  
  .gallery-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }
  
  .gallery-title {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: none;
    text-align: center;
    font-weight: 500;
  }
  
  .modal-image {
    max-width: 100%;
    max-height: 70vh;
  }
  
  .close-btn {
    background-color: #f7941d;
    border-color: #f7941d;
  }
  
  .close-btn:hover {
    background-color: #e68000;
    border-color: #e68000;
  }

  /* Portfolio*/
  .filter-menu {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    position: relative;
    transition: color 0.3s;
}

.filter-btn.active {
    color: #ff7200;
    font-weight: bold;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff7200;
}

.port {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.port-item {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.port-item:hover {
    transform: translateY(-5px);
}

.port-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.port-info {
    padding: 20px;
}

.port-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.port-subtitle {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.hide {
    display: none;
}





/* Estilos para a aba portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.portfolio-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,114,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: white;
    font-size: 24px;
}

/* Estilos para o lightbox */
#lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: black;
}

.pagination .current {
    background-color: #ff7200;
    color: white;
}