:root {
  --white: #ffffff;
  --light-blue: #e0f0ff;
  --dark-blue: #003366;
  --hover-blue: #005599;
  --text: #222;
  --max-width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  border-bottom: 0.05vh solid var(--light-blue);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2vh 4vh;
  position: relative;
}

.logo {
  font-size: 3vh;
  font-weight: bold;
  color: var(--dark-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 3vh;
  height: 3vh;
  cursor: pointer;
  z-index: 1100;
}

.hamburger div {
  width: 100%;
  height: 0.4vh;
  background-color: var(--dark-blue);
  border-radius: 2px;
  transition: all 0.3s linear;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 3vh;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--hover-blue);
}

.hero {
  height: 100vh;
  background: linear-gradient(-45deg, #003366, #005599, #002244, #0066cc);
  background-size: 400vh 400vh;
  animation: epicGradient 20s ease infinite;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 12vh;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes epicGradient {
  0% {
    background-position: 0vh 50vh;
  }
  50% {
    background-position: 100vh 100vh;
  }
  100% {
    background-position: 0vh 50vh;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: -50vh;
  left: -50vh;
  width: 200vh;
  height: 200vh;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent);
  animation: rotateNebel 120s linear infinite;
  z-index: 0;
}

@keyframes rotateNebel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInEpic 3s ease forwards;
  opacity: 0;
}

@keyframes fadeInEpic {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 6vh;
  margin-bottom: 2vh;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 2vh rgba(255, 255, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 4vh rgba(255, 255, 255, 0.9);
  }
}

.section {
  padding: 12vh 4vh;
  background: var(--white);
}

.section.lightblue {
  background: var(--light-blue);
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4vh;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.container.reverse {
  flex-direction: row-reverse;
}

.container img {
  width: 100vh;
  max-width: 40vh;
  border-radius: 2vh;
  box-shadow: 0 2vh 4vh rgba(0, 0, 0, 0.1);
}

.text {
  max-width: 35vh;
  min-width: 28vh;
}

.text h2 {
  font-size: 4vh;
  margin-bottom: 2vh;
}

.center-text {
  text-align: center;
  max-width: 80vh;
  margin: 0 auto;
}

footer {
  background: var(--dark-blue);
  color: var(--light-blue);
  text-align: center;
  padding: 6vh 2vh;
  font-size: 1.8vh;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    border-bottom: 1px solid var(--light-blue);
    z-index: 1050;
  }

  .nav-links.active {
    max-height: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-links a {
    padding: 1.5vh 0;
    margin: 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--light-blue);
  }

  .container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .container.reverse {
    flex-direction: column;
  }

  .container img {
    width: 100%;
    max-width: 80vw;
    height: auto;
    border-radius: 2vh;
    box-shadow: 0 2vh 4vh rgba(0, 0, 0, 0.1);
    margin-bottom: 2vh;
  }

  .text {
    max-width: 90vw;
    padding: 0 2vh;
  }

  .text h2 {
    font-size: 3.5vh;
  }
}

.dotted-overlay-container {
    width: 100%;
    height: 100%;
    background-size: 44vh;
    background-image: url("../img/test.png");
    box-shadow: inset 0 0 1.8vh #ffffff41;
    text-align: center;
}