/* Darcy John — static rebuild of the WordPress/The7 site */

:root {
  --accent: #0d76a6;
  --accent-2: #13a8c6;
  --accent-gradient: linear-gradient(135deg, #0d76a6 30%, #13a8c6 100%);
  --accent-gradient-h: linear-gradient(to right, #0d76a6 30%, #13a8c6 100%);
  --text: #85868c;
  --secondary: #b4b5bb;
  --heading: #333333;
  --divider: rgba(51, 51, 51, 0.12);
  --tile: #eaeaea;
  --dark: #353535;
  --footer: #1a1c20;
  --content: 1300px;
  --gutter: 50px;
  --header-h: 100px;
  --font: "Roboto", Helvetica, Arial, Verdana, sans-serif;
  --font-cond: "Roboto Condensed", Helvetica, Arial, Verdana, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: #f7f7f7 url("../images/poly.png") repeat left top fixed;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 25px;
  color: var(--text);
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  color: var(--heading);
  font-family: var(--font-cond);
  font-weight: 700;
}
h1 { font-size: 44px; line-height: 54px; }
h2 { font-size: 34px; line-height: 44px; }
h3 { font-size: 24px; line-height: 34px; }
h4 { font-size: 20px; line-height: 30px; }
h5 { font-size: 16px; line-height: 26px; }
p { margin: 0 0 10px; }

.page { background: #fff; overflow-x: clip; }

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

.center { text-align: center; }

/* ---------- Header (The7 split header, transparent over the slider / page title) ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
}

.header-bar {
  display: flex;
  align-items: stretch;
  max-width: calc(var(--content) - 100px);
  height: var(--header-h);
  margin: 0 auto;
}

.header-bar .logo {
  display: flex;
  align-items: center;
  padding: 0 50px;
  flex-shrink: 0;
}

.header-bar .logo img { display: block; width: 200px; height: auto; }

.header-bar > nav { display: flex; flex: 1; }

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > li { flex: 1; display: flex; justify-content: center; }

.main-nav a {
  position: relative;
  margin: 5px 15px;
  padding: 5px 0;
  color: #fff;
  font: 700 18px/22px var(--font-cond);
  text-transform: uppercase;
  text-decoration: none;
}

/* Left-to-right underline (The7 "l-to-r-line" decoration) */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--accent-gradient-h);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

/* Gradient text on hover / current page */
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--accent-gradient-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Floating ("phantom") header: slides down once the page is scrolled past the header */
.site-header.is-floating {
  position: fixed;
  background: rgba(17, 17, 17, 0.8);
  animation: phantomIn 0.4s ease both;
}

.site-header.is-floating .header-bar { height: 64px; }
.site-header.is-floating .logo { padding: 0 38px; }
.site-header.is-floating .logo img { width: 180px; }

@keyframes phantomIn {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ---------- Mobile header + slide-out menu ---------- */
.mobile-bar { display: none; }

.menu-toggle {
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin-bottom: 5px;
  background: #fff;
}

.menu-toggle span:nth-child(2) { width: 75%; margin-left: auto; transition: width 0.2s; }
.menu-toggle:hover span:nth-child(2) { width: 100%; }
.menu-toggle span:last-child { margin-bottom: 0; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: 350px;
  max-width: 100%;
  padding: 45px 15px 30px 30px;
  background: rgba(26, 28, 32, 0.96);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.13, 0.62, 0.11, 0.99), visibility 0.5s;
}

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

.mobile-menu li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.mobile-menu a {
  display: block;
  padding: 11px 0;
  color: #fff;
  font: 700 18px/22px var(--font-cond);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] { color: var(--accent-2); }

.menu-close {
  position: fixed;
  top: 15px;
  right: 365px;
  z-index: 310;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 6px;
  width: 28px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.menu-close::after { transform: rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

body.menu-open .mobile-menu { transform: translateX(0); visibility: visible; }
body.menu-open .menu-overlay,
body.menu-open .menu-close { opacity: 1; visibility: visible; }

/* ---------- Home hero (Revolution Slider, single static slide) ---------- */
.hero {
  position: relative;
  height: 650px;
  background: #000;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/Darcyu-John-Slider-2.png") center top / cover no-repeat;
  animation: slideFade 1s ease-out both;
}

@keyframes slideFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Page title (inner pages) ---------- */
.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(160px + var(--header-h));
  padding: calc(25px + var(--header-h)) var(--gutter) 20px;
  background: #1e283a url("../images/Background.jpg") center top / cover no-repeat;
  text-align: center;
}

.page-title h1 {
  margin: 0;
  color: #fff;
  font: 700 34px/44px var(--font-cond);
  text-transform: uppercase;
}

/* ---------- Main content ---------- */
.content { padding: 70px 0; }
.content.flush-top { padding-top: 0; }

.full-row { background: var(--dark); }

.fill { background: var(--tile); }
.dark-fill { background: var(--dark); }

/* Social / streaming badge bar */
.social-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 35px 0 5px;
}

.social-bar > a,
.stream-links > a { display: block; margin: 0 15px 35px; justify-self: center; }

.social-bar img,
.stream-links img { display: block; }

/* The7 image rollover: tinted overlay fades in on hover */
.rollover { position: relative; }

.rollover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 118, 166, 0.25) 30%, rgba(19, 168, 198, 0.25) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rollover:hover::after { opacity: 1; }

/* Fancy separator (title with lines either side) */
.separator {
  display: flex;
  align-items: center;
  margin: 0 0 35px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 25px;
  text-align: center;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--divider);
}

.separator::before { margin-right: 1em; }
.separator::after { margin-left: 1em; }

.separator.h2 { color: var(--heading); font: 700 34px/44px var(--font-cond); }
.separator.h3 { color: var(--heading); font: 700 24px/34px var(--font-cond); }
.separator.h4 { font: 700 20px/30px var(--font-cond); }
.separator.light { color: #f4f4f4; }
.separator.light::before, .separator.light::after { border-color: #f4f4f4; }

/* Home: song cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 -10px 20px;
}

.card {
  padding: 35px 15px 0;
  background: var(--tile);
  text-align: center;
}

.card h5 { margin: 0 0 35px; }

.card .cover { display: block; margin: 0 auto 8px; }

.card .preview { width: 90%; margin: 0 auto 35px; }

.card .preview p { color: #cccccc; }

.cards.duo { grid-template-columns: 1fr 2fr; }
.cards.duo .card { padding-top: 35px; }
.cards.duo .separator { margin-bottom: 14px; }

.stream-links { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.stream-links > a { margin: 0 0 35px; }

/* Buttons (WPBakery "vc_btn3") */
.btn {
  position: relative;
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.42857143;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn svg {
  width: 16px;
  height: 14px;
  margin-right: 0.5em;
  fill: currentColor;
  vertical-align: -2px;
}

.btn-modern { background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.01) 100%); }
.btn-inverse { color: #fff; background-color: #555; border-color: #555; }
.btn-inverse:hover { color: #f7f7f7; background-color: #464646; border-color: #464646; }
.btn-grey { color: #666; background-color: #ebebeb; border-color: #ebebeb; }
.btn-grey:hover { color: #5e5e5e; background-color: #dcdcdc; border-color: #dcdcdc; }

.btn-red {
  color: #fff;
  background-color: #ed0000;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1));
  background-repeat: repeat-x;
  background-size: 200%;
  background-position: 0 -100%;
}

.btn-red:hover { color: #fff; background-position: 0 100%; }
.btn-red.bright { background-color: #f40000; }
.btn-block { display: block; width: 100%; }

.btn-wrap { margin-bottom: 35px; text-align: center; }

/* The7 small pill button (used for "Email to buy" / Send) */
.pill {
  display: inline-block;
  padding: 8px 20px 7px;
  border: 0;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: #fff;
  font: 700 12px/18px var(--font);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.pill:hover { background: linear-gradient(135deg, #1083b8 30%, #16b6d6 100%); color: #fff; }

/* Video row */
.video-row { margin-top: 60px; padding-top: 35px; }

.video {
  position: relative;
  margin-bottom: 35px;
}

.video iframe { display: block; width: 100%; height: 515px; border: 0; }

.video-buttons {
  display: grid;
  grid-template-columns: repeat(2, calc((100% + 30px) / 6 - 30px));
  justify-content: center;
  gap: 30px;
  padding-bottom: 5px;
}

/* Product grid (home "Shop" section + shop page) */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 30px;
  margin-top: 32px;
}

.product { text-align: center; }

.product img { display: block; width: 244px; margin: 0 auto 15px; }

.product h4 {
  margin: 0 0 5px;
  font: 700 14px/24px var(--font-cond);
}

.product .price { display: block; margin-bottom: 25px; color: var(--text); }

.shop-note { margin-bottom: 30px; text-align: center; }

/* Home "About Darcy" band */
.bio-band {
  margin-top: 70px;
  padding: 35px 0 0;
  background: #1e283a url("../images/Background.jpg") center / cover no-repeat;
  color: #fff;
}

.bio-band h2 {
  margin: 0 0 35px;
  color: #fff;
  font: 400 34px/44px "Abril Fatface", Georgia, serif;
  text-align: center;
}

.bio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.bio-grid .text { margin-bottom: 35px; }
.bio-grid img { display: block; margin-bottom: 35px; }

.bio-text { padding-top: 35px; }
.bio-text p { color: #000; }

/* About page gallery (WPBakery masonry media grid + lightbox) */
.gallery { margin: 30px -2.5px 35px; }

.gallery-cols { display: flex; align-items: flex-start; }
.gallery-col { flex: 1; min-width: 0; }

.gallery a {
  display: block;
  padding: 2.5px;
}

.gallery img { display: block; width: 100%; }

.js .gallery a { opacity: 0; transition: opacity 0.6s ease; }
.js .gallery a.shown { opacity: 1; }

/* no-JS fallback: CSS columns */
.gallery.css-cols { column-count: 3; column-gap: 0; }
.gallery.css-cols a { break-inside: avoid; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 70px;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border: 10px solid #fff;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s;
}

.lightbox button {
  position: absolute;
  width: 50px;
  height: 50px;
  padding: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  line-height: 50px;
  cursor: pointer;
}

.lightbox button:hover { background: rgba(0, 0, 0, 0.6); }
.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 10px; top: calc(50% - 25px); }
.lightbox .lb-next { right: 10px; top: calc(50% - 25px); }

.lightbox .lb-count {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  color: #ccc;
  font-size: 13px;
  text-align: center;
}

/* Music page */
.music-block { margin: 0 -15px; }
.music-block + .music-block { margin-top: 75px; }
.single-title { padding: 35px 15px 1px; text-align: center; }
.single-title h3 { margin: 0 0 24px; }

.single {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding: 25px 15px 0;
}

.single .cover { display: block; margin: 0 auto 35px; }

.single .preview p { text-align: center; }
.single .preview { margin-bottom: 35px; }

.buy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 10px;
  padding-top: 35px;
  border-top: 1px solid #ccc;
}

.buy-row p { margin: 0 0 35px; padding-top: 4px; text-align: center; }

.buy-row .buy { margin: 0 0 35px; padding-left: 40px; }
.buy-row .buy .price { margin-right: 4px; }

.social-bar-wrap { margin: 50px -15px 0; }
.social-bar-wrap.mt70 { margin-top: 70px; }

/* Media page */
.media-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: 35px;
}

.media-row .intro { padding-top: 25px; text-align: center; }
.media-row .intro h4 { margin-top: 20px; }

.media-row iframe { display: block; width: 100%; height: 415px; border: 0; }

.radio-row { padding: 35px 0 0; }

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.radio-grid iframe {
  display: block;
  width: 100%;
  max-width: 560px;
  height: 315px;
  margin-bottom: 35px;
  border: 0;
  overflow: hidden;
}

/* Contact form */
.form-box { margin: 0 -15px; padding: 35px 30px 1px; background: var(--tile); }

.contact-form label { display: block; color: var(--text); font-size: 13px; line-height: 23px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  height: 38px;
  margin: 0 0 10px;
  padding: 5px 15px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 0;
  color: var(--text);
  font: 14px/25px var(--font);
}

.contact-form textarea { height: auto; min-height: 200px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus { outline: 1px solid var(--accent); }

.contact-form .pill { padding: 10px 28px 9px; }

.form-status { margin: 10px 0 35px; padding: 10px 15px; border: 2px solid transparent; color: var(--heading); }
.form-status.ok { border-color: #46b450; }
.form-status.error { border-color: #dc3232; }
.form-status:empty { display: none; }

.hidden { display: none; }

/* 404 */
.not-found { padding: 40px 0; text-align: center; }

/* ---------- Audio player (WordPress MediaElement look) ---------- */
.player audio { display: block; width: 100%; }

.mejs {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  background: #222;
  color: #fff;
  font: 700 11px/1 Helvetica, Arial, sans-serif;
  text-align: left;
  user-select: none;
}

.mejs button {
  flex-shrink: 0;
  width: 32px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.mejs button svg { display: block; width: 16px; height: 16px; margin: 0 auto; fill: currentColor; }

.mejs .time { padding: 0 6px; }

.mejs .rail {
  position: relative;
  flex: 1;
  height: 10px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.33);
  cursor: pointer;
}

.mejs .loaded,
.mejs .current {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
}

.mejs .loaded { background: #fff; }
.mejs .current { background: #0073aa; }

.mejs .vol {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 8px;
  margin: 0 6px 0 2px;
  background: rgba(255, 255, 255, 0.33);
  cursor: pointer;
}

.mejs .vol span { position: absolute; top: 0; left: 0; height: 100%; width: 80%; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); }

.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 60px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.06);
}

.bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.bottom-bar img { display: block; margin: 10px 15px 10px 0; }

.credit { margin: 0; color: #fff; font-size: 7pt; }
.credit a { color: #0fbcf5; text-decoration: none; }

/* The7 "Go to top" button */
.scroll-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, background-color 0.3s;
}

.scroll-top:hover { background: var(--accent-gradient); }
.scroll-top.on { opacity: 1; visibility: visible; }
.scroll-top svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- Scroll-triggered entrance animations (animate.css keyframes, as used by WPBakery) ---------- */
.js .animate { opacity: 0; }
.js .animate.animated { opacity: 1; animation-duration: 1s; animation-fill-mode: both; }
.js .animate.slideInLeft.animated { animation-name: slideInLeft; }

@keyframes slideInLeft {
  from { transform: translate3d(-100%, 0, 0); visibility: visible; }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .animate, .hero-bg, .js .gallery a { opacity: 1 !important; animation: none !important; transition: none !important; }
  .site-header.is-floating { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1239px) {
  .hero { height: 500px; }
}

@media (max-width: 1050px) {
  :root { --header-h: 60px; }
  .header-bar { display: none; }
  .site-header, .site-header.is-floating { position: fixed; background: rgba(0, 0, 0, 0.8); animation: none; }
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 60px;
    padding: 0 20px;
  }
  .mobile-bar .logo img { display: block; width: 200px; height: auto; }
  .mobile-bar .menu-toggle { position: absolute; right: 20px; top: 10px; }
  .page-title { min-height: calc(60px + var(--header-h)); padding-top: calc(10px + var(--header-h)); padding-bottom: 10px; }
  .page-title h1 { font-size: 24px; line-height: 34px; }
}

@media (max-width: 1023px) {
  .hero { height: 700px; }
}

@media (max-width: 990px) {
  .bottom-bar .container { justify-content: center; text-align: center; }
  .bottom-bar img { margin: 10px auto; }
}

@media (max-width: 777px) {
  :root { --gutter: 20px; }
  .hero { height: calc(100vw * 700 / 778); }
  .mobile-bar { justify-content: flex-start; }
  .mobile-bar .logo img { width: 150px; }
  .menu-close { right: auto; left: 15px; }
  .mobile-menu { width: calc(100% - 70px); }
}

@media (max-width: 767px) {
  .form-box { padding: 35px 15px 1px; }
  .social-bar { grid-template-columns: 1fr 1fr; }
  .stream-links { grid-template-columns: 1fr 1fr; }
  .cards, .cards.duo { grid-template-columns: 1fr; }
  .video iframe { height: 56.25vw; }
  .video-buttons { grid-template-columns: 1fr; gap: 0; padding: 0 0 20px; }
  .video-buttons .btn { margin-bottom: 15px; }
  .products { grid-template-columns: 1fr; }
  .bio-grid, .single, .media-row, .radio-grid, .buy-row { grid-template-columns: 1fr; gap: 0; }
  .buy-row .buy { padding-left: 0; text-align: center; }
  .media-row iframe { height: 56.25vw; }
  .radio-grid iframe { height: 56.25vw; }
  .separator.h2 { font-size: 28px; line-height: 38px; }
  .gallery.css-cols { column-count: 1; }
}

@media (max-width: 479px) {
  .hero { height: 150vw; }
}
