/* Emerald Minimalist Portfolio - Stitch Design System */

:root {
    --primary: #006c49;
    --primary-container: #10b981;
    --secondary: #2b6954;
    --secondary-dark: #064e3b;
    --surface: #fcf9f8;
    --surface-base: #ffffff;
    --surface-soft: #f0fdfa;
    --border-subtle: #e5e7eb;
    --on-surface: #1c1b1b;
    --on-surface-variant: #3c4a42;
    --text-muted: #6b7280;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
    color: var(--on-surface);
    background-color: var(--surface-base);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

::-webkit-scrollbar-thumb {
    background: #c3d9d0;
    border-radius: 4px;
}

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

/* Transitions & Micro-interactions */
.nav-link {
    position: relative;
    transition: all 0.2s ease-in-out;
}

.nav-link.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

/* Card Subtle Elevation Lift */
.card-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Button Pulse & Shadow feedback */
.btn-primary {
    transition: all 0.2s ease;
}

.btn-primary:hover {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.39);
}

/* Keyframes for Mobile Menu & Alerts */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Form Styles */
input:focus, textarea:focus {
    border-color: var(--primary-container) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
}