/* ========================================================
   UP n WET — Portfolio Styles
   ======================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050505;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 1s ease;
}

body.loading {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Sections (shared) --- */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section__heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
}

.section__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin: 20px auto 48px;
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   NAV
   ======================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  padding: 28px 24px;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: #ffffff;
}

/* ========================================================
   HERO
   ======================================================== */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505 url('../assets/hero.jpg') center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.25) 0%,
    rgba(5, 5, 5, 0.05) 35%,
    rgba(5, 5, 5, 0.15) 55%,
    rgba(5, 5, 5, 0.6) 75%,
    rgba(5, 5, 5, 1) 100%
  );
  z-index: 1;
}

.hero__content {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__logo {
  width: clamp(280px, 50vw, 560px);
  height: auto;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.5));
}

.hero__tagline {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.hero__scroll-indicator span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* ========================================================
   AMBIENT GLOW (drifting gradient wash behind content)
   ======================================================== */
.content-wrap {
  position: relative;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  /* Fade from black at top so it blends perfectly with hero */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 250px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 250px);
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(140, 160, 255, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 75% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 90% 40% at 50% 90%, rgba(180, 140, 255, 0.3) 0%, transparent 50%);
  background-size: 200% 200%;
  background-attachment: fixed;
  animation: gradientWash 30s ease-in-out infinite;
  will-change: background-position;
}

@keyframes gradientWash {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  25% {
    background-position: 60% 40%, 30% 70%, 80% 20%;
  }
  50% {
    background-position: 100% 80%, 0% 20%, 30% 90%;
  }
  75% {
    background-position: 30% 60%, 70% 50%, 10% 40%;
  }
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
}

/* ========================================================
   ABOUT
   ======================================================== */
.about__text {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

/* ========================================================
   GENRES
   ======================================================== */
.genres__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
  cursor: default;
}

.pill:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* ========================================================
   RELEASES
   ======================================================== */
.releases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.releases__grid--two {
  max-width: 640px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

.release-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.release-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.release-card__art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.release-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.release-card__banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.release-card__info {
  padding: 20px;
}

.release-card__title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
}

.release-card__meta {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.03em;
}

/* ========================================================
   BOOKINGS
   ======================================================== */
.bookings {
  text-align: center;
}

.bookings__text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.bookings__cta {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #ffffff;
  padding: 14px 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.bookings__cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.bookings__socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.social-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */

/* Small screens */
@media (max-width: 640px) {
  .nav {
    gap: 16px;
    padding: 20px 16px;
  }

  .nav__link {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .hero__content {
    bottom: 14%;
  }

  .hero__logo {
    width: 95vw;
    max-width: 520px;
  }

  .section {
    padding: 72px 0;
  }

  .releases__grid,
  .releases__grid--two {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 24px;
  }

  .genres__pills {
    gap: 8px;
  }

  .pill {
    padding: 8px 18px;
    font-size: 0.72rem;
  }

  .bookings__socials {
    gap: 16px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }
}

/* Medium screens */
@media (min-width: 641px) and (max-width: 1024px) {
  .releases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
