/* ========================= */
/* ОБЩИЕ СТИЛИ */
/* ========================= */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: black;
  color: white;
}


/* ========================= */
/* HEADER */
/* ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  box-sizing: border-box;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
}

.logo img {
  height: 100px;
  display: block;
  filter: invert(1);
}

.header nav {
  display: flex;
  gap: 20px;
}

.header a {
  font-size: 14px;
  text-decoration: none;
  color: white;
  opacity: 0.7;
}

.header a:hover {
  opacity: 1;
}


/* ========================= */
/* HERO */
/* ========================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  display: none;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  text-align: center;
}


/* ========================= */
/* АНИМАЦИЯ */
/* ========================= */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================= */
/* ARTISTS */
/* ========================= */
.artists {
  padding: 120px 40px 80px;
  background: #0d0d0d;
  text-align: center;
}

.artists h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
}

/* ГЛАВНОЕ ИСПРАВЛЕНИЕ */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* КАРТОЧКА */
.artist-card {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

/* КАРТИНКА */
.artist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.5s ease;
}
.artist-card:hover img {
  transform: scale(1.10);
}
}

/* ZOOM */
.artist-card:hover img {
  transform: scale(1.05);
}

/* OVERLAY */
.artist-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

/* HOVER DARK */
.artist-card:hover .artist-overlay {
  background: rgba(0,0,0,0.5);
}

.artist-overlay p {
  font-size: 18px;
}


/* ========================= */
/* TABLET */
/* ========================= */
@media (max-width: 1024px) {

  .hero-video {
    display: none;
  }

  .hero {
    background: url('/img/hero-tablet.jpg') center/cover no-repeat;
  }

  .logo img {
    height: 80px;
  }

  .hero-content {
    display: block;
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    animation: fadeIn 1.5s ease forwards;
  }

  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width: 768px) {

  .hero-video {
    display: none;
  }

  .hero {
    background: url('/img/hero.jpg') center/cover no-repeat;
  }

  .header nav {
    display: none;
  }

  .logo img {
    height: 50px;
  }

  .hero-content {
    display: block;
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    animation: fadeIn 1.5s ease forwards;
  }

  .artists-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================= */
/* TAP EFFECT */
/* ========================= */
@media (max-width: 1024px) {

  .artist-card:active img {
    transform: scale(1.05);
  }

  .artist-card:active .artist-overlay {
    background: rgba(0,0,0,0.5);
  }

}


/* ========================= */
/* ARTIST PAGE */
/* ========================= */
.artist-page-hero {
  position: relative;
  height: 100vh;
  background: url('/img/artist1-bio.jpg') center/cover no-repeat;
}

.artist-page-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.artist-page-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.artist-page-content h1 {
  font-size: 56px;
}

.artist-bio {
  padding: 100px 40px;
  background: #0d0d0d;
}

.artist-container {
  max-width: 900px;
  margin: 0 auto;
}

.artist-bio p {
  font-size: 18px;
  line-height: 1.8;
}