/* ==========================================================================
   ndawg2478 — Creator Hub & Production Portfolio
   Shared global styles — Pacific Northwest / Forest theme
   ========================================================================== */

:root {
  /* Base surfaces */
  --bg-deep: #10160f;          /* near-black forest floor */
  --bg-forest: #1a2421;        /* muted dark forest green */
  --bg-forest-light: #223028;  /* slightly lighter panel green */
  --charcoal: #2b2f2c;         /* earthy charcoal */
  --topo-line: rgba(255, 255, 255, 0.035);

  /* Accents */
  --accent-sunset: #e0872a;    /* warm sunset orange/gold */
  --accent-sunset-soft: #f2b155;
  --accent-purple: #8a6bb1;    /* muted purple, matches logo collar */
  --accent-purple-soft: #a98fd1;

  /* Text */
  --text-primary: #f3efe6;     /* warm off-white */
  --text-secondary: #b9c2ba;   /* muted sage grey */
  --text-faint: #7c8880;

  /* Utility */
  --border-soft: rgba(243, 239, 230, 0.1);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-pill: 999px;
  --radius-card: 18px;

  --font-heading: 'Montserrat', 'Roboto', -apple-system, sans-serif;
  --font-body: 'Roboto', 'Montserrat', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-deep);
  background-image:
    repeating-linear-gradient(
      135deg,
      var(--topo-line) 0px,
      var(--topo-line) 1px,
      transparent 1px,
      transparent 34px
    ),
    radial-gradient(circle at 20% 0%, rgba(224, 135, 42, 0.06), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(138, 107, 177, 0.08), transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Inline icons (see js/icons.js) — sized relative to the surrounding
   text via 1em so they behave like the icon-font glyphs they replaced. */
.icon-inline {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Wider container used on the portfolio page */
.container--wide {
  max-width: 920px;
}

/* ==========================================================================
   Buttons — shared pill component
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn i,
.btn .icon-inline {
  font-size: 1.05rem;
  width: 20px;
  height: 1.05rem;
  text-align: center;
}

/* Social pill — glassmorphism */
.btn-social {
  background: rgba(34, 48, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
}

.btn-social:hover {
  background: rgba(224, 135, 42, 0.16);
  border-color: rgba(224, 135, 42, 0.55);
  box-shadow: 0 6px 22px rgba(224, 135, 42, 0.15);
  color: var(--accent-sunset-soft);
}

/* Purple "bridge" button to portfolio */
.btn-portfolio {
  background: rgba(138, 107, 177, 0.18);
  border: 1px solid rgba(138, 107, 177, 0.6);
  color: var(--accent-purple-soft);
  box-shadow: 0 6px 22px rgba(138, 107, 177, 0.12);
}

.btn-portfolio:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: #14100c;
  box-shadow: 0 10px 28px rgba(138, 107, 177, 0.35);
}

/* Sunset CTA button (contact) */
.btn-sunset {
  background: var(--accent-sunset);
  border: 1px solid var(--accent-sunset);
  color: #1a1206;
  box-shadow: 0 8px 26px rgba(224, 135, 42, 0.3);
}

.btn-sunset:hover {
  background: var(--accent-sunset-soft);
  border-color: var(--accent-sunset-soft);
  box-shadow: 0 10px 30px rgba(224, 135, 42, 0.4);
}

/* ==========================================================================
   Divider
   ========================================================================== */

.divider {
  border: none;
  height: 1px;
  margin: 34px 0 26px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border-soft) 20%,
    var(--border-soft) 80%,
    transparent
  );
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.78rem;
  margin-top: 40px;
  letter-spacing: 0.03em;
}
