/**
 * Global CSS - Runfish Apparel Design System & Common Styles
 * Brand: #0F2E44 (Deep Navy) / #3A7B9E (Sky Blue) / #FFAA47 (Energy Orange)
 */

/* ========== 1. CSS Reset ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* ========== 2. Design Tokens ========== */
:root {
    --brand-primary: #0F2E44;
    --brand-secondary: #3A7B9E;
    --brand-accent: #FFAA47;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #F5F7FA;
    --bg-dark: #0F2E44;
    --border-color: #e8ecf0;
    --success: #28a745;
    --error: #dc3545;
    --border-radius: 8px;
}

/* ========== 3. Typography ========== */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; margin-bottom: 1.25rem; }
h3 { font-size: 1.75rem; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
h4 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.875rem; }
h5 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.75rem; }
h6 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
p { font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
.lead { font-size: 1.125rem; font-weight: 300; line-height: 1.7; }

/* ========== 4. Common Components ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 48px;
    min-height: 48px;
}
.btn-primary {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
}
.btn-primary:hover {
    background-color: #e89a3a;
    color: var(--brand-primary);
}

.card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ========== 5. Section Tag ========== */
.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

/* ========== 6. Accessibility ========== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 10000;
}
.skip-link:focus { top: 0; }

/* ========== 7. Images ========== */
img, .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}
