html, body {
    margin: 0;
    padding: 0;
    background-color: #3f3f3f; /* Világos krém szín */
    border: none; /* Eltüntetjük a szegélyeket */
    box-sizing: border-box; /* Az összes elemhez alkalmazott box-sizing */
    scroll-behavior: smooth;
}

/* Az oldal teljesen eltávolítja a keretet és az árnyékolást */
* {
    border: none; 
    box-shadow: none; /* Eltávolítja az árnyékot */
}

/* Szekció a főoldalon */
section#home {
    background-image: url('header.png?format=1900w');
    background-size: cover;
    background-position: center center;
    padding: 50px 0; /*padding: 50px 0;*/
    color: #474747;
    margin: 0; /* Ha van margó, ezt állítsd nullára */
    width: 100%; /* Győződj meg róla, hogy a szülő elem teljes szélességben kitöltse 
    height: 100vh; /* Állítsd be a szekció magasságát, hogy lefedje a teljes nézetet */
    height: calc(100vh - 20px); /* 10px felül + 10px alul */

        /* EZT add még hozzá, hogy középre kerüljön a szöveg a szekción belül: */
    display: flex;
    align-items: center;
    justify-content: center;
}

/*-----------------------------------------------HATTERKEP VALTOZAS KISEBB KIJELZON------------------------------------------------------------------*-/

/* 700px alatti képernyő esetén másik kép */
@media (max-width: 880px) {
  section#home {
    background-image: url('images/header-small.png');
  }
}


/* 700px alatti képernyő esetén másik kép */
@media (max-width: 880px) {
  section#home {
    background-image: url('images/header-small.png');
  }
}

/* 445px alatti képernyő esetén még másik kép */
@media (max-width: 445px) {
  section#home {
    background-image: url('images/header-tiny.png');
  }
}

/*EXTRA*/



/* Ha a képarány állított — pl. mobil, vagy portrait monitor */
@media (max-aspect-ratio: 4/5) {
  section#home {
    background-image: url('images/header-small.png');
  }
}

/* Ha még extrémebb a magasság pl. nagyon keskeny portrait vagy mobil */
@media (max-aspect-ratio: 3/5) {
  section#home {
    background-image: url('images/header-tiny.png');
  }
}
/*-----------------------------------------------HATTERKEP VALTOZAS KISEBB KIJELZON------------------------------------------------------------------*-/



/* Zsolt szöveg, elválasztott karakterekkel */
#home h1 { white-space: nowrap; }

/* Végső (vízjelszerű) láthatóság: itt állítsd be mennyire legyen sötét */
#home h1 span {
  --final-opacity: 0.7;  /* pl. 0.25–0.5 vízjelesebb; 1 = teljesen látható */
  opacity: 0;            /* kezdetben láthatatlan */
  transition: opacity 800ms ease-in-out;
  margin-left: 10px;
}

/* Ha már van egyedi margód a betűkre, ez maradhat */
#home h1 span:nth-child(2),
#home h1 span:nth-child(3),
#home h1 span:nth-child(4),
#home h1 span:nth-child(5) {
  margin-left: 40px;
}

/* Ezt a class-t a script teszi rá/veszi le */
#home h1 span.show {
  opacity: var(--final-opacity);
}

/* Navigációs menü */

/* Menü szövege a fejlécben */
header nav ul li a {
    color: #333; /* Sötét szürke szín */
    text-decoration: none;
    font-size: 25px;
    element.style: none; /* Eltüntetjük az alapértelmezett formázást */
}

/* A fejléc háttérszínét beállítjuk, hogy ugyanaz legyen, mint a háttér */
/* Betűtípus alkalmazása és vastag szöveg a headerben */
header {
    font-family: 'High Tower Text', serif;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    color: #242424;
    padding: 30px;
    text-align: center;
    z-index: 1000;
}



/* Menü elrendezés */
header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    border: none;
}

header nav ul li {
    margin: 0 15px;
    border: none;
}


/* Menü linkek */

/* Navigációs menü */
header nav ul li a {
    color: #242424; /* Alapértelmezett szövegszín */
    text-decoration: none;
    font-size: 15px;
    font-family: 'High Tower Text', serif;
    font-weight: bold;
    display: inline-block;
    padding: 1px 1px;
    text-align: center;
    width: 155px; /* Igazítás miatt adj meg szélességet */
    transition: color 0.3s ease, background-color 0.3s ease; /* Animáció a szövegre és háttérszínre */
}



/* További szakaszok */
section {
    padding: 20px;
    margin: 10px;
        padding-top: 100px; /* A fejléc alatti terület */
    background-color: #ffffff; /* Fehér háttér a szakaszokban */
    border-radius: 5px; /* Lekerekített sarkok */
}

/* A láblécben a szöveg balra és jobbra igazítva */

/* A bovietett MORE resz*/
.more-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

/* Ugyanaz a stílus mindkettőnek */
.more-toggle,
.scroll-top {
  font-family: "Cormorant Garamond", "High Tower Text", Georgia, serif; /* ugyanaz, mint h2 */
  font-weight: 600;
  padding: 6px 16px;
  font-size: 15px;
  border: 1px solid #333;          /* sötét keret */
  border-radius: 20px;
  background: #333;                /* sötét háttér */
  color: #fff;                     /* világos szöveg */
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.more-toggle:hover,
.scroll-top:hover {
  background: #000;                 /* még sötétebb háttér hover-re */
  border-color: #000;
  color: #fff;
}

.scroll-top {
  margin-left: auto; /* jobbra tolja a nyilat */
  line-height: 1;
}

/* FILM AND CREDITS*/


/* FILM AND CREDITS */


.more-content > h4 {
  text-align: center;
  margin-top: 40px;   /* vagy több, ha kell */
  margin-bottom: 20px;
}


#film-credits {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.credits-table {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin: 0 auto; /* <-- EZ KÖZÉPRE IGAZÍTJA */
  font-family: Arial, sans-serif;
}

.credits-row {
  display: grid;
  grid-template-columns: 80px 120px 160px 200px 1fr;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
}

.credits-row.header {
  font-weight: bold;
  background-color: #f0f0f0;
}

.credits-row:nth-child(even):not(.header) {
  background-color: #fafafa;
}

.credits-row > div {
  padding: 4px 8px;
  word-break: break-word;
  text-align: left;
}


/*FILM AND CREDITS*/

/*-------------------------------------------------GALLERY-------------------------------------------------------------------*/


#image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-wrapper:hover img {
  transform: scale(1.2);
}

/* Tablet méret (600px+) */
@media (min-width: 600px) {
  .image-wrapper {
    width: 140px;
    height: 140px;
  }
}

/* Laptop méret (1024px+) */
@media (min-width: 1024px) {
  .image-wrapper {
    width: 360px;
    height: 360px;
  }
}

/* Nagy képernyő (1440px+) */
@media (min-width: 1440px) {
  .image-wrapper {
    width: 480px;
    height: 480px;
  }
}




/*fade-in animacio*/


/* Fade-in animáció */
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.image-wrapper {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}


/*fade-in end*/


/*SZURKE-ARNYALAT*/

.image-wrapper img {
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.image-wrapper:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
/*SZURKE-ARNYALAT*/


/*-----------------------------------------------------------------------FELIRAT---------------------------------------------------------------*/




/* Galéria rács */
#image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.image-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
  flex-shrink: 0;
}

/* Alap kép stílus */
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
  display: block;
}

/* Hover effekt */
.image-wrapper:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* Felirat */
.image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 4px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.image-wrapper:hover .image-label {
  opacity: 1;
}

/* Fade-in külön class-szal */
@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

/* Képméret nagy kijelzőn */
@media (min-width: 1024px) {
  .image-wrapper {
    width: 360px;
    height: 360px;
  }
}

@media (min-width: 1440px) {
  .image-wrapper {
    width: 480px;
    height: 480px;
  }
}



/*-----------------------------------------------------------------------FELIRAT---------------------------------------------------------------*/

/*------------------------------------------------------GALLERY--------------------------------------------------------------------------------*/

/* REUSABLE TABLE STYLE FOR CREDITS & AGENCIES */
.credits-table {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.credits-row {
  display: grid;
  grid-template-columns: 180px 240px 240px 1fr;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
}
.credits-row.header {
  font-weight: bold;
  background-color: #f0f0f0;
}
.credits-row:nth-child(even):not(.header) {
  background-color: #fafafa;
}
.credits-row > div {
  padding: 4px 8px;
  word-break: break-word;
}

/* REUSABLE TABLE STYLE FOR CREDITS & AGENCIES END*/


/* ------------------------LINKS*-------------------------------------------*/


.icon-links {
  text-align: center;
  margin-top: 20px;
}

.icon-links a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
}

.icon-links .icon {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.icon-links .icon:hover {
  transform: scale(1.1);
}

.private-note {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: #666;
}


/* -------------------------------------------  ICON ****************************************************************/




.icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
}

/* -----------------------------------------LINKS ENDS-------------------------------------------*/

footer {
    display: flex;
    justify-content: space-between; /* Bal és jobb szélen helyezkedik el */
    padding:35px;
    color: #ffffff;
    border: none;
}

footer p {
    margin: 0; /* Eltávolítjuk a margin-t a p tagek körül */
        font-size: 12px; /* A betűméretet kisebbre állítjuk */
}

/* Bal oldali szöveg */
footer p:first-child {
    margin-left: 8px; /* 10px távolság a bal oldaltól */
}

/* Jobb oldali szöveg */
footer p:last-child {
    margin-right: 8px; /* 10px távolság a jobb oldaltól */
}


/* ---------------------------------------YOUTUBE ------------------------------------------------ */

#youtube {
  margin-top: 40px;
  /*text-align: center;*/
}

.section-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.youtube-description {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 16px;
}

.youtube-icon img {
  height: 40px;
  transition: transform 0.3s ease;
}

.youtube-icon {
  display: block;
  margin: 0 auto;
  width: 60px; /* vagy amit szeretnél */
}


.youtube-icon img:hover {
  transform: scale(1.1);
}

.more-controls {
  margin-top: 20px;
}



#videoList {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video-item {
    width: 250px;
    text-align: center;
}

.video-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.video-item h3 {
    font-size: 16px;
    margin-top: 10px;
}


/* YOUTUBW*/