:root{
  --navy:#1F3A5F; --charcoal:#222; --gold:#c3a86b; --green:#1E5A4A; --off:#FAF8F4; --ink:#0f172a; --muted:#6b7280;
  --radius:14px; --shadow:0 10px 30px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--off)
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:min(1120px,92vw);
  margin-inline:auto
}

/* -------------------------
   NAVIGATION (FINAL VERSION)
-------------------------- */

header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;

  min-height: 90px;
  display: flex;
  align-items: center;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

/* Desktop nav */
.nav-links {
  display:flex;
  gap:24px;
  align-items:center;
  font-weight:500;
}

.nav-links a {
  padding:8px 0;
}

.nav-links .selected {
  background-color: #6b9fd0;
  padding: 10px 16px;
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 10px;
}

/* Ensure .nav-item is the hover owner */
.nav-item {
  position: relative;
}

/* Submenu base state (desktop hover) */
.nav-item .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  

  background: #fff;
  border-radius: 10px;
  min-width: 200px;
  padding: 20px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .18s ease, transform .18s ease;
  
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border: 1px solid #e5e7eb;

  z-index: 2001;
  pointer-events: none;
}

/* Show desktop hover submenu */
.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Submenu Links (desktop) */
.nav-item .submenu a {
  display: block;
  padding: 12px 18px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-item .submenu a:hover {
  background: var(--off);
}

/* Adds arrow to parent */
.nav-item.has-submenu > a::after {
  content: "▾";
  font-size: .7rem;
  margin-left: 6px;
}

/* Hamburger button (hidden on desktop) */
.hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span {
  width:26px;
  height:3px;
  background:var(--navy);
  border-radius:4px;
  transition:0.3s;
}

/* -------------------------
   MOBILE OVERLAY MENU
-------------------------- */

.mobile-menu {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  display:none;
  flex-direction:column;
  
  background:rgba(255, 255, 255, 0.55);
  backdrop-filter:blur(4px);

  padding-top:90px;
  z-index: 900;
}

.mobile-menu .selected {
  background-color: #6b9fd0;
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 10px;
}

.mobile-menu a {
  background:#fff;
  padding:18px 24px;
  font-size:1.1rem;
  border-bottom:1px solid #eee;
}

.mobile-menu.open {
  display:flex;
}

/* -------------------------
   MOBILE SUBMENU EXPAND / COLLAPSE
-------------------------- */

@media (max-width:820px) {

  /* Hide desktop nav */
  .nav-links {
    display:none;
  }

  /* Show hamburger */
  .hamburger {
    display:flex;
  }

  /* Wrapper for mobile list item */
  .mobile-submenu {
    width: 100%;
  }

  /* Row containing text + arrow */
  .mobile-submenu-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    border-bottom:1px solid #eee;
  }

  /* Services link (text) */
  .mobile-submenu-header .submenu-text {
    flex:1;
    padding:18px 24px;
    font-size:1.1rem;
  }

  /* Clickable arrow */
  .mobile-submenu-toggle {
    background:none;
    border:none;
    padding:18px 20px;
    cursor:pointer;
  }

  .mobile-submenu-toggle::after {
    content: "▾";
    font-size:1.6em;
    transition:.2s ease;
  }

  /* Rotate on open */
  .mobile-submenu.open .mobile-submenu-toggle::after {
    transform:rotate(180deg);
  }

  /* Dropdown items */
  .mobile-submenu-items {
    display:none;
    flex-direction:column;
    width:100%;
    background:#d9dbdd;
    border-bottom:1px solid #eee;
  }

  .mobile-submenu-items a {
    padding:14px 24px;
    font-size:1rem;
    border-bottom:1px solid #eee;
    background:#d9dbdd;
  }

  .mobile-submenu.open .mobile-submenu-items {
    display:flex;
  }
}

/* Force hide on desktop */
@media (min-width:821px){
  .mobile-menu { display:none !important; }
}

/* -------------------------
   HAMBURGER ANIMATION
-------------------------- */

.hamburger.active span:nth-child(1) {
  transform:translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) {
  transform:translateY(-8px) rotate(-45deg);
}

/* ------------------------------------------------
   (Everything below untouched and safe to keep)
------------------------------------------------ */




.brand a {
  display: flex;
  align-items: center;
  gap: 8px; /* optional spacing between logo + text */
  text-decoration: none; /* optional */
}

.brand .mark{
  width:36px;height:36px;border-radius:10px;background:var(--navy);color:#fff;
  display:grid;place-items:center;font-weight:700
}

.brand span{font-weight:700;letter-spacing:.4px}

.nav a.btn{
  padding:10px 16px;
  border-radius:10px;
  border:1px solid var(--navy);
  color:#fff;
  background:var(--navy);
  font-weight:600
}

.hero{
  background:linear-gradient(180deg,#ffffff, #f6f3ec);
  padding:72px 0 40px;
  border-bottom:1px solid #eee
}

.hero .wrap{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:32px;
  align-items:center
}

.eyebrow{
  color:var(--gold);
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:.78rem
}

h1{
  font-family:Lora,serif;
  font-size:clamp(34px,4vw,56px);
  line-height:1.05;
  margin:10px 0 14px;
  color:var(--navy)
}

.lead{
  color:var(--muted);
  font-size:1.06rem;
  line-height:1.7
}

.cta-row{
  display:flex;
  gap:12px;
  margin-top:18px
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  font-weight:600
}

.btn.primary{
  background:var(--navy);
  color:#fff
}

.btn.ghost{
  border:1px solid var(--navy);
  color:var(--navy);
  background:transparent
}

.badges{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:22px
}

.badge{
  border:1px solid #e8e6df;
  padding:10px 12px;
  border-radius:999px;
  background:#fff;
  color:#4b5563;
  font-size:.9rem
}

section{padding:56px 0}

h2{
  font-family:Lora,serif;
  font-size:clamp(26px,3vw,36px);
  color:var(--charcoal);
  margin:0 0 14px
}

.sub{color:#64748b;margin:0 0 26px}



.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}

.card{
  background:#fff;
  border:1px solid #eee;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px
}

.why-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.why-row h3 {
  margin: 0 0 6px;
}

@media (max-width: 650px) {
  .why-row {
    flex-direction: column;
  }
}


.icon{
  width:40px;height:40px;border-radius:10px;
  background:var(--off);
  display:grid;place-items:center;
  color:var(--navy);font-weight:700
}

.step{display:flex;gap:14px}

.process{background:#fff}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}

.steps.steps-3{
  grid-template-columns:repeat(3,1fr)
}

.step-card {
  background:#fff;
  border:1px dashed #e5e7eb;
  border-radius:14px;
  padding:18px
}

.step-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.darksection .step-card p {
  color:#000000;
}

.lightpattern .step-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
}

.lightpattern .step-icon svg {
  width: 28px;
  height: 28px;
}

.lightpattern .step-card p {
  color: #000000;
}

.darksection li {
  color: var(--gold);
}

.results .items{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}

.result{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  overflow:hidden
}

.result .meta{padding:14px}

.testimonials{
  background:linear-gradient(180deg,#f7f7f7,#fff)
}

.quote{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:22px
}

.cta-band{
  background:var(--navy);
  color:#fff;
  border-radius:18px;
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

footer{
  background:#0b1220;
  color:#cbd5e1;
  padding:40px 0
}

footer a{
  color:#e2e8f0
}

.featurecenter {
  background: linear-gradient(
    130deg,
    rgba(214, 197, 158, 0.94) 0%,
    rgba(44, 90, 124, .2) 100%
  );
  text-align: center
}

.normalcenter {
  text-align: center;
}

.featurebox {
  padding: 28px 32px;
  border-radius: 18px;

  background: #ffffff;
  border: 1px solid rgba(195,168,107,0.35);
  box-shadow: var(--shadow);
}


/* Melbourne parallax section */
.melbourne-parallax {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url(../images/melbourne-sectionbg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.melbourne-parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 58, 95, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.melbourne-parallax .container {
  position: relative;
  z-index: 2;
}

.melbourne-parallax h2,
.melbourne-parallax p,
.melbourne-parallax ul,
.melbourne-parallax li {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.melbourne-parallax h2 {
  color: var(--gold);
}

/* Dark section styling */
.darksection{
  background-image:url(../images/fancy-cushion.png);
}
.darksection h3, h4 {
  color: var(--gold);
}

.darksection p{
  color:#ffffff;
}

.darksection .card p{
  color:var(--ink);
}

.darksection h1,
.darksection h2{
  color:var(--gold);
}

/* Light pattern */
.lightpattern{
  background-image:url(../images/spikes.webp);
}

.lightpattern .quote{
  box-shadow:var(--shadow);
}

/* Contact grid override */
#contact .grid-3{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:16px
}

/* Media Queries */
@media (max-width:953px){
  #contact .grid-3{
    grid-template-columns:1fr;
  }
}

@media (max-width:953px){
  .hero .wrap{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .steps.steps-3{grid-template-columns:1fr 1fr}
  .results .items{grid-template-columns:1fr 1fr}
  .cta-band{flex-direction:column;align-items:flex-start}
  #contact .grid-3{grid-template-columns:1fr}
}

@media (max-width:560px){
  .steps{grid-template-columns:1fr}
  .steps.steps-3{grid-template-columns:1fr}
  .results .items{grid-template-columns:1fr}
}

@media (min-width: 821px) {
  .mobile-menu {
    display: none !important;
  }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 953px) {
  .split {
    grid-template-columns: 1fr;
  }
}