:root{
  --bs-primary:#c1ac8d;
  --bs-primary-rgb:193, 172, 141;
  --bs-link-color:#5b4630;
  --bs-link-hover-color:#3f2f1f;
  --bsbs-accent:#c1ac8d;
  --bsbs-soft:#f8f9fa;
}



body{
  scroll-behavior:smooth;
}

.navbar-brand{
  letter-spacing:.2px;
}

.hero{
  background: radial-gradient(1200px circle at 20% 10%, rgba(193, 172, 141,.12), transparent 50%),
              radial-gradient(1200px circle at 80% 0%, rgba(25,135,84,.10), transparent 45%),
              linear-gradient(180deg, #ffffff, #f8fafc);
}

.hero .display-5{
  letter-spacing:-.5px;
}

.section{
  padding: 4.5rem 0;
}

.section-muted{
  background: var(--bsbs-soft);
}

.badge-soft{
  background: rgba(193, 172, 141,.10);
  color: #6b5a43;
  border: 1px solid rgba(193, 172, 141,.18);
}

.card-hover{
  transition: transform .15s ease, box-shadow .15s ease;
}
.card-hover:hover{
  transform: translateY(-2px);
  box-shadow: 0 .6rem 1.2rem rgba(0,0,0,.08);
}

.icon-circle{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(193, 172, 141,.10);
  color: #6b5a43;
  flex: 0 0 auto;
}

.gallery-tile{
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}
.gallery-tile img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display:block;
}
.gallery-tile .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65));
  opacity: 0;
  transition: opacity .15s ease;
}
.gallery-tile:hover .overlay{
  opacity: 1;
}
.gallery-tile .caption{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color:#fff;
  font-size:.95rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
}
.gallery-tile:hover .caption{
  opacity: 1;
  transform: translateY(0);
}

a.contact-href { color: #6f745f; text-decoration:none; font-weight: 600;}
a.contact-href:hover{ text-decoration:underline; }

.small-muted{ color: rgba(33,37,41,.70); }

.form-hint{ font-size: .9rem; color: rgba(33,37,41,.70); }
/* Desktop typography: +25% for readability */
@media (min-width: 992px) {
  html { font-size: 125%; }
}

/* Primary buttons: tan background + black text (better contrast) */
.btn-primary {
  --bs-btn-color: #000;
  --bs-btn-bg: #c1ac8d;
  --bs-btn-border-color: #a58f72;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #b79f80;
  --bs-btn-hover-border-color: #a58f72;
  --bs-btn-focus-shadow-rgb: 90, 70, 48;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #b79f80;
  --bs-btn-active-border-color: #a58f72;
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #c1ac8d;
  --bs-btn-disabled-border-color: #a58f72;
}

/* Improve outline button contrast */
.btn-outline-primary {
  --bs-btn-color: #5b4630;
  --bs-btn-border-color: #a58f72;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #c1ac8d;
  --bs-btn-hover-border-color: #a58f72;
}

/* Softer badge + icon accents with improved contrast */
.badge-soft{
  background: rgba(193, 172, 141, .22);
  color: #5b4630;
  border: 1px solid rgba(193, 172, 141, .45);
}
.icon-circle{
  background: rgba(193, 172, 141, .22);
  color: #5b4630;
}

/* Header underline accent */
.navbar{
  border-bottom: none !important;
}

/* Keep sticky behavior (Bootstrap .sticky-top) */
.navbar.sticky-top{
  position: sticky;
  top: 0;
  /* Increased from 1020 to prevent conflict with bootstrap sticky on Products page side menu */
  z-index: 1050;
}

.navbar.sticky-top::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background: var(--accent-line);
  pointer-events:none;
}


/* === Visual polish layer === */

/* Soft warm section backgrounds */
.section-warm {
  background: #faf8f4;
}

/* Elevated but soft cards */
.card {
  border-radius: 1rem;
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.06);
}

/* Section headings with subtle olive accent */
.section h2,
.section h3 {
  color: #3a3a3a;
  position: relative;
}


/* Icon accent refinement */
.icon-circle {
  background: rgba(111,116,95,.18);
  color: #3f442f;
}

/* Testimonials visual cue */
.testimonial-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: #6f745f;
  opacity: .35;
}

/* Hero depth enhancement */
.hero {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.92),
    rgba(250,248,244,.92)
  );
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 1;
}

/* Hero headline refinement */
.hero .display-5{
  line-height: 1.08;
}

/* Footer olive divider */
.footer-accent{
  height: 4px;
  background: rgba(111,116,95,.75);
}

/* Top header branding block */
.site-top-header{
  border-bottom: 0px; /* fix 1px white line just above sticky menu */
}
.site-top-header .top-logo{
  height: 168px; /* prominent but not overwhelming */
  width: auto;
}
.site-top-header .top-title{
  font-size: 2.7rem;
  letter-spacing: .2px;
  color: #2f2f2f;
}
.site-top-header .top-tagline{
  font-size: 1.0rem;
  color: #6f745f; /* soft olive accent */
}


/* Top header layout refinements */
.site-top-header .top-text{ text-align:center; }

/* Company name font */
.site-top-header .top-title{
  font-family: "Baskerville Old Face", "Libre Baskerville", "Times New Roman", serif;
}

/* Mobile header improvements */
@media (max-width: 767.98px){
  .site-top-header .row{
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: .75rem;
  }
  .site-top-header .col-auto{
    width: 100%;
    display: flex;
    justify-content: center;
  }
  /* Keep logo from dominating the header on small screens */
  .site-top-header .top-logo{
    height: auto;
    width: min(25vw, 140px);  /* ~25% of viewport width, capped */
    max-width: 25vw;
  }
  /* Scale down name/tagline for better fit */
  .site-top-header .top-title{
    font-size: 1.9rem; /* down from desktop 2.7rem */
    line-height: 1.05;
  }
  .site-top-header .top-tagline{
    font-size: 1.0rem;
  }
}

@media (max-width: 575.98px){
  .site-top-header{
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
  }
}

/* Tablet header refinements (768px–1000px) */
@media (min-width: 768px) and (max-width: 1000px){
  .site-top-header .top-logo{
    width: 30vw;      /* ~30% of viewport width */
    max-width: 220px; /* cap so it doesn’t overpower */
    height: auto;
  }
  .site-top-header .top-title{
    font-size: 2.2rem; /* slightly smaller than desktop */
  }
}

/* Lift header title + tagline together (tablet + desktop) */
@media (min-width: 768px){
  .site-top-header .top-text-wrap{
    transform: translateY(-5%);
    line-height: 1.2;
  }
}

/* Compact sticky navbar height */
.navbar.sticky-top{
  --bs-navbar-padding-y: 0.1rem;
}

/* Slim navbar: refine nav link typography + hover states */
.navbar .nav-link{
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: .2px;
  padding-top: .35rem;
  padding-bottom: .35rem;
  border-radius: .5rem;
}
@media (min-width: 992px){
  .navbar .nav-link{
    font-size: 1.02rem;
  }
}

/* Refined navbar hover + active states (no background wash) */
.navbar .nav-link{
  position: relative;
  transition: color .15s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{
  /* color: #cab99e; */
  color: #a9ac9f;
}

/* Active indicator: thin olive underline only */
.navbar .nav-link.active::after{
  content:"";
  position:absolute;
  left:0.75rem;
  right:0.75rem;
  bottom:0.2rem; /* move underline closer to text */
  height:2px;
  background:#6f745f;
  border-radius:2px;
}

@media (min-width: 992px) {
  .mb-lg-0 {
    margin-bottom: 0.4rem !important;
  }
}

/* Navbar brand text (appears only when sticky) */
.navbar-brand-text{
  font-family: "Baskerville Old Face", "Libre Baskerville", "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: .3px;
  color: #2f2f2f;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

/* When navbar is stuck */
.navbar.is-stuck .navbar-brand-text{
  opacity: 1;
  transform: translateY(0);
}


/* Sticky sentinel (used to detect when navbar is stuck) */
#sticky-sentinel{
  position: absolute;
  top: 0;
  height: 0;
  width: 100%;
  pointer-events: none;
  visibility: hidden;
}

/* Mobile / collapsed navbar refinements */
@media (max-width: 991.98px){
  /* Add breathing room above/below hamburger */
  .navbar .navbar-toggler{
    padding-top: .5rem;
    padding-bottom: .5rem;
  }

  /* Increase brand text size when hamburger is visible */
  .navbar.is-stuck .navbar-brand-text{
    font-size: 1.5rem;
    line-height: 1.1;
  }
}

/* Add vertical padding to navbar container when hamburger is visible */
@media (max-width: 991.98px){
  .navbar > .container,
  .navbar > .container-fluid{
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
}

/* Shared accent line style */
:root{
  --accent-line: linear-gradient(
    90deg,
    rgba(193,172,141,0.15),
    rgba(193,172,141,0.85),
    rgba(193,172,141,0.15)
  );
}

/* Header bottom accent line (matches navbar) */
.site-top-header{
  position: relative;
}
.site-top-header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background: var(--accent-line);
  pointer-events:none;
}

/* Dim content beneath semi-transparent navbar */
.navbar{
  background-color: rgba(224,214,198,0.75) !important;

  backdrop-filter: blur(6px) brightness(1.0);
  -webkit-backdrop-filter: blur(6px) brightness(1.0);
}

/* Hero carousel */
#heroCarousel img{
  height: 420px;
  object-fit: cover;
}
@media (max-width: 991.98px){
  #heroCarousel img{
    height: 320px;
  }
}

/* Desktop hero text scale-down (>=1000px) */
@media (min-width: 1000px){
  .hero .display-5{
    font-size: 2.35rem; /* reduced from Bootstrap default */
    line-height: 1.08;
  }
  .hero .lead{
    font-size: 1.05rem;
  }
  .hero .badge{
    font-size: .9rem;
  }
}

/* Center the promo panel vertically within its section */
.section.pt-0{
  min-height: 320px;
}
@media (min-width: 992px){
  .section.pt-0{
    min-height: 380px;
  }
}

/* Ensure hero promo section has height so vertical centering works */
.section.pt-0{
  min-height: 300px;
}
@media (min-width: 992px){
  .section.pt-0{
    min-height: 340px;
  }
}

/* Reduce bottom blank area under promo panel */
.section.pt-0{
  padding-bottom: 1.5rem;
}
@media (min-width: 992px){
  .section.pt-0{
    padding-bottom: 1.2rem;
  }
}

/* Further tighten promo section vertical padding */
.section.pt-0{
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
@media (min-width: 992px){
  .section.pt-0{
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }
}

/* Emphasize call/serving line on home page */
.home-callout{
  font-size: 1.1rem;
}
@media (min-width: 992px) {
  .home-callout {
    font-size: 1.1rem;
  }
}

/* Footer copyright styling */
.footer-copy{
  display: block;
  text-align: center;
  font-size: 0.85rem;
}

/* Home cards: stacked icon/title row + full-width text */
.card-head-row{
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}
.card-head-row .icon-circle{
  flex-shrink: 0;
}
.card-body-text{
  margin-left: 0;
}
.card-body-text ul{
  padding-left: 1.1rem;
  margin-bottom: 0;
}

/* Home: category cards - stacked header row (icon + title) */
.card-head-row{
  display: flex;
  align-items: center;
  gap: .75rem;
}
.card-head-row .icon-circle{
  flex: 0 0 auto;
}

/* Tighter, cleaner list spacing inside cards */
.card-body ul{
  padding-left: 1.05rem;
  margin-top: .25rem;
}
.card-body ul li{
  margin-bottom: .25rem;
  line-height: 1.25;
}

/* Home: ensure category cards align nicely in a single row on md+ */
.section-warm .row > [class*="col-"]{
  display: flex;
}
.section-warm .card{
  width: 100%;
}

/* Prevent active indicator from spanning full width in collapsed (hamburger) menu */
@media (max-width: 991.98px){
  /* make links hug their text so underline looks like desktop */
  .navbar-nav .nav-link{
    display: inline-block;
    padding: 0.25rem 1rem;
  }
  /* add unique hover styling */
  .navbar-nav .nav-link:hover {
    color: white !important;
    background: #b79f80 !important;
  }
  /* fix issue with underline pseudo-element width */
  .navbar-nav .nav-link::after{
    width: 60% !important;
    left: 20% !important;
  }
  /* if active styling was using a full-width background/stripe, neutralize it */
  .navbar-nav .nav-link.active,
  .navbar-nav .nav-link[aria-current="page"]{
    background: transparent !important;
  }

}

/* Make the opened mobile menu panel more readable with color and radiused border */
@media (max-width: 991.98px){
  .navbar-collapse{
    margin: 0.5rem 0;
    padding: 0 0.5rem;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
    border-radius: var(--bs-navbar-toggler-border-radius);
    transition: var(--bs-navbar-toggler-transition);
  }
}

/* === v51: Anchor offset for sticky navbar (Products submenu) ===
   Prevents in-page hash navigation (#blinds, #shades, etc.) from landing under the sticky header/navbar. */
:root{
  --anchor-offset: 45px; /* tweak this if header/navbar height changes */
}
html{
  scroll-padding-top: var(--anchor-offset);
}
.product-section{
  scroll-margin-top: var(--anchor-offset);
}

/* === v53: About FAQ (accordion) active highlight in tan theme === */
.about-faq .accordion-button:not(.collapsed){
  background-color: rgba(193, 172, 141, 0.35) !important;
  color: #1f1f1f;
}
.about-faq .accordion-button:focus{
  box-shadow: 0 0 0 .2rem rgba(193, 172, 141, 0.35);
  border-color: rgba(193, 172, 141, 0.55);
}
