/* ==========================================================================
   Dominion Landscapes — Luxury Charcoal & Architectural Gold Stylesheet
   Palette: Deep Charcoal Marble / Dark Slate, Luxury Gold accents,
   Dark editorial surfaces. Font: Plus Jakarta Sans.
   ========================================================================== */

:root {
  --primary: #090d16;
  --primary-dark: #05070a;
  --primary-light: #161e2e;
  --accent: #c5a059;          /* Luxury Architectural Gold */
  --accent-light: #dfb76d;    /* Bright Gold Highlight */
  --cream: #0c1018;           
  --surface-white: #111827;   
  --card-bg: #161e2e;         
  --white: #FFFFFF;
  --ink: #f1f5f9;             
  --grey: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.5);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--grey); }
a { color: var(--white); text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--surface-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.6em;
}

/* ---------------- Buttons (Option 2: Deep Obsidian with Gold Trim) ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}
.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: #0f1624;
  color: #dfb76d;
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}
.btn-accent:hover {
  background: #161e2e;
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline-dark {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-outline-dark:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------------- Navigation ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: #cbd5e1;
}
.nav-links a:hover { color: var(--accent-light); }

/* Hidden but keyboard-accessible checkbox that drives the mobile menu.
   CSS-only mechanism: no JavaScript required for the menu to open/close,
   so it keeps working even if a build step or browser issue breaks JS. */
.nav-toggle-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Invisible full-screen tap target that closes the menu when open */
.nav-backdrop {
  display: none;
}

/* Mobile Header Quote Button Styles */
.nav-quote-mobile {
  display: none;
}

@media (max-width: 950px) {
  .nav {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 8px;
    padding: 10px 12px !important;
    position: relative !important;
  }
  .nav-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .nav-toggle {
    display: block !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .nav-quote-mobile {
    display: inline-flex !important;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-items: center;
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap;
    margin: 0;
  }
  .nav-links {
    display: none !important;
    grid-column: 1 / -1;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: var(--primary-dark) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 24px !important;
    gap: 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    z-index: 1000 !important;
    box-sizing: border-box !important;
  }
  .nav-links a { color: var(--white) !important; }

  /* Menu open state — driven entirely by :checked, no JS involved */
  .nav-toggle-checkbox:checked ~ .nav-links {
    display: flex !important;
  }
  .nav-toggle-checkbox:checked ~ .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
  }
  .nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ---------------- Hero Section (Marble Texture Background) ---------------- */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.88)), url('images/marble.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero h1, .hero p { color: var(--white); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 36px 0 40px; }
  .hero-grid { 
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-light);
}

/* ---------------- Grids & Cards ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 160, 89, 0.3);
}

/* ---------------- Trust Strip ---------------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  padding: 28px 0;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent);
}
.trust-item span { font-size: 0.9rem; color: var(--grey); font-weight: 500; }

/* ---------------- Forms & Quote Generator ---------------- */
.form-card {
  background: var(--surface-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--white);
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--card-bg);
  color: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-step { display: none; }
.form-step.active { display: block; }

.progress-track {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.progress-track span {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: var(--border);
}
.progress-track span.done { background: var(--accent); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255, 255, 255, 0.7); }
.footer-grid a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.text-center { text-align: center; }
.max-w-720 { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }