body {
  margin: 0;
  font-family: "Georgia", serif;
  letter-spacing: 0.2px;
  background: #2c2c2c;
  min-height: 100vh;
  padding-top: 50px; 
  overflow-y: auto;
}

/* =========================
   HEADER
========================= */

.floating-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 50px;

  background: #333;
  color: white;

  display: flex;
  justify-content: center; 

  z-index: 2000;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  width: 100%;
  max-width: 900px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  height: 100%;
}

/* logo */
.logo {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

  padding: 0 16px;
  cursor: pointer;

  font-size: 16px;
  letter-spacing: 1px;

  border-right: 1px solid rgba(255,255,255,0.1);
}

.logo img {
  height: 48px;  
  width: auto;

  display: block;

  filter: drop-shadow(0 0 2px rgba(0,0,0,0.4));
  transition: transform 0.2s ease;
}

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



/* =========================
   CONTENT WRAPPER
========================= */

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 16px;
}

/* =========================
   BOOK
========================= */

.book {
  width: 90%;
  max-width: 900px;
  min-height: 90vh;

  background: #fdf6e3;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);

  display: flex;
  flex-direction: column;

  border-radius: 8px;
  overflow: hidden;
}

/* page */
.page {
  flex: 1;
  padding: 16px;

  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f1a12;
}


/* =========================
   FOOTER
========================= */

.footer {
  width: 90%;
  max-width: 900px;

  margin: 20px auto 40px auto;

  color: rgba(255, 255, 255, 0.7);

  text-align: center;

  font-size: 13px;
  font-family: Georgia, serif;
  letter-spacing: 0.5px;
  font-style: italic;

  padding-top: 12px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  opacity: 0.8;
  text-shadow: 0 0 1px rgba(0,0,0,0.5);

}

.footer-tagline {
  font-size: 13px;
  font-style: italic;

  margin-bottom: 12px;

  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}

.footer-tagline:hover {
  color: #f3ead7;
  text-shadow: 0 0 8px rgba(255, 220, 150, 0.4);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 12px;
}

.footer-nav button {
  background: none;
  border: none;

  color: rgba(255,255,255,0.75);

  font-size: 13px;
  font-family: Georgia, serif;

  cursor: pointer;

  padding: 4px 6px;

  border-bottom: 1px solid transparent;

  transition: 0.2s;
}

.footer-nav button:hover {
  color: #f3ead7;
  border-bottom: 1px solid #a88a4a;
}

.footer-copy {
  font-size: 11px;
  opacity: 0.6;

  margin-top: 8px;

  letter-spacing: 0.5px;
}

/* =========================
   IMAGES
========================= */

.img-inline {
  max-width: 40%;
  margin: 10px 15px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.img-inline.left { float: left; }
.img-inline.right { float: right; }

/* =========================
   PAGE LOGO HEADER
========================= */

.page-logo {
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 10px 0;
}

.page-logo img {
  max-height: 240px;
  max-width: 80%;

  width: auto;
  height: auto;

  display: block;

  object-fit: contain;

  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

/* =========================
   COOKIES
========================= */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  background: #2b2b2b;
  color: #f5f1e8;

  padding: 16px;
  border-radius: 8px;

  display: flex;
  gap: 10px;
  align-items: center;

  z-index: 5000;
}

.cookie-banner.hidden {
  display: none;
}

/* =========================
   GALLERT
========================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  margin-top: 20px;
}

.gallery-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);

  border-radius: 6px;
  overflow: hidden;

  text-align: center;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;

  display: block;
}

.gallery-text {
  padding: 10px 12px;

  font-size: 14px;
  font-family: Georgia, serif;
  color: #2b2418;

  border-top: 1px solid rgba(0, 0, 0, 0.1);
}


/* =========================
   PROJECT CARDS
========================= */

.project-card {
  display: flex;
  gap: 20px;

  margin: 30px 0;
  padding: 20px;

  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);

  border-radius: 8px;
  overflow: hidden;

  align-items: center;

  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* Reverse layout */
.project-card.reverse {
  flex-direction: row-reverse;
}

/* Image */
.project-image {
  flex: 0 0 220px;
}

.project-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;

  border-radius: 6px;
}

/* Content */
.project-content {
  flex: 1;
}

/* Title */
.project-content h2 {
  margin: 0 0 10px 0;
  font-size: 22px;

  color: #1f1a12;
}

/* Text */
.project-content p {
  margin: 0 0 12px 0;
  font-size: 15px;

  color: #3a2f1f;
  line-height: 1.6;
}

/* Link */
.project-link {
  text-decoration: none;

  font-size: 14px;
  font-style: italic;

  color: #5a4a2e;
  border-bottom: 1px solid rgba(90, 70, 40, 0.4);

  transition: all 0.2s ease;
}

.project-link:hover {
  color: #000;
  background: rgba(255, 240, 200, 0.4);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 600px) {
  .book {
    width: 100%;
    height: calc(100vh - 50px);
    height: auto;
    border-radius: 0;
  }

  .menu {
    flex-direction: column;
    height: auto;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .project-card {
    flex-direction: column;
    text-align: center;
  }

  .project-card.reverse {
    flex-direction: column;
  }

  .project-image {
    width: 100%;
  }

  .project-image img {
    height: 180px;
  }
}