/* =========================
   ЦВЕТА TMNV
   ========================= */
:root {
  --black: #000000;
  --red: #a30000;
  --bone: #e6dfd2;
  --gold: rgb(198, 167, 94);
  --muted: #777;
}

/* =========================
   RESET + БАЗА
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth; /* плавная прокрутка по якорям */
}

body {
  background-image: url("../img/TMNV-background_3.jpg"); /* ← ФОН ДЕСКТОП */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  color: var(--bone);
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   ЗАТЕМНЕНИЕ ФОНА
   ========================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2); /* ← СИЛА ЗАТЕМНЕНИЯ */
  z-index: -1;
  pointer-events: none;
}

/* =========================
   ШАПКА
   ========================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;       /* ← РАЗМЕР ЛОГО НА ДЕСКТОПЕ */
  max-width: 160px;
  width: auto;
  filter: invert(1);
}

/* НАВИГАЦИЯ */
nav a {
  margin-left: 32px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--bone);
}

nav a:hover {
  color: var(--red);
}

/* =========================
   БУРГЕР + МОБИЛЬНОЕ МЕНЮ
   ========================= */
.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  z-index: 30;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
  font-size: 24px;
  transform: translateY(-100%);
  transition: 0.45s ease;
  z-index: 25;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  letter-spacing: 4px;
  color: var(--bone);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 32px;
  cursor: pointer;
  color: var(--gold);
}

/* =========================
   HERO
   ========================= */
.hero {
  position: fixed;
  inset: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,1);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  font-size: clamp(56px, 12vw, 96px);
  letter-spacing: 8px;
}

.hero p {
  margin-top: 20px;
  letter-spacing: 3px;
  color: var(--gold);
  font-size: 14px;
}

/* =========================
   ОСНОВНОЙ КОНТЕНТ
   ========================= */
main {
  margin-top: 100vh; /* ← после hero */
  position: relative;
  z-index: 2;
}

section {
  padding: 75px 0;
  opacity: 0;
  transition: all 0.9s ease;
}

/* анимации секций */
section.slide-left { transform: translateX(-100px); }
section.slide-right { transform: translateX(100px); }
section.slide-mid { transform: translateY(200px); }
section.visible {
  opacity: 1;
  transform: translate(0);
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center; /* 🔥 ключ */
}

/* =========================
   ЗАГОЛОВКИ СЕКЦИЙ
   ========================= */
h2 {
  font-size: 28px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 70px;
  padding: 16px 36px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: inline-block;
  border-radius: 8px;
  align-self: center;
}

.press-text{
  padding-bottom: 30px;
  color: var(--bone);
}

/* =========================
   КОНЦЕРТЫ
   ========================= */
.concerts-wrap {
  width: 100%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 60px 20px;
}

.concerts-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.concert-item {
  display: grid;
  grid-template-columns: 140px 1fr 120px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  transition: transform .25s ease, .25s ease;
  cursor: pointer;
}

/* .concert-item:hover{
  transform: scale(1.02);
} */

.concert-item + .concert-item {
  border-top: 1px solid rgba(255,255,255,0.12);
}

.concert-item.capitals {
  color: var(--gold);
}

.concert-actions.icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.concert-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bone);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform .25s ease, background .25s ease;
}

.concert-icon img {
  width: 28px;
}

.concert-icon.ticket:hover {
  background: var(--red);
  transform: scale(1.1);
}

.concert-icon.vk:hover {
  background: #0077ff;
  transform: scale(1.1);
}

.concert-details{
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  padding-left: 156px;
  font-weight: 300;
}

.concert-arrow{
  transition: transform .3s ease;
}

.concert-item.active .concert-details{
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

.concert-item.active .concert-arrow{
  transform: rotate(180deg);
}




/* =========================
   МЕРЧ / МУЗЫКАНТЫ
   ========================= */
.merch-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 40px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.merch-card,
.member-card {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  overflow: hidden;
}

.merch-card img,
.member-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.merch-card span {
  display: block;
  padding: 20px;
  font-weight: 600;
  text-align: center;
}

/* =========================
   КАРТОЧКА МУЗЫКАНТА
   ========================= */
/* =========================
   MUSICIANS GRID
   ========================= */

.members-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;

  max-width: 1400px;
  margin: 0 auto;
}

/* =========================
   MEMBER CARD
   ========================= */

.member-card {
  width: 320px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

/* фото */
.member-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* нижний блок */
.member-footer {
  padding: 16px;
  gap: 8px;
}

/* имя */
.member-name {
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
  line-height: 1.2;

}

.member-lead {
  color: var(--gold);
}

/* соцсети */
.member-socials {
  display: flex;
  justify-content: center;
  gap: 36px;
  line-height: 0;
}

.member-socials img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  filter: invert(1);
  transition: transform .25s ease, opacity .25s ease;
}

.member-socials a {
  display: flex;          /* ❗ не inline */
  width: 32px;
  height: 32px;           /* ❗ фиксируем высоту */
  align-items: center;
  justify-content: center;
  line-height: 0;         /* ❗ убираем iOS-строку */
}

.member-socials a:hover img {
  transform: scale(1.15);
  opacity: 0.85;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {
  .member-card {
    width: 280px;
  }

  .member-card img {
    height: 300px;
  }
}

/* =========================
   СОЦСЕТИ
   ========================= */
.socials-icons {
  padding-top: 30px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.socials-icons img {
  width: 54px;
  filter: invert(1);
  transition: transform .3s ease;
}

.socials-icons-footer {
  padding-top: 25px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.socials-icons-footer img {
  width: 30px;
  filter: invert(1);
  transition: transform .3s ease;
}


.socials-icons a:hover img {
  transform: scale(1.15);
}

.socials-icons-footer a:hover img {
  transform: scale(1.15);
}

/* =========================
   ФУТЕР
   ========================= */
footer {
  padding: 40px 20px;
  text-align: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(198,167,94,0.3);
  color: #999;
  position: relative;
  z-index: 3;
}

footer span {
  display: block;
  margin-top: 14px;
  letter-spacing: 2px;
  color: var(--gold);
}

/* =========================
   ДЕСКТОП: FIXED ФОН
   ========================= */
@media (min-width: 769px) {
  body {
    background-attachment: fixed; /* ← параллакс */
  }
}

/* =========================
   МОБИЛКА
   ========================= */
@media (max-width: 768px) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: 100svh;                /* ровно экран */
    background:
      /* затемнение сверху */
      linear-gradient(to bottom, #000 0%, rgba(0,0,0,0) 30%),

      /* затемнение снизу */
      linear-gradient(to bottom, rgba(0,0,0,0) 60%, #000 100%),

      /* сама картинка */
      url("../img/background-mobile-gpt.webp");

    background-size: cover;      /* заполняет экран */
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;

    z-index: -1;
  }

  body {
    background: #000;
  }

  nav { display: none; }
  .burger { display: block; }

  .logo img {
    height: 28px;
  }

  section {
    padding: 100px 0;
    opacity: 1 !important;
    transform: none !important;
  }

  .concert-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .concert-details {
    padding-left: 0;
    text-align: center;
  }
}