/* ========== TYPOGRAPHY.CSS ========== */
/* Core typography settings for George O'Connor's portfolio */

/* Typography system variables */
:root {
    /* Font families */
    --header-font: 'Raleway', serif;
    --body-font: 'Roboto', sans-serif;
    --fallback-fonts: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Font sizes - Desktop */
    --font-size-base: 16px;
    --font-size-h1: 3rem;
    --font-size-h2: 2.2rem;
    --font-size-h3: 1.8rem;
    --font-size-h4: 1.4rem;
    --font-size-body: 1.3rem;
    --font-size-body-large: 1.2rem;
    --font-size-body-small: 0.9rem;
    --font-size-caption: 1.1rem;
    --font-size-intro: 1.5rem;
    --font-size-blockquote: 1.3rem;
    --font-size-logo: 1.5rem;
    --font-size-nav: 1.2rem;
    --font-size-social-link: 1rem;
    --font-size-icon: 1.2rem;

    /* Font sizes - Mobile */
    --font-size-base-mobile: 15px;
    --font-size-h1-mobile: 2rem;
    --font-size-h2-mobile: 1.7rem;
    --font-size-h3-mobile: 1.4rem;
    --font-size-h4-mobile: 1.2rem;
    --font-size-body-mobile: 1rem;
    --font-size-intro-mobile: 1.2rem;
    --font-size-logo-mobile: 1.3rem;
    --font-size-nav-mobile: 1.1rem;
    --font-size-icon-mobile: 1rem;

    /* Font weights */
    --font-weight-thin: 100;
    --font-weight-light: 300;
    /* Added for Roboto Light */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Line heights */
    --line-height-body: 1.6;
    --line-height-header: 1.2;
    --line-height-large: 1.5;
    --line-height-small: 1.4;
}

/* Caption styling */
.caption,
figcaption,
.image-caption,
.side-image p {
    font-size: var(--font-size-caption);
    color: #ccc;
    /* Lighter color for captions */
    font-weight: var(--font-weight-light);
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 15px;
}

/* Base body typography */
body {
    font-family: var(--body-font), var(--fallback-fonts);
    font-weight: var(--font-weight-light);
    /* Changed from thin to light */
    line-height: var(--line-height-body);
    font-size: var(--font-size-base);
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Heading Typography === */
h1,
h2,
h3,
h4,
h5,
h6,
.project-header,
.logo {
    font-family: var(--header-font), var(--fallback-fonts);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    line-height: var(--line-height-header);
    margin-top: 0;
    color: #fff;
}

/* Header sizes */
h1,
.project-header {
    font-size: var(--font-size-h1);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 1.2rem;
}

/* In typography.css, update the h3 definition */
h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-normal);
}

h4 {
    font-size: var(--font-size-h4);
    margin-bottom: 0.8rem;
}

/* Logo specific styling */
.top-menu .logo {
    color: black;
    font-size: var(--font-size-logo);
}

/* === Body Text Elements === */
p,
ul,
ol,
li,
blockquote {
    font-family: var(--body-font), var(--fallback-fonts);
    font-weight: var(--font-weight-light);
    /* Changed from thin to light */
    margin-top: 0;
}

p,
.project-text p,
.minor-project-text p {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    margin-bottom: 1rem;
}

/* === Navigation & UI Elements === */
.nav-links,
.about-link,
.nav-link,
.social-link {
    font-family: var(--body-font), var(--fallback-fonts);
    font-weight: var(--font-weight-medium);
    /* Keep medium weight for navigation */
}

.nav-link {
    font-size: var(--font-size-nav);
    color: black;
}

.social-link {
    font-size: var(--font-size-social-link);
    color: white;
}

.logo {
    font-family: var(--header-font), var(--fallback-fonts);
    font-weight: var(--font-weight-bold);
}

/* Rest of your CSS remains unchanged... */