/* ============================================================= */
/*  FINAL style.css – Palette icon fixed, all themes visible    */
/* ============================================================= */

/* ------------------- THEMES ------------------- */
/* .theme-default {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1a1a1a;
  --heading: #0f172a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #e0e7ff;
  --body-bg: #edf2ff;
}

.theme-vintage {
  --bg: #fdfbfa;
  --surface: #ffffff;
  --text: #2c1f1a;
  --heading: #1a120b;
  --accent: #b8860b;
  --accent-hover: #d4af37;
  --border: #e8dcc8;
  --body-bg: #f5ede2;
}

.theme-emerald {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --heading: #000000;
  --accent: #00bfa5;
  --accent-hover: #009688;
  --border: #dddddd;
  --body-bg: #f0f7f6;
}

.theme-techpurple {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1a1523;
  --heading: #0d0a19;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --border: #e2d9fb;
  --body-bg: #f5f3ff;
}
 */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #1a1a1a;
  --heading: #0f172a;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --border: #e0e7ff;
  --body-bg: #edf2ff;
}

/* ------------------- RESET ------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  font-family: system-ui, 'Segoe UI', sans-serif;
  background: var(--body-bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100dvh;
}

/* ------------------- LAYOUT ------------------- */
.page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

header, .hero, footer {
  width: 100%;
}

/* ------------------- HEADER – compact & sticky – LEFT ALIGNED ------------------- */
header {
  background: var(--heading);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}

header .inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* ← FORCES LEFT ALIGNMENT */
}

header .logo h1 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.5px;
}

header .logo a {
  color: white;
  text-decoration: none;
}

header .logo a:hover {
  opacity: 0.9;
}

/* Remove all theme-switcher styles since you deleted the button */
.theme-switcher {
  display: none;
  /* ensures it never appears even if old HTML exists */
}

/* ------------------- HERO – elegant & balanced ------------------- */
.hero {
  background: linear-gradient(135deg, var(--heading), var(--accent));
  color: white;
  text-align: center;
  line-height: normal;
  padding: 0 0 1rem;
}

.hero .inner {
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 400;
  margin: 0 0 0.2rem;
}

.hero .tagline {
  font-size: 1.25rem;
  font-weight: 300;
  margin: 0 0 1rem;
}

.contact-info {
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  /* gap: .6rem; */
}

.contact-info i {
  width: 1.4em;
  font-size: 1.1em;
  opacity: .9;
}

.contact-info a {
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* ------------------- MAIN CARD ------------------- */
.main-card {
  background: transparent;
  padding: 0 1rem 1rem;
  flex: 1;
  background: var(--bg);
}

@media (min-width: 900px) {
  .main-card {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.09);
    border: 1px solid var(--border);
  }
}

/* ------------------- LISTS – perfect hanging indent ------------------- */
.main-card ul,
.main-card ol {
  /* list-style-position: inside; */
  list-style-position: outside;
}

.main-card li::marker {
  color: var(--accent);
  font-weight: bold;
}

.experience li, .training li {
  margin-left: 1rem;
}

/* ------------------- HEADINGS ------------------- */
h2 {
  font-size: 1.65rem;
  color: var(--heading);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  font-weight: 600;
  margin: 1rem 0 0.58rem;
}

/* ------------------- SKILLS – pure flex (no grid override) ------------------- */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.skills-grid li {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 100%;

  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 1rem;

  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;

  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */

  display: grid;
  align-items: center;
  justify-items: center;

  min-height: 80px;
  line-height: 1.4;
}

.center-all {
  display: grid;
  align-items: center;
  justify-items: center;
}

.skills-grid li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

/* ------------------- FOOTER ------------------- */
footer {
  background: var(--heading);
  color: #ccc;
  text-align: center;
  padding: 1rem;
}

footer .inner {
  margin: 0 auto;
  padding: 0 1rem;
}

/* ------------------- RESPONSIVE ------------------- */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.9rem;
  }

  .hero .tagline {
    font-size: 1.45rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tagline .pipe {
    display: inline;
  }

  .tagline .mobile-break {
    display: none;
  }

}

@media (min-width: 900px) {
  .hero h1 {
    font-size: 3.6rem;
  }

  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Hide pipe and force line break on mobile only */
@media (max-width: 639px) {
  .tagline .pipe {
    display: none;
  }

  .tagline .mobile-break {
    display: block;
  }
}