/* ================================================================
   Eric Fullerton Music - Static Site CSS
   Adapted from Hitchcock WordPress theme by Anders Norén
   Accent color: #c0dd1a
   ================================================================ */

/* 0. Reset */
html, body { margin:0; padding:0; }
h1,h2,h3,h4,h5,h6,p,blockquote,address,big,cite,code,em,font,img,small,strike,sub,sup,li,ol,ul,fieldset,form,label,legend,button,table,caption,tr,th,td {
  margin:0; padding:0; border:0; font-weight:normal; font-style:normal;
  font-size:100%; line-height:1; font-family:inherit; text-align:left;
}
table { border-collapse:collapse; border-spacing:0; }
ol,ul { list-style:none; }
a { outline:none; }
input[type=search] { -moz-appearance:none; -webkit-appearance:none; }

/* 1. Document Setup */
html { font-size: 16px; }

body {
  margin: 0; padding: 0;
  background: #1d1d1d;
  color: #1d1d1d;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body a { color: #c0dd1a; text-decoration: none; transition: all 0.1s ease-in-out; }
body a:hover { color: #c0dd1a; }

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

img { display: block; max-width: 100%; height: auto; }
.hidden { display: none; }
.clear { clear: both; }

::selection { background: #444; color: #fff; }
::-webkit-input-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }

/* 2. Structure */
.section-inner {
  width: 1040px;
  max-width: 90%;
  margin: 0 auto;
}

.content { position: relative; z-index: 2; }

/* 3. Navigation */
.navigation { background: #1d1d1d; position: relative; z-index: 100; }

.mobile-navigation, .nav-toggle { display: none; }

.main-menu { text-align: center; }
.main-menu li { position: relative; }
.main-menu > li { display: inline-block; }
.main-menu > li + li { margin-left: 40px; }
.main-menu > li + li:before {
  content: "/"; font-size: 14px; color: #3d3d3d;
  position: absolute; top: 50%; margin-top: -7px; left: -25px;
}
.main-menu a {
  display: block; padding: 23px 0; font-size: 14px;
  color: #999; text-transform: uppercase; position: relative; z-index: 10000;
  transition: all 0.2s ease-in-out;
}
.main-menu li:hover > a,
.main-menu li.current-menu-item > a { color: #fff; }

/* Header Search */
.header-search { position: relative; }
.header-search .search-form {
  width: auto; min-width: 16px;
  position: absolute; top: -22px; left: 0;
}
.main-menu .search-field {
  display: block; width: 0; margin: 0; padding: 0;
  background: none; border: none; border-radius: 0;
  font-size: 14px; color: #fff; text-indent: -9999px;
  transition: width 200ms linear;
}
.header-search .search-button {
  display: block; padding: 8px 0 0 0; width: 16px;
  background: #1d1d1d; font-size: 18px; text-align: center;
  color: #999; position: absolute; top: 0; right: 0; bottom: 0;
  cursor: pointer;
}
.header-search .search-button:hover { color: #fff; }
.header-search form:hover .search-field,
.header-search .search-field:focus {
  width: 150px; padding: 8px 32px 7px 0;
  border-bottom: 1px solid #3d3d3d; text-indent: 0; outline: none;
}
.header-search form:hover .search-button,
.header-search .search-field:focus + .search-button { width: 32px; }
.main-menu li + .header-search:before { margin-top: -12px; }

/* 4. Header */
.header { padding: 40px 0; }
.header.section-inner { width: 325px; position: relative; z-index: 2; }

.custom-logo-link, .custom-logo-link img { display: block; }
.custom-logo-link img { margin: 0 auto; }

/* Social Menu */
.social-menu { margin-top: 25px; text-align: center; }
.social-menu li { display: inline-block; margin: 0 2px; position: relative; }
.social-menu li:first-child { margin-left: 0; }

.screen-reader-text { position: absolute; top: -9999em; left: -9999em; }

.social-menu a {
  display: block; width: 36px; height: 36px;
  background: #2d2d2d; border-radius: 99px;
  color: #fff; position: relative; transition: all 0.2s ease-in-out;
}
.social-menu a:hover { background: #c0dd1a; color: #fff; }

.social-menu li a::before {
  content: '\f408'; display: inline-block;
  font-family: 'FontAwesome'; font-size: 16px;
  text-align: center; position: absolute;
  top: 50%; margin-top: -8px; left: 0; right: 0;
}
.social-menu li a[href*="youtube.com"]::before  { content: '\f167'; }
.social-menu li a[href*="twitter.com"]::before  { content: '\f099'; }
.social-menu li a[href*="facebook.com"]::before { content: '\f09a'; }
.social-menu li a[href*="soundcloud.com"]::before { content: '\f1be'; }

/* Header Background Image */
.header-image,
.header-image:after {
  height: 100vh; position: absolute; z-index: 1; right: 0; left: 0;
}
.header-image {
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.header-image:after {
  content: ""; display: block; z-index: 2; top: 0;
  background: linear-gradient(to bottom, rgba(29,29,29,0.2) 0%, rgba(29,29,29,1) 100%);
}

/* 5. Post / Content Area */
.post-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0 90px;
}

.post-content { color: #ccc; }
.post-content a { color: #c0dd1a; }
.post-content a:hover { color: #c0dd1a; border-bottom-color: #c0dd1a; }

/* 6. Elementor Layout Mimic */
.elementor-section-wrap > section {
  padding: 20px 0;
}

/* Two-column album row */
.album-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  padding: 30px 0;
}
.album-row .album-art {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
}
.album-row .album-art img {
  width: 100%;
  height: auto;
  display: block;
}
.album-row .album-player {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
}
.album-row .album-player iframe {
  width: 100%;
  height: 352px;
  border: none;
  display: block;
}

/* Album links row */
.album-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0 30px;
  border-bottom: 1px solid #2d2d2d;
}
.album-links-row:last-child { border-bottom: none; }
.album-title {
  flex: 0 0 25%;
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.album-store-links {
  display: flex;
  gap: 15px;
  align-items: center;
}
.album-store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #2d2d2d;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}
.album-store-links a:hover {
  background: #c0dd1a;
  color: #1d1d1d;
  transform: scale(1.1);
}

/* Remixes grid */
.remixes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}
.remix-item {
  position: relative;
  padding: 10px;
  /* Prevent mejs pixel-width calculation from overflowing the column */
  overflow: hidden;
  box-sizing: border-box;
}
.remix-item img {
  width: 100%;
  height: auto;
  display: block;
}
.remix-label {
  background: #2C2C2C;
  padding: 6px 8px;
  font-family: sans-serif;
  font-size: 12px;
  color: #ffeece;
}
.remix-item audio {
  width: 100%;
  display: block;
  background: #2C2C2C;
}
/* Style HTML5 audio elements */
audio {
  width: 100%;
  display: block;
  border-radius: 0;
}
/* Override mejs JS-injected inline width so it never breaks the grid column */
.remix-item .mejs-container {
  width: 100% !important;
  max-width: 100% !important;
  height: 40px !important;
  box-sizing: border-box;
}
.remix-item .mejs-mediaelement audio {
  width: 100% !important;
}

/* Latest Remix callout */
.remix-callout {
  display: flex;
  align-items: center;
  justify-content: center;
}
.remix-callout h1 {
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}

/* Videos grid */
.video-full {
  width: 100%;
  padding: 0;
}
.video-full iframe {
  width: 100%;
  height: 560px;
  display: block;
  border: none;
}
.video-row {
  display: flex;
  flex-wrap: wrap;
}
.video-half {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  padding-bottom: 28.125%; /* 16:9 of 50% width */
}
.video-half iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* About page */
.about-photo-strip img {
  width: 100%;
  height: auto;
  display: block;
}
.about-bio {
  padding: 40px 0;
  color: #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}
.about-bio p { margin-bottom: 1em; }
.about-bio p:last-child { margin-bottom: 0; }

/* 7. Credits / Footer */
.credits {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}
.credits p { text-align: center; text-transform: uppercase; }
.credits p:first-child { font-size: 1.175em; color: #fff; }
.credits p:first-child a { color: #fff; }
.credits p:first-child a:hover { color: #c0dd1a; }
.credits p + p { margin-top: 12px; font-size: 0.825em; color: #666; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; padding: 16px 0;
  background: rgba(0,0,0,0.1); color: #fff;
  cursor: pointer;
}
.nav-toggle .bars { margin: 0 auto; height: 12px; width: 20px; position: relative; }
.nav-toggle .bar {
  height: 2px; background: #fff; border-radius: 2px;
  position: absolute; left: 0; right: 0;
  transition: all 0.2s ease-in-out;
}
.nav-toggle .bar:nth-child(1) { top: 0px; }
.nav-toggle .bar:nth-child(2) { top: 5px; }
.nav-toggle .bar:nth-child(3) { top: 10px; }
.nav-toggle.active .bar { background: #c0dd1a; }
.nav-toggle.active .bar:nth-child(1),
.nav-toggle.active .bar:nth-child(3) { top: 5px; }
.nav-toggle.active .bar:nth-child(1) { transform: rotate(-45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: rotate(45deg); }

/* Mobile navigation */
.mobile-navigation { display: none; }
.mobile-menu { border-top: 1px solid #2d2d2d; padding: 20px 0; }
.mobile-menu a {
  display: block; padding: 20px 5%;
  text-transform: uppercase; color: #fff; font-size: 14px;
}
.mobile-menu a:hover { color: #c0dd1a; }
.mobile-navigation .search-form {
  position: relative;
  border-top: 1px solid #2d2d2d;
}
.mobile-navigation .search-field {
  width: 100%; background: none; border: none; border-radius: 0;
  padding: 25px 60px 25px 5%;
  font-size: 1rem; color: #999;
}
.mobile-navigation .search-field:focus { color: #fff; outline: none; }
.mobile-navigation .search-button {
  width: 60px; padding: 23px 20px 0 0;
  font-size: 20px; text-align: center; color: #999;
  position: absolute; top: 0; right: 0; bottom: 0; cursor: pointer;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-menu { display: none; }
  .mobile-navigation.open { display: block; }

  .album-row { flex-direction: column; }
  .album-row .album-art,
  .album-row .album-player { flex: 0 0 100%; max-width: 100%; }
  .album-row .album-player iframe { height: 300px; }

  .album-links-row { flex-direction: column; align-items: flex-start; }

  .remixes-grid { grid-template-columns: repeat(2, 1fr); }

  .video-full iframe { height: 300px; }
  .video-half { flex: 0 0 100%; max-width: 100%; padding-bottom: 56.25%; }
}

@media (max-width: 600px) {
  .header, .credits { padding: 40px 0; }
  .header.section-inner { width: auto; }
  .remixes-grid { grid-template-columns: 1fr; }
  .video-full iframe { height: 210px; }

  .album-links-row { padding: 8px 0 20px; }
  .album-title { flex: 0 0 100%; font-size: 12px; }
}
