/* ==========================================================================
   Frequent Flyers — site styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

:root {
  --black: #000000;
  --near-black: #0a0a0a;
  --white: #ffffff;
  --off-white: #f4f1ea;
  --orange: #c1440e;
  --orange-light: #d97a4d;
  --grey: #b9b9b9;
  --max-width: 1200px;
  --nav-height: 140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0;
}

.tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- space background sections ---- */
.space-bg {
  background-image: url('../assets/space_bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 900px) {
  /* background-attachment: fixed is unreliable on some mobile browsers;
     fall back to a normal (still single, non-tiled) background there. */
  .space-bg {
    background-attachment: scroll;
  }
}

/* ---- Nav ---- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--orange);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-height);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.nav-left a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-left a:hover,
.nav-left a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-left a.current {
  border-bottom-color: var(--orange);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--black);
  border: 1px solid var(--orange);
  border-top: none;
  padding: 10px 18px;
  min-width: 260px;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 0;
  white-space: nowrap;
  font-size: 0.8rem;
}

.logo-lockup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.logo-lockup img {
  height: 100px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social a {
  color: var(--orange);
  font-size: 1.05rem;
  display: inline-flex;
}

.nav-social svg {
  width: 18px;
  height: 18px;
  fill: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---- Hero / Home ---- */
.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.hero-art img {
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero-copy .tagline {
  font-size: 1.3rem;
  color: var(--off-white);
  margin-bottom: 18px;
}

.hero-copy p {
  color: var(--grey);
  max-width: 440px;
  margin: 0 auto 34px;
}

.btn-line {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--white);
  margin: 10px 16px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-line:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---- Page header banner ---- */
.page-banner {
  padding: 60px 0 40px;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.6rem;
}

.page-banner .tagline {
  color: var(--off-white);
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ---- Music album page ---- */
.album-art-wrap {
  max-width: 560px;
  margin: 20px auto 30px;
}

.album-slideshow {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.album-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.album-slideshow img.active {
  opacity: 1;
  z-index: 1;
}

.slideshow-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slideshow-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}

.slideshow-dots button.active {
  background: var(--orange);
  border-color: var(--orange);
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.45);
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.slideshow-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.slideshow-prev { left: 14px; }
.slideshow-next { right: 14px; }

@media (max-width: 480px) {
  .slideshow-arrow { width: 34px; height: 34px; font-size: 0.95rem; }
  .slideshow-prev { left: 8px; }
  .slideshow-next { right: 8px; }
}

.stream-note {
  text-align: center;
  color: var(--grey);
  margin-bottom: 30px;
}

.stream-note a {
  text-decoration: underline;
  color: var(--white);
}

.spotify-embed-wrap {
  max-width: 700px;
  margin: 0 auto 60px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.spotify-embed-wrap iframe {
  width: 100%;
  border: 0;
  display: block;
}

.bandcamp-cta {
  text-align: center;
  margin: -30px auto 50px;
}

.credits-block {
  max-width: 640px;
  margin: 0 auto 70px;
  text-align: center;
  padding: 40px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.12);
}

.credits-block h3 {
  font-size: 1.1rem;
  margin-bottom: 22px;
  color: var(--orange);
}

.credits-block p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  margin: 10px 0;
  color: var(--off-white);
}

/* ---- Videos page ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  max-width: var(--max-width);
  margin: 0 auto 20px;
  padding: 0 40px;
}

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

.video-block {
  text-align: center;
}

.video-block h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  box-shadow: 0 15px 50px rgba(0,0,0,0.55);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Pictures / Instagram feed ---- */
.insta-widget-wrap {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 0 40px;
}

.insta-cta {
  text-align: center;
  margin-bottom: 70px;
}

/* ---- Tour page ---- */
.tour-empty {
  text-align: center;
  padding: 100px 20px 140px;
  color: var(--grey);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
}

/* ---- About page ---- */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto 80px;
  padding: 0 40px;
}

.about-row.reverse .about-text { order: 2; }
.about-row.reverse .about-photo { order: 1; }

.about-text p {
  color: var(--off-white);
  text-indent: 2em;
}

.about-photo img {
  width: 100%;
  border: 6px solid var(--off-white);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  padding: 70px 20px 40px;
  text-align: center;
}

.site-footer h3 {
  font-size: 1.2rem;
  margin-bottom: 26px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.mailing-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto 16px;
}

/* Netlify Forms honeypot field: present for spam bots to (hopefully) fill
   in, invisible and unreachable for real visitors. Taken out of the flex
   flow with position:absolute rather than display:none, since some bots
   skip display:none fields when deciding what to fill in. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mailing-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  color: #333;
}

.mailing-form button {
  padding: 14px 26px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--white);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
}

.mailing-form button:hover { background: var(--orange); border-color: var(--orange); }

.privacy-note {
  color: var(--grey);
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 26px;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--grey);
}

.footer-social a:hover svg { fill: var(--orange); }

.copyright {
  color: var(--grey);
  font-size: 0.85rem;
}

.image-credit {
  color: var(--grey);
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 6px;
}

/* ---- Streaming links page ---- */
.stream-section {
  padding: 10px 0 100px;
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 40px;
}

.stream-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 18px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.55);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.stream-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  background: rgba(0,0,0,0.72);
}

.stream-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stream-icon-badge svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.badge-spotify { background: #1ED760; }
.badge-bandcamp { background: #408294; }
.badge-youtube { background: #FF0000; }
.badge-youtubemusic { background: #FF0000; }
.badge-applemusic { background: #FA243C; }
.badge-amazonmusic { background: #FF9900; }
.badge-pandora { background: #224099; }
.badge-tidal { background: #000000; border: 1px solid rgba(255,255,255,0.3); }
.badge-deezer { background: #A238FF; }

.stream-card span {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

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

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

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid,
  .about-row,
  .about-row.reverse {
    grid-template-columns: 1fr;
  }
  .about-row.reverse .about-text,
  .about-row.reverse .about-photo,
  .about-row .about-text,
  .about-row .about-photo {
    order: 0;
  }
  /* The centered logo needs more clearance from the side nav links than
     the old small logo did, so switch to the hamburger menu earlier. */
  .nav-left { display: none; }
  .nav-toggle { display: block; }
  .logo-lockup img { height: 70px; }

  /* Mobile header layout: logo sits left with the menu icon inline beside
     it, and the social icons drop to their own centered line below —
     keeps the icons from overlapping the (previously absolute-centered)
     logo. */
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    row-gap: 12px;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .logo-lockup {
    position: static;
    transform: none;
    order: 1;
    margin-right: auto;
  }
  .nav-toggle {
    order: 2;
  }
  .nav-social {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    padding-bottom: 14px;
  }
}

@media (max-width: 760px) {
  .nav-wrap { padding: 0 20px; }
  .container { padding: 0 20px; }
  .hero-copy h1 { font-size: 2.2rem; }
  .page-banner h1 { font-size: 1.9rem; }

  .site-header.nav-open .nav-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 20px;
    border-bottom: 1px solid var(--orange);
    gap: 4px;
  }

  .site-header.nav-open .nav-dropdown {
    width: 100%;
  }
  .site-header.nav-open .nav-dropdown-menu {
    display: block;
    position: static;
    border: none;
    padding: 0 16px;
    min-width: 0;
    width: 100%;
  }

  .site-header.nav-open .nav-dropdown-menu a {
    white-space: normal;
    font-size: 0.72rem;
    text-align: center;
  }
}
