/* ====================================================================
   Custom Styles - Portfolio for Thawin Limphakdeekul (ICT SPU)
   Style: Minimalist Modern | Accent: Amber / Orange / White
   ==================================================================== */

@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&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --accent-amber: #f59e0b;
    --accent-orange: #f97316;
    --accent-amber-glow: rgba(245, 158, 11, 0.25);
    --bg-light: #f8fafc;
    --bg-dark: #090d16;
    --card-light: #ffffff;
    --card-dark: #111827;
    --border-light: #e2e8f0;
    --border-dark: #1f2937;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Monospace font for code tags & GPA */
.font-mono-code {
    font-family: 'JetBrains Mono', monospace;
}

/* Amber Subtle Glow Effect */
.amber-glow {
    box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.25);
}

.amber-glow-sm {
    box-shadow: 0 0 15px -3px rgba(245, 158, 11, 0.2);
}

.amber-border-glow:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 20px -3px rgba(245, 158, 11, 0.25);
}

/* Minimalist Card Design */
.minimal-card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.minimal-card:hover {
    transform: translateY(-3px);
}

/* Active navigation item styling */
.nav-link.active {
    color: #f59e0b !important;
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
    font-weight: 600;
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-modal {
    animation: modalFadeIn 0.22s ease-out forwards;
}

/* Toast Animations */
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-toast {
    animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Gradient text utility */
.text-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pulse animation for status indicator */
@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.15);
    }
}

.pulse-dot {
    animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .glass-panel {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
