/* ===============================
   SAND RIDGE STONEWORKS – BASE CSS
   Drop this into your Custom CSS area.
   =============================== */

/* ---- Theme tokens ---- */
:root{
  --srs-beige:#eadfce;   /* header background */
  --srs-brown:#6c4a3a;   /* accents/underlines */
  --srs-ink:#1d1b16;     /* text */
  --srs-muted:#6b6b6b;   /* secondary text */
  --srs-panel:#f6efe5;   /* cards / light panels */
}

/* ---- Base typography / elements ---- */
html { scroll-behavior: smooth; }
body {
  color: var(--srs-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; display: block; }

/* ===============================
   HEADER (your existing structure)
   - Makes the top strip sticky
   - Hides redundant buttons
   - Centers logo
   - Styles nav as full-width spread
   =============================== */

/* Top strip with logo only (sticky) */
.header-info{
  position: sticky;
  top: 0;
  z-index: 1030; /* above content */
  background: var(--srs-beige);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.header-info .row{ min-height: 72px; }

/* Hide redundant Contact/Email buttons from your snippet */
.header-business-phone,
.header-business-text{
  display: none !important;
}

/* Logo size (you already had this rule) */
.header-info-logo-img img{ width: 200px; }

/* Navigation bar immediately below header (Bootstrap) */
.header .navbar{
  background: var(--srs-beige);
  border-top: 1px solid rgba(0,0,0,.06);
}

/* Spread nav links edge-to-edge */
.header .navbar .navbar-nav{
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

/* Style links consistently for dark/light navbar variants */
.header .navbar-dark .navbar-nav .nav-link,
.header .navbar-light .navbar-nav .nav-link{
  color: var(--srs-ink) !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  transition: border-color .15s ease, opacity .15s ease;
}
.header .navbar .nav-link:hover,
.header .navbar .nav-link.active{
  border-bottom-color: var(--srs-brown);
}

/* Mobile: center links when stacked */
@media (max-width: 576px){
  .header .navbar .navbar-nav{
    justify-content: center;
    gap: 10px 18px;
  }
}

/* Optional: subtle shadow after scrolling (works if header-info is sticky) */
body.scrolled .header-info{
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* ===============================
   HERO (works with your cw-hero markup)
   =============================== */

.cw-hero{
  position: relative;
  padding: 4em 0;
}
@media(min-width: 992px){
  .cw-hero{ padding: 12em 0; }
}

/* Dark overlay already defined via :after in your snippet; keep text readable */
.cw-hero .cw-text{
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.cw-hero .cw-overlay{
  position: absolute;
  bottom: -1px; left: 0; width: 100%; z-index: 2;
}

/* Tidy hero buttons (Bootstrap .btn) */
.cw-hero .btn{
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .6rem 1rem;
  border: none;
}
.cw-hero .btn-primary{
  background: #ffd166;  /* soft gold */
  color: #111;
}
.cw-hero .btn-primary:hover{
  filter: brightness(1.05);
}

/* ===============================
   CATEGORY GRID (optional utility)
   Use this anywhere in a container.
   Markup example:
   <div class="row g-4 row-cols-1 row-cols-md-2 row-cols-lg-3 srs-grid"> ... </div>
   Each card: <a class="srs-card d-block"> <div class="srs-card-frame"> <img ...> <div class="srs-cap">Label</div></div></a>
   =============================== */

.srs-card{
  position: relative;
  background: var(--srs-panel);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .12s ease;
}
.srs-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.20);
}
.srs-card-frame{
  position: relative;
  border: 2px solid #e0d6c7;
  border-radius: 10px;
  overflow: hidden;
}
.srs-card-frame::before,
.srs-card-frame::after{
  content:"";
  position: absolute;
  top: 18px; bottom: 18px; width: 12px;
  background: linear-gradient(#eadfce,#f6efe5);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.srs-card-frame::before{ left: -8px; border-radius: 8px; }
.srs-card-frame::after{ right: -8px; border-radius: 8px; }
.srs-card img{ width: 100%; height: 240px; object-fit: cover; }
.srs-cap{
  position: absolute;
  left: 26px; right: 26px; bottom: 18px;
  background: #fff;
  border: 3px solid var(--srs-brown);
  color: var(--srs-brown);
  text-align: center;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 12px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

/* ===============================
   UTILITIES / SMALL TWEAKS
   =============================== */

/* Section heading style for consistency */
.srs-section-title{
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1.1rem;
  margin-bottom: .75rem;
  color: var(--srs-ink);
}

/* Footer idea (optional) */
.srs-footer{
  color: var(--srs-muted);
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 24px 0;
  text-align: center;
}
/* ===============================
   NAV LINK COLOR / HOVER FIX
   =============================== */

/* Default link style */
.header .navbar .nav-link {
  color: var(--srs-ink) !important;   /* dark brown/charcoal */
  background: var(--srs-beige);       /* matches header background */
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  padding: 14px 20px;
  border-bottom: 3px solid transparent;
  transition: all .15s ease;
}

/* Hover / active underline + slight shade */
.header .navbar .nav-link:hover,
.header .navbar .nav-link.active {
  color: var(--srs-ink) !important;
  border-bottom-color: var(--srs-brown) !important;
  background: #f2e8d8; /* slightly darker beige */
}

/* Optional: remove ugly black focus outline */
.header .navbar .nav-link:focus {
  outline: none;
  box-shadow: none;
}