/* ============================================================
   ODA SCHULTZ — WEBSITE CSS
   Static Portfolio Site
   ============================================================ */

/* --- Fonts (local) --- */
@font-face {
  font-family: 'markibook';
  src: url('fonts/1524markibook.woff2') format('woff2'),
       url('fonts/1524markibook.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'markibold';
  src: url('fonts/2297markibold.woff2') format('woff2'),
       url('fonts/2297markibold.woff') format('woff');
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'markibook', Georgia, serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.6; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 5%;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 100;
}

.nav-logo {
  font-family: 'markibook', serif;
  font-size: 14pt;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 60px;
  list-style: none;
}

.nav-links a {
  font-family: 'markibook', serif;
  font-size: 12pt;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover { opacity: 0.5; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #000;
}

/* ============================================================
   HOMEPAGE HERO — full-bleed portrait
   ============================================================ */
.hero {
  padding: 0;
  margin: 0;
}

.hero img {
  width: 100%;
  max-height: 90vh;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   PAGE HERO — full-bleed banner for project / about pages
   ============================================================ */
.page-hero {
  width: 100%;
  height: 68vh;
  min-height: 380px;
  overflow: hidden;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   WORK OVERVIEW — Homepage & Work page
   ============================================================ */
.section-title {
  font-family: 'markibook', serif;
  font-size: 24pt;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 60px 0 40px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 0 5% 80px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 0;
}

.project-item .project-inner {
  grid-column: 2;
  text-align: center;
}

.project-item img {
  width: 100%;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

.project-item img:hover { opacity: 0.85; }

.project-item h2 {
  font-family: 'markibook', serif;
  font-size: 18pt;
  font-weight: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-item p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}

.arrow-link {
  display: inline-block;
  margin-top: 10px;
}

.arrow-link img {
  width: 120px;
  height: auto;
  margin: 0 auto;
}

/* ============================================================
   WORK PAGE — 2-column grid
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 6%;
  padding: 40px 6% 100px;
}

.work-grid-item {
  text-align: center;
}

.work-grid-item > a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin-bottom: 22px;
  transition: opacity 0.3s ease;
}

.work-grid-item > a:hover img { opacity: 0.85; }

.work-grid-item h2 {
  font-family: 'markibook', serif;
  font-size: 15pt;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.work-grid-item p {
  font-family: 'markibook', serif;
  font-size: 11pt;
  line-height: 1.65;
  margin-bottom: 18px;
  color: #444;
}

/* ============================================================
   COLLABORATIONS STRIP (Homepage)
   ============================================================ */
.collab-strip {
  border-top: 1px solid #e0e0e0;
  padding: 40px 5%;
  text-align: center;
}

.collab-strip p {
  font-family: 'markibook', serif;
  font-size: 11pt;
  letter-spacing: 0.05em;
  color: #555;
}

.collab-strip a {
  color: #000;
  border-bottom: 1px solid #999;
  padding-bottom: 1px;
}

.collab-strip a:hover { border-color: #000; opacity: 1; }

/* ============================================================
   PROJECT DETAIL PAGES
   ============================================================ */
.page-header {
  padding: 60px 5% 20px;
  text-align: center;
}

.page-header h1 {
  font-family: 'markibook', serif;
  font-size: 36pt;
  font-weight: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 12px;
}

.page-header .subtitle {
  font-family: 'markibook', serif;
  font-size: 12pt;
  color: #555;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

.artwork-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 5% 80px;
}

.artwork-item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}

.artwork-item .artwork-inner {
  grid-column: 2;
  text-align: center;
}

.artwork-item img {
  width: 100%;
  margin-bottom: 16px;
}

.artwork-item h3 {
  font-family: 'markibook', serif;
  font-size: 18pt;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.artwork-item p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.6;
  color: #333;
  margin-bottom: 6px;
}

.artwork-item .medium {
  font-style: italic;
  color: #777;
  font-size: 11pt;
}

/* Video embed */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 40px 5% 60px;
}

.about-inner {
  grid-column: 2;
}

.about-inner p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-video {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 0 5% 80px;
}

.about-video .video-inner {
  grid-column: 2;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 40px 5% 80px;
}

.contact-inner {
  grid-column: 2;
  text-align: center;
}

.contact-inner img {
  width: 100%;
  margin-bottom: 40px;
}

.contact-inner p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.8;
}

.contact-inner a:hover { opacity: 0.6; }

/* ============================================================
   COLLABORATIONS PAGE
   ============================================================ */
.collab-intro {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 40px 5% 60px;
}

.collab-intro-inner {
  grid-column: 2;
  text-align: center;
}

.collab-intro-inner p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.8;
  color: #333;
}

/* --- Brand sections --- */
.collab-brand {
  padding: 0 0 100px;
}

.collab-brand-header {
  text-align: center;
  padding: 0 5% 36px;
}

.collab-brand-header h2 {
  font-family: 'markibook', serif;
  font-size: 28pt;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.collab-brand-header .collab-tags {
  font-family: 'markibook', serif;
  font-size: 10pt;
  color: #888;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Dynamic image gallery grid --- */
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 5px;
}

.collab-grid-item {
  overflow: hidden;
  background: #f5f5f5;
}

.collab-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collab-grid-item:hover img { transform: scale(1.04); }

.collab-grid-item.span-2 { grid-column: span 2; }
.collab-grid-item.tall    { grid-row: span 2; }

/* --- Two-column layout (Audi) --- */
.collab-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.collab-two-col-item {
  overflow: hidden;
  background: #f5f5f5;
  height: 480px;
}

.collab-two-col-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.collab-two-col-item:hover img { transform: scale(1.04); }

/* --- Brand text below gallery --- */
.collab-brand-text {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 40px 5% 0;
}

.collab-brand-text-inner {
  grid-column: 2;
  text-align: center;
}

.collab-brand-text-inner p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.8;
  color: #333;
}

/* --- Divider between brands --- */
.collab-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 5% 80px;
}

/* ============================================================
   PARALLAX DIVIDER
   ============================================================ */
.parallax-divider {
  height: 300px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('https://o-d-a.com/wp-content/uploads/2017/02/ODA_2017_1.jpg');
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 50px 5%;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 50px;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  font-family: 'markibook', serif;
  font-size: 11pt;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-legal a {
  font-family: 'markibook', serif;
  font-size: 9pt;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bbb;
}

.footer-legal a:hover { color: #000; opacity: 1; }

.footer-copy {
  font-family: 'markibook', serif;
  font-size: 10pt;
  color: #999;
  margin-top: 16px;
}

.datenschutz-credit {
  font-size: 10pt;
  color: #aaa;
  margin-top: 40px;
  font-style: italic;
}

/* ============================================================
   IMPRESSUM / TEXT PAGE
   ============================================================ */
.text-page {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 20px 5% 80px;
}

.text-page-inner {
  grid-column: 2;
}

.text-page-inner h2 {
  font-family: 'markibook', serif;
  font-size: 18pt;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 32px;
}

.text-page-inner p {
  font-family: 'markibook', serif;
  font-size: 12pt;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  nav {
    padding: 24px 5%;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 16px;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  /* Homepage hero: taller on mobile so landscape images have impact */
  .hero {
    height: 65vh;
    min-height: 420px;
  }
  .hero img {
    height: 100%;
    object-fit: cover;
  }

  .page-hero {
    height: 48vh;
    min-height: 240px;
  }

  .project-item,
  .artwork-item,
  .about-content,
  .about-video,
  .contact-content,
  .collab-intro,
  .collab-brand-text,
  .text-page {
    grid-template-columns: 1fr;
  }

  .project-item .project-inner,
  .artwork-item .artwork-inner,
  .about-inner,
  .about-video .video-inner,
  .contact-inner,
  .collab-intro-inner,
  .collab-brand-text-inner,
  .text-page-inner {
    grid-column: 1;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 30px 5% 80px;
  }

  .collab-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .collab-grid-item.span-2 { grid-column: span 1; }

  .collab-two-col {
    grid-template-columns: 1fr;
  }

  .collab-two-col-item { height: 280px; }

  .page-header h1 { font-size: 24pt; }
  .section-title { font-size: 20pt; }

  .footer-links { gap: 24px; }

  .parallax-divider {
    background-attachment: scroll;
    height: 200px;
  }
}
