/* ------------------------------ */
/*           FONTS IMPORT         */
/* ------------------------------ */

/* @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&display=swap"); */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

/* --------------------------- */
/*           VARIABLES         */
/* --------------------------- */

:root {
  --bg-black: #0e0e0c;
  --base-color: white;
  --text-color: hsl(216, 4%, 27%);
  /* --text-color: #0e0e0c; */
  --placeholder-color: yellow;
  --hr-color: #2b2b2b;
  --bg-button-color: #0e0e0c;
  --text-button-color: #f4f4f4;
  --normal-color: #0e0e0c;
  --fullscreen-menu-bg-color: white;
  --fullscreen-menu-text-color: #0e0e0c;
  --button-hover-color: #252525;
  --title-color: #0e0e0c;

  --bg-button: #0e0e0c;

  --h3-color: #262626;
}

.darkmode {
  --base-color: #111111;
  --text-color: #f4f4f4;
  --placeholder-color: red;
  --hr-color: #f4f4f4;
  --bg-button-color: #f4f4f4;
  --text-button-color: #0e0e0c;
  --normal-color: #f4f4f4;
  --fullscreen-menu-bg-color: #0e0e0c;
  --fullscreen-menu-text-color: #f4f4f4;
  --button-hover-color: #b4b4b4;
  --title-color: #f4f4f4;

  --bg-button: #f4f4f4;

  --h3-color: #f4f4f4;
}
/* Light and Dark mode compatible */
#primary__button {
  background-color: var(--bg-button);
  border: 1px solid var(--bg-button);
  color: var(--text-button-color);
  font-family: "Inter", sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#primary__button:hover {
  background-color: transparent;
  color: var(--text-color);
}

#primary__button:active {
  background-color: var(--bg-button);
  color: var(--text-button-color);
}

#secondary__button {
  background-color: transparent;
  border: 1px solid var(--bg-button);
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#secondary__button:hover {
  background-color: var(--bg-button);
  color: var(--text-button-color);
}

#secondary__button:active {
  background-color: var(--bg-black);
  color: var(--text-button-color);
}

/* * {
  transition: all 0.2s ease;
} */

body,
html {
  scroll-behavior: smooth;
}

/* Burde gøre så link og logo ikke er grøn / gul */

a:visited {
  color: var(--text-color);
}

a:hover,
a:focus {
  color: var(--text-color);
}

/* Burde gøre så link og logo ikke er grøn / gul */

body {
  background: var(--base-color);
  color: var(--text-color);
}

body.menu-open {
  overflow-y: scroll; /* Keep scrollbar */
  position: fixed; /* Lock scroll position */
  top: 0;
  left: 0;
  right: 0;
}

strong {
  color: var(--title-color);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

#ul-font {
  color: var(--text-color);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

h2 {
  color: var(--title-color);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 600;
}

#normal-font {
  color: var(--title-color);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

p,
#clients__font,
#footer__font {
  color: var(--text-color);
  font-family: "Inter", sans-serif;
}

.contact__info {
  color: var(--text-color);
  font-family: "Inter", sans-serif;
}

label,
input,
textarea {
  color: var(--text-color);
  background: transparent;
  font-family: "Inter", sans-serif;
}

#message {
  color: var(--title-color);
}

.hr-border {
  border-color: var(--hr-color);
}

hr {
  color: var(--hr-color);
}

#vr {
  background-color: var(--hr-color);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

img {
  -webkit-touch-callout: none;
}

h3 {
  color: var(--title-color);
}

.logo,
h3,
h1,
#percentage {
  font-family: "Orbitron";
}

/* body {
  opacity: 0 !important;
  transition: opacity 0.2s ease-in-out !important;
}

body.fade-in {
  opacity: 1 !important;
} */

.logo img {
  transition: filter 0.2s ease-in-out;
  filter: invert(0%); /* Light mode: original color (black) */
}

.darkmode .logo img {
  filter: invert(100%); /* Dark mode: inverted color (white) */
}

/* -------------------------------------------------------- */
/*               SOCIAL BUTTONS SECTION START               */
/* -------------------------------------------------------- */

.social__media {
  transition: all 0.2s ease-in-out;
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-button-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none; /* Remove link underline */
}

.social__media:hover {
  background: var(--button-hover-color);
}

.social__media img {
  transition: filter 0.2s ease-in-out;
  filter: invert(0%); /* Light mode = black icons */
}

.darkmode .social__media img {
  filter: invert(100%); /* Dark mode = white icons */
}

.social__button {
  transition: all 0.2s ease-in-out;
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-button-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.social__button img {
  transition: filter 0.2s ease-in-out;
  filter: invert(0%); /* default for light mode (black) */
}

.social__button:hover {
  background: var(--button-hover-color);
}

.darkmode .social__button img {
  filter: invert(100%);
}

/* ------------------------------------------------------ */
/*               SOCIAL BUTTONS SECTION END               */
/* ------------------------------------------------------ */

#scroll__top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-button-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  cursor: pointer;
}

#scroll__top.show {
  opacity: 1;
  visibility: visible;
}

#scroll__top:hover {
  background: var(--button-hover-color);
}

#scroll__top img {
  transition: filter 0.2s ease-in-out;
  filter: invert(0%); /* Light mode = black icons */
}

.darkmode #scroll__top img {
  filter: invert(100%); /* Dark mode = white icons */
}

/* --------------------------------------------------------- */
/*               LIGHT/DARK MODE SECTION START               */
/* --------------------------------------------------------- */

#theme__switch {
  transition: all 0.2s ease-in-out;
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-button-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 34px;
  z-index: 9999;
  cursor: pointer;
}

#theme__switch:hover {
  background: var(--button-hover-color);
}

#theme__switch img {
  fill: var(--base-color);
}

#theme__switch img:last-child {
  display: none;
}

.darkmode #theme__switch img:first-child {
  display: none;
}

.darkmode #theme__switch img:last-child {
  display: block;
}

/* ------------------------------------------------------- */
/*               LIGHT/DARK MODE SECTION END               */
/* ------------------------------------------------------- */

/* ----------------------------------------------------------- */
/*               SOCIAL LINKS NAV ROW / COLUMN                 */
/* ----------------------------------------------------------- */

.social__media__group {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: row; /* column or row! */
  gap: 15px;
  z-index: 9999;
}

.social__media {
  transition: all 0.2s ease-in-out;
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-button-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* ------------------------------------------------------------ */
/*               ACTIVE & UNDERLINE SECTION START               */
/* ------------------------------------------------------------ */

.active {
  position: relative;
  display: inline-block;
}

.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background-color: currentColor;
}

.footer__underline {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.footer__underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.2s ease-in-out;
}

.footer__underline:hover::after {
  width: 100%;
}

.link__underline {
  position: relative;
  text-decoration: none;
  color: white;
  transition: color 0.2s ease;
}

.link__underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  background-color: var(--text-color);
  transition: width 0.2s ease-in-out;
}

.link__underline:hover::after {
  width: 100%;
}

/* ---------------------------------------------------------- */
/*               ACTIVE & UNDERLINE SECTION END               */
/* ---------------------------------------------------------- */

/* --------------------------------------------------------------- */
/*               VERTICAL IMAGE SCROLL SECTION START               */
/* --------------------------------------------------------------- */

.sticky_parent {
  height: 500vh;
}

.sticky {
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100vh;
}

.scroll_section {
  position: absolute;
  top: 0;
  height: 100%;
  width: 500vw;
  will-change: transform;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.scroll-img {
  /* width: 1000px; */
  height: 80%;
  object-fit: cover;
  object-position: center;
}

/* ------------------------------------------------------------- */
/*               VERTICAL IMAGE SCROLL SECTION END               */
/* ------------------------------------------------------------- */

/* ---------------------------------------------- */
/*           LOADING SCREEN SECTION START         */
/* ---------------------------------------------- */

#loader__container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10000;
  transition: all 0.5s ease-in-out;
}

#percentage {
  font-size: 16px;
  font-weight: 600;
  color: #dfdfdf;
}

.fade-up {
  animation: flyUp 0.5s ease-in-out forwards;
}

@keyframes flyUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-100%);
  }
}

/* -------------------------------------------- */
/*           LOADING SCREEN SECTION END         */
/* -------------------------------------------- */

/* ---------------------------------------------------------- */
/*           FULLSCREEN NAVIGATION MENU SECTION START         */
/* ---------------------------------------------------------- */

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  z-index: 999;
}

.navbar .menu__items {
  display: flex;
}

.navbar .nav__container li {
  list-style: none;
}

.navbar .nav__container a {
  color: var(--normal-text-color);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.7rem;
}

.nav__container {
  display: block;
  position: relative;
  /* height: 60px; */
}

.nav__container .checkbox {
  position: absolute;
  display: block;
  height: 22px;
  width: 48px;
  top: 49px;
  right: 16px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav__container input[type="checkbox"]:checked {
  width: 48px;
  height: 48px;
  right: 16px;
  top: 34px;
}

.nav__container .hamburger__lines {
  display: block;
  height: 12px;
  width: 48px;
  position: absolute;
  top: 17px;
  right: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  top: 55%;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.nav__container .hamburger__lines .line {
  position: absolute;
  width: 48px;
  height: 2px;
  background: var(--normal-color);
  transition: transform 0.4s ease-in-out;
}

.nav__container .hamburger__lines .line1 {
  transform: translateY(-5px);
}

.nav__container .hamburger__lines .line2 {
  transform: translateY(5px);
}

.navbar .menu__items {
  padding-top: 3rem; /* added so text is more aligned middle and on phone */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--fullscreen-menu-bg-color);
  font-family: Orbitron;
  transform: translateY(-150%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition: transform 0.5s ease-in-out;
  text-align: center;
}

.navbar .menu__items li {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 500;
}

.navbar .menu__items li a {
  color: var(--fullscreen-menu-text-color);
  /* font-size: clamp(2rem, 2vw, 3.4rem); old font-size */
  font-size: clamp(
    1.6rem,
    1.2rem + 1vw,
    2.4rem
  ); /* better text size for phone and zoom/bigger text on phone */
  text-align: center;
}

.logo {
  color: var(--fullscreen-menu-text-color);
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 55;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.logo__link {
  display: inline-flex;
  align-items: center; /* Vertically center image and text */
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  height: 54px; /* Same as image height */
}

.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center text inside the column */
  height: 100%;
}

.logo__by {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 1;
  line-height: 1.1;
}

.logo__name {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
}

.nav__container input[type="checkbox"]:checked ~ .menu__items {
  transform: translateX(0);
}

.nav__container input[type="checkbox"]:checked ~ .hamburger__lines .line1 {
  transform: rotate(45deg);
}

.nav__container input[type="checkbox"]:checked ~ .hamburger__lines .line2 {
  transform: rotate(-45deg);
}

.nav__container input[type="checkbox"]:checked ~ .logo {
  display: none;
}

/* -------------------------------------------------------- */
/*           FULLSCREEN NAVIGATION MENU SECTION END         */
/* -------------------------------------------------------- */

.sticky__parent {
  height: 500vh;
}

.sticky {
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100vh;
}

.scroll__section {
  position: absolute;
  top: 0;
  height: 100%;
  width: 500vw;
  will-change: transform;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scroll__section img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  margin-right: 40px;
  object-position: center;
}

.scroll__section img:last-child {
  margin-right: 0;
}

@media (max-width: 1023px) {
  .sticky__parent {
    display: none;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(35%);
    opacity: 0;
  }

  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

.fade-in-up-anim {
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0; /* Ensure initial hidden state */
}

@keyframes fadeInLeft {
  0% {
    transform: translateX(-35%);
    opacity: 0;
  }

  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.fade-in-left-anim {
  animation: fadeInLeft 0.7s ease-out forwards;
  opacity: 0; /* Ensure initial hidden state */
}

.fade-delay-0 {
  animation-delay: 0ms;
}
.fade-delay-1 {
  animation-delay: 200ms;
}
.fade-delay-2 {
  animation-delay: 400ms;
}
.fade-delay-3 {
  animation-delay: 600ms;
}
.fade-delay-4 {
  animation-delay: 800ms;
}
.fade-delay-5 {
  animation-delay: 1200ms;
}

/* .masonry__gallery img {
  height: 500px;
} */
