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

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617; /* matches slate-950 */
    color: #94a3b8; /* matches slate-400 */
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: #020617; 
}

::-webkit-scrollbar-thumb {
    background: #334155; /* matches slate-700 */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569; /* matches slate-600 */
}

/* --- Project Detail Page Specific Styles --- */

/* Page Title & Breadcrumbs */
.page-title {
    padding: 60px 0;
    background: linear-gradient(to bottom, #020617, #0f172a);
}

.page-title h1 {
    color: #f1f5f9; /* slate-100 */
    font-weight: 700;
}

.breadcrumbs ol li a {
    color: #5eead4; /* teal-300 */
    transition: color 0.3s;
}

/* Card Visuals (Glassmorphism) */
.bg-light {
    background-color: rgba(15, 23, 42, 0.4) !important; /* slate-900/40 */
    border: 1px solid #1e293b !important; /* border-slate-800 */
    backdrop-filter: blur(8px);
    transition: border-color 0.3s;
}

.bg-light:hover {
    border-color: #334155 !important; /* border-slate-700 */
}

.portfolio-info {
    background-color: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid #1e293b;
    padding: 30px;
    border-radius: 0.75rem;
}

.portfolio-info ul li {
    color: #94a3b8;
    border-bottom: 1px solid #1e293b !important;
}

.portfolio-info ul li strong {
    color: #5eead4 !important; 
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* GitHub Button Styling */
.btn-visit {
    background-color: rgba(45, 212, 191, 0.1);
    color: #5eead4;
    padding: 5px 15px;
    border-radius: 9999px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-visit:hover {
    background-color: rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
}

/* --- Core Portfolio Logic --- */

/* Active Nav Link Styling */
.nav a.active .nav-indicator {
    width: 4rem; 
    background-color: #e2e8f0; 
}

.nav a.active .nav-text {
    color: #e2e8f0; 
}

/* Card Hover Logic */
.group:hover .absolute {
    display: block;
}

/* Smooth Spotlight Transition */
#spotlight {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 30;
    transition: background 0.3s ease;
}