@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,400,700,500,600,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined');

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

/* Details/Summary reset */
details > summary {
    list-style: none;
}

details > summary::marker,
details > summary::-webkit-details-marker {
    display: none;
    content: "";
}

/* Accordion row shared styles */
.accordion-row {
    transition: all 0.2s ease;
}

.accordion-row:hover {
    background-color: #000000;
    color: #FAFAFA;
    cursor: crosshair;
}

.accordion-row:hover .row-meta {
    color: #FAFAFA;
}

.accordion-row:hover .arrow-icon {
    color: #FAFAFA;
}

details[open] .accordion-row {
    background-color: #000000;
    color: #FAFAFA;
}

details[open] .row-meta,
details[open] .arrow-icon {
    color: #FAFAFA;
}

/* Responsive meta (tech-stack / role-duration) */
.row-meta {
    display: none;
}

@media (min-width: 768px) {
    .row-meta {
        display: block;
    }
}

/* Accordion content animation */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

details[open] .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-content-inner {
    overflow: hidden;
}

/* Custom scrollbar */
#scrollbar-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    z-index: 50;
    background-color: #F2F2F2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dark #scrollbar-wrapper {
    background-color: #1a1a1a;
}

#scrollbar-wrapper .scrollbar {
    position: absolute;
    display: block;
    height: 100%;
    width: 6px;
    right: 0;
    left: auto;
    bottom: 0;
    background-color: #000000;
    transform: translateY(-100vh);
    transition: transform 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.dark #scrollbar-wrapper .scrollbar {
    background-color: #ffffff;
}

/* Skill bar hover glow */
.skill-item:hover .skill-bar {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.dark .skill-item:hover .skill-bar {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Hide default scrollbar */
::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
}

