/* ============================================================
   BRAVICASTO Design System — Global Styles
   Based on FeroGear design patterns, adapted for fishing brand
   ============================================================ */

/* Scroll Reveal — disabled, all content visible */
.bc-reveal {
    opacity: 1;
    transform: none;
}

:root {
    /* Primary Palette */
    --bc-forest: #1B3B2B;
    --bc-pine: #2A5A40;
    --bc-copper: #C97E2A;
    --bc-copper-light: #D4943F;
    --bc-amber: #E8A838;

    /* Neutrals */
    --bc-gunmetal: #2C2C2C;
    --bc-text: #333333;
    --bc-text-light: #666666;
    --bc-text-muted: #999999;
    --bc-mist: #F5F5F0;
    --bc-white: #FFFFFF;
    --bc-border: #E5E5E0;

    /* Accents */
    --bc-rust: #C0392B;
    --bc-sand: #D9C5A7;

    /* Gradients */
    --bc-gradient-hero: linear-gradient(135deg, #1B3B2B 0%, #2A5A40 100%);
    --bc-gradient-accent: linear-gradient(135deg, #C97E2A 0%, #E8A838 100%);
    --bc-gradient-dark: linear-gradient(180deg, rgba(27,59,43,0) 0%, rgba(27,59,43,0.9) 100%);

    /* Typography */
    --bc-font-heading: 'Montserrat', sans-serif;
    --bc-font-body: 'Inter', sans-serif;
    --bc-font-price: 'Roboto Mono', monospace;

    /* Layout */
    --bc-container: 1200px;
    --bc-radius: 6px;
    --bc-radius-lg: 16px;
    --bc-section-pad: clamp(72px, 10vw, 120px);
    --bc-header-h: 72px;

    /* Transitions */
    --bc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--bc-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bc-text);
    background: var(--bc-white);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bc-font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--bc-forest);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
a { color: var(--bc-copper); text-decoration: none; transition: color 0.2s var(--bc-ease); }
a:hover { color: var(--bc-forest); }
img { max-width: 100%; height: auto; display: block; }

/* === Container === */
.bc-container {
    max-width: var(--bc-container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* === Section Label (eyebrow text) === */
.bc-section-label {
    font-family: var(--bc-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--bc-copper);
    margin-bottom: 0.75rem;
    display: block;
}

/* === Buttons === */
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--bc-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s var(--bc-ease), box-shadow 0.15s var(--bc-ease), background 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.bc-btn--primary {
    background: var(--bc-gradient-accent);
    color: var(--bc-white);
}
.bc-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 126, 42, 0.35);
    color: var(--bc-white);
}

.bc-btn--secondary {
    background: var(--bc-forest);
    color: var(--bc-white);
}
.bc-btn--secondary:hover {
    background: var(--bc-copper);
    transform: translateY(-1px);
    color: var(--bc-white);
}

.bc-btn--outline {
    background: transparent;
    color: var(--bc-copper);
    border: 2px solid var(--bc-copper);
}
.bc-btn--outline:hover {
    background: var(--bc-copper);
    color: var(--bc-white);
}

.bc-btn--pill {
    border-radius: 24px;
    padding: 0.875rem 2.5rem;
}

/* === Header === */
.bc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--bc-header-h);
    background: rgba(27, 59, 43, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.bc-header.scrolled {
    background: rgba(27, 59, 43, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.bc-header__inner {
    max-width: var(--bc-container);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 60px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.bc-logo {
    font-family: var(--bc-font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bc-white);
    text-decoration: none;
    flex-shrink: 0;
}
.bc-logo span { color: var(--bc-copper); }
.bc-logo:hover { color: var(--bc-white); }
.bc-logo:hover span { color: var(--bc-copper-light); }

/* Header Search Bar */
.bc-header__search {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}
.bc-header__search:focus-within {
    border-color: var(--bc-copper);
    background: rgba(255,255,255,0.15);
}
.bc-header__search input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--bc-white);
    font-family: var(--bc-font-body);
    font-size: 0.875rem;
    padding: 10px 16px;
}
.bc-header__search input[type="text"]::placeholder { color: rgba(255,255,255,0.5); }
.bc-header__search button {
    width: 40px;
    height: 40px;
    background: var(--bc-forest);
    border: none;
    border-radius: 50%;
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-white);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.bc-header__search button:hover { background: var(--bc-pine); }
.bc-header__search button svg { stroke: currentColor; fill: none; }

/* Mobile search toggle (hidden on desktop) */
.bc-search-toggle { display: none; }

/* Mobile search bar styles removed — search bar visible on all sizes */

/* Header Actions */
.bc-header__actions { display: flex; align-items: center; gap: 12px; }

.bc-header__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-white);
    background: rgba(255,255,255,0.08);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}
.bc-header__icon:hover { background: rgba(255,255,255,0.15); }
.bc-header__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

.bc-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bc-copper);
    color: var(--bc-white);
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.bc-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.bc-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bc-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* === Responsive === */
@media (max-width: 992px) {
    :root { --bc-header-h: 60px; }
    .bc-header__search { max-width: 280px; }
    .bc-header__icon { width: 36px; height: 36px; }
}

@media (max-width: 576px) {
    .bc-header__inner { gap: 10px; }
    .bc-logo { font-size: 1.15rem; letter-spacing: 1px; }
    .bc-header__icon { width: 34px; height: 34px; }
}

/* Search toggle icon — hidden on desktop, shown on mobile */
.bc-search-toggle { display: none; }

/* Mobile menu */
.bc-menu-toggle { display: none; }
@media (max-width: 768px) {
    .bc-menu-toggle { display: inline-flex; }
    .bc-search-toggle { display: flex; }
    .bc-header__search { display: none; }
}

/* Mobile expandable search bar */
.bc-mobile-search {
    display: none;
    position: absolute;
    top: var(--bc-header-h);
    left: 0; right: 0;
    background: rgba(27, 59, 43, 0.98);
    backdrop-filter: blur(12px);
    padding: 12px clamp(16px, 4vw, 60px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bc-mobile-search--open { display: block; }
.bc-mobile-search__form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    overflow: hidden;
}
.bc-mobile-search__form:focus-within {
    border-color: var(--bc-copper);
    background: rgba(255,255,255,0.15);
}
.bc-mobile-search__form input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--bc-white);
    font-family: var(--bc-font-body);
    font-size: 0.9375rem;
    padding: 12px 16px;
}
.bc-mobile-search__form input[type="text"]::placeholder { color: rgba(255,255,255,0.5); }
.bc-mobile-search__form button {
    width: 42px; height: 42px;
    background: var(--bc-forest);
    border: none;
    border-radius: 50%;
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-white);
    cursor: pointer;
    flex-shrink: 0;
}
.bc-mobile-search__form button:hover { background: var(--bc-pine); }

.bc-mobile-nav {
    display: none;
    position: absolute;
    top: var(--bc-header-h);
    left: 0; right: 0;
    background: rgba(27, 59, 43, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bc-mobile-nav--open { display: block; }
.bc-mobile-nav__inner {
    display: flex; flex-direction: column;
    max-width: var(--bc-container);
    margin: 0 auto;
    padding: 8px clamp(16px, 4vw, 60px) 16px;
}
.bc-mobile-nav__inner a {
    display: block; padding: 12px 0;
    font-family: var(--bc-font-heading);
    font-size: 0.9375rem; font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-decoration: none; letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.15s;
}
.bc-mobile-nav__inner a:last-child { border-bottom: none; }
.bc-mobile-nav__inner a:hover { color: var(--bc-copper); }
