/* 
 * ICT Student Portfolio - Modern Glassmorphism & Custom Styles
 * Palette: Cyan / Teal Accent & Slate Deep Glass
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-sky: #0ea5e9;
  --glass-bg-light: rgba(255, 255, 255, 0.68);
  --glass-border-light: rgba(255, 255, 255, 0.45);
  --glass-bg-dark: rgba(15, 23, 42, 0.72);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
}

body {
  font-family: var(--font-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Surface Base */
.glass-panel {
  background: var(--glass-bg-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-light);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark .glass-panel {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.glass-card-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 20px rgba(20, 184, 166, 0.1);
}

.dark .glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.25), 0 0 25px rgba(20, 184, 166, 0.15);
}

/* Tech Grid Background & Dark Navy Card Styles */
.tech-grid-bg {
  background-size: 26px 26px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.card-dark-navy {
  background-color: #0b1329;
  border: 1px solid #1e293b;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dark-navy:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.2), 0 0 20px rgba(20, 184, 166, 0.1);
  transform: translateY(-2px);
}

/* Ambient Background Floating Orbs */
.orb-glow-1 {
  position: fixed;
  top: 5%;
  right: 10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(20, 184, 166, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-glow-2 {
  position: fixed;
  bottom: 10%;
  left: 20%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 60px) scale(1.1); }
  100% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.15); }
  100% { transform: translate(-30px, 40px) scale(0.9); }
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 9999px;
}

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

/* Glowing text and gradient badges */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-btn {
  background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
  transition: all 0.25s ease;
}

.gradient-btn:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0d9488 100%);
  box-shadow: 0 8px 20px -4px rgba(6, 182, 212, 0.4);
}

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

/* Navigation active indicator */
.nav-link.active {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  font-weight: 600;
  border-left: 4px solid #06b6d4;
}

.dark .nav-link.active {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  border-left: 4px solid #22d3ee;
}

/* Toast Animation */
@keyframes toastIn {
  from {
    transform: translateY(100%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes toastOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(100%) scale(0.9);
    opacity: 0;
  }
}

.toast-enter {
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-exit {
  animation: toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Modal animation */
.modal-overlay {
  animation: fadeIn 0.2s ease-out forwards;
}

.modal-content {
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
