/*
Theme Name: Shell Knob Chamber Theme
Theme URI: https://shellknob.com
Author: Chamber Dev Team
Description: Custom Chamber Theme for Shell Knob Chamber of Commerce
Version: 9.1
*/

/* =Reset & Base
--------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
caption, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #333;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* =Base Typography
--------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

p {
    margin: 0 0 1.2em;
    line-height: 1.6;
}

/* =Layout
--------------------------------------------- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    max-height: 60px;
}

nav.main-navigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Cards (Businesses, Events) */
.business-card, .event-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 20px;
}

.business-card img, .event-card img {
    max-width: 100%;
    border-radius: 4px;
}

/* Chamber Champions */
.champions img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.champions img:hover {
    filter: none;
}

/* Footer */
footer.site-footer {
    background: #001f2d;
    color: #fff;
    padding: 40px 20px;
}
footer.site-footer a {
    color: #add8e6;
}
footer.site-footer a:hover {
    color: #66b2ff;
}

/* === Cleanup & Overrides (v9.1) === */

/* Slim topbar */
.cs-topbar {
    background-color: #001f2d; /* dark slim bar */
    padding: 2px 10px; /* reduced padding */
    font-size: 13px;
    line-height: 1.2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Default link styling (dark blue) */
a {
    color: #003366;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Special class for links on dark backgrounds */
.link-white,
.cs-topbar a {
    color: #ffffff !important;
}
.link-white:hover,
.cs-topbar a:hover {
    text-decoration: underline;
}

/* Weather box update */
.cs-weather-box {
    background: rgba(173, 216, 230, 0.6) !important; /* light blue 60% transparent */
    border-radius: 6px;
    padding: 12px;
    text-align: center;
}


/* ---- Force-remove .wrap padding (override other theme CSS) ---- */
/* Put this at the end of style.css to ensure it wins. */
.wrap,
html body .wrap,
.site .wrap,
.container .wrap {
  padding: 0 !important;
  margin: 0 auto; /* keep centered layout */
}
/* ==================================================
   SKC Repairs - authoritative overrides (v9.1.1)
   ================================================== */
.wrap { padding: 0 !important; max-width: var(--container); margin: 0 auto; }

.cs-topbar { background: var(--cs-primary); color: #fff; padding: 4px 10px; font-size:13px; display:flex; justify-content:space-between; align-items:center; }
.cs-topbar .left{ font-size:13px; color:rgba(255,255,255,0.85); }
.cs-topbar .right a { color:#fff !important; text-decoration:none; }
.link-white { color:#fff !important; }
.link-white:hover, .cs-topbar a:hover { text-decoration:underline; }

.cs-header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 20px; }
.cs-logo img { max-height:64px; display:block; }
.cs-nav { display:flex; align-items:center; gap:18px; }
.cs-menu { display:flex; gap:12px; align-items:center; margin:0; padding:0; list-style:none; }
.cs-menu li { display:inline-block; }
.cs-menu li a { display:inline-block; padding:8px 10px; color:var(--cs-dark); font-weight:600; text-decoration:none; }
.cs-menu li a:hover { color:var(--cs-accent); }

.cs-cta { background:var(--cs-dark); color:#fff; padding:10px 14px; border-radius:4px; text-decoration:none; margin-left:8px; font-weight:700; }

.cs-hero.parallax { background-attachment: fixed; background-size: cover; background-position: center; position:relative; min-height:420px; display:flex; align-items:center; }
.hero-inner { width:100%; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.hero-title { font-size:110px; letter-spacing:-4px; margin:0; color:#fff; font-weight:900; text-shadow:0 2px 8px rgba(0,0,0,0.5); }
.hero-subtitle { font-size:20px; color:#fff; margin:6px 0 0; font-weight:700; }

.cs-weather-box { background: rgba(179,217,255,0.55); color:#000; border-radius:10px; padding:14px 18px; max-width:420px; text-align:center; box-shadow:0 6px 18px rgba(6,12,20,0.08); border:1px solid rgba(7,39,53,0.06); }
.cs-weather-box h4 { color:#0b1b22; margin:0 0 6px; }
.cs-weather-box .cs-temp, .cs-weather-box .cs-lake-depth { font-size:22px; font-weight:800; color:#3399ff; margin-top:6px; }

.discover-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.business-card { background:#fff; border-radius:6px; padding:18px; border:1px solid rgba(11,27,34,0.04); }
.business-card .title { color:var(--cs-primary); font-weight:700; margin-bottom:8px; }

@media (max-width:900px) {
  .hero-title { font-size:48px; }
  .discover-grid { grid-template-columns:1fr; }
  .cs-nav { gap:8px; }
  .cs-menu { flex-wrap:wrap; }
  .cs-hero.parallax { background-attachment: scroll; }
}
/* Hero adjustments */
.cs-hero.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center bottom;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end; /* content toward bottom */
  justify-content: center;
  text-align: center;
}
.hero-inner { width:100%; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:20px; padding-bottom:40px; }
.hero-title { font-size:90px; margin:0; color:#fff; font-weight:900; text-shadow:0 2px 10px rgba(0,0,0,0.6); }
.hero-subtitle { font-size:22px; color:#fff; margin:5px 0 0; font-weight:600; }

/* Two-column discover+events */
.discover-events-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
@media (max-width: 900px) {
  .discover-events-grid {
    grid-template-columns: 1fr;
  }
}

/* Business card redesign */
.business-card {
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}
.biz-thumb img { width: 100%; height: 180px; object-fit: cover; display:block; }
.biz-info {
  background: #000;
  color: #fff;
  padding: 10px;
  border-top: 3px solid #000;
}
.biz-name { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #fff; }
.biz-phone, .biz-email { margin: 0; font-size: 14px; color:#fff; }

/* Events column */
.events-col .event-card { background:#fff; padding:14px; border:1px solid rgba(0,0,0,0.1); margin-bottom:15px; border-radius:6px; }
/* Tiny Topbar */
.cs-tiny-topbar {
  background: var(--cs-primary, #004aad);
  color: #fff;
  font-size: 13px;
  padding: 4px 12px;
}
.cs-tiny-topbar .tiny-topbar-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.cs-tiny-topbar a {
  color:#fff !important;
  text-decoration:none;
}
.cs-tiny-topbar a:hover { text-decoration:underline; }

/* Sticky header nav */
.cs-header { position: sticky; top: 0; z-index: 999; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.08); }

/* Buttons in nav */
.cs-cta, .cs-login-btn {
  background: var(--cs-dark, #222);
  color:#fff !important;
  padding:10px 14px;
  border-radius:4px;
  text-decoration:none;
  margin-left:10px;
  font-weight:700;
}
.cs-cta:hover, .cs-login-btn:hover { background: var(--cs-accent,#004aad); }

/* Hero styling */
.cs-hero.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center bottom;
  min-height: 550px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  text-align:center;
}
.hero-inner { width:100%; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:18px; padding-bottom:60px; }
.hero-welcome {
  font-family: "Brush Script MT", cursive;
  font-size: 32px;
  color:#fff;
  margin:0;
  text-shadow:0 2px 8px rgba(0,0,0,0.6);
}
.hero-title {
  font-size:120px;
  margin:0;
  color:#fff;
  font-weight:900;
  text-shadow:0 3px 12px rgba(0,0,0,0.7);
  animation: fadeInUp 1.2s ease-out forwards;
}
.hero-subtitle {
  font-size:26px;
  color:#fff;
  margin-top:8px;
  font-weight:600;
  text-shadow:0 2px 8px rgba(0,0,0,0.6);
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(40px); }
  to { opacity:1; transform:translateY(0); }
}

/* Logo */
.cs-logo img { width:100px; height:100px; object-fit:contain; }


/* Hero centered adjustments */
.cs-hero.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  min-height: 550px;
  display:flex;
  align-items:center;   /* center vertically */
  justify-content:center; /* center horizontally */
  text-align:center;
}
.hero-inner { width:100%; display:flex; align-items:center; justify-content:center; }
.hero-content {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px; /* tighter vertical spacing */
  max-width:700px;
  padding:20px;
  background:rgba(0,0,0,0.35); /* subtle overlay */
  border-radius:12px;
}
.hero-welcome {
  font-family:"Brush Script MT", cursive;
  font-size:28px;
  color:#fff;
  margin:0;
  text-shadow:0 2px 6px rgba(0,0,0,0.6);
}
.hero-title {
  font-size:110px;
  margin:0;
  line-height:1.1;
  color:#fff;
  font-weight:900;
  text-shadow:0 3px 10px rgba(0,0,0,0.7);
  animation: fadeInUp 1.2s ease-out forwards;
}
.hero-subtitle {
  font-size:22px;
  color:#fff;
  margin:0;
  font-weight:600;
  text-shadow:0 2px 8px rgba(0,0,0,0.6);
}
.cs-weather-box {
  margin-top:14px;
}
/* Hero: show more of bridge */
.cs-hero.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center 70%; /* move view down to show bridge */
  min-height: 550px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* Business card redesign */
.discover-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .discover-grid { grid-template-columns:1fr; }
}

.business-card {
  background:#f5f5f5;
  border:1px solid #ddd;
  border-radius:6px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-align:center;
  height: 100%;
}
.biz-thumb img {
  width:100%;
  height:200px;
  object-fit:cover; /* crop consistently */
  display:block;
}
.biz-info {
  background: #ededed;
  padding:12px;
  flex:1;
}
.biz-name {
  font-size:18px;
  font-weight:700;
  margin:0 0 6px;
  color:#000;
}
.biz-phone, .biz-email {
  margin:0;
  font-size:14px;
  color:#000;
}
/* Business card hover effects */
.business-card {
  background:#f5f5f5;
  border:1px solid #ddd;
  border-radius:6px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-align:center;
  height: 100%;
  transition: all 0.3s ease;
}
.business-card:hover {
  transform: translateY(-6px);
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
  border-color: #ccc;
}

.biz-thumb img {
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  transition: transform 0.4s ease;
}
.business-card:hover .biz-thumb img {
  transform: scale(1.05);
}
/* Lake Levels styling */
.cs-lake-depth {
  background: rgba(179,217,255,0.55);
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(6,12,20,0.08);
  border: 1px solid rgba(7,39,53,0.06);
  margin-top: 10px;
}
.cs-lake-elev {
  font-size: 26px;
  font-weight: 800;
  color: #004aad;
  margin-bottom: 6px;
}
.cs-lake-datetime {
  font-size: 13px;
  color: #222;
  margin-bottom: 4px;
}
.cs-lake-tail, .cs-lake-release {
  font-size: 14px;
  color: #333;
  margin: 2px 0;
}
/* SKC lake-levels styling */
.cs-lake-depth {
  display:block;
  background: rgba(179,217,255,0.60);
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(6,12,20,0.08);
  border: 1px solid rgba(7,39,53,0.06);
  margin-top: 12px;
}
.cs-lake-elev {
  font-size: 30px;
  font-weight: 900;
  color: #004aad;
  margin-bottom: 6px;
}
.cs-lake-datetime {
  font-size: 13px;
  color: #222;
  margin-bottom: 6px;
}
.cs-lake-tail, .cs-lake-release {
  font-size: 14px;
  color: #222;
  margin: 2px 0;
}
/* Responsive header */
.cs-header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.cs-category-search {
  flex:1;
  text-align:center;
}
.cs-category-search select {
  padding:6px 10px;
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
}

/* Why Join section */
.why-join {
  margin:60px 0;
}
.why-join-content {
  display:flex;
  gap:30px;
  align-items:center;
}
.why-join-image img {
  max-width:300px;
  border-radius:8px;
}
.why-join-text ul {
  list-style:none;
  padding:0;
  margin:0 0 20px;
}
.why-join-text li {
  margin:6px 0;
  font-size:16px;
  font-weight:600;
}
@media(max-width:900px) {
  .cs-header-inner { flex-wrap:wrap; }
  .cs-category-search { order:3; width:100%; margin-top:10px; }
  .cs-nav { width:100%; justify-content:center; flex-wrap:wrap; }
  .why-join-content { flex-direction:column; text-align:center; }
}

