:root {
  --font-main: 'DM Sans';
  --color-bg: #1f2021;
  --color-text: #222;
  --color-accent: #0078ff;
  --color-footer-bg: #111;
  --color-footer-text: #eee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: auto;
  font-family: var(--font-main);
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

header {
  width: 100%;
  background-image: url(assets/bilder/black-white-brush-stroke-textured-background.jpg);
  background-color: rgba(51, 51, 51, 0.6);
  background-blend-mode: multiply;
  background-size: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: static;
}

.navbar {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-accent);
}

.logo img {
  display: block;
  max-width: 20%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.2s ease-in;
}

.nav-links a:hover {
  color: var(--color-accent);
}

main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.box {
  position: relative;
  width: 100vw;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.box h1 {
  position: relative;
  z-index: 2;
  color: #eaeaea;
  font-size: 1.5rem;
  max-width: 90%;
  line-height: 1.4;
}

.box p {
  max-width: 400px;
  margin-bottom: 1.5rem;
}

.showcase-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.showcase-box {
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  overflow: hidden;
}

.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.showcase-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.1));
}

.showcase-header,
.showcase-box nav {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  width: 100%;
  background: none;
}

.showcase-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.showcase-header p {
  max-width: 450px;
  margin: 0 auto 1rem auto;
  color: white;
  text-align: center;
}

.showcase {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.showcase h2 {
  font-size: 1.8rem;
  color: rgb(255, 255, 255);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.showcase p {
  color: #e6e6e6;
  font-size: 1rem;
  line-height: 1.7;
}

.btn {
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease-in-out;
}

.btn:hover {
  background: #005fcc;
}

footer {
  width: 100%;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 0.6em;
  text-align: center;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
}

.menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
}

.menu span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hiddenallah {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    display: flex;
    position: absolute;
    right: 1.2rem;
  }

  .navbar {
    justify-content: flex-start;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background: #303030;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1rem;
    gap: 1.5rem;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  main {
    width: 100%;
    padding: 2rem 1rem;
  }

  .showcase-container {
    padding: 2rem 1rem;
  }

  .showcase-box {
    height: auto;
    padding: 1rem;
  }

  .showcase-header h1 {
    font-size: 1.3rem;
  }

  .showcase-header p {
    font-size: 0.9rem;
  }

  .showcase {
    padding: 2rem 1.2rem;
  }

  .showcase h2 {
    font-size: 1.4rem;
  }

  .box {
    height: 200px;
    padding: 20px;
  }

  .bg-video {
    opacity: 0.25;
  }

  .box h1 {
    font-size: 0.9rem;
  }

  .logo {
    margin-left: 0.5rem;
  }
}
