/*
Theme Name: BDW Decor & More
Theme URI: https://bdwdecorandmore.com
Author: BDW Decor & More
Author URI: https://bdwdecorandmore.com
Description: Custom WordPress theme for BDW Decor & More — Calgary event decor, balloon services, event planning and birthday decorations. Converted from the original static HTML/CSS build.
Version: 1.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bdw-decor-more
*/

/* ============================================
   BDW DECOR & MORE — design tokens & base
   ============================================ */

:root {
  --ink: #14100f;
  --ink-soft: #221a19;
  --plum: #2b1620;
  --cream: #f7f1e4;
  --cream-dim: #efe6d3;
  --gold: #c79a44;
  --gold-bright: #e2b768;
  --coral: #e15668;
  --coral-deep: #b8394b;
  --line: rgba(247, 241, 228, 0.14);
  --line-dark: rgba(20, 16, 15, 0.12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

/* signature balloon-dot motif */
.dots { display: inline-flex; align-items: center; gap: 5px; }
.dots span {
  display: inline-block;
  border-radius: 50%;
}
.dots .d1 { width: 6px; height: 6px; background: var(--coral); }
.dots .d2 { width: 9px; height: 9px; background: var(--gold); }
.dots .d3 { width: 5px; height: 5px; background: var(--cream-dim); }

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--plum {
  background: var(--plum);
  color: var(--cream);
}
.section--dark .eyebrow, .section--plum .eyebrow { color: var(--gold-bright); }

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { opacity: 0.82; font-size: 1.05rem; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--cream);
  border-color: var(--coral);
}
.btn-primary:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247,241,228,0.4);
}
.btn-outline:hover { border-color: var(--cream); background: rgba(247,241,228,0.08); }
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,16,15,0.35);
}
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(20,16,15,0.06); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ============ HEADER ============ */
.topbar {
  background: var(--ink);
  color: var(--cream-dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold-bright); }
.topbar-hours { color: rgba(247,241,228,0.55); }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em; color: var(--coral); text-transform: uppercase; margin-top: 3px;}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 12px 14px;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.main-nav > ul > li > a:hover { color: var(--coral-deep); }
.has-dropdown > a::after { content: "▾"; margin-left: 5px; font-size: 0.65em; opacity: 0.6; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ink);
  min-width: 230px;
  padding: 8px;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 10px 14px;
  color: var(--cream-dim);
  font-size: 0.85rem;
  border-radius: var(--radius);
}
.dropdown li a:hover { background: rgba(247,241,228,0.06); color: var(--gold-bright); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-contact { display: flex; flex-direction: column; font-size: 0.8rem; text-align: right; }
.header-contact a { font-weight: 700; }
.header-contact a:hover { color: var(--coral); }
.header-contact .label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,15,0.55) 0%, rgba(20,16,15,0.45) 40%, rgba(20,16,15,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 70px;
  width: 100%;
}
.hero-content .container { max-width: 880px; margin: 0; }
.hero-content h1 { color: var(--cream); }
.hero-content .lede { font-size: 1.15rem; max-width: 560px; opacity: 0.88; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(247,241,228,0.18);
}
.hero-stats .stat b {
  font-family: var(--font-display);
  font-size: 2rem;
  display: block;
  color: var(--gold-bright);
}
.hero-stats .stat span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* page hero (non-video, interior pages) */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 74px 0 60px;
  position: relative;
}
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 { color: var(--cream); max-width: 760px; }
.page-hero .lede { max-width: 620px; opacity: 0.82; font-size: 1.05rem; }

/* ============ CARDS / GRIDS ============ */
.grid {
  display: grid;
  gap: 26px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); }
.card img { height: 200px; object-fit: cover; }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { color: var(--cream); }
.card-body p { opacity: 0.78; font-size: 0.94rem; flex: 1; }
.card-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover { color: var(--coral); }

.card-light {
  background: #fff;
  border: 1px solid var(--line-dark);
}
.card-light .card-body h3 { color: var(--ink); }
.card-light .card-body p { color: var(--ink); opacity: 0.68; }
.card-light .card-link { color: var(--coral-deep); }

/* areas grid */
.area-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 230px;
  color: var(--cream);
}
.area-card img { width: 100%; height: 100%; object-fit: cover; }
.area-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,15,0.15) 0%, rgba(20,16,15,0.88) 100%);
}
.area-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
}
.area-card-body h3 { margin-bottom: 4px; color: var(--cream); }
.area-card-body span { font-family: var(--font-mono); font-size: 0.72rem; opacity: 0.75; }

/* pricing cards (flex so an odd last row stays centred) */
.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.price-card { flex: 0 1 calc((100% - 78px) / 4); }
.price-card img { width: 100%; height: 240px; object-fit: cover; }
.price-card .card-body { padding: 22px; }
.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-tag {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin: 0 0 12px;
}
.card-body p.price-tag { opacity: 1; flex: 1; font-size: 1.5rem; }

/* work gallery (masonry via CSS columns so photos keep their natural shape) */
.work-gallery { column-count: 3; column-gap: 20px; }
.work-gallery-item {
  margin: 0 0 20px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.work-gallery-item a { display: block; }
.work-gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.work-gallery-item a:hover img { transform: scale(1.03); opacity: 0.92; }

/* about split */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; height: 520px; object-fit: cover; }
.split-reverse { grid-template-columns: 1.1fr 0.9fr; }
.split-reverse .split-img { order: 2; }

.stat-row { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.stat-row .stat b { font-family: var(--font-display); font-size: 2.1rem; display: block; }
.stat-row .stat span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }

/* reviews */
.review-card {
  background: var(--ink-soft);
  color: var(--cream);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.stars { color: var(--gold-bright); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { opacity: 0.86; font-size: 0.98rem; font-style: italic; }
.review-name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); margin-top: 14px; }
.review-source-links { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; }

.reviews-widget-note {
  border: 1px dashed rgba(247,241,228,0.3);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 36px;
  max-width: 640px;
}

/* process / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step .dots { margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; }
.step p { opacity: 0.7; font-size: 0.92rem; }

/* CTA band */
.cta-band {
  background: var(--coral);
  color: var(--cream);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--cream); margin-bottom: 14px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(247,241,228,0.55); }

/* forms */
.form-wrap {
  background: var(--ink);
  color: var(--cream);
  padding: 44px;
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.field input, .field select, .field textarea {
  background: rgba(247,241,228,0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cream);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-note { font-size: 0.78rem; opacity: 0.55; margin-top: 4px; }
.form-msg { margin-top: 16px; font-size: 0.9rem; font-family: var(--font-mono); display: none; }
.form-msg.show { display: block; }

/* contact info blocks */
.info-block { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.info-block .ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; flex-shrink: 0;
}
.info-block h3 { font-size: 1rem; margin-bottom: 4px; }
.info-block p { margin: 0; opacity: 0.7; font-size: 0.92rem; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream-dim); padding: 70px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { color: var(--cream); }
.footer-brand p { opacity: 0.6; font-size: 0.9rem; margin-top: 14px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.7rem;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-bright); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; font-size: 0.88rem; opacity: 0.75; }
.footer-col a:hover { opacity: 1; color: var(--gold-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 22px;
  font-size: 0.78rem; opacity: 0.5; flex-wrap: wrap; gap: 10px;
}

/* misc */
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-bright); }
.divider-dots { display: flex; justify-content: center; margin: 8px 0 28px; }

.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.list-check li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.list-check li::before { content: "●"; color: var(--coral); font-size: 0.6rem; margin-top: 8px; }

.faq-item { border-bottom: 1px solid var(--line-dark); padding: 24px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { opacity: 0.72; margin: 0; }

.map-embed { border-radius: var(--radius); overflow: hidden; height: 420px; border: 1px solid var(--line-dark); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split img { height: 360px; }
  .split-reverse .split-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col-text { grid-template-columns: 1fr; }
  .work-gallery { column-count: 2; }
  .price-card { flex-basis: calc((100% - 26px) / 2); }
}
@media (max-width: 760px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 85vw);
    background: var(--ink); flex-direction: column; align-items: stretch; padding: 90px 24px 24px;
    transition: right 0.28s ease; overflow-y: auto; }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { color: var(--cream); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding-left: 12px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .header-contact { display: none; }
  .topbar-links { gap: 14px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .work-gallery { column-count: 1; }
  .price-card { flex-basis: 100%; }
}
