/* ============================================================
   Woodbridge Group Pty Ltd — styles.css
   ============================================================ */

:root {
  --primary: #1a4d3a;
  --primary-dark: #133a2a;
  --accent: #c9a36a;
  --accent-dark: #b08b55;
  --bg: #f7f4f0;
  --surface: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #555555;
  --border: #d6cfc3;
  --footer-bg: #133a2a;
  --footer-text: #d6cfc3;
  --radius: 8px;
  --shadow: 0 4px 14px rgba(26, 77, 58, 0.08);
  --transition: 0.25s ease;
}

/* ---- Reset & base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Layout ---- */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding-block: 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(180%) blur(6px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.navbar-brand .dot {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
}

.navbar-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar-cta {
  margin-left: 1rem;
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(
      rgba(26, 77, 58, 0.72),
      rgba(26, 77, 58, 0.8)
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%23000' fill-opacity='0.03' d='M0 0h120v120H0z'/%3E%3Cpath fill='%23000' fill-opacity='0.05' d='M30 0h30v30H30zM60 60h30v30H60z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: var(--surface);
  padding-block: 6rem 4rem;
  border-radius: 0 0 16px 16px;
  margin-bottom: 3rem;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.92;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 163, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--surface);
  border-color: var(--surface);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--primary);
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.trust-item strong {
  color: var(--primary);
}

.trust-badge {
  background: var(--primary);
  color: var(--surface);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================================
   Services grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(26, 77, 58, 0.12);
}

.service-icon {
  font-size: 2.25rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 77, 58, 0.06);
  border-radius: 12px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--text-light);
  flex-grow: 1;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  align-self: flex-start;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer h4 {
  color: var(--surface);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer a {
  color: var(--footer-text);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent);
}

.footer-blurb p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(214, 207, 195, 0.2);
  font-size: 0.85rem;
  color: rgba(214, 207, 195, 0.7);
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 768px) {
  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    padding: 0;
  }

  .navbar-links.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 0;
  }

  .navbar-links li {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--border);
  }

  .navbar-links li:first-child {
    border-top: none;
  }

  .navbar-cta {
    margin: 0;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--border);
  }

  .navbar-toggle {
    display: flex;
  }

  .hero {
    padding-block: 4rem 2rem;
    margin-bottom: 2rem;
    border-radius: 0;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .container {
    padding-block: 2.5rem;
  }
}
