/* ==========================================================================
   Budget Blinds Sydney — Shared Stylesheet (v2: blue/white trade-site style)
   Palette (warm, premium neutral tones):
     --ink        #1A2530  near-black navy (text)
     --blue       #8B5E34  warm bronze (primary accent)
     --blue-deep  #3B2A1E  deep espresso brown (headers/hover)
     --blue-pale  #F3EAD9  warm cream (section backgrounds)
     --accent     #C8792F  warm amber (CTA accent, used sparingly)
     --white      #FFFFFF
     --line       #E4D9C8  warm hairline borders/dividers
   Type: single clean sans-serif family throughout —
     Headings — 'Poppins' (bold, geometric)
     Body     — 'Inter'
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #1A2530;
  --blue: #8B5E34;
  --blue-deep: #3B2A1E;
  --blue-pale: #F3EAD9;
  --accent: #C8792F;
  --white: #FFFFFF;
  --line: #E4D9C8;
  --max-width: 1180px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--blue-deep);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--blue); }

.label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6em;
}

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

img, .ph-image { max-width: 100%; display: block; }

/* ---------- Placeholder image blocks ----------
   Swap these for real photos: download from unsplash.com or pexels.com
   (free to use commercially, no attribution required) using the search
   term noted in each block's data-caption attribute, then replace the
   surrounding <div class="ph-image">...</div> with an <img src="..."> tag. */
.ph-image {
  position: relative;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #D5E6F5 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
}
.ph-image::after {
  content: attr(data-caption);
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.btn-primary:hover { background: #D06A22; }
.btn-outline { border-color: var(--white); color: var(--white); background: rgba(0,0,0,0.15); }
.btn-outline:hover { background: var(--white); color: var(--blue-deep); }
.btn-outline-blue { border-color: var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

/* ---------- Top utility bar ---------- */
.top-bar {
  background: var(--blue-deep);
  color: #D6E4F0;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1.6rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.top-bar a { color: #EFE3D2; text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-bar-links { display: flex; gap: 1.5rem; }
.top-bar-social { display: flex; gap: 0.9rem; }

/* ---------- Header / nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-mark-img {
  height: 80px;
  max-width: 380px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--blue-deep);
}
.logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a.active, .nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.menu-toggle { display: none; }

/* Services dropdown — simple, clean vertical list (Burra Blinds style) */
.nav-item-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  padding: 1rem 0 0.4rem;
  background: transparent;
  min-width: 200px;
  list-style: none;
  z-index: 60;
}
.nav-dropdown-menu::before {
  content: "";
  display: block;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(59,42,30,0.16);
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.nav-dropdown-menu li:last-child { border-bottom: none; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
}
.nav-dropdown-menu a:hover { background: var(--blue-pale); color: var(--blue); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-toggle {
    display: block;
    background: none; border: none;
    font-size: 1.6rem; line-height: 1;
    color: var(--ink); cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1.2rem;
  }
  .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0.4rem 0 0 1rem;
    margin-top: 0.6rem;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a { text-align: left; }
}

/* ---------- Hero: big photo background + floating quote card ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 7rem;
  background: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* warm charcoal wash — reads as premium against cream & curtain photography,
     and keeps the headline legible without a cold blue tint */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(38,31,24,0.58) 0%, rgba(38,31,24,0.22) 55%, rgba(38,31,24,0.05) 80%);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: end;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero-copy { max-width: 640px; }
.hero .label { color: #E3B563; text-shadow: 0 2px 10px rgba(38,31,24,0.7); }
.hero h1 { color: #fff; text-shadow: 0 3px 16px rgba(38,31,24,0.6), 0 1px 4px rgba(38,31,24,0.65); }
.hero p.lede {
  font-size: 1.1rem;
  max-width: 46ch;
  color: #F5EFE6;
  text-shadow: 0 2px 10px rgba(38,31,24,0.6);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: #F5EFE6;
  text-shadow: 0 2px 8px rgba(38,31,24,0.6);
}
.hero-trust .stars { color: #E3B563; letter-spacing: 2px; }

/* the floating quote card, echoing a trade-site "book an appointment" widget */
.quote-card {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 20px 45px rgba(9, 30, 53, 0.35);
}
.quote-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.quote-card p { font-size: 0.88rem; color: #4A5860; margin-bottom: 1.2rem; }
.quote-card .btn { width: 100%; text-align: center; margin-bottom: 0.7rem; }
.quote-card .quote-phone {
  display: block;
  text-align: center;
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--blue-pale); }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head.center { max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Service cards ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .grid-5 { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0 1.6rem;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card:hover { box-shadow: 0 12px 30px rgba(13,61,107,0.12); transform: translateY(-3px); }
.service-card-image {
  margin: 0 0 1.2rem;
  border-radius: 0;
  width: 100%;
  height: 150px;
  object-fit: cover;
  min-height: 130px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #D5E6F5 100%);
}
.service-card-body { padding: 1.4rem 1.4rem 0; }
.service-icon {
  width: 46px; height: 46px;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  padding: 10px;
}
.service-icon svg { width: 100%; height: 100%; }

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
@media (max-width: 820px) { .process-list { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  padding: 1.8rem 1.6rem 1.6rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue-pale);
  -webkit-text-stroke: 1.5px var(--blue);
  display: block;
  margin-bottom: 0.6rem;
}

/* ---------- Why-us card grid (with emoji icons) ---------- */
.why-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 900px) { .why-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-card-grid { grid-template-columns: 1fr; } }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.6rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.why-card:hover { box-shadow: 0 12px 30px rgba(13,61,107,0.1); transform: translateY(-3px); }
.why-card-icon { font-size: 1.8rem; margin-bottom: 0.9rem; line-height: 1; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.why-card p { font-size: 0.92rem; color: #4A5860; margin: 0; }

/* ---------- Why-us list ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; }
.why-list .mark {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: var(--line);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(13,35,64,0.85), rgba(13,35,64,0));
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Benefit icon grid ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
@media (max-width: 820px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit-item { display: flex; gap: 1rem; }
.benefit-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  color: var(--blue);
}
.benefit-icon svg { width: 100%; height: 100%; }
.benefit-item h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.3em;
  color: var(--ink);
}
.benefit-item p { font-size: 0.92rem; margin: 0; color: #4A5860; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 820px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.7rem;
}
.testimonial-card .stars { color: var(--accent); margin-bottom: 0.8rem; display: block; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.95rem; color: #3A4750; margin-bottom: 1rem; }
.testimonial-card .name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.testimonial-card .suburb { font-size: 0.78rem; color: var(--accent); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--blue-deep);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #C7DCEE; max-width: 50ch; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #B9C4CD;
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.site-footer a { color: #B9C4CD; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: #7C8892;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-newsletter { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.footer-newsletter input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}
.footer-newsletter input::placeholder { color: #7C8892; }
.footer-newsletter button {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.footer-newsletter button:hover { background: var(--accent); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

/* ---------- Page hero (About / Contact) ---------- */
.page-hero {
  padding: 3.5rem 0 3rem;
  background: var(--blue-pale);
  border-bottom: 1px solid var(--line);
}
.page-hero .label { margin-bottom: 0.8rem; }
.page-hero h1 { color: var(--blue-deep); }
.page-hero p.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #4A5860;
  margin-top: 0.4rem;
}

/* ---------- Form (contact page) ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.3rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 820px) { .contact-details-grid { grid-template-columns: 1fr; } }
.contact-detail { margin-bottom: 1.6rem; }
.contact-detail h4 {
  color: var(--blue-deep);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
