/* ======================
        COLORS
======================= */
:root {
  --green: #4a8b6d;
  --yellow: #e7c045;
  --white: #ffffff;
  --dark: #1c1c1c;
}

/* ======================
        GLOBAL
======================= */

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background: #000;
}

/* ======================
      PREMIUM NAVBAR
======================= */

.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 65px;
  padding: 8px 25px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  background: rgba(74,139,109,0.85);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 26px rgba(0,0,0,0.18);
  border-radius: 0 0 20px 20px;

  z-index: 999;
}

/* ======================
       LOGO LEFT
======================= */

.nav-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-box {
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 14px;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.nav-logo-box img {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 900;
  color: white;
}

/* ======================
      MENU CENTERED
======================= */

.nav-menu {
  justify-self: center;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  color: white;

  padding: 6px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.25s;
  text-decoration: none;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* ======================
   BEAUTIFUL BURGER BUTTON
======================= */

.nav-burger {
  position: absolute;
  right: 55px;
  top: 50%;
  transform: translateY(-50%);

  display: none;
  flex-direction: column;
  cursor: pointer;

  width: 34px;
  height: 26px;

  z-index: 1001;
}

.nav-burger span {
  width: 100%;
  height: 4px;
  background: white;
  margin: 4px 0;
  border-radius: 4px;
  transition: 0.35s ease;
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ======================
        HERO
======================= */

.hero {
  margin-top: 65px;
  width: 100%;
  min-height: calc(100dvh - 65px);

  background-image: url("/img/back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* REMOVE BROKEN BIG MARGIN */
.hero-btn {
  margin-top: 350px;
  padding: 14px 34px;
  background: var(--yellow);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: .25s;
}

.hero-btn:hover {
  background: #f7d67e;
}

/* ======================
      MOBILE MENU
======================= */

@media (max-width: 900px) {

  .nav-burger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;

    background: rgba(74,139,109,0.97);
    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 25px 0;
    border-radius: 0 0 20px 20px;

    transform: translateY(-200%);
    opacity: 0;

    transition:
      transform 0.45s ease,
      opacity 0.35s ease;

    z-index: 1000;
  }

  .nav-menu.show {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-menu a {
    font-size: 20px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a:hover {
    background: rgba(255,255,255,0.20);
  }
}

/* ============================
   CUSTOM LANGUAGE DROPDOWN
=============================== */

.lang-switch {
  position: absolute;
  right: 115px;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  z-index: 2000;
}

.lang-selected {
  padding: 6px 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: 0.25s;
}

.lang-selected:hover {
  background: rgba(255,255,255,0.35);
}

.lang-options {
  display: none;
  flex-direction: column;
  margin-top: 6px;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);

  border-radius: 10px;
  overflow: hidden;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.lang-options div {
  padding: 10px 14px;
  color: white;
  cursor: pointer;
  transition: 0.25s;
}

.lang-options div:hover {
  background: rgba(0,0,0,0.15);
}

.lang-switch.active .lang-options {
  display: flex;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ============================
   CUSTOM LANGUAGE DROPDOWN
=============================== */

.lang-switch {
  position: absolute;
  right: 115px;
  top: 50%;
  transform: translateY(-50%);
  user-select: none;
  z-index: 2000;
}

.lang-selected {
  padding: 6px 14px;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: 0.25s ease;
  transform-origin: center;
}

.lang-switch.active .lang-selected {
  transform: scale(1.12);
  background: rgba(255,255,255,0.35);
}

.lang-options {
  display: flex;
  flex-direction: column;

  margin-top: 6px;
  width: 100%;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  overflow: hidden;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);

  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.lang-switch.active .lang-options {
  max-height: 300px;
  opacity: 1;
}

.lang-options div {
  padding: 10px 14px;
  color: white;
  cursor: pointer;
  transition: 0.25s;
}

.lang-options div:hover {
  background: rgba(0,0,0,0.15);
}
