/* =============================================================
   AUGUST WEST FIREPLACE & CHIMNEY — style.css
   Palette: Charcoal dark + Warm Amber/Bronze accent + Cream
   Fonts: Playfair Display (headings) + Montserrat (body)
   ============================================================= */

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  --dark:         #1c1c1c;
  --dark2:        #282828;
  --dark3:        #333333;
  --accent:       #c17f3e;   /* warm bronze/amber */
  --accent-light: #d49550;
  --accent-dark:  #9a5c1f;
  --gold:         #c9a45a;
  --cream:        #f7f3ee;
  --cream2:       #f0ebe4;
  --white:        #ffffff;
  --text:         #2a2a2a;
  --text-mid:     #555555;
  --text-muted:   #888888;
  --border:       rgba(0,0,0,0.08);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 15px 50px rgba(0,0,0,0.18);
  --radius:       12px;
  --radius-sm:    8px;
}

/* ── Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }

img { display: block; max-width: 100%; height: auto; }

/* ── Section helpers ────────────────────────────────────────── */
.py-section    { padding-top: 90px; padding-bottom: 90px; }
.py-section-sm { padding-top: 60px; padding-bottom: 60px; }

.mb-section-head { margin-bottom: 56px; }

.section-white  { background: var(--white); }
.section-cream  { background: var(--cream); }
.section-dark   { background: var(--dark); }
.section-accent { background: var(--accent); }

/* ── Eyebrow labels ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow-light {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Section headings ───────────────────────────────────────── */
.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-heading-light {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub-light {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.body-text { font-size: 1rem; line-height: 1.75; color: var(--text-mid); }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
#mainNav {
  background: rgba(20, 20, 20, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 10px 0;
}
#mainNav.scrolled {
  background: rgba(22, 22, 22, 0.97);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo { border-radius: 8px; height: 44px; width: auto; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  display: none; /* hidden on xs, shown md+ */
}
@media (min-width: 576px) { .brand-name { display: inline; } }

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover { color: var(--accent-light); }

.btn-accent-nav {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn-accent-nav:hover { background: var(--accent-light); transform: translateY(-1px); }

/* hamburger */
.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero-section {
  height: 100vh;
  min-height: 620px;
  background: url('img/hero.jpeg') center center / cover no-repeat;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 12, 8, 0.82) 0%,
    rgba(15, 12, 8, 0.55) 60%,
    rgba(15, 12, 8, 0.30) 100%
  );
  height: 100%;
}
.hero-content { max-width: 680px; padding-top: 80px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0;
}

/* CTA buttons */
.btn-accent {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  padding: 14px 32px;
  transition: background 0.22s, transform 0.15s, box-shadow 0.22s;
}
.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,127,62,0.45);
}
.btn-outline-hero {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  padding: 14px 32px;
  transition: background 0.22s, border-color 0.22s;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}


/* ══════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════ */
.stats-bar { background: var(--dark2); }
.stat-cell {
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stat-cell:last-child { border-right: none; }
.stat-cell--alt { background: rgba(255,255,255,0.03); }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

@media (min-width: 768px) {
  .stat-cell { border-bottom: none; }
}


/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 3px solid var(--accent);
  border-radius: var(--radius);
  z-index: 0;
}
.about-img-wrap img {
  position: relative;
  z-index: 1;
}
.rounded-lg  { border-radius: var(--radius) !important; }
.shadow-heavy { box-shadow: var(--shadow-lg) !important; }


/* ══════════════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════════════ */
.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.product-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}
.product-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 20px;
}
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.product-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}
.product-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}
.product-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}


/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--cream2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: background 0.2s;
}
.service-card:hover .service-icon-wrap { background: var(--accent); color: var(--white); }

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0;
}


/* ══════════════════════════════════════════════════════════════
   PHOTO DIVIDER
══════════════════════════════════════════════════════════════ */
.photo-divider {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}
.photo-divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.photo-divider .container { position: relative; z-index: 1; }
.photo-divider-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════
   GALLERY  — 3 × 3 grid
══════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--dark3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(193,127,62,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  opacity: 0;
  transition: background 0.3s, opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(193,127,62,0.35);
  opacity: 1;
}

@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  /* Ensure 8 cells (2x4) — last item hidden on mobile to keep balance */
  .gallery-item:last-child { display: none; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.testimonial-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0 0 16px 0;
}
.testimonial-author {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}


/* ══════════════════════════════════════════════════════════════
   BRANDS
══════════════════════════════════════════════════════════════ */
.brands-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}
.brand-pill {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark3);
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}
.brand-pill:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}


/* ══════════════════════════════════════════════════════════════
   FINANCING
══════════════════════════════════════════════════════════════ */
.financing-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.financing-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.section-accent .btn-light {
  color: var(--accent-dark);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.section-accent .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact-block { margin-bottom: 0; }
.contact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}
.contact-label i { color: var(--accent); }
.contact-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.hours-table td:first-child { width: 52%; font-weight: 500; color: var(--dark3); }

.social-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark3);
  background: var(--cream2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-pill:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { display: block; }


/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #111111;
  color: rgba(255,255,255,0.65);
}
.footer-logo { border-radius: 8px; opacity: 0.9; }
.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}
.footer-address {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}
.footer-col-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li { margin-bottom: 8px; }
.footer-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: 14px; justify-content: flex-end; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social-link:hover { background: var(--accent); color: var(--white); }

/* Powered by badge */
.powered-by { margin-top: 20px; }
.powered-link { text-decoration: none; }
.powered-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  border-radius: 50px;
  padding: 8px 18px;
  transition: opacity 0.2s, transform 0.15s;
}
.powered-link:hover .powered-badge { opacity: 0.9; transform: translateY(-1px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── md footer social fix ───────────────────────────────────── */
@media (max-width: 767px) {
  .footer-social { justify-content: flex-start; }
  .powered-by { text-align: left; }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  /* Solid nav background on mobile since it's layered on top of content */
  #mainNav { background: rgba(22, 22, 22, 0.97); }
  .photo-divider { background-attachment: scroll; }
}

@media (max-width: 767px) {
  .py-section    { padding-top: 60px; padding-bottom: 60px; }
  .py-section-sm { padding-top: 40px; padding-bottom: 40px; }
  .mb-section-head { margin-bottom: 36px; }
  .hero-content  { padding-top: 60px; }
  .about-img-wrap::before { display: none; }
  .stat-cell { border-right: 1px solid rgba(255,255,255,0.06); }
  .stat-cell:nth-child(2n) { border-right: none; }
}
