/* ═══════════════════════════════════════════════════════════
   ALL TIME MUSIC PUBLISHING — main.css
   Inter throughout, dark BG image, white UI
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  --white:       #FFFFFF;
  --white-70:    rgba(255, 255, 255, 0.70);
  --white-50:    rgba(255, 255, 255, 0.50);
  --white-15:    rgba(255, 255, 255, 0.15);
  --white-08:    rgba(255, 255, 255, 0.08);
  --black:       #000000;
  --ink:         #111111;

  /* Bio card / form field background */
  --card-bg:     rgba(0, 0, 0, 0.55);
  --card-border: rgba(255, 255, 255, 0.18);

  --font:        'Inter', -apple-system, sans-serif;
  --nav-h:       80px;
  --pad-x:       clamp(20px, 4vw, 64px);
  --radius-pill: 100px;
  --radius-card: 8px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family:             var(--font);
  color:                   var(--white);
  background-color:        #0a0a0a;
  background-image:        url('../../images/bg.jpg');
  background-size:         cover;
  background-position:     center;
  background-attachment:   fixed;
  background-repeat:       no-repeat;
  min-height:              100vh;
  -webkit-font-smoothing:  antialiased;
}

/* Dark overlay so text always reads over the BG image */
body::before {
  content:  '';
  position: fixed;
  inset:    0;
  background: rgba(0, 0, 0, 0.55);
  z-index:  0;
  pointer-events: none;
}

/* All content sits above the overlay */
.atmp-header,
.atmp-home,
.atmp-artists,
.atmp-contact,
.atmp-footer { position: relative; z-index: 1; }

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════ */
.atmp-header {
  position:        fixed;
  top:             0; left: 0; right: 0;
  z-index:         100;
  height:          var(--nav-h);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         0 var(--pad-x);
  /* Subtle dark frost */
  background:      rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.atmp-logo-link {
  display:     flex;
  align-items: center;
  line-height: 0;
}
.atmp-logo-img,
.custom-logo {
  height:      60px;
  width:       auto;
  object-fit:  contain;
  display:     block;
}
.custom-logo-link { line-height: 0; }

/* Nav links — pill outlines matching Figma */
.atmp-nav {
  display:     flex;
  gap:         10px;
  align-items: center;
}
.atmp-nav__link {
  font-size:      13px;
  font-weight:    500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--white);
  padding:        8px 20px;
  border:         1.5px solid rgba(255, 255, 255, 0.55);
  border-radius:  var(--radius-pill);
  transition:     background .2s, border-color .2s;
  white-space:    nowrap;
}
.atmp-nav__link:hover,
.atmp-nav__link.active {
  background:   rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* Hamburger — mobile only */
.atmp-nav-toggle {
  display:         none;
  flex-direction:  column;
  gap:             5px;
  justify-content: center;
  width:           36px;
  height:          36px;
  padding:         6px;
  background:      none;
  border:          none;
}
.atmp-nav-toggle span {
  display:       block;
  width:         100%;
  height:        2px;
  background:    var(--white);
  border-radius: 2px;
  transition:    transform .2s, opacity .2s;
}
.atmp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.atmp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.atmp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════ */
.atmp-home {
  min-height:      100vh;
  padding-top:     var(--nav-h);
  display:         flex;
  flex-direction:  column;
}
.atmp-home__hero {
  flex:            1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         clamp(40px, 8vh, 100px) var(--pad-x);
}
.atmp-home__logo {
  width:       clamp(280px, 50vw, 700px);
  height:      auto;
  display:     block;
}

/* ════════════════════════════════════════════════════════════
   ARTIST PAGE
   ════════════════════════════════════════════════════════════ */
.atmp-artists {
  padding-top:    var(--nav-h);
  padding-bottom: clamp(48px, 8vh, 96px);
  min-height:     100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.atmp-artist {
  max-width:     1200px;
  margin:        0 auto;
  display:       grid;
  grid-template-columns: 1fr 1.4fr;
  gap:           clamp(32px, 5vw, 80px);
  padding: clamp(24px, 4vh, 56px) var(--pad-x);
  align-items: center;
}

/* Photo column */
.atmp-artist__photo { position: relative; }
.atmp-artist__img {
  width:         100%;
  height:        auto;
  display:       block;
  object-fit:    cover;
  max-height:    75vh;
  object-position: top;
}

/* Info column */
.atmp-artist__info {
  display:        flex;
  flex-direction: column;
  gap:            24px;
  padding-top:    clamp(8px, 2vh, 24px);
}

.atmp-artist__name {
  font-size:      clamp(32px, 4.5vw, 60px);
  font-weight:    700;
  line-height:    1.05;
  letter-spacing: -0.02em;
  color:          var(--white);
}

/* Social icons row */
.atmp-artist__socials {
  display:     flex;
  gap:         14px;
  align-items: center;
  flex-wrap:   wrap;
}
.atmp-artist__social-icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           40px;
  height:          40px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.12);
  color:           var(--white);
  transition:      background .2s, transform .2s;
}
.atmp-artist__social-icon svg { width: 18px; height: 18px; }
.atmp-artist__social-icon:hover {
  background: rgba(255,255,255,0.25);
  transform:  scale(1.08);
}
/* YouTube icon — fill the play triangle white */
.atmp-artist__social-icon svg polygon { fill: currentColor; }

/* Bio card — frosted dark */
.atmp-artist__bio {
  background:    var(--card-bg);
  border:        1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding:       clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.atmp-artist__bio p {
  font-size:   clamp(14px, 1.2vw, 16px);
  line-height: 1.75;
  color:       var(--white-70);
  margin-bottom: 1em;
}
.atmp-artist__bio p:last-child { margin-bottom: 0; }

/* Empty state */
.atmp-artist-empty {
  max-width:   600px;
  margin:      calc(var(--nav-h) + 80px) auto 0;
  padding:     0 var(--pad-x);
  text-align:  center;
  color:       var(--white-50);
  font-size:   15px;
  line-height: 1.7;
}
.atmp-artist-empty strong { color: var(--white); }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.atmp-contact {
  padding-top:    var(--nav-h);
  padding-bottom: clamp(48px, 8vh, 96px);
  min-height:     100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.atmp-contact__inner {
  max-width:     1200px;
  margin:        0 auto;
  display:       grid;
  grid-template-columns: 1fr 1.6fr;
  gap:           clamp(40px, 6vw, 100px);
  padding: clamp(24px, 4vh, 56px) var(--pad-x);
  align-items: center;
}

.atmp-contact__heading {
  font-size:      clamp(28px, 4vw, 48px);
  font-weight:    700;
  letter-spacing: 0.06em;
  margin-bottom:  16px;
  color:          var(--white);
}
.atmp-contact__sub {
  font-size:    14px;
  color:        var(--white-50);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.atmp-contact__socials {
  display:     flex;
  gap:         12px;
  align-items: center;
}

/* Filled dark circle social icons (contact page) */
.atmp-social-icon--filled {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           44px;
  height:          44px;
  border-radius:   50%;
  background:      var(--white);
  color:           var(--ink);
  transition:      opacity .2s, transform .2s;
}
.atmp-social-icon--filled svg { width: 20px; height: 20px; }
.atmp-social-icon--filled:hover { opacity: 0.85; transform: scale(1.06); }

/* Form */
.atmp-form {
  display:        flex;
  flex-direction: column;
  gap:            20px;
}
.atmp-form__row { display: flex; gap: 16px; }
.atmp-form__row--two > * { flex: 1; min-width: 0; }
.atmp-form__group { display: flex; flex-direction: column; gap: 6px; }

.atmp-form__label {
  font-size:      12px;
  font-weight:    500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--white-50);
}
.atmp-form__input,
.atmp-form__textarea {
  width:          100%;
  padding:        12px 16px;
  font-family:    var(--font);
  font-size:      15px;
  color:          var(--white);
  background:     rgba(0, 0, 0, 0.60);
  border:         1.5px solid var(--card-border);
  border-radius:  var(--radius-card);
  outline:        none;
  transition:     border-color .2s, background .2s;
  -webkit-appearance: none;
}
.atmp-form__input:focus,
.atmp-form__textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background:   rgba(0, 0, 0, 0.75);
}
.atmp-form__input::placeholder,
.atmp-form__textarea::placeholder { color: rgba(255,255,255,0.2); }
.atmp-form__textarea { resize: vertical; min-height: 200px; }

.atmp-form__submit {
  align-self:     flex-start;
  padding:        11px 32px;
  font-family:    var(--font);
  font-size:      13px;
  font-weight:    500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--white);
  background:     transparent;
  border:         1.5px solid rgba(255, 255, 255, 0.55);
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     background .2s, border-color .2s;
}
.atmp-form__submit:hover {
  background:   rgba(255,255,255,0.12);
  border-color: var(--white);
}
.atmp-form__submit:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.atmp-form__feedback {
  font-size: 14px;
  min-height: 20px;
}
.atmp-form__feedback.success { color: #4ade80; }
.atmp-form__feedback.error   { color: #f87171; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.atmp-footer {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            16px;
  padding:        32px var(--pad-x) 28px;
  position:       relative;
  z-index:        1;
  text-align:     center;
}
.atmp-footer__socials { display: flex; gap: 14px; }
.atmp-social-icon {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           40px;
  height:          40px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.12);
  color:           var(--white);
  transition:      background .2s, transform .2s;
}
.atmp-social-icon svg  { width: 18px; height: 18px; }
.atmp-social-icon:hover { background: rgba(255,255,255,0.25); transform: scale(1.08); }
.atmp-footer__copy {
  font-size: 13px;
  color:     var(--white-50);
}

/* ════════════════════════════════════════════════════════════
   FOCUS
   ════════════════════════════════════════════════════════════ */
:focus-visible { outline: 2px solid rgba(255,255,255,0.7); outline-offset: 3px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .atmp-artist {
    grid-template-columns: 1fr;
  }
  .atmp-artist__img {
    max-height: 60vw;
    object-position: center top;
  }
  .atmp-contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }

  .atmp-nav-toggle { display: flex; }

  .atmp-nav {
    display:         none;
    position:        fixed;
    top:             var(--nav-h);
    left:            0; right: 0;
    flex-direction:  column;
    align-items:     center;
    gap:             0;
    padding:         12px 0 20px;
    background:      rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index:         99;
  }
  .atmp-nav.is-open { display: flex; }

  .atmp-nav__link {
    width:          100%;
    text-align:     center;
    padding:        16px 24px;
    border:         none;
    border-bottom:  1px solid rgba(0, 0, 0, 0.08);
    border-radius:  0;
    color:          #000000;
    font-size:      15px;
  }
  .atmp-nav__link:last-child { border-bottom: none; }
  .atmp-nav__link:hover,
  .atmp-nav__link.active {
    background: rgba(0, 0, 0, 0.05);
    color:      #000000;
  }

  .atmp-form__row--two { flex-direction: column; gap: 20px; }

  .atmp-artist { padding-top: 32px; }
}

/* ── Producers dropdown ───────────────────────────────────── */
.atmp-nav__dropdown {
  position: relative;
}
.atmp-nav__dropdown-toggle {
  display:     flex;
  align-items: center;
  gap:         6px;
  background:  none;
  border:      1.5px solid rgba(255, 255, 255, 0.55);
}
.atmp-dropdown-arrow {
  width:      10px;
  height:     6px;
  transition: transform .2s;
  flex-shrink: 0;
}
.atmp-nav__dropdown-toggle[aria-expanded="true"] .atmp-dropdown-arrow {
  transform: rotate(180deg);
}
.atmp-nav__dropdown-menu {
  display:       none;
  position:      absolute;
  top:           calc(100% + 8px);
  left:          50%;
  transform:     translateX(-50%);
  min-width:     180px;
  background:    rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border:        1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  list-style:    none;
  padding:       6px 0;
  z-index:       200;
  white-space:   nowrap;
}
.atmp-nav__dropdown-menu.is-open {
  display: block;
}
.atmp-nav__dropdown-item,
.atmp-nav__dropdown-empty {
  display:        block;
  padding:        10px 20px;
  font-size:      13px;
  font-weight:    500;
  letter-spacing: 0.04em;
  color:          rgba(255, 255, 255, 0.75);
  transition:     color .15s, background .15s;
}
.atmp-nav__dropdown-item:hover {
  color:       var(--white);
  background:  rgba(255, 255, 255, 0.08);
}
.atmp-nav__dropdown-empty {
  color:       rgba(255, 255, 255, 0.35);
  font-style:  italic;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:  0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
