/**
 * Jiblotech 2.0
 * Base Styles
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;

    background: var(--jb-background);
    color: var(--jb-text-primary);

    font-family: var(--jb-font-body);
    font-size: var(--jb-text-base);
    font-weight: var(--jb-font-regular);
    line-height: var(--jb-leading-normal);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

p {
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1rem;

    color: inherit;

    font-family: var(--jb-font-heading);
    font-weight: var(--jb-font-semibold);

    line-height: var(--jb-leading-tight);

    letter-spacing: -0.025em;
}

h1 {
    font-size: var(--jb-text-5xl);
}

h2 {
    font-size: var(--jb-text-4xl);
}

h3 {
    font-size: var(--jb-text-3xl);
}

h4 {
    font-size: var(--jb-text-2xl);
}

::selection {
    background: var(--jb-green);
    color: var(--jb-white);
}

:focus-visible {
    outline: 3px solid var(--jb-green-bright);
    outline-offset: 4px;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}
body.menu-open {
    overflow: hidden;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    z-index: 99999;
    padding: 0.75rem 1.25rem;
    background: var(--jb-surface-card, #12141D);
    color: var(--jb-text-primary, #F3F4F6);
    border: 2px solid var(--jb-green-bright, #10B981);
    border-radius: var(--jb-radius-md, 8px);
    font-family: var(--jb-font-body);
    font-size: var(--jb-text-sm, 0.875rem);
    font-weight: var(--jb-font-medium, 500);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: none;
}

.skip-link:focus {
    top: 1rem;
    left: 1rem;
    position: fixed;
    outline: 3px solid var(--jb-green-bright, #10B981);
    outline-offset: 2px;
}
/* ==========================================
   BUTTON (Moved from Project CTA)
   ========================================== */

.project-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--jb-green);
    color: var(--jb-white);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color var(--jb-duration-normal) var(--jb-ease),
        color var(--jb-duration-normal) var(--jb-ease),
        gap var(--jb-duration-fast) var(--jb-ease);
}

.project-cta__button:hover {
    background: var(--jb-green);
    color: #061008;
    gap: 1.25rem;
}
