body {
  font-family: 'PT Serif', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
}
.site-header {
  background: #f2f2f2;
  padding: 20px 0 10px 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
}

.header-top {
  display: flex;
  justify-content: flex-start;
}

.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.language-switch {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.main-nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #222;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}


.book-meta {
  font-family: 'PT Serif', serif;
}

.book-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: .3rem;
}

.book-author {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.book-original {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.book-publication {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.book-meta hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #bbb;
}

.book-description {
  font-size: 1.05rem;
  line-height: 1.8;
}



blockquote {
  border-top: 1.5rem;
  font-family: 'PT Serif', serif;
  font-size: 1.25rem;
  line-height: 1.6;
  border-left: 6px solid #111;
  padding-left: 1.5rem;
  margin: 3rem 0;
  color: #333;
}

.section-title {
  font-weight: 600;
  margin-bottom: 30px;
}

.hero {
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-light {
  background: #ffffff;
}

.section-grey {
  background: #f2f2f2;
}

.service-card {
  background: #ffffff;
  transition: transform .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}
/* GRID */

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
}

.book-item {
  position: relative;
  display: block;
}

.book-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.book-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  transition: opacity .2s ease;
}

.book-item:hover .book-overlay {
  opacity: 1;
}

.overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Inter', sans-serif !important;
}

.overlay-title {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.overlay-author {
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.overlay-year {
  font-size: 0.7rem;
  opacity: 0.85;
}


.book-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #111;  /* blødere end sort */
  color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
}

.book-placeholder .overlay-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* FULLSCREEN PANEL */

#bookPanel {
  position: fixed;
  inset: 0;
  background: #1c1c1c;
  display: none;
  overflow-y: auto;
  z-index: 3000;
}

#bookPanel.active {
  display: block;
}

.book-panel-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

#bookClose {
  position: fixed;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}



.portfolio-card {
  background: #ffffff;
  transition: transform .2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-img {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
}

#bookPanel {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#bookPanel.active {
  display: flex;
}

#bookPanelContent {
  background: #fff;
  width: 85%;
  max-width: 1000px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
}



.meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #666;
}

.footer {
  background: #111;
}


@media (max-width: 768px) {

  .header-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .main-nav a {
    margin-left: 0;
  }
}
