/***** LOCAL FONTS *****/
@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter-v20-latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/***** GLOBAL STYLES *****/
:root {
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-text-primary: #1E293B;
    --color-text-secondary: #64748B;
    --color-title: #0F172A;
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;
    --color-divider: #E2E8F0;
    --color-focus: #0F172A;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--color-background);
    color: var(--color-text-primary);
    font-family: Inter, sans-serif;
    margin: 0;
    padding: 0;
}

/***** TYPOGRAPHY *****/
h1 {
    color: var(--color-title);
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0;
}

h2 {
    color: var(--color-title);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

h3 {
    color: var(--color-title);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

p {
    margin: 0 0 0.5rem;
}

strong {
    color: var(--color-text-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

/***** DIVIDERS *****/
hr {
    border: 0;
    border-top: 1px solid var(--color-divider);
    margin: 0.75rem 0 1rem;
}

/***** LINKS *****/
a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--color-focus);
    outline-offset: 3px;
}

.link-primary {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-surface);
    border-radius: 2rem;
    padding: 0.45rem 0.75rem;
}

.link-primary:hover {
    background: var(--color-accent-hover);
    text-decoration: none;
}

/***** LISTS | UL/LI *****/
ul {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.25rem;
}

.skills-list {
    list-style-type: none;
    padding-left: 0;
    line-height: 1.5;
}

/***** LAYOUT *****/
header,
main,
footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem;
}

header {
    padding-bottom: 1rem;
}

main {
    padding-top: 1rem;
    padding-bottom: 0;
}

/* INCLUDES ALL SECTIONS EXCEPT FOR HEADER & FOOTER */
.section-container {
    margin-bottom: 1.75rem;
}

.summary-container h2 {
    margin-bottom: 0.75rem;
}

.summary-container p {
    line-height: 1.5;
}

article {
    margin-bottom: 1.25rem;
}

/***** SECTION | HEADER *****/
.header-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
}

.header-image img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.header-title h1 {
    margin: 0 0 0.25rem;
}

.header-title p {
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 0.5rem;
}

.header-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/***** SECTION | FOOTER *****/
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/***** PRINT BUTTON *****/
.print-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.print-button:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.print-button:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.print-button:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 3px;
}

.print-button svg {
    flex-shrink: 0;
}

/***** MEDIA QUERIES | TYPOGRAPHY & PRINT BUTTON *****/
@media (width <= 768px) {
    /* TYPOGRAPHY */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .header-title p {
        font-size: 1.65rem;
    }

    /* PRINT BUTTON */
    .print-button {
        bottom: 1rem;
        right: 1rem;
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .print-button span {
        display: none;
    }
}