/* ============================================================
   DOUGLAS DAVILA — styles.css
   Theme: Black, Charcoal, White, Gold
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #0a0a0a;
  --charcoal: #1a1a1a;
  --white:    #ffffff;
  --gray:     #a0a0a0;
  --gold:     #c9a84c;
  --gold-light: #e2c472;
  --gold-dark:  #a8872e;

  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --max-w: 1160px;
  --section-pad: 100px 24px;
  --radius: 4px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.dark-section { background: var(--charcoal); }

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 5%;
  transition: background var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 5%;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  margin-right: auto;
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
}
.nav a:hover { color: var(--gold); }

.nav-toggle { display: none; font-size: 1.4rem; color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('../assets/images/image-4.png') center 80px / 90% auto no-repeat;
  background-color: var(--black);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.5) 0%,
    rgba(10,10,10,0.65) 60%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 800px;
  margin-top: 80px;
}

.hero-pre {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 40px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Section Divider ---------- */
.section-divider {
  width: 60%;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.about-image img {
  object-fit: cover;
  object-position: center 30%;
}

.about-text p { color: var(--gray); margin-bottom: 20px; }

.about-stats {
  display: flex;
  gap: 40px;
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }

.about-socials { display: flex; gap: 20px; margin-top: 24px; }
.about-socials a {
  font-size: 1.3rem;
  color: var(--gray);
  transition: color var(--transition);
}
.about-socials a:hover { color: var(--gold); }

/* ---------- Music ---------- */
.music .section-title,
.music .section-label,
.music .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.music-spotify {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  min-height: 500px;
}

.music-spotify iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.music-videos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-card { display: flex; flex-direction: column; gap: 10px; }

.video-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.spotlight-wrap { position: relative; }

.spotlight-cta {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.spotlight-cta:hover { background: var(--gold-light); }

.stream-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
}
.stream-btn:hover { border-color: var(--gold); color: var(--gold); }
.stream-btn i { font-size: 1.1rem; }

/* ---------- Gallery ---------- */
.gallery .section-title,
.gallery .section-label,
.gallery .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

.gallery-marquee-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-item {
  width: 380px;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Press ---------- */
.press-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.press-inner .section-label,
.press-inner .section-title { margin-left: auto; margin-right: auto; }

.press-contact { display: inline-block; text-align: left; }

.press-text p { color: var(--gray); margin-bottom: 32px; }

.press-contact { margin-top: 32px; }
.press-contact p { color: var(--gray); font-size: 0.95rem; margin-bottom: 6px; }
.press-contact i { color: var(--gold); margin-right: 8px; }
.press-contact strong { color: var(--white); }

.press-quote {
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.press-quote p { color: var(--gray); font-style: italic; margin-bottom: 12px; }
.press-quote cite { font-size: 0.85rem; color: var(--gold); font-style: normal; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info p { color: var(--gray); margin-bottom: 32px; }

.contact-links { display: flex; gap: 20px; }
.contact-links a {
  font-size: 1.3rem;
  color: var(--gray);
  transition: color var(--transition);
}
.contact-links a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option { background: var(--charcoal); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.85rem;
  color: var(--gold);
  text-align: center;
  min-height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 48px 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-socials { display: flex; gap: 20px; }
.footer-socials a {
  font-size: 1.2rem;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-socials a:hover { color: var(--gold); }

.footer-credit {
  font-size: 0.8rem;
  color: #555;
}
.footer-credit a { color: var(--gold); }
.footer-credit a:hover { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .press-inner,
  .contact-grid,
  .music-grid { grid-template-columns: 1fr; gap: 48px; }

  .music-spotify,
  .music-spotify iframe { min-height: 352px; }

  .about-image { aspect-ratio: 3/2; max-height: 360px; }

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

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 99;
  }
  .nav.open a { font-size: 1.2rem; }

  .nav-toggle { display: block; z-index: 101; }

  .site-header .btn-gold { display: none; }
}

@media (max-width: 560px) {
  :root { --section-pad: 72px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { gap: 24px; }
  .press-inner { gap: 40px; }

  /* Hero — fit image + content, remove dead space */
  .hero {
    height: auto;
    min-height: 0;
    padding: 110px 20px 56px;
    background-position: center 96px;
    background-size: 128% auto;
  }
  .hero-content { margin-top: 270px; }
  .hero-pre { font-size: 1.5rem; }
  .scroll-down { display: none; }

  /* Streaming buttons — icon-only circles in one row */
  .stream-links { gap: 16px; flex-wrap: nowrap; }
  .stream-btn {
    font-size: 0;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .stream-btn i { font-size: 1.4rem; }
}
