/* Custom styles for language switcher */

/* Make ALL language buttons white text by default (both active and inactive) */
.share-menu .share-menu-list .btn-circle {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #fff !important;
  opacity: 0.7;
  transition: all 0.3s ease;
}

/* Hover effect: texto azul con resaltado */
.share-menu .share-menu-list .btn-circle:hover {
  opacity: 1;
  color: #c1a779 !important;
  text-shadow: 0 0 10px #c1a779;;
  transform: translateY(-2px);
}

/* Make sure the text inside inherits the color */
.share-menu .share-menu-list .btn-circle .small-font {
  color: inherit;
}

/* Remove circle styles from ms-logo when it contains an image */
.ms-logo img {
  display: block;
}

.ms-logo:has(img) {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: 80px !important;
  height: auto !important;
  line-height: normal !important;
  font-size: inherit !important;
}

/* Remove margin-top from footer and fix spacing */
.ms-footbar {
  margin-top: 0 !important;
}

/* Remove the white space before footer */
.ms-footbar:before {
  display: none !important;
}

/* ============================================ */
/* HERO FULLSCREEN WITH ZOOM OUT EFFECT */
/* ============================================ */

.hero-fullscreen-zoom {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Zoom out animation - starts at 140% and zooms out to 100% over 30 seconds */
  animation: zoomOut 30s ease-out forwards;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-fullscreen-zoom {
    height: 100vh;
    min-height: 500px;
  }
}
