:root {
  --color-bg-dark: #0a0a0a;
  --color-bg-section: #3c3714;
  --color-light: #f0eada;
  --color-text: #f5f5f5;
  --font-primary: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "Akira Expanded", sans-serif;
}
/* === FONT LOAD === */
@font-face {
  font-family: "Akira Expanded";
  src: local("Akira Expanded"), url("fonts/AkiraExpanded.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

/* === GLOBAL === */
body {
  line-height: 1.6;
  font-family: var(--font-primary);
}

a {
  color: #7d2020;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.navbar {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}

.navbar .logo img {
  height: 90px;
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  font-family: var(--font-heading);
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 500;
}

.hire-btn {
  background: #fff;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  font-family: var(--font-primary);
  font-size: 20px;
}

.hire-btn:hover {
  background: #c0b68d;
  color: #000;
}

/* Burger menu styles */
.burger {
  display: flex;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1000;
}

.burger .line {
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* 🔄 Kryds-effekt når aktiv */
.burger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.burger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === ANIMATIONS === */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0% {
    transform: scale(1.05) translateX(0);
  }
  25% {
    transform: scale(1.05) translateX(-3px);
  }
  50% {
    transform: scale(1.05) translateX(3px);
  }
  75% {
    transform: scale(1.05) translateX(-2px);
  }
  100% {
    transform: scale(1.05) translateX(0);
  }
}

/* === HERO === */
.hero {
  position: relative;
  background-image: url(images/linkedin.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 4rem 2rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}
.hero h1,
.cards {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: normal;
  letter-spacing: 2px;
  color: var(--color-light);
  animation: fadeUp 1s ease forwards;
}
/* === CARDS === */
.cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.card {
  width: 340px;
  height: 480px;
  padding: 2rem;
  text-align: center;
  background-color: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(500px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease-in-out;
}

.card:nth-child(1) {
  transform: rotate(-5deg);
}
.card:nth-child(2) {
  transform: rotate(-1.5deg);
}
.card:nth-child(3) {
  transform: rotate(4deg);
}

.card:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 2;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.card img {
  width: 100%;
  height: 320px;
  margin-top: 0.7rem;
  object-fit: cover;
  filter: brightness(1.1) contrast(1.05);
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.card h2 {
  font-family: var(--font-heading), italic;
  font-size: 2rem;
  font-weight: normal;
  color: var(--color-light);
  margin-bottom: 0.5rem;
}
.about-section {
  width: 100vw;
  background: var(--color-bg-dark);
  padding: 20px 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;

  opacity: 0.65;
  z-index: 0;
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-light);
  margin-bottom: 2rem;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-light);
}

.offer-section {
  background-color: var(--color-bg-section);
  padding: 6rem 2rem;
  color: #fff;
}

.offer-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
  color: var(--color-light);
}

.offer-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.offer-right {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.offer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid #666;
  padding: 1.5rem 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.why-me {
  background-color: var(--color-bg-section);
  padding: 4rem 2rem;
  color: var(--color-light);
}

.why-me h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-light);
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-card {
  background-color: rgb(50, 50, 50); /* Lys baggrund */
  color: var(--color-light);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Let skygge */
  border: 1px solid #fcfcfc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.grid-card span {
  display: block;
  font-weight: 600;
  color: #c0b68d;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.grid-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--color-light);
}

.grid-card p {
  font-size: 1rem;
  color: var(--color-light);
  line-height: 1.6;
}

.projects {
  background-color: var(--color-bg-section);
  color: #111;
  padding: 5rem 2rem;
}

.projects h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-light);
  text-align: left;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: rgb(50, 50, 50); /* Lys baggrund */

  padding: 2rem;

  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  font-size: 1.3rem;
  color: var(--color-light);
  margin-bottom: 0.8rem;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-light);
}

.experience-section {
  padding: 4rem 2rem;
  background: var(--color-bg-section);
}

.experience-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--color-light);
  text-align: left;
}

.cv-row {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 100px;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}

.cv-row:last-child {
  border-bottom: 1px solid #ddd;
}

.cv-number {
  font-weight: 500;
  color: var(--color-light);
}

.cv-role {
  font-weight: bold;
  color: var(--color-light);
}

.cv-company {
  color: var(--color-light);
}

.cv-years {
  text-align: right;
  font-size: 0.9rem;
  color: var(--color-light);
}

/* Responsive: 1 column layout on mobile */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .offer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-right p {
    text-align: left;
  }
}
/* === SECTIONS === */

/* === FOOTER === */
.footer {
  background-color: #111;
  color: var(--color-light);
  padding: 3rem 1rem;
  text-align: center;
}

.footer h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.footer p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  line-height: 1.6;
}

.footer a {
  color: var(--color-light);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.social-icons img {
  width: 120px;
  height: 110px;
  transition: transform 0.3s ease;
  filter: brightness(0.9);
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* Responsivt: Mindre skærme */
@media (max-width: 600px) {
  .footer h2 {
    font-size: 1.8rem;
  }

  .footer p {
    font-size: 1rem;
  }

  .social-icons {
    gap: 1.5rem;
  }

  .social-icons img {
    width: 36px;
    height: 36px;
  }
}
.dark-bg {
  background-color: var(--color-bg-section);
  color: var(--color-light);
}
.dark-bg h1,
.dark-bg h2 {
  font-family: "Akira", sans-serif;
  text-transform: uppercase;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

.image-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}

.image-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.5rem;
}
.video-productions {
  padding: 6rem 2rem;
  background-color: var(--color-bg-dark);
  color: var(--color-text);
}

.video-productions h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.video-productions .muted {
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 3rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background-color: #111;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.video-card video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.video-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.video-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

.centered-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    transform: rotate(0deg) !important;
  }

  .card:hover {
    transform: scale(1.03);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-right {
    display: none;
  }
}
