/* Additional Custom Styles */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Icon Styling */
[data-lucide] {
  display: inline-block;
}

/* Hover Effects */
.hover-link {
  transition: var(--transition-smooth);
}

.hover-link:hover {
  color: var(--primary) !important;
}

/* Badge hover effect */
.badge {
  transition: var(--transition-smooth);
}

/* Card hover effects */
.card {
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
}

/* Button animations */
.btn {
  transition: var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 12px 25px -10px hsla(54, 100%, 50%, 0.5);
}

/* Navbar styling */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.nav-link {
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Image Hover Effects */
.card img {
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

/* Footer hover effects */
footer a {
  transition: var(--transition-smooth);
}



/* Section spacing */
.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
}

/* Animation for Cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.object-fit-cover {
  object-fit: cover;
}

.opacity-75 {
  opacity: 0.75;
}

.vstack {
  display: flex;
  flex-direction: column;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.gap-5 {
  gap: 3rem;
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Opcional: delays diferentes para elementos filhos */
.animate-on-scroll.animated > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-on-scroll.animated > *:nth-child(1) { animation-delay: 0.1s; }
.animate-on-scroll.animated > *:nth-child(2) { animation-delay: 0.2s; }
.animate-on-scroll.animated > *:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVBAR MODERNA ===== */

#mainNav {
    background: rgba(255, 255, 255, 0.75); /* Fundo branco translúcido */
    backdrop-filter: blur(10px);           /* Efeito de desfoque no fundo */
    -webkit-backdrop-filter: blur(10px);   /* Compatibilidade com Safari */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
 
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

/* Ao rolar a página, torne a navbar mais opaca (opcional) */
#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.32)!important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
}

#mainNav .navbar-brand img {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

#mainNav .navbar-brand:hover img {
    transform: scale(1.05);
}

#mainNav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s 
ease, padding 0.3s 
ease;
    letter-spacing: 0.5px;
    font-weight: bold;
}

#mainNav .nav-link:hover {
    color: #FFD700; /* Amarelo da marca */
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}
#mainNav .nav-link:hover::after{
    width: 60%;
}

/* Toggler Hamburguer Estilizado */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.navbar-toggler:hover {
    background-color: #e9ecef;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse {
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem 0;
    }

    #mainNav .nav-item {
        margin: 0.5rem 1rem;
    }

    #mainNav .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }
}
li.nav-item {
    line-height: 2.4em;
}

/* IMAGES GRID */
.lightbox-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
    border-radius: 8px;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    z-index: 10000;
    user-select: none;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    max-width: 80%;
    text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav {
        font-size: 20px;
        padding: 10px 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}
/* FIM - IMAGES GRID */