/* ===================================
   MIA Explore - Main CSS
   =================================== */

/* Bebas Neue 400 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/bebas-neue-v16-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/manrope-v20-latin-200.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/manrope-v20-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/manrope-v20-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/manrope-v20-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/manrope-v20-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/manrope-v20-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/manrope-v20-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-slate: #2a2a2a;
  --color-cyan: #06d6d6;
  --color-cyan-dark: #114954;
  --color-cyan-less-bright: #34c1c8;
  --color-cyan-bright: #00ffff;
  --color-amber: #ff8435;
  --color-amber-warm: #ffa066;
  --color-amber-cooked: #915028;
  --color-white: #ffffff;
  --color-gray-darker: #929292;
  --color-gray: #a0a0a0;
  --color-gray-light: #d0d0d0;
  --color-dark-sky-blue: #193155;
  --color-midnight-blue: #1e2a35;
  --color-sea-green: #0f5659;
  --color-stormy-sapphire: #335bbb;
  --color-twilight-harbor: #1b5364;

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Manrope", sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================
   Language switching — hide all lang
   sections by default, show active
   =================================== */
div[lang] {
  display: none;
}

html[lang="en"] div[lang="en"],
html[lang="fr"] div[lang="fr"] {
  display: block;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background-color var(--transition-smooth),
    padding var(--transition-smooth);
}

.header-primary {
  background: rgba(0, 0, 0, 0.3);
}

.header-secondary {
  background: rgba(0, 0, 0, 0.75);
}

/* Scrolled state (opacity 0.6, height ~70%) */
.header.header--scrolled {
  background: rgba(0, 0, 0, 0.6);
  padding: 0.7rem 4rem; /* ~70% of 1rem */
}

.header.header--scrolled .logo {
  height: 32px; /* ~70% of 45px */
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 45px;
  width: auto;
  transition: height var(--transition-smooth);
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link-active {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cyan);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-cyan);
}

.nav-link:hover::after {
  width: 100%;
}

button.nav-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Highlight the active language label in cyan */
html[lang="en"] .lang-label-en,
html[lang="fr"] .lang-label-fr {
  color: var(--color-cyan);
}

/* ===================================
   HAMBURGER BUTTON
   =================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

/* Animate into an X when menu is open */
.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   CTA SECTION
   =================================== */

.contact-banner {
  background: var(--color-cyan);
  padding: 5rem 2rem;
  overflow: hidden;
  position: relative;
}

.contact-banner-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-banner-outline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 12rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.38);
  text-stroke: 2px rgba(255, 255, 255, 0.38);
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
  transform: translateY(-8%);
}

.contact-banner-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 8.25rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.75);
  max-width: 900px;
}

.contact-banner-title span {
  display: block;
  font-style: italic;
}

.contact-banner-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: var(--transition-smooth);
  box-shadow: 0 14px 40px rgba(10, 10, 10, 0.2);
}

.contact-banner-btn:hover {
  transform: translateY(-2px);
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 18px 55px rgba(10, 10, 10, 0.28);
}

.contact-banner-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--color-dark);
  padding: 4rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  padding-bottom: 0;
  border-bottom: none;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-nav img {
  width: 200px;
  height: auto;
}

.footer-logo {
  opacity: 0.85;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 3rem;
}

.footer-link {
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.78);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
  align-items: end;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-smooth);
}

.social-link svg {
  width: 42px;
  height: 42px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.1rem;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 900px) {
  .contact-banner {
    padding: 4rem 1.5rem;
  }

  .contact-banner-inner {
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }

  .contact-banner-outline {
    transform: translateY(-18%);
  }

  .contact-banner-btn {
    margin-top: 0.75rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 1rem;
  }

  .header.header--scrolled {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.7rem 1rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-link {
    font-size: 1.5rem;
  }

  .footer-nav img {
    margin: 0 auto;
  }
}

/* ===================================
   MOBILE NAV OVERLAY
   =================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    /* Off-screen by default */
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 150;
    padding: 2rem;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-link,
  .nav-link-active {
    font-size: 1.4rem;
  }
}
