/* =========================================================
   BELTWAY SOUL - static rebuild
   Structure:
   01 Variables / reset
   02 Placeholders
   03 Hero (loading screen)
   04 Navigation
   05 Sections (about / video / news / contact)
   06 Tabs
   07 News
   08 Contact
   09 Footer
   10 Blog index + article pages
   11 Media queries
   ========================================================= */

/* Original site fonts: Novecentowide (titles) + Open Sans (body, via Google Fonts link in HTML).
   Files copied from the live theme (beltwaysoul.com) and self-hosted to avoid CORS blocking. */
@font-face {
  font-family: 'NovecentowideBookBold';
  src: url('../fonts/2D04C8_0_0.woff2') format('woff2'),
       url('../fonts/2D04C8_0_0.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NovecentowideLightRegular';
  src: url('../fonts/2D04C8_1_0.eot');
  src: url('../fonts/2D04C8_1_0.eot?#iefix') format('embedded-opentype'),
       url('../fonts/2D04C8_1_0.woff2') format('woff2'),
       url('../fonts/2D04C8_1_0.woff') format('woff'),
       url('../fonts/2D04C8_1_0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- 01 Variables / reset ---------- */

/* slight pulsating black glow on the accent-colored buttons */
@keyframes accent-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(0, 0, 0, .35); }
  50%      { box-shadow: 0 0 12px 2px rgba(0, 0, 0, .8); }
}

:root {
  --accent: #808080; /* static medium gray */
  --nav-height: 46px; /* desktop; 62px below 980px (media query below) */
  --heading-font: 'NovecentowideBookBold', 'Open Sans', 'Verdana', 'Arial', sans-serif;
  --slogan-font: 'NovecentowideLightRegular', 'Open Sans', 'Verdana', 'Arial', sans-serif;
  --body-font: 'Open Sans', 'Verdana', 'Arial', sans-serif;
  --dark-bg: #101010;
  --dark-bg-alt: #161616;
  --text-light: #f1f1f1;
  --text-muted: #bbb;
  --body-bg: #f9f9f9;
  --text-dark: #2d2d2d;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 22px;
  color: var(--text-dark);
  background: var(--body-bg);
  overflow-x: hidden;
}

img, svg { display: inline-block; vertical-align: middle; }
a { color: var(--accent); }
a:hover { text-decoration: underline; }
b, strong { font-weight: 600; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- 02 Placeholders ---------- */
.img-placeholder {
  background: repeating-linear-gradient(45deg, #1d1d1d, #1d1d1d 12px, #222 12px, #222 24px);
  border: 2px dashed #3d3d3d;
  color: #6f6f6f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.img-placeholder--light {
  background: repeating-linear-gradient(45deg, #ececec, #ececec 12px, #f2f2f2 12px, #f2f2f2 24px);
  border-color: #c4c4c4;
  color: #999;
}

.ph-270 { width: 270px; height: 270px; max-width: 100%; flex: none; }
.ph-400x250 { width: 100%; max-width: 400px; aspect-ratio: 400 / 250; }

/* band video in the View The Band section (replaces the old placeholder) */
.ytvideo {
  display: block;
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ---------- 03 Hero (loading screen) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.color-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1;
}

/* fine black dot pattern - dims the video underneath */
.dots-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .55) 1px, transparent 1.4px);
  background-size: 3px 3px;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--slogan-font); /* NovecentowideLightRegular - as the original hero title */
  font-weight: normal;
  font-size: clamp(42px, 9vw, 92px);
  line-height: 1.05;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}

.hero-url {
  margin-top: 20px;
  font-family: var(--slogan-font);
  font-weight: normal;
  font-size: clamp(15px, 2.4vw, 22px);
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #fff;
  opacity: .9;
}

.hero-url::before,
.hero-url::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 46px;
  height: 1px;
  background: var(--accent);
  margin: 0 16px;
}

/* "carrot" scroll-down indicator */
.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  opacity: .9;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-down:hover { color: var(--accent); text-decoration: none; }

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 14px); }
}

/* ---------- 04 Navigation ---------- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 10, .92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}

/* fades in once the page is scrolled more than the menu-bar height */
.home-page .main-nav.nav-visible,
body.subpage .main-nav {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease;
}

.nav-inner {
  max-width: 1170px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand svg { color: var(--accent); }
.brand span {
  font-family: var(--heading-font);
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.nav-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.6px;
  font-weight: 400;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--accent); text-decoration: none; }
.nav-link.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

/* ---------- 05 Sections ---------- */
.section {
  position: relative;
  padding: 90px 0;
  scroll-margin-top: var(--nav-height);
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.section-alt { background-color: var(--dark-bg-alt); }

/* video section: silver background image with dark overlay (as the original) */
#video.section-dark {
  background-image:
    linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)),
    url("https://beltwaysoul.com/wp-content/uploads/2020/11/silver-bg.jpg");
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* contact section: black2 background image + hero-style dots overlay */
#contact.section-dark {
  background-image: url("https://beltwaysoul.com/wp-content/uploads/2021/06/black2.jpg");
  background-size: cover;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#contact .container {
  position: relative;
  z-index: 3; /* keep content above the .dots-overlay element */
}

.section-title {
  font-family: var(--heading-font);
  font-weight: normal;
  font-size: clamp(28px, 5vw, 50px);
  line-height: clamp(28px, 5vw, 50px);
  margin-bottom: 40px;
  color: #fff; /* first word - remaining words via .title-rest */
}
.section-title .title-rest { color: rgb(90, 90, 90); }

.about-text p { margin-bottom: 20px; }
.about-text strong { color: #fff; }

/* ---------- 06 Tabs ---------- */
.tab-list {
  display: flex;
  gap: 2px;
  list-style: none;
  border-bottom: 1px solid #2a2a2a;
  margin: 54px 0 34px;
  padding: 0;
}

.tab-link {
  background: #5a5a5a; /* inactive buttons */
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 22px;
  transition: background .2s ease, color .2s ease;
}
.tab-link:hover { color: #fff; }
.tab-link.active { background: #fff; color: var(--text-dark); }

.tab-pane { display: none; }
.tab-pane.active {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: start;
}

/* per-tab images (loaded lazily when the tab is activated), masked in a circle */
.tab-image {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  clip-path: circle(50%);
}

.tab-pane h3 {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.genre-list { line-height: 2; }

.review {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 0 0 24px;
  font-style: italic;
  color: var(--text-muted);
}
.review cite {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .5px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 12px 20px;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .85; text-decoration: none; color: #fff; }
.btn-black { background: #000; }

/* pulsating black glow (accent buttons + form submit) */
.btn,
.contact-form input[type="submit"] {
  animation: accent-glow 2s ease-in-out infinite;
}

/* ---------- 07 News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.news-item {
  background: #181818;
  border: 1px solid #272727;
  padding: 28px;
}

.news-item h3 {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.news-item p { color: var(--text-muted); margin-bottom: 18px; }
.news-item > a {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}
.news-item > a:hover { text-decoration: underline; }

/* media columns: linked image + responsive YouTube embed */
.news-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .3s ease;
}
.news-item a:hover img { opacity: .7; }
.news-item iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ---------- 08 Contact ---------- */
.contact-lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* two-column layout like the original contact template */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

#find-us h3,
#contact-info h3 {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

#find-us .contact-info {
  list-style: none;
  margin-bottom: 10px;
}
#find-us .contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 34px;
  font-size: 15px;
}
#find-us .contact-info li svg { color: var(--accent); flex: none; }
#find-us .contact-info a { color: #fff; text-decoration: none; }
#find-us .contact-info a:hover { color: var(--accent); }

/* underline-style fields, matching the original form */
.contact-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #999;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: var(--body-font);
  font-size: 14px;
  padding: 8px 0;
  margin-bottom: 20px;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #f0f0f0;
}

.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form ::placeholder { color: #666; }

.contact-form input[type="submit"] {
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease;
}
.contact-form input[type="submit"]:hover { opacity: .85; }

.form-row { margin: 0; }
.form-submit { margin: 0; }

.social {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  list-style: none;
  margin-top: 24px;
}
.social a {
  width: 42px;
  height: 42px;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: color .2s ease, border-color .2s ease;
}
.social a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ---------- 09 Footer ---------- */
.site-footer {
  background: #000;
  color: #f1f1f1;
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.site-footer p { margin: 0; }

/* ---------- 10 Blog index + article pages ---------- */
body.subpage { background: var(--body-bg); }
body.subpage.blog-page { background: #2d2d2d; } /* blog index page */

.page-top {
  position: relative;
  background: #101010;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: #fff;
  padding: calc(var(--nav-height) + 70px) 0 60px;
  text-align: center;
}
.page-top .section-title { margin-bottom: 0; }

.blog-main { padding: 60px 0 80px; }

.posts-list { list-style: none; max-width: 820px; margin: 0 auto; }

.blog-article {
  background: #fff;
  border-bottom: 1px solid #d3d3d3;
  border-right: 1px solid #f0f0f0;
  padding: 24px;
  margin-bottom: 40px;
}

.blog-article h2 {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 22px 0 10px;
}
.blog-article h2 a { color: var(--text-dark); text-decoration: none; }
.blog-article h2 a:hover { color: var(--accent); }

.excerpt-meta { margin-top: 8px; }
.excerpt p {
  border-right: 3px solid #f0f0f0;
  padding: 10px 20px 10px 0;
  color: #555;
}
.moretag { display: block; margin-top: 20px; }
.moretag:hover { opacity: .85; text-decoration: none; }

/* single article */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.article-title {
  font-family: var(--body-font);
  font-weight: normal;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 44px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 20px 0 20px;
}

.article-meta {
  color: #999;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.article-hero { margin-bottom: 36px; }

.article-content p { margin-bottom: 20px; }
.article-content h3 {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 34px 0 16px;
}

.song-list { list-style: none; border-top: 1px solid #e8e8e8; }
.song-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e8e8e8;
  padding: 11px 0;
  font-size: 14px;
}
.song-list li span:first-child { color: var(--text-dark); }
.song-list li span:last-child { color: #777; text-align: right; }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* scroll fade-in: .reveal is added by JS; .revealed is added the first
   time the element enters the viewport (video placeholder + news grid) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* tab-content slide-in: image column enters from fully off-screen left,
   text column from fully off-screen right; .slide-in is added by JS,
   .revealed while the section is in view */
.tab-content.slide-in .tab-image {
  transform: translateX(-100vw); /* starts 100% out of the viewport */
  transition: transform .7s ease;
}
.tab-content.slide-in .tab-text {
  transform: translateX(100vw); /* starts 100% out of the viewport */
  transition: transform .7s ease .15s;
}
.tab-content.slide-in.revealed .tab-image,
.tab-content.slide-in.revealed .tab-text {
  transform: none;
}

/* ---------- 11 Media queries ---------- */

/* nav bar height: 46px desktop / 62px below 980px; mobile menu below 980px */
@media (max-width: 980px) {
  :root { --nav-height: 62px; }

  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 10, .97);
    padding: 10px 20px 20px;
  }
  .nav-menu .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid #242424; }
  body.nav-open .nav-menu { display: flex; }
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  #contact-info { margin-top: 20px; }
}

@media (max-width: 860px) {
  .hero-title { letter-spacing: 6px; }
  .hero-url::before, .hero-url::after { width: 24px; margin: 0 10px; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .ph-270 { width: 100%; max-width: 270px; height: auto; aspect-ratio: 1; margin: 0 auto; }
  .tab-link { padding: 10px 14px; font-size: 12px; }
  .hero-url { letter-spacing: 4px; }
}

/* tabs keep 2 columns until below 640px */
@media (max-width: 640px) {
  .tab-pane.active { grid-template-columns: 1fr; }
  .tab-pane.active .tab-image { margin: 0 auto; } /* 0 bottom margin */
}

/* touch/tablet devices: disable fixed background (as the original theme) */
@media only screen and (max-device-width: 1024px) {
  #video.section-dark,
  #contact.section-dark { background-attachment: scroll; }
}

/* stop the accent animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .contact-form input[type="submit"] { animation: none; }
}
