/* Custom Styles & Overrides */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #1f2937; 
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b7280; 
}

/* Card Hover Effects */
.mod-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

/*
 * Project card — horizontal listing on /projects (PRO-419 / DS 5.6).
 * Canonical class for the .project-card partial in views/components/project_card.php.
 * Layout utilities (flex direction, overflow, group) stay inline as Tailwind in the
 * partial; THIS rule carries the visual identity (bg / border / radius / shadow / hover).
 * Mirrors the .mod-card hover treatment so listing surfaces share the same lift feel.
 */
.project-card {
    background-color: #141a35; /* slate-900 / --bg-2 */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px; /* matches .mod-card --r-3 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.16); /* matches .mod-card hover */
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
}

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #3b82f6, #8b5cf6);
}
