/* =========================================
   James Brown – GOLD TEXT Stylesheet
   Optimized for Emerald Marble Background
   ========================================= */

/* Base color variables */
:root {
  --jb-gold: #f4d277;
  --jb-gold-soft: #e8c87c;
  --jb-text: var(--jb-gold-soft); /* gold text */
  --jb-emerald: #02140f;
  --jb-emerald-alt: #03231d;
  --jb-vein: rgba(244, 210, 119, 0.22); /* softened gold veins */
}

/* Global reset */
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--jb-emerald) url("emerald-marble-bg.png") center / cover fixed no-repeat;
  color: var(--jb-gold-soft);
  position: relative;
  line-height: 1.6;
}

/* =========================================
   LIGHT OVERLAY (keeps veins under control)
   ========================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* soft, not dark */
  pointer-events: none;
  z-index: -1;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  color: var(--jb-gold) !important;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.95) !important;
  margin-top: 0;
}

p, li, dd, dt, span, strong, em, label {
  color: var(--jb-gold-soft) !important;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.85) !important;
}

a {
  color: var(--jb-gold);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: var(--jb-gold-soft);
}

/* =========================================
   HEADER + BRANDING
   ========================================= */
.site-header {
  background: rgba(2, 12, 8, 0.55);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 210, 119, 0.25);
  backdrop-filter: blur(3px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  max-width: 160px;
  height: auto;
  display: block;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  padding: 2.5rem 1rem 3rem;
  text-align: center;
}

.hero-photo img {
  max-width: 220px;
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.75);
}

.hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: 3rem 1rem;
}

.section-alt {
  background: rgba(2, 12, 8, 0.30);
  backdrop-filter: blur(2px);
}

.section-intro {
  max-width: 800px;
  margin: 0.5rem auto 1.75rem;
  font-size: 1.1rem;
  background: rgba(2, 12, 8, 0.30);
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--jb-gold-soft) !important;
}

/* =========================================
   SOFT BACKING FOR TEXT (subtle, not blocks)
   ========================================= */
.card,
.contact-card,
.timeline-item,
.section p,
.section-intro {
  background: rgba(2, 12, 8, 0.25);
  backdrop-filter: blur(2px);
  border-radius: 4px;
  padding: 6px 10px;
}

/* =========================================
   CARDS
   ========================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid rgba(244, 210, 119, 0.25);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.55);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.75);
  border-color: var(--jb-gold);
}

/* =========================================
   SKILL PILLS
   ========================================= */
.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.skill-pill {
  padding: 0.4rem 0.9rem;
  background: rgba(2, 12, 8, 0.55);
  border: 1px solid rgba(244, 210, 119, 0.25);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--jb-gold-soft);
}

/* =========================================
   TIMELINE
   ========================================= */
.timeline {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.timeline-item {
  padding: 1.5rem;
  border-left: 3px solid var(--jb-gold);
  color: var(--jb-gold-soft);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-card {
  padding: 1.5rem;
  border: 1px solid rgba(244, 210, 119, 0.25);
  text-align: center;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-btn {
  display: inline-block;
  background: var(--jb-gold);
  color: #1a1a1a;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: var(--jb-gold-soft);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(2, 12, 8, 0.55);
  border-top: 1px solid rgba(244, 210, 119, 0.25);
  margin-top: 3rem;
}

.site-footer small {
  color: var(--jb-gold-soft);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}