/*
Theme Name: Basecamp Brewing V4
Theme URI: https://basecampbrewing.ca
Author: OpenAI
Description: Brand-matched WordPress theme for Base Camp Brewing with refined Events and VIP pages.
Version: 4.0.1
License: GPL v2 or later
Text Domain: basecamp-brewing
*/

:root {
  --bc-black: #000000;
  --bc-bg: #121318;
  --bc-panel: #171920;
  --bc-panel-2: #1f222b;
  --bc-white: #f7f2ea;
  --bc-text: #ded8cf;
  --bc-muted: #aaa39a;
  --bc-line: rgba(255,255,255,0.09);
  --bc-orange: #f46d11;
  --bc-orange-2: #ff7b16;
  --bc-red: #e8422e;
  --bc-teal: #087f72;
  --bc-teal-dark: #075d55;
  --bc-green: #123f31;
  --bc-radius: 24px;
  --bc-shadow: 0 20px 70px rgba(0,0,0,0.36);
  --bc-max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bc-bg); color: var(--bc-white); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 36px), var(--bc-max)); margin: 0 auto; }
.skip-link { position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus { left:16px; top:16px; width:auto; height:auto; z-index:99999; background:#fff; color:#000; padding:10px; }
.pattern-bg { background-color: #15161c; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(125deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0) 55%); background-size: 22px 22px, 22px 22px, 100% 100%; }
.topo-bg { background: linear-gradient(rgba(244,109,17,0.88), rgba(244,109,17,0.88)), url('https://basecampbrewing.ca/wp-content/uploads/2025/10/ChatGPT-Image-Oct-17-2025-10_38_03-AM.png') center/cover; }
.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-bar, .page-bar { background: var(--bc-teal); color: var(--bc-orange-2); text-align: center; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.page-bar h1, .section-bar h2 { margin: 0; font-family: Oswald, Inter, sans-serif; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: 0.01em; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--bc-orange-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; }
h1, h2, h3, h4, .button, .site-title, .menu a { font-family: Oswald, Inter, sans-serif; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; margin: 0 0 18px; }
h3 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
p { color: var(--bc-text); margin: 0 0 16px; }
.lead { font-size: 18px; color: #f2ede5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: 0.25s ease; text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; }
.button-primary { background: var(--bc-orange); color: #101010; }
.button-primary:hover { transform: translateY(-1px); background: var(--bc-orange-2); }
.button-outline { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.04); color: var(--bc-white); }
.button-outline:hover { background: rgba(255,255,255,0.08); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(0,0,0,0.96); border-bottom: 1px solid rgba(255,255,255,0.05); }
.header-inner { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.branding img, .custom-logo { max-height: 92px; width: auto; }
.site-title { margin: 0; color: #fff; font-size: 28px; }
.site-tagline { margin: 6px 0 0; color: var(--bc-orange-2); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.header-right { display: flex; align-items: center; gap: 18px; }
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; }
.main-navigation a { color: #fff; font-size: 14px; letter-spacing: 0.02em; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--bc-orange-2); }
.header-cart { color:#fff; border:1px solid rgba(255,255,255,.14); padding:8px 14px; border-radius:999px; font-family:Oswald,Inter,sans-serif; text-transform:uppercase; font-size:13px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: transparent; color: #fff; }
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(rgba(8,8,10,0.5), rgba(8,8,10,0.76)), url('https://basecampbrewing.ca/wp-content/uploads/2025/08/Base-Camp-Brewing-6-2-scaled.jpg') center/cover; }
.hero-inner { position: relative; z-index: 1; min-height: 76vh; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; padding: 92px 0; }
.hero-copy { max-width: 740px; }
.hero-copy h1 { font-size: clamp(58px, 8vw, 104px); line-height: 0.94; margin: 0 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-card { background: rgba(15,17,22,0.88); border: 1px solid rgba(255,255,255,0.1); border-radius: 28px; padding: 28px; box-shadow: var(--bc-shadow); }
.quick-grid { display: grid; gap: 14px; }
.quick-item { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; }
.quick-item:first-child { border-top: 0; padding-top: 0; }
.quick-item strong { display: block; color: var(--bc-orange-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 6px; }
.value-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.value-pill { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #f8f2e8; font-size: 14px; }
.grid-2, .grid-3, .grid-4, .product-grid, .beer-grid, .info-grid, .team-grid, .faq-grid, .gallery-grid, .events-grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.beer-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: 1.05fr 0.95fr; }
.team-grid { grid-template-columns: repeat(2, 1fr); }
.faq-grid { grid-template-columns: 0.9fr 1.1fr; }
.gallery-grid { grid-template-columns: 1.25fr .85fr .85fr; }
.events-grid { grid-template-columns: 1fr; }
.card, .feature-card, .beer-card, .product-card, .team-card, .faq-card, .entry-card, .cta-card, .hours-card, .gallery-card, .event-card, .vip-perk-card, .vip-tier-card { background: var(--bc-panel); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); box-shadow: var(--bc-shadow); }
.feature-card, .team-card, .faq-card, .entry-card, .cta-card, .hours-card { padding: 28px; }
.gallery-card { overflow:hidden; min-height: 260px; }
.gallery-card img { width:100%; height:100%; object-fit:cover; }
.gallery-card.tall { grid-row: span 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #111319; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 22px; text-align: center; }
.stat strong { display: block; font-family: Oswald, Inter, sans-serif; color: var(--bc-orange-2); font-size: 38px; line-height: 1; margin-bottom: 8px; }
.section-title-center { text-align: center; max-width: 860px; margin: 0 auto 34px; }
.product-card, .beer-card, .event-card { overflow: hidden; }
.product-thumb, .beer-thumb { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)); padding: 30px 24px 10px; display: flex; justify-content: center; align-items: center; min-height: 430px; }
.product-thumb img, .beer-thumb img { max-height: 420px; width: auto; object-fit: contain; }
.product-body, .beer-body { padding: 24px; }
.product-meta, .beer-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; color: var(--bc-orange-2); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.product-price { color: #ffe0bf; font-weight: 700; }
.team-card { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start; }
.team-photo { width: 150px; height: 150px; border-radius: 999px; overflow: hidden; border: 2px solid rgba(255,255,255,0.08); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero { text-align: center; background: #f4f0eb; color: #111; padding: 58px 0; }
.about-hero h2, .about-hero h3, .about-hero p { color: inherit; }
.about-hero h2 { color: var(--bc-orange-2); font-size: clamp(42px, 6vw, 72px); }
.faq-item h4 { margin: 0 0 8px; color: #fff; font-size: 24px; }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 34px; }
.cta-avatar { width: 60px; height: 60px; border-radius: 999px; overflow: hidden; }
.cta-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* EVENTS */
.events-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--bc-line); }
.events-hero-bg { position: absolute; inset: 0; background: linear-gradient(rgba(8,8,10,0.55), rgba(8,8,10,0.78)), url('https://basecampbrewing.ca/wp-content/uploads/2025/08/Base-Camp-Brewing-20-scaled.jpg') center/cover; }
.events-hero-inner { position: relative; z-index: 1; padding: 96px 0 72px; text-align: center; }
.events-hero h1 { font-size: clamp(48px, 7vw, 88px); margin: 0 0 16px; }
.events-hero p { max-width: 640px; margin: 0 auto; color: #f0e9df; }
.event-card { display: grid; grid-template-columns: 160px 1fr; gap: 0; align-items: stretch; }
.event-date { background: var(--bc-orange); color: #111; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.event-date .month { font-family: Oswald, Inter, sans-serif; font-size: 16px; text-transform: uppercase; letter-spacing: 0.14em; line-height: 1; }
.event-date .day { font-family: Oswald, Inter, sans-serif; font-size: 56px; line-height: 1; margin: 4px 0; }
.event-date .year { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.event-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.event-time { color: var(--bc-orange-2); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.event-body h3 { margin: 0; font-size: 26px; }
.event-body p { margin: 0; }
.event-cta { margin-top: auto; padding-top: 14px; }
.event-cta a { display: inline-flex; align-items: center; gap: 8px; color: var(--bc-orange-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; }
.events-empty { text-align: center; padding: 60px 0; color: var(--bc-muted); }
.events-cta { text-align: center; margin-top: 40px; }

/* VIP */
.vip-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.08); }
.vip-hero-bg { position: absolute; inset: 0; background: linear-gradient(rgba(7,93,85,0.82), rgba(7,93,85,0.92)), url('https://basecampbrewing.ca/wp-content/uploads/2025/08/Base-Camp-Brewing-18-scaled.jpg') center/cover; }
.vip-hero-inner { position: relative; z-index: 1; padding: 110px 0 80px; text-align: center; }
.vip-hero .vip-badge { display: inline-block; padding: 8px 18px; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; color: #fff; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.vip-hero h1 { color: #fff; font-size: clamp(48px, 7vw, 96px); line-height: 0.95; margin: 0 0 18px; }
.vip-hero p { color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto; font-size: 18px; }
.vip-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.vip-perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vip-perk-card { padding: 28px; text-align: left; }
.vip-perk-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bc-teal-dark); color: var(--bc-orange-2); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.vip-perk-card h3 { font-size: 22px; margin: 0 0 8px; }
.vip-perk-card p { margin: 0; color: var(--bc-muted); font-size: 15px; }
.vip-pricing { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 760px; margin: 0 auto; }
.vip-tier-card { padding: 36px; text-align: center; border: 1px solid rgba(244,109,17,0.4); }
.vip-tier-card .tier-name { color: var(--bc-orange-2); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
.vip-tier-card .tier-price { font-family: Oswald, Inter, sans-serif; font-size: 72px; line-height: 1; color: #fff; }
.vip-tier-card .tier-price small { font-size: 24px; color: var(--bc-muted); }
.vip-tier-card .tier-cycle { color: var(--bc-muted); margin: 6px 0 22px; }
.vip-tier-features { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.vip-tier-features li { padding: 10px 0 10px 28px; position: relative; color: var(--bc-text); border-bottom: 1px solid rgba(255,255,255,0.06); }
.vip-tier-features li:last-child { border-bottom: 0; }
.vip-tier-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; background: var(--bc-orange); border-radius: 999px; }
.vip-faq { max-width: 760px; margin: 0 auto; }
.vip-faq-item { background: var(--bc-panel); border: 1px solid var(--bc-line); border-radius: 18px; padding: 22px 26px; margin-bottom: 14px; }
.vip-faq-item h4 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.vip-faq-item p { margin: 0; color: var(--bc-muted); }

.vip-section { position: relative; overflow: hidden; }
.vip-bg { position: absolute; inset: 0; background: linear-gradient(rgba(8,8,8,0.45), rgba(8,8,8,0.56)), url('https://basecampbrewing.ca/wp-content/uploads/2025/08/Base-Camp-Brewing-18-scaled.jpg') center/cover; }
.vip-inner { position: relative; z-index: 1; padding: 80px 0; }
.vip-card { max-width: 980px; margin: 0 auto; background: rgba(8,127,114,0.96); border: 1px solid rgba(255,255,255,0.18); border-radius: 28px; padding: 34px; box-shadow: var(--bc-shadow); }
.vip-card h2, .vip-card h3, .vip-card h4, .vip-card p, .vip-card li { color: #101318; }
.vip-card .vip-subhead { color: var(--bc-orange-2); font-size: 30px; margin-top: 26px; }
.vip-card ul { margin: 0 0 16px 22px; padding: 0; }

.site-footer { background: #000; border-top: 8px solid var(--bc-teal); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { margin: 0 0 18px; color: #fff; font-size: 24px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 12px; color: #fff; }
.footer-logo { margin-bottom: 18px; }
.footer-logo img { max-height: 92px; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); color: #bbb4a9; font-size: 14px; }
.archive-wrap, .page-wrap, .single-wrap { padding: 56px 0 86px; }
.entry-card h1, .entry-card h2, .entry-card h3, .entry-card h4, .entry-card strong { color: #fff; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: var(--bc-panel); border: 1px solid var(--bc-line); border-radius: 22px; padding: 18px; }
.woocommerce ul.products li.product a img { border-radius: 16px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 999px; background: var(--bc-orange); color: #111; }
.woocommerce span.onsale { background: var(--bc-orange); color: #111; }
.woocommerce div.product .product_title, .woocommerce table.shop_table, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .quantity .qty { color: #fff; background: var(--bc-panel); border-color: var(--bc-line); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--bc-panel-2); border-top-color: var(--bc-orange); color: #fff; }
.age-gate { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.94); }
.age-gate.active { display: flex; }
.age-gate-panel { width: min(100%, 560px); background: #111319; border: 1px solid rgba(255,255,255,0.08); border-radius: 26px; padding: 34px; text-align: center; }
.age-gate-panel h2 { color: var(--bc-orange-2); }
.age-gate-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 1100px) { .hero-inner, .info-grid, .faq-grid, .footer-grid, .grid-4, .grid-3, .product-grid, .team-grid, .beer-grid, .stats, .grid-2, .gallery-grid, .vip-perks-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .header-inner { min-height: 94px; } .header-cart { display:none; } .menu-toggle { display: inline-flex; align-items: center; justify-content: center; } .main-navigation { position: absolute; top: 95px; left: 16px; right: 16px; display: none; background: rgba(0,0,0,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 16px; } .main-navigation.open { display: block; } .main-navigation ul { flex-direction: column; align-items: flex-start; gap: 14px; } .hero-inner, .info-grid, .faq-grid, .footer-grid, .grid-4, .grid-3, .product-grid, .team-grid, .beer-grid, .stats, .grid-2, .gallery-grid, .vip-perks-grid { grid-template-columns: 1fr; } .team-card, .cta-card, .event-card { grid-template-columns: 1fr; } .hero-copy h1 { font-size: clamp(44px, 12vw, 72px); } .page-bar h1, .section-bar h2 { font-size: 42px; } .gallery-card.tall { grid-row: auto; } .event-date { padding: 18px; } .event-date .day { font-size: 44px; } }
/* Responsive stability fixes — v4.0.1 */
.main-navigation { display: block; }
.main-navigation .menu { display: flex; }
.header-inner { position: relative; }
.header-right { min-width: 0; }

@media (min-width: 861px) {
  .menu-toggle { display: none !important; }
  .main-navigation,
  .main-navigation.open { display: block !important; position: static; padding: 0; background: transparent; border: 0; }
  .main-navigation ul,
  .main-navigation .menu { display: flex !important; flex-direction: row; align-items: center; gap: 24px; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
}

@media (min-width: 1101px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .product-grid, .beer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4, .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .gallery-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, .85fr); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vip-perks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .main-navigation { display: none; }
  .main-navigation.open { display: block; }
}
