/*
Theme Name: TheGoldSavant
Theme URI: https://thegoldsavant.com
Author: Buck Seth
Description: A dark, luxurious theme for TheGoldSavant — AI, Automation & Trading.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: thegoldsavant
*/

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

:root {
  --gold: #D4A853;
  --gold-light: #E8C97A;
  --gold-dark: #B08A3E;
  --bg-primary: #0A0A0F;
  --bg-secondary: #111118;
  --bg-card: #16161F;
  --text-primary: #F0EDE6;
  --text-secondary: #9A968E;
  --accent: #D4A853;
  --border: rgba(212,168,83,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.site-header.scrolled { padding: 0.75rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.site-logo span { color: var(--text-primary); }
.main-nav ul { display: flex; gap: 2rem; list-style: none; }
.main-nav a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  position: relative; padding-bottom: 4px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--gold); font-size: 1.5rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,168,83,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(212,168,83,0.04) 0%, transparent 50%),
              var(--bg-primary);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(212,168,83,0.02) 100px, rgba(212,168,83,0.02) 101px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 4rem; width: 100%; }
.hero-photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); flex-shrink: 0; box-shadow: 0 0 40px rgba(212,168,83,0.15); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-content { max-width: 600px; }
.hero-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--gold);
  border: 1px solid var(--border); padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--gold); font-style: italic; }
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 550px; margin-bottom: 2.5rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.25rem; font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; border: none; cursor: pointer; transition: all 0.3s;
}
.btn-gold {
  background: var(--gold); color: var(--bg-primary);
}
.btn-gold:hover { background: var(--gold-light); color: var(--bg-primary); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--bg-primary); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── SECTIONS ── */
section { padding: 6rem 0; }
.section-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--gold); margin-bottom: 1rem;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin-bottom: 3rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── ABOUT ── */
.about { background: var(--bg-secondary); }
.about-center { max-width: 720px; margin: 0 auto; text-align: center; }
.about-center .section-subtitle { margin-left: auto; margin-right: auto; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold); }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── TIMELINE ── */
.timeline { max-width: 700px; margin: 0 auto; }
.tl-item { position: relative; padding-left: 2rem; padding-bottom: 2.5rem; border-left: 1px solid var(--border); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }
.tl-role { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.tl-place { color: var(--gold); font-size: 0.9rem; font-weight: 500; }
.tl-date { color: var(--text-secondary); font-size: 0.8rem; margin-bottom: 0.35rem; }
.tl-desc { color: var(--text-secondary); font-size: 0.9rem; }
.tl-current { display: inline-block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--bg-primary); background: var(--gold); padding: 0.15rem 0.5rem; border-radius: 2px; margin-left: 0.5rem; vertical-align: middle; }
.experience { background: var(--bg-secondary); }
.education { background: var(--bg-primary); }

/* ── SERVICES ── */
.services { background: var(--bg-secondary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card {
  background: var(--bg-card); padding: 2.5rem; border: 1px solid var(--border);
  transition: all 0.4s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.4s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: rgba(212,168,83,0.3); transform: translateY(-4px); }
.service-icon { font-size: 2rem; margin-bottom: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── PROJECTS ── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; transition: all 0.4s;
}
.project-card:hover { border-color: rgba(212,168,83,0.3); transform: translateY(-4px); }
.project-thumb {
  height: 200px; background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; border-bottom: 1px solid var(--border);
}
.project-info { padding: 2rem; }
.project-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-info p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem; border: 1px solid var(--border); color: var(--gold);
}

/* ── SKILLS ── */
.skills { background: var(--bg-secondary); }

/* ── PARTNERS ── */
.partners { background: var(--bg-primary); }
.partner-card { display: flex; align-items: center; gap: 2.5rem; background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem; max-width: 800px; margin: 0 auto; transition: all 0.4s; }
.partner-card:hover { border-color: rgba(212,168,83,0.3); transform: translateY(-4px); }
.partner-icon { width: 80px; height: 80px; border-radius: 12px; background: linear-gradient(135deg, #1a73e8, #34a853); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; flex-shrink: 0; color: #fff; font-family: 'Playfair Display', serif; font-weight: 900; }
.partner-info h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.partner-info p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.partner-link { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.skills-list { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.skill-pill {
  padding: 0.75rem 1.75rem; border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500; color: var(--text-primary);
  transition: all 0.3s; background: var(--bg-card);
}
.skill-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ── CTA ── */
.cta {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(212,168,83,0.08) 0%, transparent 60%),
              var(--bg-primary);
}
.cta .section-title { max-width: 600px; margin: 0 auto 1rem; }
.cta .section-subtitle { margin: 0 auto 2.5rem; text-align: center; }

/* ── FOOTER ── */
.site-footer {
  padding: 3rem 0; border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--gold); margin-bottom: 1rem; }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.5rem; list-style: none; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--text-secondary); font-size: 0.8rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-photo { width: 140px; height: 140px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}
