:root {
  --earth-dark: #2b2321;
  --earth-brown: #4a3527;
  --rust: #a8451f;
  --rust-dark: #8a3818;
  --tan: #d8c4a0;
  --cream: #f7f2e9;
  --text-dark: #201a17;
  --text-light: #f7f2e9;
  --max-width: 1100px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

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

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

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

h1, h2, h3 { font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.2; }

.section { padding: 72px 0; }

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--earth-brown);
  margin-bottom: 16px;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: #55463c;
}

/* Header */
.site-header {
  background: var(--earth-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.brand-text {
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.nav-links a {
  color: var(--tan);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover {
  color: #fff;
  border-color: var(--rust);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-header {
  background: var(--rust);
  color: #fff;
  flex-shrink: 0;
}

.btn-header:hover { background: var(--rust-dark); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
  padding: 90px 0 80px;
  text-align: center;
}

.parallax-bg {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 22, 18, 0.72), rgba(30, 22, 18, 0.85)),
    radial-gradient(circle at 30% 20%, rgba(90, 61, 40, 0.5), rgba(36, 26, 20, 0.6) 70%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Marquee divider */
.marquee {
  overflow: hidden;
  background: var(--earth-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-track span {
  padding: 14px 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--tan);
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.hero-logo {
  width: 230px;
  height: 230px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--tan);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--rust);
  color: #fff;
}
.btn-primary:hover { background: var(--rust-dark); }

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--tan);
}
.btn-secondary:hover { background: var(--tan); color: var(--earth-dark); }

/* About */
.about {
  background: var(--cream);
}
.about .container {
  max-width: 760px;
  text-align: center;
}
.about p { margin-bottom: 16px; color: #3a2f28; }

/* Meet Josh */
.josh {
  background: #efe4cf;
}

.josh-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.josh-photo {
  width: 320px;
  flex-shrink: 0;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(43, 35, 33, 0.2);
}

.josh-text h2 {
  text-align: left;
  margin-bottom: 16px;
}

.josh-text p {
  color: #3a2f28;
  margin-bottom: 14px;
}

.josh-tagline {
  font-weight: 700;
  color: var(--rust-dark);
}

@media (max-width: 760px) {
  .josh-inner {
    flex-direction: column;
    text-align: center;
  }
  .josh-photo { width: 240px; }
  .josh-text h2 { text-align: center; }
}

/* Services */
.services {
  background: #efe4cf;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(43, 35, 33, 0.08);
  border-top: 4px solid var(--rust);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 35, 33, 0.15);
}

.service-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: var(--rust);
}

.service-icon svg { display: inline-block; vertical-align: middle; }

.service-card h3 {
  color: var(--earth-brown);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.service-card p {
  color: #5a4b40;
  font-size: 0.95rem;
}

/* Species */
.species {
  background: var(--cream);
}

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

.species-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 14px rgba(43, 35, 33, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.species-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 35, 33, 0.15);
}

.species-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.species-card h3 {
  color: var(--earth-brown);
  margin: 0;
  padding: 16px 16px 20px;
  font-size: 1.15rem;
}

/* Gallery */
.gallery {
  background: #efe4cf;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(43, 35, 33, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 35, 33, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Credentials */
.credentials {
  background: #efe4cf;
}

.credentials-list {
  max-width: 800px;
  margin: 0 auto;
  columns: 2;
  column-gap: 40px;
  list-style: none;
}

.credentials-list li {
  break-inside: avoid;
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
  color: #3a2f28;
}

.credentials-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rust);
  font-weight: 700;
}

/* Service Area */
.area {
  position: relative;
  overflow: hidden;
  background: var(--earth-dark);
  color: var(--text-light);
}
.area::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 22, 18, 0.78), rgba(30, 22, 18, 0.9)),
    radial-gradient(circle at 70% 80%, rgba(90, 61, 40, 0.5), rgba(36, 26, 20, 0.6) 70%);
  z-index: 1;
}
.area h2 { color: #fff; }
.area-inner { position: relative; z-index: 2; text-align: center; }
.area-text { max-width: 700px; margin: 0 auto; }
.area-text p { color: var(--tan); margin-bottom: 14px; }
.area-text strong { color: #fff; }

/* Enquiry */
.enquiry { background: #efe4cf; }

.enquiry-form {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(43, 35, 33, 0.08);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-row label {
  font-weight: 600;
  color: var(--earth-brown);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d8c9b8;
  border-radius: 6px;
  background: var(--cream);
  color: var(--text-dark);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--rust);
}

.enquiry-form .btn-primary {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: #7a6a5c;
  margin-top: 14px;
}

/* Contact */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(43, 35, 33, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 35, 33, 0.15);
}

.contact-icon { font-size: 2.4rem; margin-bottom: 10px; }
.contact-icon svg { display: inline-block; vertical-align: middle; }
.contact-card h3 { color: var(--earth-brown); margin-bottom: 6px; }
.contact-card p { color: #5a4b40; }

/* Footer */
.site-footer {
  background: var(--earth-dark);
  color: var(--tan);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

.footer-abn {
  font-size: 0.85rem;
  color: #b8a892;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-inner a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid var(--rust);
}

.footer-legal {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-legal a {
  color: var(--tan);
  font-weight: 500;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
}

.footer-legal a:hover {
  color: #fff;
  border-color: var(--rust);
}

/* Legal pages */
.legal-page {
  background: var(--cream);
  padding: 56px 0 80px;
}

.legal-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
  color: var(--rust-dark);
  border-bottom: 2px solid transparent;
}

.legal-back:hover { border-color: var(--rust); }

.legal-container h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--earth-brown);
  margin-bottom: 6px;
}

.legal-updated {
  color: #7a6a5c;
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-container h2 {
  font-size: 1.25rem;
  color: var(--earth-brown);
  margin: 32px 0 10px;
}

.legal-container h3 {
  font-size: 1.05rem;
  color: var(--rust-dark);
  margin: 20px 0 8px;
}

.legal-container p {
  color: #3a2f28;
  margin-bottom: 14px;
}

.legal-container ul {
  margin: 0 0 16px 22px;
  color: #3a2f28;
}

.legal-container li {
  margin-bottom: 6px;
}

/* Mobile nav */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: var(--earth-dark);
    text-align: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .btn-header { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 70px 0 60px; }
  .section { padding: 56px 0; }
  .credentials-list { columns: 1; }
}
