/* ---------- Global Styles ---------- */
:root {
    --brand-electric-blue: #00BFFF;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    min-height: 100vh;
}

html, body {
    height: 100%;
}

#content {
    height: 100%;
}

/* ---------- Hero Section Shared ---------- */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

/* ---------- Per-Page Hero Backgrounds ---------- */
.portfolio-hero {
    background-image: url('../images/portfolio_hero.jpg');
}

.skills-hero {
    background-image: url('../images/skills_hero.png');
}

.interests-hero {
    background-image: url('../images/interests_hero.png');
}

.philosophy-hero {
    background-image: url('../images/philosophy_hero.png');
}

.landing-hero {
    background-image: url('../images/hero_background_inpaint.png');
}

/* ---------- Hero Title (Optional) ---------- */
.hero-title {
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    text-align: center;
}

/* ---------- Overlay Tagline ---------- */
.overlay-content {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
}

.tagline {
    color: white;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

/* ---------- Page Title ---------- */
.page-title {
    text-align: center;
    font-size: 28px;
    margin-top: 40px;
    color: #1d3b5f;
}

/* ---------- Optional Container for Layout ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ---------- Optional Section Utility Class ---------- */
.section {
    padding: 60px 20px;
}

/* ---------- Sidebar Navigation (Capsule Style) ---------- */
.sidebar-nav.capsule-nav {
    position: fixed;
    top: calc(10% - 30px);
    left: calc(1rem + 30px);
    transform: translateY(0);

    /* parent is transparent — capsule comes from ::before */
    background: transparent;

    border-radius: 40px;
    width: 48px;

    /* container height adjusted for tighter spacing */
    height: 357px; /* was 392px */

    /* top padding reduced by 7px (32px → 25px), keep bottom same (32px) */
    padding: 25px 0.3rem 2rem;

    /* no shadow */
    box-shadow: none;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.sidebar-nav.capsule-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.sidebar-nav.capsule-nav li {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0.25rem 0;
}

.sidebar-nav.capsule-nav .nav-label {
    position: absolute;
    left: 60px;
    color: white;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: color 0.3s;
    pointer-events: auto; /* clickable */
}

.sidebar-nav.capsule-nav a {
    color: black;
    font-size: 0.9rem;
    text-decoration: none;
    background-color: transparent;
    border-radius: 50%;
    padding: 0.4rem;
    transition: background 0.3s, transform 0.3s;
}

/* ---------- Hover State with Electric Blue + Glow ---------- */
.sidebar-nav.capsule-nav a:hover {
    background-color: var(--brand-electric-blue);
    transform: scale(1.1);
    /* Electric-blue glow */
    box-shadow:
      0 0 3px  rgba(0,191,255,0.85),
      0 0 8px  rgba(0,191,255,0.50),
      0 0 16px rgba(0,191,255,0.25);
}

.sidebar-nav.capsule-nav a:hover + .nav-label {
    color: var(--brand-electric-blue);
    /* Electric-blue text glow */
    text-shadow:
      0 0 1px  rgba(0,0,0,0.9),
      0 0 3px  rgba(0,191,255,0.85),
      0 0 8px  rgba(0,191,255,0.50),
      0 0 16px rgba(0,191,255,0.25);
}

/* Pill is visible on every page and sits above content */
.capsule-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

/* White/translucent capsule background */
.capsule-nav::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;

  /* narrower by +4px total (was -6px, now -10px) */
  width: calc(100% - 10px);

  height: calc(100% - 20px);
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);

  /* no shadow */
  box-shadow: none;

  pointer-events: none;
}

/* Icon + label tidy inside the link */
.capsule-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.capsule-link i[data-lucide] {
  width: 20px;
  height: 20px;
  display: inline-block;
}

