/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette (Lavender & Purple hues) */
  --bg-deep: #0b0713;
  --bg-card: rgba(25, 18, 40, 0.55);
  --bg-card-hover: rgba(36, 26, 56, 0.75);
  --border-light: rgba(195, 177, 225, 0.15);
  --border-glow: rgba(140, 108, 250, 0.35);
  
  --primary-lavender: #d8ccff;
  --accent-purple: #9a7bff;
  --accent-glow: rgba(154, 123, 255, 0.2);
  --text-primary: #f5f2ff;
  --text-secondary: #b5aebf;
  --text-muted: #7d7788;
  
  --glass-blur: 16px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

strong {
  color: var(--primary-lavender);
  font-weight: 600;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 2px solid var(--bg-deep);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-lavender) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Layout & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  height: 60px;
  background: rgba(11, 7, 19, 0.45);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-light);
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.navbar:hover {
  border-color: rgba(154, 123, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(154, 123, 255, 0.1);
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.nav-logo .dot {
  color: var(--accent-purple);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  color: var(--bg-deep);
  background: var(--primary-lavender);
  font-weight: 600;
}

/* ==========================================================================
   Parallax Hero Section
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  z-index: 1;
  /* Setup base transform for standard fallback and native animation */
  transform-origin: center bottom;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(11, 7, 19, 0.2) 0%,
    rgba(11, 7, 19, 0.5) 60%,
    var(--bg-deep) 100%
  );
  z-index: 2;
}

.hero-content {
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--text-primary);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--primary-lavender);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  opacity: 0.85;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite ease-in-out;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Native Scroll-driven Parallax Animation for modern browsers */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .hero-wrapper {
    view-timeline: --hero;
  }
  
  .hero-bg {
    animation: parallax-bg linear both;
    animation-timeline: --hero;
    animation-range: exit;
  }
  
  .hero-content {
    animation: parallax-text linear both;
    animation-timeline: --hero;
    animation-range: exit;
  }
}

@keyframes parallax-bg {
  to {
    transform: translateY(200px) scale(1.1);
  }
}

@keyframes parallax-text {
  to {
    transform: translateY(80px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-content {
    animation: none !important;
  }
}

/* ==========================================================================
   Content Grid & General Cards
   ========================================================================== */
.content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 100px;
  position: relative;
  z-index: 10;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Card Styling (Glassmorphism) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(154, 123, 255, 0.08);
  transform: translateY(-4px);
}

.card-wide {
  grid-column: span 2;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(154, 123, 255, 0.15);
  color: var(--primary-lavender);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(154, 123, 255, 0.2);
}

.subtitle-intro {
  font-size: 1.15rem;
  color: var(--primary-lavender);
  margin-bottom: 20px;
  font-weight: 300;
}

.bio-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* Buttons */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-primary {
  background: var(--primary-lavender);
  color: var(--bg-deep);
  border: none;
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-lavender);
}

/* ==========================================================================
   Wave Clicker Counter
   ========================================================================== */
.clicker-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.clicker-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.clicker-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), #7957e8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(154, 123, 255, 0.25);
  position: relative;
  outline: none;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.clicker-button:hover {
  box-shadow: 0 12px 28px rgba(154, 123, 255, 0.4);
  transform: translateY(-2px) scale(1.03);
}

.clicker-button:active {
  transform: scale(0.92);
}

.wave-emoji {
  font-size: 2.2rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.clicker-button:hover .wave-emoji {
  animation: waveHand 0.6s infinite alternate ease-in-out;
}

@keyframes waveHand {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(18deg); }
}

.counter-display {
  display: flex;
  flex-direction: column;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-lavender);
  line-height: 1.1;
}

.counter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Wave Bubble Click FX */
.wave-fx-particle {
  position: absolute;
  pointer-events: none;
  font-size: 1.5rem;
  z-index: 100;
  animation: particleFloat 1.2s ease-out forwards;
}

@keyframes particleFloat {
  0% {
    transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.5) rotate(var(--rot));
    opacity: 0;
  }
}

/* ==========================================================================
   Spotify Widget
   ========================================================================== */
.spotify-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.spotify-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #1ed760; /* Spotify Green */
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spotify-icon {
  width: 18px;
  height: 18px;
}

.listening-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-dot.pulsed {
  background: #1ed760;
  box-shadow: 0 0 8px #1ed760;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 1; }
}

.spotify-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.spotify-track-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.track-artwork-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.track-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-smooth);
}

.track-artwork-wrapper:hover .play-overlay {
  opacity: 1;
}

.track-artwork-wrapper:hover .track-art {
  transform: scale(1.05);
}

.play-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.track-text {
  display: flex;
  flex-direction: column;
}

.track-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.track-artist {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.spotify-playback {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #1ed760, var(--primary-lavender));
  border-radius: 2px;
  transition: width 0.25s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Audio Visualizer Waves */
.visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 15px;
  align-self: flex-end;
}

.visualizer .bar {
  width: 2px;
  height: 2px;
  background-color: var(--primary-lavender);
  border-radius: 1px;
}

.spotify-card.playing .visualizer .bar {
  background-color: #1ed760;
  animation: visualize 1.2s infinite ease-in-out alternate;
}

.spotify-card.playing .visualizer .bar:nth-child(1) { animation-delay: 0.1s; height: 10px; }
.spotify-card.playing .visualizer .bar:nth-child(2) { animation-delay: 0.3s; height: 14px; }
.spotify-card.playing .visualizer .bar:nth-child(3) { animation-delay: 0s;   height: 8px;  }
.spotify-card.playing .visualizer .bar:nth-child(4) { animation-delay: 0.5s; height: 12px; }
.spotify-card.playing .visualizer .bar:nth-child(5) { animation-delay: 0.2s; height: 6px;  }

@keyframes visualize {
  0% { height: 2px; }
  100% { height: 15px; }
}

/* ==========================================================================
   About Tab Elements
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

blockquote {
  border-left: 3px solid var(--accent-purple);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary-lavender);
}

.stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.stats-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(154, 123, 255, 0.1);
  border: 1px solid rgba(154, 123, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-lavender);
}

.stat-icon svg {
  width: 18px;
  height: 18px;
}

.stat-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Projects Tab Elements
   ========================================================================== */
.section-intro {
  margin-top: 40px;
  margin-bottom: 32px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 300;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.project-icon-box.roblox { background: rgba(255, 45, 85, 0.15); color: #ff2d55; }
.project-icon-box.discord { background: rgba(88, 101, 242, 0.15); color: #5865f2; }
.project-icon-box.spotify-icon-color { background: rgba(30, 215, 96, 0.15); color: #1ed760; }
.project-icon-box.art { background: rgba(255, 149, 0, 0.15); color: #ff9500; }

.project-icon-box svg {
  width: 22px;
  height: 22px;
}

.project-status {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
}

.status-failed { background: rgba(255, 45, 85, 0.1); color: #ff5e7e; }
.status-success { background: rgba(76, 217, 100, 0.1); color: #72f086; }
.status-chill { background: rgba(30, 215, 96, 0.1); color: #5eff8f; }
.status-burnout { background: rgba(255, 149, 0, 0.1); color: #ffb03a; }

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   Hobbies Tab Elements
   ========================================================================== */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hobby-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hobby-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hobby-icon {
  width: 24px;
  height: 24px;
}

.hobby-icon.climb { color: #5eff8f; }
.hobby-icon.music { color: #ff7be8; }
.hobby-icon.reading { color: #ffc17b; }
.hobby-icon.gaming { color: #7beaff; }
.hobby-icon.friends { color: #ffe67b; }
.hobby-icon.cat-icon { color: #ff7b7b; }

.hobby-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  text-transform: capitalize;
}

.hobby-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Cat Corner Card */
.cat-corner-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.cat-hobby-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-top: 16px;
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Gallery Tab Elements
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* Polaroid Styling */
.polaroid {
  background: #fbfbf9; /* Warm off-white polaroid card */
  padding: 16px 16px 24px 16px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.4s ease;
  position: relative;
}

/* Staggered Tilt Angles for Polaroids */
.polaroid:nth-child(even) {
  transform: rotate(2deg);
}

.polaroid:nth-child(odd) {
  transform: rotate(-2.5deg);
}

.polaroid:hover {
  transform: translateY(-8px) scale(1.02) rotate(0deg);
  box-shadow: 0 18px 45px rgba(154, 123, 255, 0.2), 0 3px 8px rgba(0,0,0,0.3);
  z-index: 50;
}

.polaroid-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(10%) sepia(5%);
}

.polaroid:hover img {
  transform: scale(1.03);
  filter: grayscale(0%) sepia(0%);
}

.polaroid-caption {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: #2b2633; /* Dark color for polaroid handwriting text */
  text-align: center;
  margin-top: 16px;
  letter-spacing: -0.01em;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(11, 7, 19, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: zoom 0.3s ease-out;
}

@keyframes zoom {
  from {transform: scale(0.9); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 300;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--primary-lavender);
  text-decoration: none;
  cursor: pointer;
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--primary-lavender);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  padding: 16px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 100px;
  padding-bottom: 40px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
  margin-bottom: 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  color: var(--primary-lavender);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 800px) {
  .grid-layout, .about-grid, .projects-grid, .hobbies-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card-wide, .cat-corner-card {
    grid-column: span 1;
  }
  
  .about-grid {
    display: flex;
    flex-direction: column;
  }
  
  .navbar {
    top: 16px;
    width: 95%;
  }

  .nav-logo .logo-text {
    font-size: 1.15rem;
  }

  .nav-tab {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .content-container {
    padding: 0 16px 60px;
  }
  
  .footer-content {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}
