:root {
  --font-main: 'DM Sans';
  --color-bg: #1f2021;
  --color-text: #eaeaea;
  --color-accent: #0078ff;
  --color-footer-bg: #111;
  --color-footer-text: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-main);
  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-blend-mode: multiply;
  background-color: #686868;
  background-size: cover;
  padding: 1rem 0;
}

.navbar {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  display: block;
  max-width: 20%;
  background: rgba(255,255,255,0.4);
  border-radius: 12px;
  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;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 35px;
  cursor: pointer;
}

.menu span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

main {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 1rem;
}

.detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.detail-header h1 {
  color: var(--color-accent);
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.detail-header p {
  color: #ccc;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.detail-image {
  width: 100%;
  height: 350px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.detail-info h2 {
  color: var(--color-accent);
  margin-bottom: 0.7rem;
  font-size: 1.6rem;
}

.detail-info p {
  margin-bottom: 1.5rem;
}

.detail-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

.detail-info li {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

.btn {
  background: var(--color-accent);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: #006ae6;
}

footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.7rem;
}

.nav-links.active {
  right: 0;
}

@media (max-width: 768px) {
  .menu {
    display: flex;
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
  }

  .navbar {
    justify-content: flex-start;
    position: relative;
  }

  .nav-links {
    position: fixed;
    width: 250px;
    height: 100%;
    top: 0;
    right: -250px;
    flex-direction: column;
    padding: 4rem 1rem;
    gap: 1.5rem;
    background: #303030;
    transition: 0.3s ease;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-image {
    height: 220px;
  }

  .detail-header h1 {
    font-size: 2rem;
  }
}
