/* Leavell Entertainment Company — modern site styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #08080a;
  --panel: rgba(20, 20, 24, 0.55);
  --gold: #d4af37;
  --gold-light: #f4e3a8;
  --gold-dim: #9c8030;
  --cream: #f6f2e7;
  --muted: rgba(246, 242, 231, 0.6);
  --line: rgba(212, 175, 55, 0.22);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Ambient floating gold glows behind everything */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(212,175,55,0.28), transparent 70%);
  top: -120px; left: -120px;
  animation: drift1 18s ease-in-out infinite alternate;
}
body::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 70%);
  bottom: -160px; right: -140px;
  animation: drift2 22s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0,0); }
  to   { transform: translate(80px, 60px); }
}
@keyframes drift2 {
  from { transform: translate(0,0); }
  to   { transform: translate(-90px, -50px); }
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  font-weight: 800;
}

.gold-text {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 30%, #fff7df 50%, var(--gold-light) 70%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 0% center; }
  to   { background-position: 250% center; }
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* Entrance animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: fadeUp 0.9s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: 0.12s; }
.reveal.d2 { animation-delay: 0.24s; }
.reveal.d3 { animation-delay: 0.36s; }
.reveal.d4 { animation-delay: 0.48s; }

/* Slow cinematic zoom for photos */
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.20); }
}

/* ---------- Nav ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 8, 10, 0.5);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 42px; width: auto; }
.brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-transform: uppercase;
}

nav ul {
  display: flex; gap: 2.2rem;
  list-style: none; margin: 0; padding: 0;
}
nav a {
  font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream);
  position: relative; padding-bottom: 4px;
  transition: color 0.2s ease;
}
nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.25s ease;
}
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  border-radius: 100px;
  font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #1a1405;
  border: none;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4); color: #1a1405; }
.btn-ghost {
  background: transparent; color: var(--gold-light);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: var(--gold); color: #1a1405; }

/* ---------- Contact hero (split screen) ---------- */
.contact-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

/* Left: photo panel — feathered edges */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 3.5rem;
  overflow: hidden;
}
/* the actual image */
.hero-visual .photo {
  position: absolute; inset: 0;
  background-image: url('assets/band.jpg');
  background-size: cover;
  background-position: center;
  animation: kenburns 26s ease-in-out infinite alternate;
}
/* edge-fade overlay — dissolves every side of the photo into black */
.hero-visual::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    /* left + right edges fade to black */
    linear-gradient(to right,
      var(--black) 0%, rgba(8,8,10,0) 26%,
      rgba(8,8,10,0) 74%, var(--black) 100%),
    /* top + bottom edges fade to black (bottom heavier for text) */
    linear-gradient(to bottom,
      var(--black) 0%, rgba(8,8,10,0) 22%,
      rgba(8,8,10,0) 48%, var(--black) 100%);
}
.hero-visual-inner { position: relative; z-index: 2; }
.hero-visual-inner .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.8rem;
}
.hero-visual-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1; max-width: 12ch;
}
.hero-visual-inner p { color: var(--muted); max-width: 34ch; margin-top: 0.6rem; }

/* Right: form panel */
.hero-form {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 6% 4rem;
  background:
    radial-gradient(1200px 600px at 120% -10%, rgba(212,175,55,0.10), transparent 60%);
}
.hero-form .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.hero-form h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; }
.hero-form > p { color: var(--muted); max-width: 46ch; margin-bottom: 2.2rem; }

/* Glass card */
.card {
  background: var(--panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

form { display: flex; flex-direction: column; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { position: relative; }
label {
  font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dim);
  margin-bottom: 0.4rem; display: block;
}
input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--cream);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  padding: 0.85rem 1rem; border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
textarea { resize: vertical; min-height: 120px; }

/* dropdown: custom gold chevron, dark options */
select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}
select option { background: #14141a; color: var(--cream); }

/* tint the native date/number pickers to match the theme */
input[type="date"] { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: rgba(246,242,231,0.35); }
form .btn { align-self: flex-start; margin-top: 0.4rem; }

/* Honeypot — hidden from humans, visible to bots. Never use display:none
   alone; some bots skip those. This keeps it off-screen instead. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Per-field validation errors */
.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #ff9d9d;
  min-height: 0;
}
input.invalid, textarea.invalid, select.invalid {
  border-color: rgba(255, 120, 120, 0.65);
  background: rgba(255, 80, 80, 0.05);
}
input.invalid:focus, textarea.invalid:focus, select.invalid:focus {
  border-color: #ff9d9d;
  box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.12);
}

/* Form status + success state */
.form-status {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-status.error { color: #ff9d9d; }

button[disabled] { opacity: 0.6; cursor: wait; }

.form-success {
  display: none;
  text-align: center;
  padding: 1.4rem 0.5rem;
  animation: fadeUp 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.form-success.visible { display: block; }
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(212,175,55,0.12);
  color: var(--gold-light);
  font-size: 1.5rem;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.form-success p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Direct + socials row under form */
.contact-meta {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.4rem 2rem;
}
.contact-meta .direct .label {
  font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-dim); display: block;
}
.contact-meta .direct a { font-size: 1.02rem; color: var(--cream); }
.contact-meta .direct a:hover { color: var(--gold-light); }

.socials { display: flex; gap: 0.7rem; }
.social-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: all 0.22s ease;
}
.social-btn:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.12);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.25);
}
.social-btn svg { width: 19px; height: 19px; fill: var(--gold); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* slowly zooming photo */
.home-hero .photo {
  position: absolute; inset: 0;
  background-image: url('assets/band.jpg');
  background-size: cover; background-position: center;
  animation: kenburns 30s ease-in-out infinite alternate;
}
/* edge-fade overlay — dissolves every side of the photo into black */
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    /* left + right edges fade to black */
    linear-gradient(to right,
      var(--black) 0%, rgba(8,8,10,0) 24%,
      rgba(8,8,10,0) 76%, var(--black) 100%),
    /* top + bottom edges fade to black */
    linear-gradient(to bottom,
      var(--black) 0%, rgba(8,8,10,0) 20%,
      rgba(8,8,10,0) 62%, var(--black) 100%),
    /* soft center darken so logo + text stay legible */
    radial-gradient(circle at center, rgba(8,8,10,0.45), rgba(8,8,10,0.15) 55%, rgba(8,8,10,0.6) 100%);
}
.home-hero-inner { position: relative; z-index: 2; padding: 2rem; }
/* dark halo behind the logo so the gold reads clearly over the photo */
.logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.logo-wrap::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 115%; height: 115%;
  background: radial-gradient(ellipse at center,
    rgba(8,8,10,0.82) 0%, rgba(8,8,10,0.6) 45%, rgba(8,8,10,0) 72%);
  z-index: -1;
}
.home-hero-inner img {
  max-width: 400px; width: 82%;
  display: block;
  filter: drop-shadow(0 0 45px rgba(212,175,55,0.30));
}
.home-hero-inner h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.2; font-weight: 600;
  letter-spacing: 0.02em;
}
.home-hero-inner p { color: var(--muted); max-width: 40ch; margin: 0 auto 2rem; }
.home-hero-inner .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Scrolling tagline strip */
.marquee {
  position: relative; z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: rgba(212,175,55,0.04);
}
.marquee-track {
  display: inline-flex; gap: 3rem;
  white-space: nowrap;
  animation: scroll 26s linear infinite;
}
.marquee-track span {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.marquee-track span::after { content: '✦'; margin-left: 3rem; color: var(--gold-dim); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 2rem 6%;
  text-align: center;
  font-size: 0.72rem; letter-spacing: 0.1em;
  color: rgba(246, 242, 231, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 46vh; padding: 2rem; }
  .hero-visual .photo {
    -webkit-mask-image: radial-gradient(140% 130% at 50% 35%, #000 45%, transparent 92%);
    mask-image: radial-gradient(140% 130% at 50% 35%, #000 45%, transparent 92%);
  }
  .hero-form { padding: 3rem 8% 3rem; }
  .row { grid-template-columns: 1fr; }
  nav ul { gap: 1.3rem; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
