/* Fix styles for home page */

/* Garantir que a página inicial sempre use o estilo escuro, independente do tema */
.bp_fn_hero .fn_title,
.bp_fn_hero .fn_desc,
.fn_animated_text,
.fn_animated_text.ready,
.fn_animated_text span span {
  color: #fff !important;
}

.bp_fn_hero .bg_overlay .bg_color {
  background-color: var(--themeClrDrk) !important;
}

/* Hero section fixes */
.bp_fn_hero .hero_content {
  position: relative;
  z-index: 15;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 150px 0;
  justify-content: center;
  align-items: center;
}

.bp_fn_hero .content {
  text-align: center;
}

.bp_fn_hero .fn_title {
  margin: 0 auto;
  padding: 0;
  font-size: 100px;
  text-transform: uppercase;
  letter-spacing: 12px;
  line-height: 1;
  margin-bottom: 10px;
  transform: translateZ(0);
  overflow: hidden;
  color: #fff;
}

.bp_fn_hero .fn_desc {
  padding: 0;
  font-size: 24px;
  line-height: 1.3333;
  margin: 0 auto;
  color: #fff;
}

/* Animated text fixes */
.fn_animated_text {
  opacity: 0;
  color: #fff;
  letter-spacing: 1px;
}

.fn_animated_text.ready {
  opacity: 1;
}

.fn_animated_text span span {
  animation: fn_animated_text 0.8s both;
  display: inline-block;
}

.fn_animated_text em {
  opacity: 0;
}

@keyframes fn_animated_text {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  65% {
    opacity: 1;
    text-shadow: 0 0 25px white;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
  }
}

/* Button styles */
.buttonsmain {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}

.button-grid {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
}

.btn-outline-primary {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  background: #e91e63;
  color: white;
  min-width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #d81b60;
  transform: translateY(-1px);
}

/* Background color fixes */
.bp_fn_hero .bg_overlay .bg_color {
  background-color: var(--themeClrDrk);
}

/* Scroll down button */
.bp_fn_down {
  position: absolute;
  bottom: 24px;
  z-index: 15;
  text-decoration: none;
  color: #eee;
  font-size: 14px;
  text-transform: uppercase;
  font-family: var(--hff);
  letter-spacing: 1px;
  padding-top: 60px;
}

.bp_fn_down:hover {
  color: var(--mc);
}

.bp_fn_down .icon {
  position: absolute;
  display: block;
  top: -16px;
  left: 50%;
  width: 18px;
  height: 40px;
  color: #aaa;
  margin-left: -9px;
  animation: bottomArrow 1.5s infinite;
  transition: all 0.3s ease;
}

.bp_fn_down .icon:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 40px;
  background-color: #aaa;
  left: 50%;
  margin-left: -1px;
  transition: all 0.3s ease;
}

.bp_fn_down:hover .icon {
  color: var(--mc);
}

.bp_fn_down:hover .icon:after {
  background-color: var(--mc);
}

@keyframes bottomArrow {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0px, 20px);
    opacity: 0;
  }
}

/* Logout button styles */
.header-menu .menu-item a.logout-btn {
  color: #f44336;
  transition: all 0.3s ease;
}

.header-menu .menu-item a.logout-btn:hover {
  color: #ff7961;
}

/* Mobile logout button */
.mobile-menu-item a.logout-btn {
  color: #f44336;
  font-weight: 600;
}

.mobile-menu-item a.logout-btn:hover {
  color: #ff7961;
}
