/* UCL Design Manual CSS Stylesheet - Reusable brand styles */

/* =========================================================================
   PATH CONSTANTS: Asset path variables
   ========================================================================== */
:root {
    /* Font path variables */
    --font-proxima-light: url('../assets/fonts/ProximaNovaAlt-Light.woff2');
    --font-proxima-regular: url('../assets/fonts/ProximaNovaAlt-Regular.woff2');
    --font-proxima-bold: url('../assets/fonts/ProximaNovaAlt-Bold.woff2');
    --font-proxima-extrabold: url('../assets/fonts/ProximaNovaAlt-Extrabold.woff2');
}

/* =========================================================================
   TYPOGRAPHY: Font Faces and Text Styles
   ========================================================================== */
@font-face {
    font-family: 'Proxima Nova Alt';
    src: url('../assets/fonts/ProximaNovaAlt-Light.woff2') format('woff2');
    font-weight: 300;
}
@font-face {
    font-family: 'Proxima Nova Alt';
    src: url('../assets/fonts/ProximaNovaAlt-Regular.woff2') format('woff2');
    font-weight: 400;
}
@font-face {
    font-family: 'Proxima Nova Alt';
    src: url('../assets/fonts/ProximaNovaAlt-Bold.woff2') format('woff2');
    font-weight: 700;
}
@font-face {
    font-family: 'Proxima Nova Alt';
    src: url('../assets/fonts/ProximaNovaAlt-Extrabold.woff2') format('woff2');
    font-weight: 800;
}

body {
    font-family: 'Proxima Nova Alt', Arial, sans-serif;
    color: var(--midnight-green);
    font-weight: normal;
}

/* Bootstrap text color override */
.text-dark {
    color: var(--midnight-green) !important;
}
h1, h2, h3, h4, h5, h6, blockquote {
    font-family: 'Proxima Nova Alt';
    color: var(--midnight-green);
    font-weight: bold;
}
p {
    font-family: 'Proxima Nova Alt';
    color: var(--midnight-green);
    font-weight: normal;
}
.caption {
    font-family: 'Proxima Nova Alt';
    font-weight: normal;
    font-style: italic;
}

/* =========================================================================
   COLORS: UCL Brand Palette as CSS Variables
   ========================================================================== */
:root {
    --midnight-green: #00454e;
    --verdigris: #47b9b3;
    --blue-ivory: #007090;
    --dusty-green: #85b57b;
    --terra-cotta: #ee866f;
    --violet-shine: #d56e8f;
    --tea-rose: #f5d2ca;
    --columbia-blue: #E6F1F0;
    --maize: #fae76a;
    --white: #fff;
    --black: #000;
    --light-grey: #F9FBFA;
    --font-family: 'Proxima Nova Alt', Arial, sans-serif;
}

.primary-color { color: var(--midnight-green); }
.secondary-color { color: var(--verdigris); }
.signal-color { color: var(--maize); }
.color-blue-ivory { color: var(--blue-ivory); }
.color-dusty-green { color: var(--dusty-green); }
.color-terra-cotta { color: var(--terra-cotta); }
.color-violet-shine { color: var(--violet-shine); }
.color-tea-rose { color: var(--tea-rose); }
.color-columbia-blue { color: var(--columbia-blue); }

/* Text utilities */
.text-ucl-midnight-green { color: var(--midnight-green) !important; }
.text-ucl-verdigris { color: var(--verdigris) !important; }
.text-ucl-blue-ivory { color: var(--blue-ivory) !important; }
.text-ucl-dusty-green { color: var(--dusty-green) !important; }
.text-ucl-terra-cotta { color: var(--terra-cotta) !important; }
.text-ucl-violet-shine { color: var(--violet-shine) !important; }
.text-ucl-maize { color: var(--maize) !important; }

/* Background utilities */
.bg-light-grey { background-color: var(--columbia-blue) !important; }
.bg-ucl-midnight-green { background-color: var(--midnight-green) !important; }
.bg-ucl-primary { background-color: var(--midnight-green) !important; }

/* =========================================================================
   GRAPHIC ELEMENTS
   ========================================================================== */
.graphic-line {
    border-top: 1px solid #000000;
}
.graphic-box {
    background-color: var(--maize);
}
.graphic-bubble {
    background-color: var(--verdigris);
}

/* =========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    background-color: var(--midnight-green);
    padding: 1rem;
}
.navbar a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
.navbar a:hover {
    background-color: var(--verdigris);
}
.navbar a:focus, .navbar a:active {
    outline: 2px solid var(--maize);
    outline-offset: 2px;
    background-color: var(--verdigris);
    color: var(--midnight-green);
}

/* =========================================================================
   BUTTONS
   ========================================================================== */
.button {
    background-color: var(--midnight-green);
    color: var(--maize);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    outline: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.button:focus, .button:active {
    outline: 3px solid var(--maize);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px var(--verdigris);
}
.button:hover {
    background-color: var(--verdigris);
    color: var(--midnight-green);
    outline: 2px solid var(--midnight-green);
}

/* =========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--midnight-green);
    color: var(--maize);
    padding: 1rem;
}
.footer a {
    color: var(--maize);
    text-decoration: underline;
}
.footer a:hover, .footer a:focus {
    color: var(--verdigris);
    outline: 2px solid var(--maize);
    outline-offset: 2px;
}

/* Responsive font utilities */
.fs-18 { font-size: 1.125rem !important; }
.fs-16 { font-size: 1rem !important; }
.fs-14 { font-size: 0.875rem !important; }
.fs-12 { font-size: 0.75rem !important; }

@media (max-width: 767.98px) {
    h1, .display-4 { font-size: 2rem !important; }
    h2, .h2 { font-size: 1.5rem !important; }
    h3, .h3 { font-size: 1.25rem !important; }
    h4, .h4 { font-size: 1.1rem !important; }
    h5, .h5 { font-size: 1rem !important; }
    h6, .h6 { font-size: 0.95rem !important; }
    p, .caption { font-size: 0.95rem !important; }
}

/* =========================================================================
   CONTAINER: Bootstrap layout extensions
   ========================================================================== */
.container,
.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
