/* =====================================================
   People First Group - Base Styles
   Foundation: Variables, Reset, Typography
   ===================================================== */

/* CSS Custom Properties */
:root {
    --color-red: #A50034;
    --color-red-dark: #8a002c;
    --color-red-light: #c41047;
    --color-gray: #7C878E;
    --color-gray-dark: #5a6268;
    --color-gray-light: #a0a8ad;
    --color-beige: #E8DDD3;
    --color-beige-light: #f4ede6;
    --color-beige-dark: #d4c7b8;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-text: #3a3a3a;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base HTML & Body */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-red);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    z-index: 2000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}
