html, body {
    background-color: #ece9e4;
    /* keep default text/background behaviour */
    color: inherit;
}

/* Navbar over hero: small logo top-left, menu top-right horizontally */
.primary-nav {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background .2s ease;
    padding-top: 12px;
    padding-bottom: 12px;
    top: 12px;
}

    /* optional: solid background once scrolled (you can enable via JS), keep here for fallback */
    .primary-nav.scrolled {
        background: rgba(6,18,35,0.85);
    }

    /* brand logo sizing for the top-left small logo */
    .primary-nav .brand-logo {
        max-height: 46px;
        width: auto;
        display: block;
    }

    /* ensure links are visible over hero */
    .primary-nav .nav-link {
        color: rgba(255,255,255,0.95);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

        .primary-nav .nav-link:hover,
        .primary-nav .nav-link:focus {
            color: #ffd;
        }

/* push page content down so hero content isn't hidden behind absolute nav */
.hero {
    background-image: url('/images/lawyer-sydney.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0 60px; /* extra top padding to account for absolute navbar */
    min-height: 420px;
    display: flex;
    align-items: center;
}

    /* dark overlay to keep white logo/text readable */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(6,18,35,0.25), rgba(6,18,35,0.45));
        z-index: 1;
    }

    /* inner content sits above overlay */
    .hero .container {
        position: relative;
        z-index: 2;
    }

/* hero text */
.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #fff;
    text-align: center;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Make obfuscated/generated email anchors match surrounding text */
.email-link,
.email-link:link,
.email-link:visited,
.email-link:hover,
.email-link:focus {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: none !important;
    cursor:pointer;
    outline: none;
    
}
.text-brown {
    color: #92897c;
}
h1, h2, h3, h4, h5 {
 
   /* font-size:x-large */
}

h1, h2, h3, h4, h5 {
    color: #92897c;
  
}

.page-text {
    color: #747473;
}

.site-body {
    margin-top:20px;
}

.site-footer {
    background-color: #222222;
}
/* mobile adjustments */
@media (max-width: 767.98px) {
    .primary-nav {
        position: relative;
        background: #061223;
    }

    .hero {
        padding-top: 80px;
        min-height: 260px;
    }

    .primary-nav .brand-logo {
        max-height: 56px;
    }
}
