/* ======================================================
   LOGICMATCH AI — Shared Styles (style.css)
   Used by: index.html, about.html, contact.html, terms.html
   Colours: Navy #040810 | Gold #FFD200 | White #ffffff
   Fonts:   Barlow (body) | Barlow Condensed (headings)
   Updated: 2 April 2026
====================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gold:       #FFD200;
    --gold-warm:  #FFB800;
    --navy:       #040810;
    --navy-mid:   #06090f;
    --navy-dark:  #020408;
    --white:      #ffffff;
    --font-main:  'Barlow', sans-serif;
    --font-cond:  'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--navy);
    background-image:
        linear-gradient(rgba(4, 8, 16, 0.84), rgba(4, 8, 16, 0.84)),
        url('./LogicMatch_AI_Selections.jpg');
    background-size: cover, cover;
    background-attachment: scroll, fixed;
    background-position: center, center top;
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.icon-blend { mix-blend-mode: screen; }

/* ======================================================
   COOKIE NOTICE BANNER
====================================================== */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: rgba(2, 5, 14, 0.97);
    border-top: 1px solid rgba(255, 210, 0, 0.25);
    padding: 14px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#cookie-banner p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
    flex: 1;
    min-width: 240px;
}

#cookie-banner p a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#cookie-ok {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 9px 24px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

#cookie-ok:hover { opacity: 0.88; }

/* ======================================================
   NAVIGATION
====================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 4, 10, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px;
    border-bottom: 1px solid rgba(255, 210, 0, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 38px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    gap: 26px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a .nav-ball {
    width: 13px;
    height: 13px;
    object-fit: contain;
    flex-shrink: 0;
    mix-blend-mode: screen;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.nav-links a:hover            { color: var(--gold); }
.nav-links a:hover .nav-ball  { opacity: 1; }

.nav-btn {
    background: rgba(180, 185, 210, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 9px 20px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ======================================================
   FOOTER
====================================================== */

footer {
    background: var(--navy-dark);
    border-top: 2px solid var(--gold);
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-brand {
    font-family: var(--font-cond);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-brand .g { color: var(--gold); }

.footer-brand .fb-ball {
    width: 14px;
    height: 14px;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 22px;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.footer-links a .fl-ball {
    width: 11px;
    height: 11px;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.45;
    transition: opacity 0.2s;
}

.footer-links a:hover           { color: var(--gold); }
.footer-links a:hover .fl-ball  { opacity: 0.9; }

.footer-x {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-x:hover { color: var(--gold); }
.footer-x svg   { width: 13px; height: 13px; fill: currentColor; }

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.28);
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ======================================================
   HAMBURGER MENU (mobile)
====================================================== */

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================
   RESPONSIVE — Mobile nav and footer only
   Page-specific responsive rules live in each HTML file.
====================================================== */

@media (max-width: 768px) {
    .nav           { padding: 0 20px; position: relative; }
    .nav-hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(2, 4, 10, 0.98);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 210, 0, 0.15);
        gap: 18px;
        z-index: 99;
    }

    .nav-links.open { display: flex; }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 20px;
    }

    .footer-links { justify-content: center; }
}
