/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Schibsted Grotesk", sans-serif;
  font-weight: 500;
  background: #fff;
  color: #333;
  text-align: left;
  line-height: 1.6;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: white;
  padding: 1rem;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  left: 0;
  transition: transform 0.3s ease;
  transform: translateX(0);
  z-index: 1000;
}

.sidebar.active {
  transform: translateX(-260px);
}

.sidebar h2 {
  font-family: 'Silkscreen', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

nav ul li {
  margin-bottom: 1rem;
}

nav ul li a, nav ul li span {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  display: block;
  user-select: none;
}

.dropdown > span::after {
  content: " ▼";
  font-size: 0.7em;
  float: right;
}

.submenu {
  display: none;
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.submenu.active {
  display: block;
}

/* Social icons */
.social-icons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  max-width: 150px;
}

.social-icons img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  transition: opacity 0.2s;
}

.social-icons img:hover {
  opacity: 0.7;
}

/* Main content */
.content {
  margin-left: 260px;
  padding: 2rem 1rem;
  max-width: 900px;
  text-align: center;
}

h1 {
  font-family: 'Silkscreen', 'Verdana', sans-serif;
  font-size: 40px;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 1rem;
}

p.narrow-text {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
  text-align: left;
}

/* Menu toggle button (mobile) */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: #333;
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  z-index: 1100;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-260px);
    position: fixed;
    z-index: 1000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .content {
    margin-left: 0;
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
  }
}

/* Vertical Gallery Styles */
.vertical-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.vertical-gallery img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

.vertical-gallery img:nth-child(2) { animation-delay: 0.1s; }
.vertical-gallery img:nth-child(3) { animation-delay: 0.2s; }
.vertical-gallery img:nth-child(4) { animation-delay: 0.3s; }
.vertical-gallery img:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
