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

:root {
  /* Font Family */
  --font-primary: "Poppins", "Inter", sans-serif;
  
  /* Color System - Dark Mode with Sage Green Accent */
  --bg: #0A0A0A;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --fg: #F5F5F5;
  --fg-muted: #A8A8A8;
  --fg-subtle: #808080;
  
  /* Brand Colors - Sage/Mint Green */
  --accent: #B9D7C9;
  --accent-hover: #CDE7D6;
  
  --primary-500: #B9D7C9;
  --primary-600: #B9D7C9;
  --primary-700: #9CC5B0;
  --primary-800: #7FB398;
  --primary-400: #CDE7D6;
  --primary-300: #D9EDE2;
  --primary-200: #E5F3EB;
  --primary-100: #F0F9F4;
  --primary-50: #F8FBF9;
  
  --accent-600: #CDE7D6;
  --accent-500: #CDE7D6;
  --accent-400: #D9EDE2;
  
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Neutrals */
  --slate-900: #0A0A0A;
  --slate-800: #1a1a1a;
  --slate-700: #2a2a2a;
  --slate-600: #4a4a4a;
  --slate-500: #6a6a6a;
  --slate-400: #A8A8A8;
  --slate-300: #c8c8c8;
  --slate-200: #e0e0e0;
  --slate-100: #f0f0f0;
  --slate-50: #f8f8f8;
  
  --linkedin-blue: #0A66C2;
  --white: #ffffff;
  --black: #000000;
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography Scale - Fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
  
  /* Shadows - Dark Mode */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(185, 215, 201, 0.4);
  
  /* Borders */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;
  
  /* Transitions - Smooth & Slower */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark Mode */
/* Light Mode Theme */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-secondary: #f8f8f8;
  --bg-tertiary: #f0f0f0;
  --fg: #1A1A1A;
  --fg-muted: #666666;
  --fg-subtle: #8a8a8a;
  
  --accent: #9CC5B0;
  --accent-hover: #AEE1C9;
  
  --primary-500: #9CC5B0;
  --primary-600: #9CC5B0;
  --primary-700: #7FB398;
  --primary-800: #6AA185;
  --primary-400: #AEE1C9;
  --primary-300: #C2E8D4;
  --primary-200: #D6EFE1;
  --primary-100: #EBF7F0;
  --primary-50: #F5FBF8;
  
  --accent-600: #AEE1C9;
  --accent-500: #AEE1C9;
  --accent-400: #C2E8D4;
  
  --slate-900: #1A1A1A;
  --slate-800: #2a2a2a;
  --slate-700: #4a4a4a;
  --slate-600: #666666;
  --slate-500: #8a8a8a;
  --slate-400: #A8A8A8;
  --slate-300: #c8c8c8;
  --slate-200: #e0e0e0;
  --slate-100: #f0f0f0;
  --slate-50: #f8f8f8;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(156, 197, 176, 0.3);
}

/* Seçili Metin Rengi */
::selection {
  background-color: var(--primary-100);
  color: var(--primary-800);
}

::-moz-selection {
  background-color: var(--primary-100);
  color: var(--primary-800);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: dark light;
}

/* Prevent Android from forcing system theme */
html[data-theme="dark"] {
  color-scheme: dark !important;
}

html[data-theme="light"] {
  color-scheme: light !important;
}

/* Override system preferences */
@media (prefers-color-scheme: dark) {
  html[data-theme="light"] {
    color-scheme: light !important;
  }
}

@media (prefers-color-scheme: light) {
  html[data-theme="dark"] {
    color-scheme: dark !important;
  }
}

/* Force theme colors regardless of system preference */
html[data-theme="dark"] body {
  background-color: var(--bg) !important;
  color: var(--fg) !important;
}

html[data-theme="light"] body {
  background-color: var(--bg) !important;
  color: var(--fg) !important;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ============================================
   Utility Classes
   ============================================ */

/* Container */
.container-custom {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

/* Section */
.section {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
}

/* Grid Auto */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

/* Glassmorphism */
.glass {
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
}

.badge-primary {
  background: var(--primary-100);
  color: var(--primary-700);
}

.badge-accent {
  background: rgba(255, 215, 0, 0.2);
  color: var(--accent);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-xl);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
  color: var(--slate-900);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .btn-primary {
  color: white;
}

.btn-primary svg {
  color: var(--slate-900);
  stroke: var(--slate-900);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-primary svg {
  color: white;
  stroke: white;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.btn-outline {
  background: transparent;
  color: var(--primary-400);
  border: 2px solid var(--primary-400);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-outline {
  color: var(--primary-600);
  border: 2px solid var(--primary-600);
}

.btn-outline svg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: var(--slate-900);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn-outline:hover {
  background: var(--primary-100);
  border-color: var(--primary-600);
  color: var(--primary-700);
}

.btn-outline:hover svg {
  color: var(--slate-900);
  stroke: var(--slate-900);
}

[data-theme="light"] .btn-outline:hover svg {
  color: var(--primary-700);
  stroke: var(--primary-700);
}

.btn-outline:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Card Enhancements */
.card-modern {
  position: relative;
  background: var(--bg);
  border-radius: var(--border-radius-2xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.card-modern:hover::before {
  transform: scaleX(1);
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

/* Reveal Animation (for IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Language Switcher
   ============================================ */
.language-switcher {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--primary-400);
  background: var(--primary-50);
}

.lang-btn.active {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ============================================
   Card
   ============================================ */
.card {
  border-radius: 1.5rem;
  border: 1px solid var(--slate-300);
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 5rem;
  transform: translateZ(0);
  will-change: transform;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  text-align: center;
}

.avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 1rem;
  object-fit: cover;
  ring: 2px solid var(--primary-500);
  box-shadow: 0 0 0 2px var(--primary-500);
  margin: 0 auto;
  display: block;
  transform: translateZ(0);
  will-change: transform;
}

.name {
  margin-top: 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--slate-900);
}

.role {
  font-size: 1.125rem;
  color: var(--slate-700);
  margin-top: 0.5rem;
}

.divider {
  height: 1px;
  width: 5rem;
  background: var(--slate-400);
  margin: 1.5rem auto;
}

.summary {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto;
}

/* ============================================
   Contact Info
   ============================================ */
.contact-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--fg);
  font-size: var(--text-base);
  transform: translateZ(0);
  will-change: transform;
}

[data-theme="light"] .contact-item {
  color: var(--slate-700);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--fg-muted);
  flex-shrink: 0;
}

[data-theme="light"] .icon {
  color: var(--slate-600);
}

.linkedin-icon {
  color: var(--linkedin-blue);
}

.link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--primary-400);
  text-underline-offset: 4px;
  transition: color 0.3s ease;
  font-weight: 500;
}

[data-theme="light"] .link {
  color: var(--slate-700);
  text-decoration-color: var(--primary-500);
}

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

[data-theme="light"] .link:hover {
  color: var(--primary-700);
}

/* ============================================
   Action Buttons
   ============================================ */
.action-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  transform: translateZ(0);
  will-change: transform;
}

.btn-outline {
  border: 2px solid var(--primary-400);
  background: transparent;
  color: var(--primary-400);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-outline {
  border: 2px solid var(--primary-600);
  background: var(--white);
  color: var(--primary-600);
}

.btn-outline:hover {
  border-color: var(--primary-600);
  background: var(--primary-600);
  color: var(--slate-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--primary-600);
  background: var(--primary-100);
  color: var(--primary-700);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover svg {
  color: var(--slate-900);
  stroke: var(--slate-900);
}

[data-theme="light"] .btn-outline:hover svg {
  color: var(--primary-700);
  stroke: var(--primary-700);
}

.btn-outline:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

.btn-primary {
  background: var(--primary-600);
  color: var(--slate-900);
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-primary {
  color: var(--white);
}

.btn-primary svg {
  color: var(--slate-900);
  stroke: var(--slate-900);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-primary svg {
  color: white;
  stroke: white;
}

.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* ============================================
   Section Title
   ============================================ */
.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary-600);
}

/* ============================================
   Timeline (Experience)
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--slate-200);
  transform: translateZ(0);
  will-change: transform;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.375rem;
  top: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--primary-600);
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .timeline-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.timeline-role {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
}

.timeline-period {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.timeline-company {
  color: var(--primary-400);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.timeline-bullets {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.timeline-bullets li {
  color: var(--fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   Projects Grid
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  text-decoration: none;
  transition: all 0.3s;
  transform: translateZ(0);
  will-change: transform;
}

.project-card:hover {
  border-color: var(--primary-300);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.project-image-container {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.75rem;
  transition: box-shadow 0.3s;
}

.project-card:hover .project-image-container {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-name {
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.25;
  transition: color 0.3s;
}

.project-card:hover .project-name {
  color: var(--primary-600);
}

/* ============================================
   Education
   ============================================ */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-item {
  border-left: 2px solid var(--slate-200);
  padding-left: 1.5rem;
}

.education-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-800);
}

.education-degree {
  color: var(--slate-600);
  margin-top: 0.25rem;
}

.education-period {
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ============================================
   Additional Info
   ============================================ */
.additional-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .additional-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: var(--slate-50);
}

.info-label {
  color: var(--slate-700);
  font-weight: 500;
}

.info-value {
  color: var(--slate-500);
  font-size: 0.875rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--slate-200);
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ============================================
   Project Detail Page
   ============================================ */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-button:hover {
  color: var(--primary-400);
}

[data-theme="dark"] .back-button {
  color: var(--fg-muted);
}

[data-theme="dark"] .back-button:hover {
  color: var(--primary-400);
}

.project-badge {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-700);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.project-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

.project-header-content {
  flex: 1;
  min-width: 300px;
}

.project-header-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  will-change: transform;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-md);
}

.project-header-image:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-xl);
}

.project-header-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  transition: transform var(--transition-slow);
}

.project-header-image:hover img {
  transform: scale(1.08);
}

.project-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.project-desc {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .project-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .project-header-image {
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
  }
}

.project-header-content {
  flex: 1;
  min-width: 300px;
}

.project-header-image {
  flex-shrink: 0;
  width: 200px;
}

.project-header-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .project-header {
    flex-direction: column-reverse;
  }
  
  .project-header-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

.project-section {
  margin-top: 2rem;
}

.project-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.features-list li {
  color: var(--slate-600);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.2s;
  transform: translateZ(0);
  will-change: transform;
}

.tech-tag:hover {
  border-color: var(--primary-300);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tech-tag::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary-600);
  flex-shrink: 0;
}

.tech-name {
  color: var(--slate-900);
  font-weight: 600;
  font-size: 1.125rem;
}

.tech-category {
  background: var(--primary-100);
  color: var(--primary-700);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

.cta-section {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 3rem;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
  display: none !important;
}

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

.mt-4 {
  margin-top: 1rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-out;
}


/* ============================================
   Modern Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-base), border-color var(--transition-base);
  transform: translateZ(0);
  will-change: transform;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: var(--text-2xl);
  font-weight: 800;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-slow);
  position: relative;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-600);
  transition: width var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-link:hover, .navbar-link.active {
  color: var(--primary-600);
}

.navbar-link:hover::after, .navbar-link.active::after {
  width: 100%;
}

.theme-toggle {
  background: var(--bg-tertiary);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  color: var(--primary-300);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  will-change: transform;
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.15);
  background: var(--bg-secondary);
  color: var(--slate-600);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  background: var(--primary-600);
  border-color: var(--primary-500);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
  color: var(--slate-900);
}

[data-theme="light"] .theme-toggle:hover {
  background: var(--primary-100);
  border-color: var(--primary-500);
  transform: scale(1.1);
  color: var(--primary-700);
}

.sun-icon, .moon-icon {
  position: absolute;
  transition: opacity var(--transition-base), transform var(--transition-base);
  stroke-width: 2.5;
}

[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

.navbar-lang {
  display: flex;
  gap: 0.5rem;
}

.navbar-lang .lang-btn {
  background: transparent;
  border: 2px solid var(--slate-200);
  padding: 0.5rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.navbar-lang .lang-btn:hover {
  border-color: var(--primary-400);
  transform: translateY(-2px);
}

.navbar-lang .lang-btn.active {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

/* ============================================
   Modern Hero Section
   ============================================ */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(185, 215, 201, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(205, 231, 214, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(156, 197, 176, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E");
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge-container {
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  animation: pulse 2s ease-in-out infinite;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.typing-text {
  display: inline-block;
  border-right: 2px solid var(--primary-600);
  padding-right: 5px;
  animation: blink 0.7s infinite;
  min-height: 7rem;
  max-width: 100%;
  text-align: center;
}

.typing-text.typing-complete {
  border-right: none;
  animation: none;
  padding-right: 0;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary-600); }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-avatar {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-modern {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
  will-change: transform;
  aspect-ratio: 1 / 1;
  display: block;
}

.avatar-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 3px solid var(--primary-500);
  z-index: 1;
  animation: rotate 10s linear infinite;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500), var(--accent));
  filter: blur(20px);
  opacity: 0.3;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ============================================
   Wave Divider
   ============================================ */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider svg path {
  fill: var(--bg-secondary);
}

[data-theme="light"] .wave-divider svg path {
  fill: var(--bg-secondary);
}

.section-title-modern {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .navbar-menu {
    gap: 1rem;
  }
  
  .navbar-link {
    display: none;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
    min-height: 5rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
}


/* ============================================
   Modern Timeline
   ============================================ */
.timeline-modern {
  position: relative;
  padding: 2rem 0;
}

.timeline-modern::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-500), var(--accent-500));
  border-radius: 2px;
}

.timeline-modern .timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
  background: var(--glass);
  padding: 2rem 2rem 2rem 60px;
  border-radius: var(--border-radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all var(--transition-slow);
}

[data-theme="light"] .timeline-modern .timeline-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-modern .timeline-item:hover {
  transform: translateX(12px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-400);
}

.timeline-modern .timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-600);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 4px var(--primary-200);
  z-index: 2;
}

/* ============================================
   Modern Projects Grid
   ============================================ */
.projects-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.projects-grid-modern .project-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  transition: all var(--transition-slow);
  padding: 1.5rem;
  border-radius: var(--border-radius-2xl);
  border: 2px solid var(--slate-200);
}

.projects-grid-modern .project-card {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .projects-grid-modern .project-card {
  border-color: rgba(0, 0, 0, 0.1);
}

.projects-grid-modern .project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-400);
  box-shadow: var(--shadow-xl);
}

.projects-grid-modern .project-image {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--border-radius-2xl);
  transition: transform var(--transition-slow);
}

.projects-grid-modern .project-card:hover .project-image {
  transform: scale(1.08);
}

.projects-grid-modern .project-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  transition: color var(--transition-slow);
}

.projects-grid-modern .project-card:hover .project-name {
  color: var(--primary-600);
}

/* ============================================
   Section Backgrounds
   ============================================ */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
}

.wave-inverted {
  transform: rotate(180deg);
}

/* ============================================
   Glass Card Effects
   ============================================ */
.glass {
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ============================================
   3D Tilt Effect for Cards
   ============================================ */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.card-3d:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Badge Styles
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--bg-secondary);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-base);
}

.badge-accent {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
  border-color: var(--primary-300);
  color: var(--primary-700);
}

[data-theme="light"] .badge-accent {
  background: linear-gradient(135deg, rgba(156, 197, 176, 0.15), rgba(174, 225, 201, 0.15));
  border-color: var(--primary-600);
  color: var(--primary-700);
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-slow);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transform: translateZ(0);
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  color: var(--slate-900);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-primary {
  color: white;
}

.btn-primary svg {
  color: var(--slate-900);
  stroke: var(--slate-900);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-primary svg {
  color: white;
  stroke: white;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: scale(0.98);
  transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline {
  background: transparent;
  color: var(--primary-400);
  border: 2px solid var(--primary-400);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-outline {
  color: var(--primary-600);
  border: 2px solid var(--primary-600);
}

.btn-outline svg {
  color: var(--primary-400);
  stroke: var(--primary-400);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .btn-outline svg {
  color: var(--primary-600);
  stroke: var(--primary-600);
}

.btn-outline:hover {
  background: var(--primary-600);
  color: var(--slate-900);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .btn-outline:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

.btn-outline:hover .icon,
.btn-outline:hover svg {
  color: var(--slate-900);
  fill: var(--slate-900);
  stroke: var(--slate-900);
}

[data-theme="light"] .btn-outline:hover .icon,
[data-theme="light"] .btn-outline:hover svg {
  color: var(--primary-700);
  fill: var(--primary-700);
  stroke: var(--primary-700);
}

.btn-outline:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* LinkedIn Icon Color */
.linkedin-icon {
  transition: all var(--transition-slow);
}


/* ============================================
   Modern Education Cards
   ============================================ */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.education-card {
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--border-radius-2xl);
  transition: all var(--transition-slow);
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.education-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.education-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.education-degree {
  color: var(--primary-600);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-period {
  color: var(--fg-muted);
  font-size: var(--text-sm);
}

/* ============================================
   Info Grid
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-xl);
  transition: all var(--transition-slow);
}

.info-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-card .info-label {
  font-weight: 600;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.info-card .info-value {
  font-weight: 700;
  color: var(--primary-600);
  font-size: var(--text-lg);
}

/* ============================================
   Modern Footer
   ============================================ */
.footer-modern {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: var(--slate-100);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
  transform: translateZ(0);
  will-change: transform;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--slate-400);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--slate-300);
  text-decoration: none;
  transition: all var(--transition-slow);
}

.footer-links a:hover {
  color: var(--primary-400);
  padding-left: 10px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  color: var(--slate-300);
  transition: all var(--transition-slow);
  transform: translateZ(0);
  will-change: transform;
}

.footer-social a:hover {
  background: var(--primary-600);
  color: white;
  transform: translateY(-5px) scale(1.05);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  color: var(--slate-400);
  font-size: var(--text-sm);
}

/* ============================================
   Enhanced Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: var(--text-4xl);
    min-height: 6rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
  }
  
  .navbar-container {
    padding: 0.75rem 1rem;
  }
  
  .navbar-menu {
    gap: 0.75rem;
  }
  
  .navbar-link span {
    display: none;
  }
  
  .hero-modern {
    padding: 60px 0 40px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
    min-height: 5rem;
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-avatar {
    width: 140px;
    height: 140px;
  }
  
  
  .timeline-modern::before {
    left: 10px;
  }
  
  .timeline-modern .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-modern .timeline-item::before {
    left: -38px;
  }
  
  .projects-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .projects-grid-modern .project-card {
    padding: 1.25rem;
    margin: 0;
  }
  
  .projects-grid-modern .project-image {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .projects-grid-modern {
    padding: 0 0.5rem;
    gap: 1rem;
  }
  
  .projects-grid-modern .project-card {
    padding: 1rem;
  }
  
  .projects-grid-modern .project-image {
    max-width: 150px;
  }
  
  .hero-modern {
    padding: 2rem 0 5rem;
  }
  
  .hero-badge-container {
    margin-top: 4rem;
    margin-bottom: 3rem;
  }
  
  /* Project Detail Mobile Fixes */
  .project-gallery {
    padding: 0 0.5rem;
    gap: 1.5rem;
  }
  
  .gallery-item {
    max-width: 200px;
    margin-bottom: 1rem;
  }
  
  .project-hero-image {
    max-width: 250px;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .cta-section {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }
  
  .project-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 360px) {
  .hero-modern {
    padding: 5rem 0 6rem;
  }
  
  .hero-badge-container {
    margin-top: 5rem;
    margin-bottom: 4rem;
  }
  
  /* Project Detail Extra Small Screens */
  .project-gallery {
    padding: 0 0.25rem;
    gap: 1rem;
  }
  
  .gallery-item {
    max-width: 180px;
    margin-bottom: 0.75rem;
  }
  
  .project-hero-image {
    max-width: 200px;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
  }
  
  .cta-section {
    padding: 1rem 0.75rem;
    margin-top: 1.5rem;
  }
  
  .project-section {
    margin-top: 1rem;
    padding-top: 1rem;
  }
}
  
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .section {
    padding: 3rem 0;
  }

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: var(--text-2xl);
    min-height: 4rem;
  }
  
  .navbar-brand {
    font-size: var(--text-xl);
  }
  
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
  
  /* Project Detail Container */
  .project-detail-content .container {
    padding: 1rem 0.75rem;
  }
}

/* ============================================
   Smooth Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary-400);
  border-radius: 6px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-600);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .navbar,
  .theme-toggle,
  .wave-divider,
  .footer-modern {
    display: none;
  }
  
  .hero-modern {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  .hero-badge-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}


/* ============================================
   Language Toggle Switch
   ============================================ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--fg-muted);
  transition: all var(--transition-slow);
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-label.active {
  color: var(--primary-600);
  transform: scale(1.15);
}

.lang-label:hover {
  color: var(--primary-500);
  transform: scale(1.05);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--slate-200);
  border-radius: 28px;
  transition: all var(--transition-slow);
  transform: translateZ(0);
  will-change: transform;
}

.slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-slow) cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
  background: var(--primary-600);
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

.switch:hover .slider {
  box-shadow: 0 0 0 3px var(--primary-200);
  transform: scale(1.02);
}

/* Slider Text - Sadece 404 sayfası için */
.error-section .slider-text {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-slow);
  z-index: 1;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.error-section .switch input:checked + .slider .slider-text {
  color: #000000;
  font-weight: 800;
}

[data-theme="light"] .slider {
  background: var(--slate-300);
}

[data-theme="light"] .slider::before {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Mobile Language Selector */
.mobile-lang-selector {
  display: none;
}

.mobile-lang-selector select {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--fg);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all var(--transition-slow);
  min-width: 100px;
}

.mobile-lang-selector select:hover {
  border-color: var(--primary-400);
  background: var(--bg-tertiary);
}

.mobile-lang-selector select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px rgba(185, 215, 201, 0.2);
}

[data-theme="light"] .mobile-lang-selector select {
  background: var(--primary-50);
  border-color: var(--primary-200);
  color: var(--slate-800);
}

[data-theme="light"] .mobile-lang-selector select:hover {
  background: var(--primary-100);
  border-color: var(--primary-400);
}

/* Responsive - Mobile için küçült */
@media (max-width: 480px) {
  .lang-switch {
    display: none;
  }
  
  .mobile-lang-selector {
    display: block;
  }
}


/* Responsive Typing Text Heights */
@media (max-width: 1024px) {
  .typing-text {
    min-height: 5rem;
  }
}

@media (max-width: 768px) {
  .typing-text {
    min-height: 4.5rem;
  }
}

@media (max-width: 480px) {
  .typing-text {
    min-height: 3.5rem;
  }
}


/* Timeline Light Mode Adjustments */
[data-theme="light"] .timeline-company {
  color: var(--primary-700);
}

[data-theme="light"] .timeline-role {
  color: var(--slate-800);
}

[data-theme="light"] .timeline-bullets li {
  color: var(--slate-700);
}

/* ============================================
   404 Error Page Styles
   ============================================ */

/* Floating Controls */
.floating-controls {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 120px;
}

.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #000000;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(185, 215, 201, 0.3);
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 215, 201, 0.4);
  color: #000000;
}

[data-theme="light"] .control-group {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .control-group .lang-label,
[data-theme="light"] .control-group .theme-label {
  color: var(--slate-600);
}

/* Control item spacing - Use main page styles */
.control-group .lang-switch,
.control-group .theme-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 120px;
  padding: 0.5rem 0;
}

.control-group .lang-label,
.control-group .theme-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--fg-muted);
  transition: all var(--transition-slow);
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.control-group .lang-label:hover,
.control-group .theme-label:hover {
  color: var(--primary-500);
  transform: scale(1.05);
}

/* Responsive Floating Controls */
@media (max-width: 768px) {
  .floating-controls {
    top: 1rem;
    right: 1rem;
  }
  
  .control-group {
    padding: 1rem;
    gap: 0.75rem;
    min-width: 110px;
  }
  
  .control-group .lang-switch,
  .control-group .theme-switch {
    min-width: 100px;
    gap: 0.5rem;
  }
  
  .home-button {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .floating-controls {
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .control-group {
    padding: 0.75rem;
    min-width: 100px;
  }
  
  .control-group .lang-switch,
  .control-group .theme-switch {
    min-width: 90px;
    gap: 0.25rem;
  }
  
  .lang-label,
  .theme-label {
    display: none;
  }
  
  .home-button {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.error-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.error-animation {
  margin-bottom: 3rem;
  position: relative;
}

.error-number {
  font-size: clamp(8rem, 15vw, 12rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.error-icon {
  color: var(--primary-400);
  opacity: 0.7;
  margin-top: -2rem;
}

.error-icon svg {
  width: clamp(80px, 15vw, 120px);
  height: clamp(80px, 15vw, 120px);
}

.error-message {
  margin-bottom: 2rem;
}

.error-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.error-description {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.error-suggestion {
  font-size: var(--text-base);
  color: var(--fg-muted);
  opacity: 0.8;
  line-height: 1.5;
}


.error-quick-links {
  margin-top: 3rem;
}

.error-quick-links h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--fg);
  transition: all 0.3s ease;
}

.quick-link:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary-400);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
  font-size: 1.5rem;
  opacity: 0.8;
}

.quick-link span:last-child {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Light mode adjustments for 404 page */
[data-theme="light"] .error-title {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .error-icon {
  color: var(--primary-600);
}

[data-theme="light"] .error-actions .btn-secondary {
  background: var(--primary-50);
  border-color: var(--primary-200);
}

[data-theme="light"] .error-actions .btn-secondary:hover {
  background: var(--primary-100);
  border-color: var(--primary-400);
}

[data-theme="light"] .quick-link {
  background: var(--primary-50);
  border-color: var(--primary-200);
}

[data-theme="light"] .quick-link:hover {
  background: var(--primary-100);
  border-color: var(--primary-400);
}

/* Responsive 404 page */
@media (max-width: 768px) {
  .error-section {
    padding: 1rem 0;
  }
  
  .error-animation {
    margin-bottom: 2rem;
  }
  
  .error-message {
    margin-bottom: 1.5rem;
  }
  
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .quick-link {
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .error-section {
    padding: 0.5rem 0;
  }
  
  .error-content {
    padding: 0 1rem;
  }
  
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  
}

.project-detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(185, 215, 201, 0.1);
  border: 1px solid var(--primary-400);
  border-radius: var(--border-radius-full);
  color: var(--primary-400);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}

[data-theme="light"] .project-badge {
  background: var(--primary-50);
  border-color: var(--primary-600);
  color: var(--primary-700);
}

.project-short-desc {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.project-hero-image {
  max-width: 400px;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem;
  width: 100%;
}

.project-hero-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.project-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .project-section {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.project-section:first-of-type {
  margin-top: 2rem;
  padding-top: 0;
  border-top: none;
}

.section-subtitle {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.project-overview {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--fg);
}

.features-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.features-list li {
  padding-left: 2rem;
  position: relative;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--fg);
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: 700;
  font-size: 1.2rem;
}

.tech-tags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.tech-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  will-change: transform;
}

.tech-tag:hover {
  border-color: var(--primary-500);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.tech-tag::before {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--primary-400);
  flex-shrink: 0;
}

.tech-tag-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.tech-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}

.tech-category {
  font-size: var(--text-sm);
  color: var(--primary-300);
  font-weight: 600;
  margin: 0;
  background: rgba(185, 215, 201, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(185, 215, 201, 0.2);
}

[data-theme="light"] .tech-category {
  color: var(--primary-700);
  background: var(--primary-100);
  border-color: var(--primary-200);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.gallery-item {
  aspect-ratio: 9 / 16;
  max-width: 280px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  object-fit: contain;
  background: transparent;
  width: 100%;
  height: 100%;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.store-button-wrapper {
  position: relative;
  display: inline-block;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  color: var(--fg);
  text-decoration: none;
  transition: all 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.store-button:hover {
  background: var(--primary-600);
  border-color: var(--primary-500);
  color: var(--slate-900);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.store-button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-button-small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.store-button-large {
  font-size: 1rem;
  font-weight: 600;
}

.store-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

[data-theme="light"] .store-button-disabled {
  opacity: 0.4;
}

.store-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 10;
  white-space: nowrap;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  filter: brightness(2) saturate(1.5);
  transform: translateZ(0);
  isolation: isolate;
  will-change: opacity;
}

[data-theme="light"] .store-badge {
  background: linear-gradient(135deg, #FF4500, #FF1744);
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.8);
  filter: brightness(1.8) saturate(1.5) contrast(1.2);
  opacity: 1 !important;
}

.cta-section {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(185, 215, 201, 0.1), rgba(205, 231, 214, 0.05));
  border-radius: var(--border-radius-2xl);
  text-align: center;
  border: 1px solid rgba(185, 215, 201, 0.2);
}

[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-color: var(--primary-200);
}

.cta-section h3 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: var(--text-lg);
  color: var(--fg-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .project-hero-image {
    max-width: 300px;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .gallery-item {
    max-width: 250px;
    margin: 0 auto 1.5rem;
  }
  
  .tech-tags {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-section {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
  
  .cta-section h3 {
    font-size: var(--text-2xl);
  }
  
  .project-detail-header {
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: var(--text-xl);
  }
  
  .project-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

