/* ============================================================
   Vicinity Band — stylesheet
   ============================================================ */

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

:root {
  --bg:           #0f0f0f;
  --bg2:          #161616;
  --bg3:          #1f1f1f;
  --text:         #e2e2e2;
  --text-muted:   #6a6a6a;
  --accent:       #4a8fd4;
  --accent-dark:  #2f6faa;
  --border:       #282828;
  --font-h:       'Oswald', sans-serif;
  --font-b:       'Open Sans', sans-serif;
  --nav-h:        64px;
  --max-w:        1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- logo image ---- */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 26px;
  width: auto;
  display: block;
  transition: opacity 0.18s;
}
.nav-logo:hover img { opacity: 0.75; }

.footer-logo {
  display: flex;
  justify-content: center;
}
.footer-logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* ---- album cover image ---- */
.album-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ---- shop banner (home) ---- */
.shop-banner {
  display: block;
  position: relative;
  overflow: hidden;
}
.shop-banner img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.92);
}
.shop-banner:hover img {
  transform: scale(1.02);
  filter: brightness(1);
}

/* ---- videos section (home) ---- */
.videos-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 860px) {
  .videos-grid { grid-template-columns: 1fr; }
}

/* ---- band photo section (home) ---- */
.band-photo-section {
  position: relative;
  overflow: hidden;
  max-height: 680px;
}
.band-photo-section img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.7);
  transition: filter 0.4s;
}
.band-photo-section:hover img { filter: brightness(0.85); }
.band-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(15,15,15,0.7) 0%, transparent 60%);
}
.band-photo-overlay a {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.band-photo-overlay a:hover { color: var(--accent); border-color: var(--accent); }

/* ---- layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- buttons ---- */
.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 2px;
  font-family: var(--font-h);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-left: 0;
  font-family: var(--font-b);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.btn-ghost:hover { color: var(--text); }
.btn-ghost::after { content: ' →'; }

/* ---- section heading ---- */
.section-heading {
  font-family: var(--font-h);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 10px;
}


/* ============================================================
   Navigation
   ============================================================ */

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* .nav-logo styles are defined above near the logo-image block */

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-links > li > a {
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: 2px;
  transition: color 0.15s;
  display: block;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--text); }

/* Shop dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; user-select: none; }
.dropdown-arrow { font-size: 9px; margin-left: 3px; display: inline-block; transition: transform 0.2s; }
.dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  list-style: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 13px 18px;
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a:hover { background: var(--bg3); color: var(--text); }
.dropdown-menu li + li { border-top: 1px solid var(--border); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  background: none;
  border: none;
  outline: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   Page hero (inner pages)
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 72px) 28px 64px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.page-hero p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
}


/* ============================================================
   Home — Hero
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 28px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* grid pattern */
    linear-gradient(rgba(74,143,212,0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(74,143,212,0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    /* blue radial accent */
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(74,143,212,0.07) 0%, transparent 70%),
    /* dark tint over photo */
    linear-gradient(rgba(13,13,18,0.82), rgba(13,13,18,0.82)),
    /* background photo */
    url('../images/bg.jpg') center / cover no-repeat;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  line-height: 1;
}
.hero-logo {
  width: clamp(280px, 50vw, 600px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-sub {
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.hero-actions {
  margin-top: 52px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: var(--text-muted);
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(0.4); opacity: 0.15; }
}


/* ============================================================
   Home — Latest Release
   ============================================================ */

.latest-release { padding: 100px 0; }

.release-featured {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

.album-placeholder {
  aspect-ratio: 1 / 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--border);
}
.album-placeholder-text {
  font-family: var(--font-h);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bg3);
}

/* replace .album-placeholder with an actual <img> when artwork is available */

.release-year {
  font-family: var(--font-h);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.release-featured h3 {
  font-family: var(--font-h);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 28px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 32px;
  margin-bottom: 36px;
}

.track-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.track-n {
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--text-muted);
  min-width: 28px;
}

.release-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}


/* ============================================================
   Home — Social
   ============================================================ */

.social-section {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.social-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-h);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.18s, color 0.18s;
}
.social-card:hover { border-color: var(--accent); color: var(--text); }
.social-card svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }


/* ============================================================
   Releases page
   ============================================================ */

.releases-list { padding: 72px 0; }

.release-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.release-block:first-child { padding-top: 0; }
.release-block:last-child { border-bottom: none; }

.release-block .album-placeholder {
  font-size: 22px;
}

.release-block .release-year {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.release-block h2 {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1;
}

.tracks-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.tracks-list .track-item {
  padding: 3px 0;
  border-bottom: none;
  border-right: none;
}

.lineup-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--bg2);
  border-left: 2px solid var(--accent);
  border-radius: 0 2px 2px 0;
  font-style: italic;
}


/* ============================================================
   Band page
   ============================================================ */

.band-section { padding: 72px 0; }

.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}

/* Member photo (when image is available) */
.member-photo-wrap {
  width: calc(100% + 64px);
  margin: -40px -32px 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
}
.member-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.35s, transform 0.35s;
}

.member-card {
  background: var(--bg2);
  padding: 40px 32px;
  transition: background 0.18s;
  display: flex;
  flex-direction: column;
}
.member-card:hover { background: var(--bg3); }
.member-card:hover .member-photo-wrap img {
  filter: none;
  transform: scale(1.03);
}

.member-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.member-name {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.member-role {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.gear-label {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  margin-top: 8px;
}

.gear-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gear-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.gear-list li::before {
  content: '–';
  color: var(--border);
  flex-shrink: 0;
}


/* ============================================================
   Contact page
   ============================================================ */

.contact-section { padding: 72px 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}

/* form */
.form-title {
  font-family: var(--font-h);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  transition: border-color 0.18s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; }

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* sidebar info */
.contact-info {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px;
}
.contact-info-title {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.info-block { margin-bottom: 22px; }
.info-block:last-of-type { margin-bottom: 0; }
.info-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.info-value {
  font-family: var(--font-h);
  font-size: 17px;
  color: var(--text);
}
.info-value a:hover { color: var(--accent); }

.info-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

.contact-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-social a {
  color: var(--text-muted);
  transition: color 0.18s;
  display: flex;
}
.contact-social a:hover { color: var(--accent); }
.contact-social svg { width: 20px; height: 20px; fill: currentColor; }


/* ============================================================
   Footer
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 52px 28px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
/* .footer-logo img styles defined near top of file */
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-family: var(--font-h);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--text); }
.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
}
.footer-social a {
  color: var(--text-muted);
  transition: color 0.18s;
  display: flex;
}
.footer-social a:hover { color: var(--text); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 860px) {
  .band-photo-section { max-height: 320px !important; height: 320px !important; }
  .band-photo-section img { height: 320px !important; }

  .release-featured {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .release-featured .album-placeholder { max-width: 240px; }

  .release-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .release-block .album-placeholder { max-width: 180px; }

  .contact-layout { grid-template-columns: 1fr; }

  .band-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    overflow-y: auto;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 22px; padding: 12px 24px; }
  .nav-toggle { display: flex; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    text-align: center;
    padding: 0;
    min-width: 0;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu li a { font-size: 16px; }
  .dropdown-menu li + li { border: none; }

  .track-grid { grid-template-columns: 1fr; }

  .band-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(60px, 22vw, 110px); }
}
