/* ============================================================
   BobCAD-CAM Support Site — Main Styles
   Based on BobCAD-Brand-Style-Guide.md
   Created: 06/04/2026
   Author: ACC
   PHP: 5.6.x compatible
   ============================================================ */

/* --- CSS Variables (Brand Colors & Fonts) --- */
:root {
    /* Primary Brand Colors */
    --color-bobcad-blue:    #005DAA;
    --color-bobcad-grey:    #A7A9AC;
    --color-bobcad-black:   #000005;
    --color-bobcad-gold:    #FDB727;   /* Logo use ONLY */

    /* Secondary / Accent Colors */
    --color-navy-dark:      #1C3664;
    --color-red-dark:       #801C21;
    --color-charcoal:       #515252;
    --color-grey-medium:    #808080;
    --color-white:          #FFFFFF;

    /* Typography */
    --font-primary:         'Montserrat', sans-serif;
    --font-weight-regular:  400;
    --font-weight-bold:     700;

    /* Spacing */
    --spacing-xs:  8px;
    --spacing-sm:  16px;
    --spacing-md:  24px;
    --spacing-lg:  40px;
    --spacing-xl:  60px;

    /* Layout */
    --max-width-content:    1200px;
    --max-width-narrow:     800px;
    --border-radius:        4px;
    --box-shadow:           0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- CSS Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--color-bobcad-blue);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--color-bobcad-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--color-navy-dark);
}

/* --- Layout Containers --- */
.container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    text-align: center;
}

.site-footer p {
    margin-bottom: var(--spacing-xs);
    font-size: 14px;
}

.site-footer a {
    color: var(--color-white);
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--color-bobcad-grey);
}

.footer-links {
    font-size: 13px;
}
