/* BASE */
body {
  margin: 0;
  background: #000;
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
}

/* DONATION TEXT (TOP) */
#donated {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3vh;
  font-weight: bold;
  z-index: 10;
  white-space: nowrap;   /* ❗ никогда не переносить */

}


.logo {
  max-width: 280px;
  height: auto;
}

/* CENTER IMAGE */
main {
  position: relative;
  height: calc(100vh - 200px);
}

.image-container {
  position: absolute;
  top: 62%;
  left: 50%;
  width: 70vw;
  height: 70vh;
  transform: translate(-50%, -50%);
}

.img-layer {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  opacity: 0;
  transition: opacity 3s ease-in-out;
  pointer-events: none;

  filter: contrast(110%) brightness(105%);
}

.img-layer.visible {
  opacity: var(--opacity, 1);
}


/* FOOTER (SMALLER) */
footer {
  position: absolute;
  width: 100%;
  padding-bottom: 30px;
  text-align: center;
  transform: scale(1);
  transform-origin: bottom center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-contact {
  margin-top: 6px;
  font-size: 11px;
  color: #888;
}



@media (max-width: 480px) {

  .image-container {
    width: 100vw;   /* было 70vw → +≈25% */
    height: 85vh;  /* увеличиваем и по высоте */
  }

}

/* CENTER WRAPPER */
.center-wrapper {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* MAIN IMAGE */
.main-image {
  max-width: 70vw;
  opacity: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* MENU UNDER IMAGE */
.center-menu {
  margin-top: 600px;
  display: flex;
  justify-content: center;
  gap: 100px;
}

.center-menu a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.center-menu a:hover {
  opacity: 0.5;
}

.image-container {
  pointer-events: none;
}



/* TOP RIGHT MENU */
.top-menu {
  position: fixed;
  top: 30px;
  right: 30px;
  display: flex;
  gap: 20px;
  z-index: 20;
}

.top-menu a {
  font-size: 12px;
  letter-spacing: 2px;
  color: white;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
}

.top-menu a:hover {
  opacity: 0.5;
}

main {
  height: 100vh;
  display: flex;
  align-items: center;   /* ВЕРТИКАЛЬНЫЙ ЦЕНТР */
  overflow-x: auto;
  overflow-y: hidden;
}

.lineup-row {
  display: flex;
  gap: 10px;
  padding: 0 40px;
}

/* EACH ITEM */
.lineup-item {
  position: relative;
  width: 120px;
  height: 55vh;
  overflow: hidden;
  flex-shrink: 0;
}

.lineup-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.overlay p {
  font-size: 11px;
  line-height: 1.4;
  color: white;
}

/* HOVER EFFECT */
.lineup-item:hover .overlay {
  opacity: 1;
}

/* чтобы имя было над картинкой */
.lineup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ИМЯ АРТИСТА */
.artist-name {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: white;
  text-align: center;
  white-space: nowrap;
}

/* LOCATION LAYOUT */
.location-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  height: 100vh;
  padding: 0 80px;
  box-sizing: border-box;
}

/* TEXT BLOCK */
.location-text {
  max-width: 500px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: white;
}

.location-text p {
  margin-bottom: 16px;
}

/* IMAGE COLUMN */
.location-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-images img {
  width: 260px;
  height: auto;
  object-fit: cover;
  filter: contrast(110%) brightness(95%);
}

/* контейнер стрелок */
.nav-arrows {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0px;
  opacity: 50%;
  z-index: 20;
  pointer-events: none; /* чтобы не блокировали */
}

/* сами кнопки */
.nav-arrows button {
  background: transparent;
  border: none;              /* ❗ убрали рамку */
  color: white;
  font-size: 28px;
  cursor: pointer;
  pointer-events: auto;      /* вернуть кликабельность */
  transition: opacity 0.3s ease, transform 0.2s ease;
}

/* hover эффект */
.nav-arrows button:hover {
  opacity: 0.5;
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .nav-arrows button {
    font-size: 22px;
  }
}

/* GLOBAL MOBILE FIX */
html, body {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}


@media (max-width: 480px) {
  .top-menu {
    top: 20px;
    right: 15px;
    gap: 12px;
  }

  .top-menu a {
    font-size: 10px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  #donated {
    font-size: 14px;
    top: 15px;
  }
}

@media (max-width: 480px) {
  .main-image {
    width: 180%;          /* увеличили примерно в 2 раза */
    max-width: none;      /* убрали ограничение */
    height: auto;
    display: block;

    position: relative;
    left: 50%;
    transform: translateX(-50%); /* идеальный центр */
  }
}

  .center-menu {
    flex-direction:row;
    gap: 12px;
    margin-top: 320px;
  }

  .center-menu a {
    font-size: 12px;
  }


@media (max-width: 480px) {

  main {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .lineup-container {
    overflow-x: auto;
  }

  .lineup-row {
    gap: 8px;
    padding: 0 20px;
  }

  .lineup-item {
    width: 90px;
    height: 55vh;
  }

  .artist-name {
    font-size: 9px;
  }

  .overlay p {
    font-size: 10px;
  }

  /* стрелки меньше */
  .nav-arrows {
    bottom: 20px;
    right: 15px;
  }

  .nav-arrows button {
    font-size: 12px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {

  .location-wrapper {
    flex-direction: column;
    padding: 80px 20px 40px;
    height: auto;
    gap: 30px;
  }

  .location-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .location-images {
    width: 100%;
  }

  .location-images img {
    width: 100%;
  }
}


@media (max-width: 480px) {
  footer {
    bottom: 15px;
  }

  .footer-logo {
    width: 24px;
    height: 24px;
  }

  .footer-contact {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .top-menu {
    top: 55px;              /* под donation */
    left: 50%;
    right: auto;            /* ❗ убираем правое позиционирование */
    transform: translateX(-50%);
    gap: 15px;
  }

  .top-menu a {
    font-size: 10px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {

  footer {
    position: absolute;   /* ❗ убираем absolute */
    bottom: auto;
    margin-bottom: 30px;
    padding-bottom: 60px;
  }

}

@media (max-width: 480px) {
  .location-wrapper {
    height: auto;
  }
}


/* NEW LOCATION LAYOUT */
.location-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 40px 80px;
  gap: 40px;
  height: auto;
}

/* TEXT CENTER */
.center-text {
  text-align: center;
  max-width: 600px;
}

/* CENTER IMAGE */
.location-image-center img {
  width: 500px;
  max-width: 90vw;
  height: auto;
  display: block;
}

/* 3 IMAGES ROW */
.location-images-row {
  display: flex;
  gap: 20px;
}

.location-images-row img {
  width: 220px;
  max-width: 30vw;
  height: auto;
  object-fit: cover;
}

/* MOBILE */
@media (max-width: 480px) {

  .location-wrapper {
    padding: 100px 20px 60px;
    gap: 30px;
  }

  .location-image-center img {
    width: 100%;
  }

  .location-images-row {
    flex-direction: column; /* ❗ столбик */
    width: 100%;
  }

  .location-images-row img {
    width: 100%;
  }
}

/* TOP IMAGE */
.location-image-top img {
  width: 200px;        /* можно регулировать */
  max-width: 80vw;
  height: auto;
  display: block;
}


#ticketz {
  color: white;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;      /* вернуть кликабельность */
  transition: opacity 0.3s ease, transform 0.2s ease;
  
}
/* DESKTOP — как раньше */
.location-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (max-width: 480px) {

  .location-final {
    flex-direction: column;
    gap: 20px;
  }

  .location-images-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .location-images-row img {
    width: 92vw;              /* ❗ почти весь экран */
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;

    margin: 0 auto;           /* ❗ центр */
  }

  .location-side-text {
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    padding: 0 10px;
  }
}




/* КОНТЕЙНЕР */
#bg-effects {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* КАРТИНКИ */
.bg-img {
  position: absolute;
  width: 180px;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: 
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* АКТИВНОЕ СОСТОЯНИЕ */
.bg-img.show {
  opacity: 0.25;
  transform: translateY(0) scale(1);
}

.lineup-item {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 15px;
  box-sizing: border-box;


  opacity: 0;
  transition: 0.3s;
}

.overlay p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
}

@media (max-width: 768px) {

.overlay {
  padding: 8px;
}

.overlay p {
  font-size: 11px;
  line-height: 1.2;
}

}

.overlay {
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.lineup-item.active .overlay {
  opacity: 1;
  pointer-events: auto;
}