/* Modern Glassmorphism & Custom Accents for ICT Portfolio */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-glow: rgba(6, 182, 212, 0.35);
}

* {
  font-family: var(--font-primary);
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.4);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.7);
}

/* Glassmorphism Components - Dark Mode */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 35px -10px rgba(6, 182, 212, 0.15), 0 0 15px rgba(6, 182, 212, 0.1);
}

.glass-card-interactive {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.glass-card-interactive:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(20, 184, 166, 0.35);
}

/* Glassmorphism Components - Light Mode Overrides */
html.light .glass-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 10px 30px -10px rgba(100, 116, 139, 0.15);
}

html.light .glass-panel-hover:hover {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 20px 35px -10px rgba(14, 165, 233, 0.2);
}

html.light .glass-card-interactive {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

html.light .glass-card-interactive:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(13, 148, 136, 0.4);
}

/* Glowing Elements */
.glow-cyan {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.box-glow-cyan {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.25);
}

.glow-gradient {
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #3b82f6 100%);
}

.glow-gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #2dd4bf 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light .glow-gradient-text {
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Animated Blobs */
.bg-blob-1 {
  position: fixed;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: pulseBlob 12s infinite alternate ease-in-out;
}

.bg-blob-2 {
  position: fixed;
  bottom: 10%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: pulseBlob 15s infinite alternate-reverse ease-in-out;
}

@keyframes pulseBlob {
  0% {
    transform: scale(0.9) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(20px, -20px);
  }
  100% {
    transform: scale(0.95) translate(-20px, 15px);
  }
}

/* Timeline Stylings */
.timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 10px #06b6d4;
}

/* Modal Animation */
@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-animate-enter {
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Image preview containers */
.project-card-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Sidebar Active Link Indicator */
.sidebar-link.active-nav-link {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.18) 0%, rgba(20, 184, 166, 0.08) 100%);
  border-left: 3px solid #06b6d4;
  color: #22d3ee;
  font-weight: 700;
  box-shadow: 0 4px 15px -3px rgba(6, 182, 212, 0.15);
}

html.light .sidebar-link.active-nav-link {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, rgba(20, 184, 166, 0.05) 100%);
  border-left: 3px solid #0891b2;
  color: #0891b2;
}

