/* ─── Theme: Light mode overrides ─── */

/* CSS variable overrides — common across all pages */
[data-theme="light"] {
  --bg:             #f5f4f0;
  --border:         #d8d6d0;
  --accent-from:    #00898F;
  --accent-to:      #00898F;
  --text-primary:   #1a1a1a;
  --text-white:     #1a1a1a;
  --text-muted:     #555555;
  --text-secondary: #2a2a2a;
  --text-body:      #444444;
  --text-dim:       #333333;
  --text-label:     #444444;
  --text-meta:      #5a5a5a;
  --text-stat:      #333333;
  --surface:        #ece9e3;
  --img-ph:         #e0deda;
}

/* ─── Nav ─── */
[data-theme="light"] .nav {
  background: rgba(245,244,240,0.93);
}
[data-theme="light"] .nav-links > li > a,
[data-theme="light"] .nav-links > li > a.active {
  color: #1a1a1a;
}
[data-theme="light"] .nav-cta {
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.22);
}
[data-theme="light"] .nav-cta svg path { fill: #1a1a1a; }
[data-theme="light"] .nav-dropdown a:hover {
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.05);
}

/* ─── Footer dark strip ─── */
[data-theme="light"] .footer,
[data-theme="light"] .footer-bottom {
  background: var(--bg);
}

/* ─── Case-study nav gradient ─── */
[data-theme="light"] .case-nav-item::before {
  background: linear-gradient(to bottom, rgba(245,244,240,0.92) 0%, rgba(245,244,240,0.75) 55%, rgba(245,244,240,0.45) 100%);
}

[data-theme="light"] .footer-copyright { color: rgba(0,0,0,0.45); }

/* ─── About-me page specific ─── */
[data-theme="light"] .contact-email { color: rgba(0,0,0,0.72); }
[data-theme="light"] .resume-cta { border-color: rgba(0,0,0,0.22); }
[data-theme="light"] .resume-cta:hover { background: rgba(0,0,0,0.04); }

/* ─── Nav right group (toggle + RESUME + hamburger) ─── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Theme toggle button ─── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { opacity: 1; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
