*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

section{

    width: 100%;
    min-height: 100vh;
}



@font-face {
  font-family: "OldEnglish";
  src: url("fonts/VTC-BadTattooHandOne.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}



/*NAV*/

body {
  font-family: 'Roboto', sans-serif;
  background-color:#0e0e0e ;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
}

nav {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 1.5%;
}

nav ul {
  background-color: #7a00007b;
  backdrop-filter: blur(3px);
  height: 60px;
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  list-style: none;
  border-radius: 25px;
  padding: 0 10px;
  transition: 0.3s;
}

/* Ikonok normál állapotban */
nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: 0.4s ease;
}



/* Hover effekt – Kiemelkedik, nő, kör alakú háttér */
nav ul li:hover a {
  background-color: #0e0e0e;
  border: solid 2px #7A0000;
  transform: translateY(-20px) scale(1.25);
  border-radius: 50%;
}



@media (max-width: 768px) {
  nav ul {
    width: 70%;
    height: 55px;
  }

  nav ul li a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  nav ul {
    width: 90%;
    height: 55px;
  }

  nav ul li a {
    width: 38px;
    height: 38px;
  }
}


/* --- NAVBAR ANIMÁCIÓK --- */

/* UL belépő animáció */
@keyframes navEnter {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* LI elemek sorban érkeznek */
@keyframes navItemEnter {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Alkalmazás */
nav ul {
  animation: navEnter 0.8s ease forwards;
}

nav ul li {
  opacity: 0; /* induláskor rejtett */
  animation: navItemEnter 0.6s ease forwards;
}

/* Soronkénti késleltetés */
nav ul li:nth-child(1) { animation-delay: 0.2s; }
nav ul li:nth-child(2) { animation-delay: 0.35s; }
nav ul li:nth-child(3) { animation-delay: 0.5s; }
nav ul li:nth-child(4) { animation-delay: 0.65s; }
nav ul li:nth-child(5) { animation-delay: 0.8s; }
nav ul li:nth-child(6) { animation-delay: 0.85s; }




/*NAV*/






/* ================= GALLERY ================= */

.gallery {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 12%, rgba(122, 0, 0, 0.18), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(122, 0, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #090909 0%, #0e0e0e 28%, #0a0a0a 100%);
  overflow: hidden;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(90deg, transparent 0, transparent 58px, rgba(255, 255, 255, 0.012) 59px);
  opacity: 0.35;
  pointer-events: none;
}

.gallery-container{
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

.nav-btn{

    display: none;
}

.gallery h2 {
  text-align: center;
  font-size: 38px;
  color: #7A0000;
  margin-bottom: 25px;
}

/* BAL OLDAL */

.leiras{
  width: 50%;
  background-color: #0e0e0e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
  color: rgba(255,255,255,0.7);
  padding: 0 80px;
  text-align: center;

  box-shadow:
    120px 0 120px -20px #0e0e0e,
    150px 0 20px -60px #0e0e0e,
    400px 0 300px -120px #0e0e0e;
}




/* JOBB OLDAL */

.gallery-wrapper{
  width: 50%;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-left: 70px;
}

/* TRACK */

.gallery-track{
  display: flex;
  gap: 20px;
  padding: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;

  user-select: none;
}

.gallery-track:active{
  cursor: grabbing;
}

/* FONTOS: a JS 270px-et számol → ehhez igazítjuk */

.gallery-track img{
  width: 450px;   /* 250px + 20px gap ≈ 270 */
  height: 450px;
  flex-shrink: 0;
  border-radius: 16px;
  object-fit: cover;

  user-select: none;
  -webkit-user-drag: none;
}

.gallery-track::-webkit-scrollbar{
  display: none;
}

.gallery-track{
  scrollbar-width: none;
}

@media (min-width: 1071px) {
  .gallery {
    padding: 120px 0 80px;
  }

  .gallery-container {
    display: block;
    position: relative;
    width: min(90vw, 1240px);
    min-height: auto;
    margin: 0 auto 56px;
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
      linear-gradient(135deg, rgba(122, 0, 0, 0.12), rgba(122, 0, 0, 0.03) 30%, rgba(14, 14, 14, 0.98) 66%),
      #0e0e0e;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
  }

  .gallery-container::before {
    content: "";
    position: absolute;
    inset: -16% auto -16% -9%;
    width: 36%;
    background:
      radial-gradient(circle at 0% 50%, rgba(122, 0, 0, 0.44) 0, rgba(122, 0, 0, 0.24) 24%, rgba(122, 0, 0, 0.08) 48%, rgba(122, 0, 0, 0) 72%);
    filter: blur(30px);
    pointer-events: none;
  }

  .gallery-container:nth-of-type(even)::before {
    inset: -16% -9% -16% auto;
    background:
      radial-gradient(circle at 100% 50%, rgba(122, 0, 0, 0.44) 0, rgba(122, 0, 0, 0.24) 24%, rgba(122, 0, 0, 0.08) 48%, rgba(122, 0, 0, 0) 72%);
  }

  .leiras {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: auto;
    padding: 0 0 28px;
    text-align: center;
    align-items: center;
    justify-content: center;
    box-shadow: none;
  }

  .leiras::after {
    content: "";
    width: 88px;
    height: 2px;
    margin-top: 24px;
    background: linear-gradient(90deg, rgba(122, 0, 0, 0), rgba(122, 0, 0, 0.95), rgba(122, 0, 0, 0));
  }

  .gallery h2 {
    text-align: center;
    margin-bottom: 16px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.96;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .leiras p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
  }

  .gallery-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    padding: 0;
  }

  .gallery-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    overflow: visible;
    cursor: default;
  }

  .gallery-track:active {
    cursor: default;
  }

  .gallery-track img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    cursor: zoom-in;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #080808;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  }

  .gallery-track img:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.28);
    filter: brightness(1.03);
  }
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(10px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-image {
  max-width: min(92vw, 1180px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.92);
  color: rgba(255, 255, 255, 0.9);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.gallery-lightbox-close:hover {
  transform: scale(1.06);
  border-color: rgba(122, 0, 0, 0.9);
  color: #fff;
}

/* NAV BUTTON */

.nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  border: 2px solid #7A0000;
  color: #7A0000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.left{ left: 15px; }
.right{ right: 15px; }

/* MOBIL */

@media (max-width: 1070px){

  .gallery-container{
    flex-direction: column;
  }

  .leiras{
    width: 100%;
    padding: 80px 30px;
  }

  .gallery-wrapper{
    width: 100%;
    margin-left: -20px;
    padding-left: 0;
  }

  .gallery-track img{
  width: 350px;   /* 250px + 20px gap ≈ 270 */
  height: 450px;
}
}




.footer {
  width: 100%;
  padding: 40px 0;
  background: #0d0d0d;
  text-align: center;

}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer p,
.footer a {
  color: #a0a0a0;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: 'Science Gothic', sans-serif;
  text-decoration: none;
}

.footer .brand {
  color:#7A0000;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
}

.footer a:hover {
  color: #fff;
  transition: 0.3s;
}
/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background-color: #0e0e0e;
  border: 2px solid #7A0000;
  padding: 20px;
  border-radius: 12px;
  z-index: 99999;
  display: none;
  color: rgba(255,255,255,0.85);
}

.cookie-banner p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  flex: 1;
  padding: 10px;
  background-color: #7A0000;
  color: rgba(255,255,255,0.5);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.cookie-banner button:hover {
  background-color: #0e0e0e;
  border: 1px solid #7A0000;
}

.cookie-link {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.cookie-link:hover {
  color: #7A0000;
}


/* COOKIE BANNER */
