/* =====================================================
   COLIN BOELKE - PORTFOLIO
   Modern, Professional Design System
   ===================================================== */

/* CSS Variables */
:root {
  /* Colors */
  --color-bg: #0a0a0b;
  --color-bg-secondary: #111113;
  --color-bg-tertiary: #18181b;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);

  --color-text: #fafafa;
  --color-text-secondary: #a1a1aa;
  --color-text-muted: #71717a;

  --color-primary: #004cff;
  --color-primary-light: #3d7aff;
  --color-primary-dark: #0039c2;
  --color-primary-glow: rgba(0, 76, 255, 0.5);

  --color-accent: #004cff;
  --color-accent-glow: rgba(0, 76, 255, 0.4);

  --color-success: #004cff;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #004cff 0%, #0066ff 50%, #3d7aff 100%);
  --gradient-accent: linear-gradient(135deg, #004cff 0%, #0055ff 100%);
  --gradient-text: linear-gradient(135deg, #004cff 0%, #3d7aff 50%, #66a3ff 100%);
  --gradient-surface: linear-gradient(
    135deg,
    rgba(0, 76, 255, 0.1) 0%,
    rgba(0, 102, 255, 0.05) 100%
  );

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px var(--color-primary-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-tooltip: 500;
}

/* =====================================================
   BASE STYLES
   ===================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-border-hover);
}

::selection {
  background: var(--color-primary);
  color: white;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Section Base */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

/* =====================================================
   CURSOR GLOW EFFECT
   ===================================================== */

#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

body:hover #cursor-glow {
  opacity: 0.6;
}

/* =====================================================
   BACKGROUND ANIMATION
   ===================================================== */

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: #004cff;
  top: -300px;
  right: -300px;
  animation-delay: 0s;
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: #004cff;
  bottom: -250px;
  left: -250px;
  animation-delay: -7s;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: #004cff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.95);
  }
  75% {
    transform: translate(-50px, -30px) scale(1.05);
  }
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: var(--space-4xl) var(--space-xl);
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
  width: 100%;
}

.hero-greeting {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.hero-name {
  display: block;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hero-role {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.role-prefix {
  color: var(--color-text-muted);
}

.typing-wrapper {
  display: inline-flex;
  align-items: center;
}

.typing-text {
  color: var(--color-primary-light);
  font-weight: 600;
}

.typing-cursor {
  color: var(--color-primary);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta .btn {
  width: 220px;
  justify-content: center;
}

.hero-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  color: var(--color-text);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--color-text-secondary);
}

.scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
}

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

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

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

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

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about {
  background: var(--color-bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about-intro {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number::after {
  content: "+";
  -webkit-text-fill-color: var(--color-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
}

.image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  opacity: 0.3;
}

.code-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
  overflow-x: auto;
  position: relative;
}

.code-block::before {
  content: "";
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.code-keyword {
  color: #3d7aff;
}
.code-variable {
  color: #66a3ff;
}
.code-property {
  color: #99c2ff;
}
.code-string {
  color: #4d94ff;
}
.code-boolean {
  color: #004cff;
}
.code-method {
  color: #0066ff;
}

/* =====================================================
   SKILLS SECTION
   ===================================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.skill-category {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.skill-category:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
}

.category-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.category-icon {
  font-size: 1.5rem;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.skill-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.skill-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  flex-shrink: 0;
}

.skill-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.skill-info {
  flex: 1;
}

.skill-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1s ease-out;
}

/* =====================================================
   EXPERIENCE SECTION
   ===================================================== */

.experience {
  background: var(--color-bg-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #004cff, #3d7aff);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -8px;
  top: 0;
}

.marker-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--color-primary);
  transition: all var(--transition-base);
}

.timeline-item:hover .marker-dot {
  background: var(--color-primary);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.timeline-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-content {
  border-color: var(--color-border-hover);
  transform: translateX(10px);
}

.timeline-date {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.timeline-company {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.timeline-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.timeline-list {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.timeline-list li {
  margin-bottom: var(--space-sm);
}

.timeline-list li::marker {
  color: var(--color-primary);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-bg);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */

.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.showcase-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  gap: var(--space-2xl);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.showcase-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
}

.showcase-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.showcase-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.showcase-content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.showcase-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tech-tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.github-showcase {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  transition: all var(--transition-base);
}

.github-showcase:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.github-content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.github-icon {
  width: 48px;
  height: 48px;
  color: white;
}

.github-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.github-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.github-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.github-arrow {
  width: 32px;
  height: 32px;
  color: white;
  transition: transform var(--transition-fast);
}

.github-showcase:hover .github-arrow {
  transform: translateX(5px);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact {
  background: var(--color-bg-secondary);
}

.contact-wrapper {
  position: relative;
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  text-align: center;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--color-primary-light);
}

.contact-decoration {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
}

.decoration-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  position: absolute;
  opacity: 0.3;
}

.decoration-circle:nth-child(1) {
  width: 200px;
  height: 200px;
  top: -100px;
  right: 50px;
}

.decoration-circle:nth-child(2) {
  width: 300px;
  height: 300px;
  top: -150px;
  right: 0;
}

.decoration-circle:nth-child(3) {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -50px;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-made {
  margin-top: var(--space-sm);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.reveal-stagger.active > *:nth-child(1) {
  transition-delay: 0.1s;
}
.reveal-stagger.active > *:nth-child(2) {
  transition-delay: 0.2s;
}
.reveal-stagger.active > *:nth-child(3) {
  transition-delay: 0.3s;
}
.reveal-stagger.active > *:nth-child(4) {
  transition-delay: 0.4s;
}
.reveal-stagger.active > *:nth-child(5) {
  transition-delay: 0.5s;
}
.reveal-stagger.active > *:nth-child(6) {
  transition-delay: 0.6s;
}

.reveal-stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    order: -1;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-card {
    flex-direction: column;
    text-align: center;
  }

  .showcase-icon {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transition: right var(--transition-base);
    border-left: 1px solid var(--color-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: var(--z-modal);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    padding-left: var(--space-2xl);
  }

  .timeline-marker {
    left: 0;
  }

  .contact-wrapper {
    padding: var(--space-2xl);
  }

  .contact-links {
    flex-direction: column;
    gap: var(--space-md);
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: var(--space-md);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
  }

  .stat-number {
    font-size: 2rem;
  }

  .decoration-circle {
    display: none;
  }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */

@media print {
  .navbar,
  .bg-animation,
  #cursor-glow,
  .hero-scroll,
  .contact-decoration {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    page-break-inside: avoid;
  }
}
