/* ========================================
   BTB LACROSSE — SHARED STYLES
   Common header, footer, buttons, variables
   ======================================== */

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

/* ── Variables ── */
:root {
    --primary: #D22630;
    --primary-dark: #a01e26;
    --dark: #000000;
    --light: #DADADA;
    --gray: #4A4A4A;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

img { max-width: 100%; }

/* ── Focus Visible (a11y) ── */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ========================================
   HEADER
   ======================================== */
.btb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.btb-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.btb-logo img {
    height: 60px;
    display: block;
}

.btb-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btb-nav a {
    font-size: 16px;
    font-weight: 600;
    color: #101010;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btb-nav a:hover {
    color: var(--primary);
}

.btb-cta {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    background: var(--primary);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btb-cta:hover {
    background: var(--primary-dark);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    background: transparent;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #101010;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 38, 48, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-ghost:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.footer-brand .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.8rem;
    color: var(--white);
    text-decoration: none;
}

.footer-brand .logo span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.82rem;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Simple footer variant */
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .btb-header {
        padding: 0 16px;
    }

    .btb-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.8rem;
        z-index: 1000;
    }

    .btb-nav.open,
    .btb-nav.active {
        display: flex;
    }

    .btb-nav a {
        font-size: 1.1rem;
    }

    .btb-logo img {
        height: 48px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
