/* HEADER + ACHTERGROND */

.uni-header-hero {
  position: relative;
  min-height: 72vh; /* minder hoog */
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 40, 0.9) 0%, rgba(8, 10, 40, 0.55) 45%, rgba(8, 10, 40, 0.35) 100%),
    url("../../images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* NAVBAR */

.uni-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  background: transparent;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
}

.uni-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.uni-navbar-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.uni-logo-link {
  display: inline-flex;
  align-items: center;
}

.uni-logo-image {
  height: 30px;
  width: auto;
}

/* NAV LINKS */

.uni-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

/* alle states expliciet, zodat niets blauw wordt */
.uni-nav-link,
.uni-nav-link:visited,
.uni-nav-link:active {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff !important;
  position: relative;
  transition: color 0.2s ease;
}

.uni-nav-link:hover,
.uni-nav-link:focus {
  color: #ffffff !important;
  text-decoration: none;
}

.uni-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background-color: #00c389;
  transition: width 0.2s ease;
}

.uni-nav-link:hover::after,
.uni-nav-link:focus::after {
  width: 100%;
}

/* RECHTS: TALEN SWITCH */

.uni-navbar-right {
  display: flex;
  align-items: center;
}

.uni-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.uni-lang-option {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.7;
  cursor: pointer;
}

.uni-lang-option.is-active {
  opacity: 1;
}

.uni-lang-option:hover,
.uni-lang-option:focus {
  opacity: 1;
}

.uni-lang-separator {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* HERO TEXT */

.uni-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 7rem; /* ruimte onder fixed navbar */
  padding-bottom: 3.5rem;
}

.uni-hero-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.uni-hero-title {
  font-size: clamp(2.1rem, 3vw + 1rem, 3.1rem);
  max-width: 36rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.uni-hero-title span {
  display: block;
}

.uni-hero-subtitle {
  max-width: 34rem;
  font-size: 1rem;
  opacity: 0.86;
  margin-bottom: 1.5rem;
}

/* EIGEN HERO BUTTON (geen Bootstrap .btn) */

.uni-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: none;
  background-color: #00c389;
  color: #101322;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 195, 137, 0.45);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.uni-hero-cta:hover,
.uni-hero-cta:focus {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 195, 137, 0.55);
  background-color: #00a873;
  color: #101322;
}

/* NAVBAR SCROLL STATE: wit én iets hoger */

.uni-navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 1.1rem 0; /* iets dikker zodra hij wit wordt */
}

/* alle linkstates in witte navbar donker, ook hier niets blauw */

.uni-navbar.scrolled .uni-nav-link,
.uni-navbar.scrolled .uni-nav-link:visited,
.uni-navbar.scrolled .uni-nav-link:active {
  color: #171b33 !important;
}

.uni-navbar.scrolled .uni-nav-link:hover,
.uni-navbar.scrolled .uni-nav-link:focus {
  color: #171b33 !important;
}

.uni-navbar.scrolled .uni-lang-toggle {
  background-color: rgba(23, 27, 51, 0.05);
}

.uni-navbar.scrolled .uni-lang-option {
  color: #171b33;
}

.uni-navbar.scrolled .uni-lang-separator {
  color: rgba(23, 27, 51, 0.6);
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
  .uni-nav-links {
    gap: 1.1rem;
  }

  .uni-hero-title {
    max-width: 30rem;
  }
}

@media (max-width: 767.98px) {
  .uni-navbar-left {
    gap: 1rem;
  }

  .uni-nav-links {
    display: none; /* later evt mobiel menu */
  }

  .uni-hero-content {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .uni-hero-title {
    font-size: 2rem;
  }
}
