@charset "utf-8";

/* =======================================================
   CWHC • MAIN STYLESHEET
   - Framework and layout rules for overall site structure
   - Covers Blocks 1, 3, 5, 6, and 8 from layout model
======================================================= */

/* ---------- GLOBAL VARIABLES ---------- */
:root {
    --cwhc-black: #000000;
    --cwhc-black-800: #222222;
    --cwhc-bg-dark: #1B1B1B;
    --accent-orange: #E58A1F;
    --text-white: #ffffff;
    --container-max: 1200px;
    --side-gutter: 20px;
}

/* ---------- GLOBAL RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background-color: var(--cwhc-bg-dark);
    font-family: 'Roboto', sans-serif;
    color: #222;
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

/* =======================================================
   BLOCK 1: MAIN CANVAS
======================================================= */

.site-canvas {
    width: 100%;
    background-color: var(--cwhc-bg-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =======================================================
   BLOCK 3: MAIN CONTENT CONTAINER
======================================================= */

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    background-color: var(--cwhc-black-800);
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* =======================================================
   BLOCK 5: PAGE HEADER
======================================================= */

.page-header {
    width: 100%;
    background: var(--cwhc-black-800);
    color: var(--accent-orange);
    display: flex;
    justify-content: center;
    align-items: center;       /* vertical centering */
    padding: 20px 0;           /* equal top/bottom padding */
    box-sizing: border-box;
}

.page-header h1 {
    margin: 0;                 /* remove default browser margin */
    font-size: 1.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =======================================================
   BLOCK 6: MAIN CONTENT (White Box)
======================================================= */

.page-content {
    background-color: #ffffff;
    color: #000000;
    border-radius: 10px;       /* ✅ Rounded corners restored */
    padding: 40px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 25px;       /* spacing before footer menu */
}

/* =======================================================
   BLOCK 8: COPYRIGHT BAR
======================================================= */

.site-copyright {
    background-color: #000; /* same as header background (#000 / #1B1B1B depending on your theme) */
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 18px 0;
    width: 100%;
    box-sizing: border-box;
	margin-top: 0; /* optional double safeguard */
}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 991px) {
    .page-content {
        padding: 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}
