/* ==========================================================================
   Home Decor Rework — Custom Stylesheet
   Built on Bootstrap 5 grid. Fonts: Playfair Display (headings), Poppins (body)
   ========================================================================== */

:root {
  --ink: #22302e;            /* main text */
  --primary: #1e4d45;        /* deep teal green */
  --primary-dark: #14372f;   /* darker teal */
  --primary-deep: #0d2b25;   /* footer / hero overlay */
  --accent: #e8a33d;         /* warm amber */
  --accent-dark: #cf8a24;
  --cream: #f8f4ec;          /* warm cream section bg */
  --sand: #efe7d8;           /* softer sand */
  --muted: #66736f;          /* muted body text */
  --line: #e7dfd0;           /* hairlines */
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(13, 43, 37, .10);
  --shadow-lg: 0 24px 60px rgba(13, 43, 37, .18);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.display-1, .display-2, .display-3, .display-4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
}

p { color: var(--muted); }
a { text-decoration: none; }
img { max-width: 100%; }

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--primary-deep); }

/* Eyebrow label above headings */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: .9rem;
}
.bg-ink .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--accent); }

.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; }
.lead-soft { color: var(--muted); font-size: 1.05rem; }
.bg-ink, .bg-ink p { color: rgba(255,255,255,.82); }
.bg-ink .section-title { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 50px;
  font-weight: 500;
  padding: .7rem 1.6rem;
  transition: all .25s ease;
}
.btn-accent {
  background: var(--accent);
  color: #1c2a27;
  border: 2px solid var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: #1c2a27; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary-dark); }
.btn-dark-green { background: var(--primary); color: #fff; border: 2px solid var(--primary); }
.btn-dark-green:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* ---------- Navbar ---------- */
#mainNav {
  background: var(--primary-dark);
  padding: 16px 0;
  transition: box-shadow .3s ease, padding .3s ease;
}
#mainNav.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); padding: 10px 0; }
.navbar-brand { font-size: 1.4rem; color: #fff !important; letter-spacing: .5px; }
.navbar-brand .brand-accent { color: var(--accent); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), #f0c273);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .6rem;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  margin: 0 .35rem;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute; left: .5rem; right: .5rem; bottom: .15rem;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus { color: #fff; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--accent); }
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border-color: rgba(255,255,255,.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(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero {
  min-height: 94vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  position: relative; color: #fff;
  padding: 140px 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,43,37,.94) 8%, rgba(13,43,37,.72) 48%, rgba(13,43,37,.30) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.12; max-width: 720px; }
.hero .hero-sub { color: rgba(255,255,255,.9); max-width: 600px; font-size: 1.1rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-tags span {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 50px; padding: .3rem .95rem;
  font-size: .85rem;
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, #2a6a5d 100%);
  color: #fff; padding: 168px 0 84px;
  position: relative; overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute; right: -140px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(232,163,61,.14);
}
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-head .lead { color: rgba(255,255,255,.85); max-width: 640px; }
.page-head .breadcrumb { margin-bottom: 1.4rem; }
.page-head .breadcrumb-item, .page-head .breadcrumb-item a { color: rgba(255,255,255,.7); }
.page-head .breadcrumb-item a:hover { color: var(--accent); }
.page-head .breadcrumb-item.active { color: var(--accent); }
.page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ---------- Cards (services / features) ---------- */
.service-card {
  border: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
  background: #fff;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .card-img { height: 205px; object-fit: cover; width: 100%; }
.service-card .card-body { padding: 1.5rem 1.4rem 1.6rem; }
.service-card .card-title { font-size: 1.15rem; margin-bottom: .5rem; }
.service-card .card-text { font-size: .93rem; }
.service-card .stretched-link { color: var(--primary); font-weight: 600; font-size: .9rem; }
.service-card .stretched-link:hover { color: var(--accent-dark); }

.feature-card {
  background: #fff; border-radius: var(--radius);
  padding: 2rem 1.6rem; height: 100%;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
  border-top: 4px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); border-top-color: var(--accent); }
.icon-badge {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--primary);
}

/* ---------- Steps / process ---------- */
.step-card { text-align: center; padding: 1rem .5rem; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: #1c2a27;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.35rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem;
  box-shadow: var(--shadow); height: 100%;
}
.quote-card .quote-mark { font-size: 3rem; line-height: 1; color: var(--accent); font-family: Georgia, serif; }
.quote-card blockquote { color: var(--ink); font-size: 1.02rem; font-style: italic; margin: 0 0 1rem; }
.quote-card .who { font-weight: 600; color: var(--primary); margin-bottom: 0; }
.quote-card .role { font-size: .85rem; color: var(--muted); }

/* ---------- Service detail rows ---------- */
.service-detail { padding: 56px 0; }
.service-detail:nth-of-type(even) { background: var(--cream); }
.service-detail .service-img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; object-fit: cover; height: 100%; max-height: 420px;
}
.service-detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 2rem; position: relative; margin-bottom: .55rem; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2a27' stroke-width='3'%3e%3cpath d='M5 13l4 4L19 7'/%3e%3c/svg%3e") center/12px no-repeat;
}

/* ---------- Blog ---------- */
.blog-card {
  border: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 100%; background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card .card-img { height: 220px; object-fit: cover; width: 100%; }
.badge-cat { background: var(--cream); color: var(--primary); font-weight: 600; font-size: .75rem; letter-spacing: .05em; border-radius: 50px; padding: .35rem .8rem; }
.blog-meta { font-size: .82rem; color: var(--muted); }
.blog-article .card-img { height: 260px; }
.more-content { display: none; }
.more-content.open { display: block; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: .75rem 1rem;
  color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .25rem rgba(232,163,61,.22);
}
.form-label { font-weight: 500; color: var(--ink); }
.newsletter-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 24px; padding: 3rem 2.5rem; color: #fff;
  box-shadow: var(--shadow-lg);
}
.newsletter-box h2, .newsletter-box h3 { color: #fff; }
.newsletter-box p { color: rgba(255,255,255,.85); }
.newsletter-box .form-control { border: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,.78);
  padding: 80px 0 0;
}
.footer h5 { color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .04em; }
.footer a { color: rgba(255,255,255,.72); transition: color .2s ease; }
.footer a:hover { color: var(--accent); }
.footer .footer-list { list-style: none; padding: 0; margin: 0; }
.footer .footer-list li { margin-bottom: .6rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .5rem; transition: background .2s ease, transform .2s ease;
}
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 3.5rem; padding: 1.4rem 0;
  font-size: .88rem;
}

/* ---------- Misc ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), #f0c273);
  border-radius: 24px; padding: 3.2rem 2.5rem;
  color: #1c2a27;
}
.cta-band h2 { color: #1c2a27; }

/* Legal pages */
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--muted); }

/* Back to top */
#backToTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 1030;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #1c2a27; border: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease; box-shadow: var(--shadow);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Contact page */
.contact-info-card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: flex-start;
  height: 100%;
}
.contact-info-card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h6 { margin-bottom: .2rem; }
.contact-info-card p { margin-bottom: 0; font-size: .95rem; }

.map-frame {
  border: 0; border-radius: var(--radius); width: 100%; height: 100%;
  min-height: 340px; box-shadow: var(--shadow);
}
