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

:root {
    --btn-color: #fdfdfd;
    --btn-bg: #155eef;

    --primary-text-color: #155eef;
    --link-hover: #155eef;
    --input-hover-bd-color: #155eef;
}

html {
    scroll-behavior: smooth;
    font-family: "Inter", sans-serif;
}

/* Project cards */
.project-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

html.tw-dark .project-card {
    border-color: #334155;
    background: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

html.tw-dark .project-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Tech tags */
.tech-tag {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    background: #eff6ff;
    color: #155eef;
    border: 1px solid #bfdbfe;
}

html.tw-dark .tech-tag {
    background: #1e3a5f;
    color: #93c5fd;
    border-color: #2563eb55;
}

/* Tab buttons */
.tab-btn {
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

html.tw-dark .tab-btn {
    color: #94a3b8;
}

html.tw-dark .tab-btn:hover {
    background: #334155;
    color: #f1f5f9;
}

.tab-btn.tab-active {
    background: #155eef;
    color: #ffffff;
}

html.tw-dark .tab-btn.tab-active {
    background: #155eef;
    color: #ffffff;
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 0.5rem;
    background: #155eef;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1248c7;
}

/* Links */
.link {
    color: #64748b;
    transition: color 0.2s;
}

.link:hover {
    color: #155eef;
}

html.tw-dark .link {
    color: #94a3b8;
}

html.tw-dark .link:hover {
    color: #60a5fa;
}

/* Input */
.input {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.input:focus {
    border-color: #155eef;
}

html.tw-dark .input {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}
