@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
  --bg: #0a0a0a;
  --text: #fff;
  --accent: #191919;
  --highlight: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.kontakt-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  flex: 1;
}

main.kontakt-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

header#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0a0a0a);
  text-align: center;
  padding: 2rem;
}

.logo img {
  margin-top: 90%;
  height: 80px;
  margin-bottom: 1rem;
}

.intro h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.intro p {
  font-size: 1.2rem;
  color: #aaa;
}

.scroll-down {
  display: inline-block;
  margin-top: 18rem;
  margin-bottom: 6rem;
  font-size: 2rem;
  color: var(--text);
  animation: bounce 1.5s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--highlight);
  padding-left: 1rem;
}

.project {
  background: #111;
  padding: 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: 0.3s ease;
}
.project:hover {
  border-color: var(--highlight);
  transform: translateY(-5px);
}

.info-box {
  background: transparent;
  padding: 1rem 1.25rem;
  border-left: 3px solid #888;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  color: #aaa;
  font-size: 0.95rem;
}
.info-box i {
  margin-right: 6px;
  color: #aaa;
}

.kodesprog {
  background: #111;
  padding: 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  transition: 0.3s ease;
}
.kodesprog:hover {
  border-color: var(--highlight);
  transform: translateY(-5px);
}

form {
  display: flex;
  flex-direction: column;
}
form input, form textarea {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}
form button {
  padding: 1rem;
  border: none;
  background: var(--highlight);
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}
form button:hover {
  background: #07c;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 2rem 0;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #777;
  background: transparent;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-icons a {
  color: #ffffff;
  margin-left: 1.2rem;
  font-size: 2rem;
  transition: color 0.2s, transform 0.2s;
  vertical-align: middle;
  text-decoration: none;
}

.footer-icons a:hover {
  color: #ffffff81;
}

.fadein {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0a0a0a;
  padding: 0.5rem 2rem;
  border-bottom: 1px solid #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links li a:hover,
.nav-links li a:focus {
  background: #222;
}

.nav-links li a.active {
  font-weight: 700;
  background: #222;
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
  }
  .nav-logo {
    margin-bottom: 0.5rem;
  }
}

.footer-sticky {
  margin-top: auto;
}

.discord-btn {
  background: #fff;
  color: #23272a;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  margin-left: 2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 8px 0 rgb(0 0 0 / 6%);
  letter-spacing: 1px;
  font-family: inherit;
  font-size: 1rem;
  display: inline-block;
}

.discord-btn:hover,
.discord-btn:focus {
  font-weight: 700;
  background: #ffffff81;
}