@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600&display=swap');

/* =========================
   RESET / BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: #0e0b14;
  color: #F7C948;
  font-family: 'Roboto', sans-serif;
}

/* =========================
   FIXED HEADER (EGYSÉGES)
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 32px 80px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0)
  );
}

.header-left {
  flex-shrink: 0;
}

.logo {
  font-size: 40px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

/* =========================
   NAV / HAMBURGER
========================= */

.nav {
  display: flex;
}

.nav a {
  color: #F7C948;
  text-decoration: none;
  margin-left: 28px;
  font-size: 18px;
}

.nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* =========================
   GLOBAL PAGE OFFSET
   (EZ AZ EGYETLEN HELY!)
========================= */

main,
.page {
  padding-top: 140px;
}

/* =========================
   HOME VIDEO
========================= */

.home-video-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.home-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   WORK GRID
========================= */

.work-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 80px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* =========================
   FILMOGRAPHY / ALL WORK
========================= */

.filmography {
  max-width: 900px;
  margin: 120px auto 0;
  padding: 0 20px 80px;
}

.filmography h2 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: rgba(247, 201, 72, 0.6);
  text-transform: lowercase;
}

.filmography ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filmography li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
  color: rgba(247, 201, 72, 0.55);
}

.filmography .year {
  display: inline-block;
  width: 50px;
  color: rgba(247, 201, 72, 0.4);
}

.filmography strong {
  font-weight: 500;
  color: rgba(247, 201, 72, 0.75);
}


.work-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-item:hover img {
  transform: scale(1.04);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-overlay-text {
  text-align: center;
}

.work-title {
  display: inline-block;          /* 🔴 EZ A KULCS */
  white-space: nowrap;            /* 🔴 TILOS TÖRNI */

  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.2;
}

.work-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);  /* 👈 még halványabb */
  font-size: 13px;
  letter-spacing: 1px;
}


/* =========================
   SHOWREEL
========================= */

/* =========================
   SHOWREEL – FIX
========================= */

.showreel-page {
  min-height: calc(100vh - 140px);
  padding: 140px 0 80px;
  display: block;              /* 👈 NEM flex */
}

.showreel-video {
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 60px;         /* 👈 középre */
}

.showreel-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   WORK DETAIL (TISZTA, KÖZÉPRE)
========================= */

.work-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.detail-video {
  width: 80%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 60px;
}

.detail-video img.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-video iframe,
.detail-video video {
  width: 100%;
  height: 100%;
}

.detail-text {
  width: 60%;
  max-width: 720px;
  margin: 0 auto 60px;
}

.small-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: lowercase;
}

.detail-text h1 {
  font-size: 32px;
  margin: 10px 0 20px;
}

.detail-gallery {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   ABOUT
========================= */

.about-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.about-container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-image {
  flex: 0 0 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.about-text {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.6;
}

.about-text a {
  color: rgba(247, 201, 72, 0.7);
  text-decoration: none;
}

.about-text a:hover {
  text-decoration: underline;
}

/* CONTACT LEALUL */

.about-page {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
}

.contact {
  margin-top: auto;
  padding-top: 60px;
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
  opacity: 0.7;
}

.contact a {
  color: rgba(247, 201, 72, 0.7);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* LISTA PONTOK KI */

.about-main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  header {
    padding: 20px;
  }

  .logo {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #000;
    padding: 20px;
    flex-direction: column;
    border: 1px solid #F7C948;
    z-index: 1001;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    margin: 10px 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .showreel-video {
    width: 90%;
  }

  .detail-video,
  .detail-text,
  .detail-gallery {
    width: 90%;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    max-width: 240px;
  }

  .about-main {
    padding: 0 20px 60px;
  }

  .contact {
    flex-direction: column;
    gap: 10px;
  }

header {
  position: fixed;
  z-index: 5000;
}

.menu-toggle {
  position: relative;
  z-index: 6000;
}

.nav {
  z-index: 6000;
}