/* #region reset & variables */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-bg: #111214;
  --clr-bg2: #1a1c20;
  --clr-card: #1e2128;
  --clr-border: #2e3240;
  --clr-text: #e8e8e8;
  --clr-muted: #888;
  --clr-yellow: #f5c800;
  --clr-red: #e8283c;
  --clr-accent: #4a9eff;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
}
/* #endregion */

/* #region container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
/* #endregion */

/* #region nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__link {
  color: var(--clr-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 200ms;
}

.nav__link:hover {
  color: var(--clr-yellow);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 300ms, opacity 300ms;
}

@media (max-width: 680px) {
  .nav {
    padding: 0 20px;
  }

  .nav__burger {
    display: flex;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 12, 0.98);
    border-top: 1px solid var(--clr-border);
  }

  .nav__list.nav__list--open {
    display: flex;
  }

  .nav__list li {
    border-bottom: 1px solid var(--clr-border);
  }

  .nav__link {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
  }
}
/* #endregion */

/* #region hero */
.header {
  position: relative;
  min-height: 100vh;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 100px 40px 60px;
  max-width: 780px;
}

.hero__icon {
  width: 36px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #fff;
}

.hero__sub {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 12px;
  max-width: 580px;
}

.accent {
  color: var(--clr-accent);
  font-weight: 600;
}

.accent-link {
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 600;
}

.accent-link:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .hero {
    padding: 90px 20px 48px;
  }
}
/* #endregion */

/* #region buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity 200ms, transform 150ms;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--yellow {
  background: var(--clr-yellow);
  color: #111;
  margin-top: 24px;
}

.btn--red {
  background: var(--clr-red);
  color: #fff;
}
/* #endregion */

/* #region concerts */
.concerts {
  padding: 60px 0;
  background: var(--clr-bg);
}

.concerts__box {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 32px;
}

.concerts__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
}

.concerts__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.concerts__table thead th {
  text-align: left;
  padding: 10px 12px;
  color: var(--clr-muted);
  font-weight: 600;
  font-size: 13px;
  border-bottom: 1px solid var(--clr-border);
}

.concerts__table tbody tr {
  border-bottom: 1px solid var(--clr-border);
  transition: background 200ms;
}

.concerts__table tbody tr:last-child {
  border-bottom: none;
}

.concerts__table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.concerts__table td {
  padding: 14px 12px;
  vertical-align: middle;
  color: var(--clr-text);
}

.concerts__table td:last-child {
  text-align: right;
}

@media (max-width: 680px) {
  .concerts__box {
    padding: 20px 16px;
  }

  .concerts__table thead {
    display: none;
  }

  .concerts__table tbody tr {
    display: block;
    padding: 14px 0;
  }

  .concerts__table td {
    display: block;
    padding: 3px 0;
  }

  .concerts__table td:last-child {
    text-align: left;
    padding-top: 10px;
  }
}
/* #endregion */

/* #region gallery */
.gallery {
  padding: 60px 0;
  background: var(--clr-bg2);
}

.gallery__grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery__item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.gallery__img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 6px;
  background: var(--clr-card);
  margin-bottom: 10px;
}

.gallery__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery__item:hover .gallery__img-wrap img {
  transform: scale(1.05);
}

.gallery__caption {
  font-size: 13px;
  color: var(--clr-muted);
  text-align: center;
}

@media (max-width: 600px) {
  .gallery__grid {
    flex-direction: column;
    align-items: center;
  }

  .gallery__item {
    max-width: 100%;
    width: 100%;
  }
}
/* #endregion */

/* #region section titles */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}

.section-title--left {
  text-align: left;
}
/* #endregion */

/* #region about */
.about {
  padding: 60px 0;
  background: var(--clr-bg);
}

.about__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about__text {
  flex: 1;
}

.about__text p {
  color: #bbb;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.about__photo {
  flex: 0 0 220px;
}

.about__photo img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--clr-card);
}

@media (max-width: 720px) {
  .about__inner {
    flex-direction: column;
  }

  .about__photo {
    flex: none;
    width: 100%;
  }
}
/* #endregion */

/* #region contact */
.contact {
  padding: 60px 0 80px;
  background: linear-gradient(to bottom, var(--clr-bg2), #0d0f12);
}

.contact__sub {
  text-align: center;
  color: var(--clr-muted);
  margin-top: -28px;
  margin-bottom: 40px;
  font-size: 14px;
}

.contact__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__row {
  display: flex;
  gap: 16px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.contact__label {
  font-size: 13px;
  color: var(--clr-muted);
}

.contact__input {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 200ms;
  resize: none;
}

.contact__input:focus {
  border-color: var(--clr-muted);
}

.contact__input--error {
  border-color: var(--clr-red);
}

.contact__error {
  font-size: 12px;
  color: var(--clr-red);
  min-height: 16px;
}

.contact__input--textarea {
  min-height: 130px;
}

.contact__map {
  flex: 0 0 300px;
}

.contact__map-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 12px;
}

.contact__map iframe {
  border-radius: 6px;
  border: 1px solid var(--clr-border);
}

@media (max-width: 768px) {
  .contact__inner {
    flex-direction: column;
  }

  .contact__map {
    flex: none;
    width: 100%;
  }

  .contact__row {
    flex-direction: column;
  }
}
/* #endregion */

/* #region footer */
.footer {
  background: #0a0b0d;
  border-top: 1px solid var(--clr-border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__left p {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.8;
}

.footer__right {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--clr-muted);
}

.footer__link {
  color: var(--clr-text);
  text-decoration: none;
  font-size: 13px;
  transition: color 200ms;
}

.footer__link:hover {
  color: var(--clr-yellow);
}

@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* #endregion */

/* #region popup */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.popup--open {
  display: flex;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup__box {
  position: relative;
  z-index: 1;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 40px 36px;
  max-width: 420px;
  width: calc(100% - 40px);
  text-align: center;
  animation: popIn 280ms ease both;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: 18px;
  cursor: pointer;
  transition: color 200ms;
  line-height: 1;
}

.popup__close:hover {
  color: #fff;
}

.popup__heading {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.popup__sub {
  font-size: 14px;
  color: var(--clr-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.popup__action {
  display: inline-block;
  padding: 11px 28px;
  background: var(--clr-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 200ms;
}

.popup__action:hover {
  opacity: 0.85;
}
/* #endregion */

/* #region afishi */
.afishi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.afishi__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--clr-card);
  cursor: pointer;
}

.afishi__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  display: block;
}

.afishi__item:hover img {
  transform: scale(1.06);
}

.afishi__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 20px 12px 12px;
  opacity: 0;
  transition: opacity 300ms;
}

.afishi__item:hover .afishi__overlay {
  opacity: 1;
}

.afishi__label {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-head);
}

@media (max-width: 768px) {
  .afishi__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .afishi__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
/* #endregion */
