/* ============================================
   JENNY LUCAS — Personal Brand
   Dark mode + warm accents
   ============================================ */

/* ---------- Custom Fonts ---------- */
@font-face {
  font-family: 'Mechooa';
  src: url('../fonts/mechooa-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gemola';
  src: url('../fonts/Gemola WOFF.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a26;
  --bg-card-hover: #222233;
  --bg-accent-subtle: rgba(255, 107, 107, 0.06);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;

  /* Accent — warm coral/pink gradient */
  --accent: #ff6b6b;
  --accent-light: #ff8e8e;
  --accent-dark: #e05555;
  --accent-glow: rgba(255, 107, 107, 0.25);

  /* Secondary accent — electric violet */
  --accent2: #a855f7;
  --accent2-light: #c084fc;
  --accent2-glow: rgba(168, 85, 247, 0.2);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Gradient */
  --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #a855f7 100%);
  --gradient-accent-text: linear-gradient(135deg, #ff8e8e 0%, #c084fc 100%);
  --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container: 1100px;

  /* Type */
  --font-heading: 'Gemola', Georgia, serif;
  --font-nav: 'Mechooa', 'Inter', sans-serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ---------- Featured Banner ---------- */
.featured-banner {
  background: linear-gradient(135deg, #12101a 0%, #0f0e16 50%, #14101c 100%);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: relative;
  z-index: 1001;
}
.featured-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.featured-banner a:hover { color: var(--text-primary); }
.featured-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 107, 107, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 107, 0.2);
}
.featured-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.featured-banner a:hover .featured-arrow { transform: translateX(3px); }

/* ---------- Hero Photo ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: center;
}
.hero-photo {
  width: 260px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-photo { order: -1; width: 200px; height: 250px; margin: 0 auto; }
  .hero-ctas { justify-content: center; }
}

/* ---------- Nav LinkedIn Button ---------- */
.nav-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #0a66c2;
  color: #fff !important;
  border-radius: 7px;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-linkedin:hover {
  background: #084d94;
  transform: translateY(-1px);
  color: #fff !important;
}
.nav-linkedin::after { display: none !important; }
.nav-linkedin svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- NEW Badge ---------- */
.badge-new {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.25);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Gradient Text Utility ---------- */
.gradient-text {
  background: var(--gradient-accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s;
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-nav);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.nav-brand span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-nav);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent2-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero h1 .line { display: block; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(255, 107, 107, 0.05);
}

/* ---------- Section Defaults ---------- */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- About / Bio ---------- */
.about {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-text p strong {
  color: var(--text-primary);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.portfolio-preview {
  height: 200px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.portfolio-preview .preview-url {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.portfolio-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--card-gradient, linear-gradient(135deg, rgba(255,107,107,0.1) 0%, rgba(168,85,247,0.1) 100%));
}

.portfolio-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.portfolio-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255, 107, 107, 0.08);
  color: var(--accent-light);
  border: 1px solid rgba(255, 107, 107, 0.15);
  letter-spacing: 0.03em;
}

.tag.tag-purple {
  background: rgba(168, 85, 247, 0.08);
  color: var(--accent2-light);
  border-color: rgba(168, 85, 247, 0.15);
}

/* ---------- Career Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--accent2) 100%);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  z-index: 1;
}

.timeline-item.current::before {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-dates {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.timeline-role {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-company {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 8px;
  max-width: 560px;
}

/* ---------- Education ---------- */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.edu-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}

.edu-card:hover {
  border-color: var(--border-hover);
}

.edu-card .edu-school {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.edu-card .edu-program {
  color: var(--accent-light);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.edu-card .edu-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  transition: all 0.25s;
}

.contact-link:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.contact-link .icon {
  width: 20px;
  text-align: center;
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-link .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-link .value {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer .built-with {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .edu-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Bingo Body Font ---------- */
@font-face {
  font-family: 'Bingo';
  src: url('../fonts/bingo-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
