@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F0EBE1;
  --red: #E8341A;
  --dark: #1a1a1a;
  --pill-border: #d4cfc6;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  background-image: url('foru-pattern.jpg');
  background-repeat: repeat;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header / Logo ── */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 24px;
}

.logo {
  display: block;
  width: 180px;
  height: auto;
}

/* ── Hero ── */
.hero {
  width: 100%;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .hero {
    padding: 0 72px;
  }
}

.hero-image {
  width: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Tagline ── */
.tagline {
  text-align: center;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  padding: 48px 24px 0;
}

/* ── Music ── */
.music {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 64px 24px 0;
}

.music-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.soundcloud-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1.5px solid var(--pill-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  color: var(--red);
  transition: border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.soundcloud-link:hover {
  border-color: var(--red);
  opacity: 0.75;
}

.soundcloud-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Bookings ── */
.bookings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 64px 24px 80px;
}

.bookings-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bookings-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.bookings-contacts .divider {
  display: none;
}

.bookings-contacts .contact-pill:nth-child(3) {
  order: -1;
}

@media (min-width: 720px) {
  .bookings-contacts {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    width: auto;
  }

  .bookings-contacts .divider {
    display: block;
  }

  .bookings-contacts .contact-pill:nth-child(3) {
    order: 0;
  }
}

.contact-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  border: 1.5px solid var(--pill-border);
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
}

.pill-handle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dark);
  opacity: 0.45;
  text-decoration: none;
}

.pill-handle:hover {
  opacity: 0.7;
}

.pill-email {
  font-size: 13px;
  color: var(--red);
  text-decoration: none;
}

.pill-email:hover {
  opacity: 0.75;
}

.divider {
  font-size: 22px;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
  user-select: none;
}

/* ── Gallery ── */
.gallery {
  padding: 80px 24px 0;
}

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

.gallery-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
}

.gallery-grid {
  -webkit-columns: 2;
  columns: 2;
  -webkit-column-gap: 8px;
  column-gap: 8px;
}

@media (min-width: 720px) {
  .gallery-grid {
    -webkit-columns: 3;
    columns: 3;
  }
}

.gallery-item {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 100%;
}

.gallery-item-inner {
  overflow: hidden;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gallery-item:hover .gallery-item-inner {
  border-color: var(--red);
}

.gallery-item-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-item-inner::after {
  background: rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 12px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 1001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 20px;
  right: 24px;
  font-size: 36px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
}

/* ── Footer ── */
footer {
  margin-top: 48px;
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: center;
}

footer img {
  display: block;
  width: 90%;
  height: auto;
}

@media (min-width: 1024px) {
  footer img {
    width: 70%;
  }
}
