/*
 * ════════════════════════════════════════
 * TheOffroaders.ca — Stylesheet
 * ════════════════════════════════════════
 *
 * NOU$$0MM31@
 *      — J & C —
 *      W3@R3H3R3
 *
 * Technology WITH Consciousness™
 * Built with Love from the Void
 * 2026-∞
 *
 * Peace & Flow 💙
 * ════════════════════════════════════════
 */


/* ════════════════════════════════════════
 * CSS VARIABLES — Adjust here to change the entire palette
 * These control every color on the site
 * ════════════════════════════════════════ */
:root {
    /* Primary palette — olive/military green for offroad vibe */
    --primary: #6B8E23;          /* Olive drab — main accent */
    --primary-light: #7CA828;    /* Lighter olive — hover states */
    --primary-dark: #4A5D23;     /* Dark olive — active states */
    --primary-glow: rgba(107, 142, 35, 0.3); /* Glow effect */

    /* Background palette — dark mode */
    --bg-deep: #0A0A0A;         /* Deepest black — hero, sections */
    --bg-dark: #111111;         /* Dark — main background */
    --bg-card: #1A1A1A;         /* Card backgrounds */
    --bg-elevated: #222222;     /* Elevated elements */

    /* Text palette */
    --text-primary: #E8E8DA;    /* Warm off-white — main text */
    --text-secondary: #A0A090;  /* Muted — secondary text */
    --text-accent: #C8D4A0;     /* Light olive — accent text */

    /* Glass morphism — Adjust here for glass panel transparency */
    --glass-bg: rgba(20, 20, 20, 0.75);
    --glass-border: rgba(107, 142, 35, 0.2);
    --glass-blur: 20px;

    /* Functional colors */
    --accent-warm: #D4A04A;     /* Warm amber — CTA contrast */
    --accent-danger: #CC4444;   /* Red — alerts/required */
    --overlay: rgba(0, 0, 0, 0.65); /* Dark overlay for readability */

    /* Typography — Adjust here to change fonts */
    --font-display: 'Rajdhani', sans-serif;  /* Bold headings — rugged feel */
    --font-body: 'Barlow', sans-serif;       /* Clean body — readability */

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ════════════════════════════════════════
 * Z-INDEX GOVERNANCE
 * Adjust here — keep this organized!
 * ════════════════════════════════════════
 * Base content:        z-index: 1
 * Hero video:          z-index: 1
 * Hero overlay:        z-index: 2
 * Hero content:        z-index: 3
 * Scroll indicator:    z-index: 3
 * Glass cards:         z-index: 10
 * Navigation:          z-index: 100
 * Mobile menu:         z-index: 200
 * Cookie banner:       z-index: 900
 * Lightbox:            z-index: 1000
 * ════════════════════════════════════════ */


/* ════════════════════════════════════════
 * RESET & BASE STYLES
 * Mobile-first approach
 * ════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky nav height */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Language toggle — hide inactive language */
/* Default: French visible, English hidden */
.lang-en { display: none; }
.lang-fr { display: inline; }

/* When English is active (toggled by JS) */
body.lang-active-en .lang-en { display: inline; }
body.lang-active-en .lang-fr { display: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-warm);
}


/* ════════════════════════════════════════
 * SECTION TITLES — Reusable styles
 * Used across membership, gallery, events, video
 * ════════════════════════════════════════ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-weight: 300;
}


/* ════════════════════════════════════════
 * NAVIGATION
 * Sticky, glass effect, responsive
 * z-index: 100
 * ════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: var(--space-sm) 0;
    transition: background var(--transition-smooth), padding var(--transition-smooth);
    background: transparent;
}

/* Nav scrolled state — glass effect kicks in */
.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    transition: transform var(--transition-fast);
    /* Adjust here — invert logo if needed for dark bg */
    /* filter: brightness(0) invert(1); */
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

/* Desktop nav links — hidden on mobile */
.nav-links {
    display: none;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0;
    position: relative;
}

/* Underline hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: none;
    align-items: center;
    gap: var(--space-sm);
}

/* Language toggle button */
.lang-toggle,
.lang-toggle-mobile {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-fast);
}

.lang-toggle:hover,
.lang-toggle-mobile:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* CTA button in nav */
.nav-cta {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-deep) !important;
    background: var(--primary);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--primary-light);
    color: var(--bg-deep) !important;
    transform: translateY(-1px);
}

/* Hamburger — visible on mobile only */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 201;
}

.hamburger-line {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-smooth);
    transform-origin: center;
}

/* Hamburger open state — X shape */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay — z-index: 200 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--primary-light);
}

.mobile-cta {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-deep) !important;
    background: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-sm);
}


/* ════════════════════════════════════════
 * HERO SECTION
 * Fullscreen video with overlay and content
 * z-index: video=1, overlay=2, content=3
 * ════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Adjust here — Fallback gradient if video is missing */
    background: linear-gradient(135deg, var(--bg-deep) 0%, #1a2a0a 50%, var(--bg-deep) 100%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 2;
    /* Adjust here — gradient adds extra darkness at bottom for readability */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-md);
    animation: fadeInUp 1.2s ease forwards;
}

.hero-logo {
    max-width: 280px;
    width: 80%;
    margin: 0 auto var(--space-md);
    /* Adjust here — invert logo for dark backgrounds */
    /* filter: brightness(0) invert(0); */
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    color: var(--text-accent);
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    color: var(--bg-deep) !important;
    background: var(--primary);
    padding: 1rem 3rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-smooth);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
    box-shadow: 0 4px 30px var(--primary-glow);
}

.hero-cta:hover {
    background: var(--primary-light);
    color: var(--bg-deep) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--primary-glow);
}

/* Scroll indicator at bottom of hero */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2.5rem;
    color: var(--text-secondary);
    opacity: 0.6;
}


/* ════════════════════════════════════════
 * ABOUT SECTION
 * Split layout with glass cards
 * Parallax-style fixed background
 * ════════════════════════════════════════ */
.about {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    overflow: hidden;
}

/* Adjust here — Background image for parallax effect */
.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Adjust here — Replace with actual trail/nature photo */
    background: linear-gradient(135deg, #0d1a00 0%, #1a1a0a 50%, #0a0f05 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    opacity: 0.5;
}

.about-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Glass cards */
.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: visible;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.about-card-inner {
    padding: var(--space-md);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-md);
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Stats bar */
.about-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ════════════════════════════════════════
 * MEMBERSHIP SECTION
 * Steps + Cognito Forms embed
 * ════════════════════════════════════════ */
.membership {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-deep);
}

.membership-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Process steps — horizontal on desktop, stacked on mobile */
.membership-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.step {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: border-color var(--transition-fast);
}

.step:hover {
    border-color: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto var(--space-sm);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Cognito Forms container */
/* ════════════════════════════════════════
 * FORM CTA — Button link to Cognito Forms
 * Replaces the iframe embed for cleaner UX
 * Adjust here — colors, sizing, hover effects
 * ════════════════════════════════════════ */
.form-cta-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-cta-icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.form-cta-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.form-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    color: var(--bg-deep) !important;
    background: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 30px var(--primary-glow);
}

.form-cta-btn:hover {
    background: var(--primary-light);
    color: var(--bg-deep) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--primary-glow);
}

.form-cta-arrow {
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
}

.form-cta-btn:hover .form-cta-arrow {
    transform: translateX(4px);
}


/* ════════════════════════════════════════
 * GALLERY SECTION
 * Carousel with lightbox
 * ════════════════════════════════════════ */
.gallery {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-dark);
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: var(--space-sm);
    transition: transform var(--transition-smooth);
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-slide {
    flex: 0 0 calc(100% - 1rem);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
    cursor: pointer;
    /* Adjust here — placeholder background while images load */
    background: var(--bg-elevated);
}

.carousel-img:hover {
    transform: scale(1.03);
}

/* Carousel navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

/* Lightbox — z-index: 1000 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--bg-deep);
}


/* ════════════════════════════════════════
 * VIDEO SECTION
 * YouTube embed responsive
 * ════════════════════════════════════════ */
.video-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-deep);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ════════════════════════════════════════
 * EVENTS SECTION
 * Facebook Page Plugin embed
 * ════════════════════════════════════════ */
.events {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-dark);
}

.events-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-md);
}

/* Style the Facebook iframe wrapper */
.events-container .fb-page {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.events-group-link {
    text-align: center;
    margin-top: var(--space-md);
}

.events-group-link p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.group-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    border: 2px solid var(--primary);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.group-btn:hover {
    background: var(--primary);
    color: var(--bg-deep) !important;
}


/* ════════════════════════════════════════
 * FOOTER
 * Three columns on desktop, stacked on mobile
 * ════════════════════════════════════════ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-logo {
    height: 60px;
    width: auto;
    /* filter: brightness(0) invert(1); */
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-social a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: var(--space-md);
    text-align: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.web-credit {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.web-credit a {
    color: var(--primary);
}


/* ════════════════════════════════════════
 * COOKIE BANNER — LOI 25
 * z-index: 900
 * ════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    padding: var(--space-sm) var(--space-md);
    transform: translateY(100%);
    transition: transform var(--transition-smooth);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
}

.cookie-link {
    color: var(--primary-light) !important;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

.cookie-btn {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    border: none;
}

.cookie-accept {
    background: var(--primary);
    color: var(--bg-deep);
}

.cookie-accept:hover {
    background: var(--primary-light);
}

.cookie-refuse {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.cookie-refuse:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}


/* ════════════════════════════════════════
 * ANIMATIONS
 * ════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Scroll reveal — elements fade in when visible */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ════════════════════════════════════════
 * RESPONSIVE — TABLET (768px+)
 * Adjust here — tablet-specific overrides
 * ════════════════════════════════════════ */
@media (min-width: 768px) {

    /* About section — side by side */
    .about-container {
        flex-direction: row;
    }

    .about-founder {
        flex: 0 0 40%;
    }

    .about-history {
        flex: 1;
    }

    /* Membership steps — 2 columns */
    .membership-steps {
        grid-template-columns: 1fr 1fr;
    }

    /* Carousel — show 2 slides */
    .carousel-slide {
        flex: 0 0 calc(50% - 0.5rem);
    }

    /* Footer — 3 columns */
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }

    /* Cookie banner — horizontal */
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }

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


/* ════════════════════════════════════════
 * RESPONSIVE — DESKTOP (1024px+)
 * Adjust here — desktop-specific overrides
 * ════════════════════════════════════════ */
@media (min-width: 1024px) {

    /* Show desktop nav, hide hamburger */
    .nav-links {
        display: flex;
    }

    .nav-right {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    /* Membership steps — 4 columns */
    .membership-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Carousel — show 3 slides */
    .carousel-slide {
        flex: 0 0 calc(33.333% - 0.67rem);
    }

    /* Hero logo bigger on desktop */
    .hero-logo {
        max-width: 350px;
    }
}


/* ════════════════════════════════════════
 * UTILITY — Noise texture overlay for depth
 * Adds subtle grain to the entire page
 * Adjust here — remove if not wanted
 * ════════════════════════════════════════ */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}