:root {
  --color-dark-bg: #D6CEC2;
  --color-light-bg: #F6F4EE;
  --color-accent-red: #B81010;
  --color-black: #070807;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--color-light-bg);
  color: var(--color-black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Knewave', cursive;
}

a {
  color: var(--color-accent-red);
  text-decoration: underline;
}

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

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

header {
  background-color: var(--color-dark-bg);
  padding: 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Knewave', cursive;
}

header .main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 2rem;
  transition: gap 0.3s ease;
}

header .main-nav li {
  position: relative;
  margin: 0;
}

header .main-nav a,
.mobile-nav a {
  color: var(--color-black);
  text-decoration: none;
}

header .main-nav a:hover,
header .main-nav a:focus,
header .main-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus,
.mobile-nav a:active {
  color: var(--color-accent-red);
  text-decoration: underline;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transition: width 0.3s ease, height 0.3s ease;
}

header.scrolled {
  padding: 0.5rem;
}

header.scrolled .main-nav ul {
  gap: 1rem;
}

header.scrolled .logo img {
  width: 50px;
  height: 50px;
}

.menu-toggle,
.phone-link {
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.menu-toggle svg,
.phone-link svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  font-family: 'Knewave', cursive;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav .close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav .close-menu svg {
  width: 24px;
  height: 24px;
}

.mobile-nav .dropdown-menu {
  padding-left: 1rem;
}

footer {
  background-color: var(--color-dark-bg);
  padding: 1rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-links a svg {
  width: 24px;
  height: 24px;
}

nav a {
  transition: color 0.3s ease;
}

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-light-bg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  white-space: nowrap;
  min-width: max-content;
  z-index: 1000;
}

.main-nav li:hover > .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu li {
  margin: 0;
}

.main-nav .dropdown-menu a {
  padding: 0.25rem 0.5rem;
  display: block;
}

.faq details {
  margin-bottom: 0.5rem;
  border: 1px solid var(--color-dark-bg);
  padding: 0.5rem;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 1rem;
  background: var(--color-black);
  color: var(--color-light-bg);
}

main {
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form,
.cta,
.land-care {
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero {
  width: 100%;
  height: 250px;
  background-color: var(--color-dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
}

.placeholder-box {
  width: 100%;
  height: 200px;
  background-color: var(--color-light-bg);
}

.banner {
  position: relative;
}

.banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 3rem;
  margin: 0;
  text-align: center;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
  opacity: 1;
  transform: none;
}

.page-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--color-light-bg);
  border-radius: 8px;
}

.phone-link {
  color: var(--color-accent-red);
}

.content-row img {
  flex: 1 1 200px;
  max-width: 300px;
  border-radius: 4px;
}

.content-row .text {
  flex: 2 1 300px;
}

  @media (max-width: 600px) {
    nav a {
      display: block;
      margin: 0.5rem 0;
    }

    header {
      flex-wrap: wrap;
      padding: 1rem;
      justify-content: center;
      text-align: center;
    }

    .header-actions {
      margin-left: 0;
    }

    .main-nav {
      display: none;
    }

  .mobile-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--color-light-bg);
    z-index: 2000;
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
  }

  .content-row {
    flex-direction: column;
  }
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-light-bg);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2000;
  transition: opacity 2s ease;
}

.seen-splash #splash-screen {
  display: none;
}

#splash-screen .message {
  position: absolute;
  font-size: 2rem;
  font-weight: bold;
  transition: opacity 2s ease;
}

#splash-screen .english {
  opacity: 0;
}

#splash-screen.fade-english .aboriginal {
  opacity: 0;
}

#splash-screen.fade-english .english {
  opacity: 1;
}

#splash-screen.hide {
  opacity: 0;
  visibility: hidden;
}
