/* SECTION HOME */

.cover.fullscreen.image-bg {
    position: relative;
    overflow: hidden;
}

.cover.fullscreen.image-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay escuro */
    z-index: 1;
}

.cover.fullscreen.image-bg img {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: left 1s ease-in-out, opacity 1s ease-in-out;
    z-index: 0;
    opacity: 0;
}

.cover.fullscreen.image-bg img.active {
    left: 0;
    opacity: 1;
}

.cover.fullscreen.image-bg img.previous {
    left: 0;
    opacity: 1;
    z-index: -1;
}

.image-tile img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Carousel swiper */

/* Estilos existentes do carrossel... */

.swiper-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden; /* Garante que os slides fiquem contidos */
  }
  
  .swiper-slide {
    text-align: center;
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    visibility: visible;
  }
  
  /* Remova qualquer elemento de preloader residual */
  .swiper-lazy-preloader,
  .swiper-pagination {
    display: none !important;
    visibility: hidden !important;
  }
  
  /* Ajuste para garantir que a transição horizontal seja suave */
  .swiper-wrapper {
    transition-timing-function: ease-out !important;
  }
  
  /* Modificar a camada escura para ser mais opaca */
  .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Aumentar a opacidade para 65% */
    z-index: 1;
  }
  
  /* Melhorar a legibilidade do texto */
  .parallax-window {
    z-index: 2;
    position: relative;
  }
  
  /* Estilos para melhorar o texto */
  .enhanced-title {
    color: rgb(255, 255, 255);
    font-size: 5rem !important; /* Título maior */
    font-weight: 800 !important; /* Texto mais grosso */
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra de texto para melhorar a legibilidade */
    margin-bottom: 25px;
    text-transform: uppercase;
  }
  
  .enhanced-description {
    font-size: 1.6rem !important; /* Descrição maior */
    font-weight: 600 !important; /* Texto mais grosso */
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Sombra de texto para melhorar a legibilidade */
  }
  
  /* Ajustes responsivos para telas menores */
  @media (max-width: 768px) {
    .enhanced-title {
      font-size: 2.5rem !important;
    }
  
    .enhanced-description {
      font-size: 1.3rem !important;
    }
  }

/* Add these new animation keyframes */
/* Existing animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Add animation classes */

.animated-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animated-slide-in-left {
    animation: slideInFromLeft 1s ease-out forwards;
}

.animated-slide-in-right {
    animation: slideInFromRight 1s ease-out forwards;
}

.animated-slide-in-top {
    animation: slideFromTop 1s ease-out forwards;
}

.animated-slide-in-bottom {
    animation: slideFromBottom 1s ease-out forwards;
}

/* Elements start in opacity 0 for don't interfere with page animations */

/* add "section-home, medals, trophies, region, awards, projects, creator, clients, work" ids to opacity 0" */
#section-home, #medals, #trophies, #region, #awards, #projects, #creator, #clients, #work {
    opacity: 0;
}

/* Ensure visibility on mobile devices */
@media (max-width: 768px) {
    #projects {
        opacity: 1 !important;
    }
}

/* SECTION ABOUT */

.junior-icon {
    border-radius: 50%;
}

/* NAVBAR */

.custom-logo-link {
    display: flex;
    align-items: center;
    max-height: 60px; /* Limite a altura da navbar */
    overflow: hidden; /* Esconda qualquer conteúdo que ultrapasse o limite */
    position: relative;
    top: -10px; /* Ajuste o valor conforme necessário */
}

.site-logo {
    margin-right: 10px; /* Ajuste o valor conforme necessário */
    height: 90px; /* Ajuste a altura conforme necessário */
}

.site-title {
    margin: 0; /* Remove qualquer margem extra */
    padding: 0; /* Remove qualquer padding extra */
    line-height: 1; /* Ajuste a altura da linha conforme necessário */
}

.nav-bar ul li a,
.main-navigation ul li a {
    font-size: 14px !important; /* Aumentar tamanho da fonte */
    font-weight: 500 !important; /* Tornar a fonte um pouco mais grossa */
    text-transform: uppercase; /* Opcional: deixar tudo em maiúsculas */
    letter-spacing: 0.5px; /* Opcional: espaçamento entre letras para melhor legibilidade */
}

/* Destaque ao passar o mouse */
.nav-bar ul li a:hover,
.main-navigation ul li a:hover {
    color: #0275d8 !important; /* Cor de destaque ao passar o mouse - ajuste conforme sua paleta de cores */
}

/* Estilo para o item de menu ativo/atual */
.nav-bar ul li.current-menu-item a,
.main-navigation ul li.current-menu-item a {
    font-weight: 700 !important; /* Deixar o item atual em negrito */
    /* Você também pode adicionar uma cor ou outro estilo para destacar o item atual */
}

#map-jkdesigner {
    top: 20px;
}