/*
 * JAY GUITAR — Home Page Styles
 * page--front.html.twig specific
 *
 * HERO IMAGE: When a photo is ready, uncomment the background-image
 * line in .home-hero and set the path. The overlay will handle contrast.
 */

/* ── HERO ───────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;

  /* Atmospheric gradient placeholder — swap for image when ready */
  background:
    radial-gradient(ellipse at 20% 60%, rgba(45, 90, 55, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(20, 50, 30, 0.2) 0%, transparent 50%),
    var(--black);

  /* ── HERO IMAGE (uncomment when photo is available) ──
  background-image: url('/sites/default/files/jay-hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  ────────────────────────────────────────────────────── */
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  /* Left-heavy gradient keeps text readable over any photo */
  background: linear-gradient(
    105deg,
    rgba(7, 11, 7, 0.92) 0%,
    rgba(7, 11, 7, 0.70) 45%,
    rgba(7, 11, 7, 0.25) 100%
  );
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 3.5rem 8rem;
  max-width: 760px;
}

.home-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.home-hero__name {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.92;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.75rem;
  letter-spacing: -1px;
}

.home-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-style: italic;
  color: var(--muted-light);
  margin-bottom: 2.75rem;
  letter-spacing: 0.5px;
}

.home-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll hint arrow */
.home-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.home-hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--green-dim));
  margin: 0 auto;
  animation: heroScrollPulse 2s ease-in-out infinite;
}
@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 0.8; transform: scaleY(1); }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.home-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.home-btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.home-btn--primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--white);
}

.home-btn--outline {
  background: transparent;
  color: var(--green-light);
  border-color: var(--green-dim);
}
.home-btn--outline:hover {
  border-color: var(--green-light);
  color: var(--green-pale);
}

.home-btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.home-btn--ghost:hover {
  color: var(--muted-light);
  border-color: var(--border-light);
}

/* ── IDENTITY STRIP ─────────────────────────────────────────── */
.home-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  overflow: hidden;
  margin: 0 20px;
}
.home-strip__inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.home-strip__sep {
  color: var(--green-dim);
}

/* ── SECTION SCAFFOLDING ────────────────────────────────────── */
.home-main {
  padding: 0;
  margin: 0 20px;
}

.home-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.home-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.home-section__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.5px;
}

.home-section__more {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  text-decoration: none;
  transition: color var(--transition);
}
.home-section__more:hover { color: var(--green-pale); }

/* ── UPCOMING SHOWS ─────────────────────────────────────────── */
.home-shows__list .view-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* All shows visible — carousel handles display */

/* Inherit the existing upcoming-shows node styling */
.home-shows__list .node--type-upcoming-shows {
  margin-bottom: 0;
}

/* ── BIO SECTION ────────────────────────────────────────────── */
.home-bio__inner {
  max-width: 720px;
}

.home-bio__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.home-bio__text {
  border-left: 2px solid var(--green-dim);
  padding-left: 2rem;
  margin-bottom: 2rem;
}

/* Suppress node title and box styling */
.home-bio__text h1,
.home-bio__text h2,
.home-bio__text h3,
.home-bio__text .node__title,
.home-bio__text .page-title,
.home-bio__text [class*="node-title"] {
  display: none !important;
}

.home-bio__text,
.home-bio__text *,
.home-bio__text article,
.home-bio__text .node,
.home-bio__text > div {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Override border we want to keep */
.home-bio__text {
  border-left: 2px solid var(--green-dim) !important;
  padding-left: 2rem !important;
}

.home-bio__text p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted-light);
  margin-bottom: 1rem;
}

.home-bio__actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding-left: 2rem;
}

/* ── PROJECTS ───────────────────────────────────────────────── */
/* Layout handled by vvjb carousel module */

/* ── HOME SHOWS BLOCK — card style matching projects ────────── */

/* Strip default node card and let our styles take over */
.home-shows-block .node--type-upcoming-shows {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-shows-block .node--type-upcoming-shows:hover {
  background: var(--surface) !important;
  transform: translateY(-4px);
  border-color: var(--green) !important;
  box-shadow: 0 12px 40px rgba(61, 122, 80, 0.2);
}

.home-shows-block .show-upcoming {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-shows-block .show-upcoming-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.home-shows-block .show-date {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--green-light);
  text-transform: uppercase;
}

.home-shows-block .show-venue {
  font-size: 0.85rem;
  color: var(--muted-light);
}

.home-shows-block .show-location {
  font-size: 0.85rem;
  color: var(--muted);
}

.home-shows-block .show-upcoming-title a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.home-shows-block .show-upcoming-title a:hover {
  color: var(--green-pale);
}
.home-shows-block .show-description,
.home-shows-block .show-venue-link,
.home-shows-block .show-address {
  display: none !important;
}

/* Poster — simple contained display */
.home-shows-block .show-image {
  margin-top: 0.75rem;
}
.home-shows-block .show-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile — stack vertically */
@media (max-width: 768px) {
  .home-shows-block .show-upcoming-title { font-size: 1rem; }
}
@media (max-width: 900px) {
  .home-bio__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .home-bio__label { display: none; }
  .home-bio__actions { flex-direction: row; }
}

@media (max-width: 768px) {
  .home-hero { min-height: 75vh; }
  .home-hero__name { font-size: clamp(3.5rem, 16vw, 5.5rem); }
  .home-hero__content { padding: 0 1.5rem; }
  .home-section { padding: 3rem 0; }
  .home-section__header { flex-direction: column; gap: 0.5rem; }
  .home-strip__inner { font-size: 9px; gap: 0.75rem; }
  /* projects layout handled by vvjb */
}

@media (max-width: 480px) {
  /* projects layout handled by vvjb */
  .home-hero__cta { flex-direction: column; }
  .home-btn { text-align: center; }
}

/* ── HERO SLIDESHOW ─────────────────────────────────────────── */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
}


