:root {
    --bg: #ffffff;
    --text: #1b1b1b;
    --muted: #5a5a5a;
    --accent: #17442d;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

header {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("../images/YBE001 Nately Gardens_Exterior - Elevated_rev05.jpg") center/cover no-repeat;
    display: grid;
    place-items: center;
    text-align: center;
}

.nav-bar {
    font-family: "Poppins", sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 60px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
    z-index: 100;
}
.brand {
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 4px;
    transition:
        color 0.2s,
        background 0.2s;
}
.nav-menu a:hover {
    color: var(--accent);
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
    border-radius: 2px;
}
.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.burger span::before {
    top: -6px;
}
.burger span::after {
    bottom: -6px;
}

.mobile-panel {
    font-family: "Poppins", sans-serif;
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}
.mobile-panel a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #222;
    font-weight: 700;
    border-top: 1px solid #f3f3f3;
}
.mobile-panel a:hover {
    background: #faf7f1;
}

.header-content {
    background: rgba(255, 255, 255, 0.92);
    padding: clamp(28px, 4vw, 60px) clamp(20px, 4vw, 40px);
    box-shadow: var(--shadow);
    max-width: min(800px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.header-content h1 {
    font-size: clamp(44px, 6vw, 92px);
    font-weight: 900;
    margin: 0 0 16px;
    line-height: 1.04;
}
.header-content p {
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 22px;
}
.header-content button {
    background: var(--accent);
    border: none;
    color: white;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 28px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background 0.25s ease;
}
.header-content button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

section {
    padding: clamp(60px, 8vw, 100px) 10%;
}
h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    margin: 0 0 14px;
}
p.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 680px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.gallery img {
    width: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.gallery img:hover {
    transform: scale(1.03);
}

footer {
    padding: 22px 8%;
    text-align: center;
    color: #7f8b95;
    background: #fff;
    border-top: 1px solid #eee;
}

@media (max-width: 1024px) {
    .nav-bar {
        padding: 16px 28px;
    }
}
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    .burger {
        display: inline-flex;
    }
    .nav-bar {
        padding: 14px 20px;
    }
}
@media (min-width: 901px) {
    .mobile-panel {
        display: none !important;
    }
}
@media (max-width: 640px) {
    section {
        padding-left: 6%;
        padding-right: 6%;
    }
}

.nav-bar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.nav-bar.scrolled .brand {
    color: var(--accent);
}
.nav-bar.scrolled .nav-menu a {
    color: var(--text);
}
.nav-bar.scrolled .nav-menu a:hover {
    color: var(--accent);
}

.nav-bar.scrolled .brand,
body.nav-open .nav-bar .brand {
  color: var(--accent);
}

.nav-bar.scrolled .burger,
body.nav-open .nav-bar .burger {
  border-color: #e7e7e7;
  background: #fff;
}

.nav-bar.scrolled .burger span,
.nav-bar.scrolled .burger span::before,
.nav-bar.scrolled .burger span::after,
body.nav-open .nav-bar .burger span,
body.nav-open .nav-bar .burger span::before,
body.nav-open .nav-bar .burger span::after {
  background: #222;
}

.nav-bar.scrolled .nav-menu a {
  color: var(--text);
}
.nav-bar.scrolled .nav-menu a:hover {
  color: var(--accent);
}
.section-tiles {
    background: #f5f6f7;
    padding: clamp(60px, 8vw, 100px) 10%;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    align-items: stretch;
}
.card {
    background: #fff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
.card .media {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.card .body {
    padding: 34px 28px 32px;
    text-align: center;
}
.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}
.card p {
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.6;
}
.btn {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 14px 24px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        filter 0.2s ease;
}
.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.card {
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}
.section-tiles {
    background: #f5f6f7;
    padding: clamp(60px, 8vw, 100px) 10%;
}
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    align-items: stretch;
}
.card {
    background: #fff;
    border: 1px solid #e9e9e9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
.card .media {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.card .body {
    padding: 34px 28px 32px;
    text-align: center;
}
.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}
.card p {
    color: var(--muted);
    margin: 0 0 22px;
    line-height: 1.6;
}
.btn {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 14px 24px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        filter 0.2s ease;
}
.btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.card {
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.features {
    padding: clamp(60px, 8vw, 100px) 8%;
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.feature {
    text-align: center;
}
.feature img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow);
}
.feature h3 {
    margin: 22px 0 10px;
    font-weight: 800;
    font-size: 26px;
}
.feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}
.feature ul li::before {
    content: "- ";
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.future-slab {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: #eee;
}
.future-slab .bg {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600") center/cover no-repeat;
}
.future-slab .overlay {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 8%;
}
.future-box {
    background: var(--accent);
    color: #fff;
    padding: clamp(28px, 5vw, 60px);
    max-width: 740px;
}
.future-box h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    margin: 0 0 16px;
}
.future-box hr {
    border: 0;
    height: 2px;
    width: 60px;
    background: rgba(255, 255, 255, 0.5);
    margin: 16px 0 24px;
}
.future-box ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    line-height: 1.9;
}
.future-box li {
    position: relative;
    padding-left: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.gallery-header h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}
.gallery-header button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    box-shadow: var(--shadow);
}
.features {
    padding: clamp(60px, 8vw, 120px) 6%;
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 64px 40px;
    align-items: start;
}
.feature {
    text-align: center;
}
.feature img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    box-shadow: none;
}
.feature h3 {
    margin: 22px 0 12px;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0.01em;
}
.feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #2a2a2a;
    line-height: 2;
    font-weight: 500;
}
.feature ul li {
    position: relative;
    padding-left: 0;
}
.feature ul li::before {
    content: "- ";
    margin-right: 0.2em;
    color: #2a2a2a;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.features-masonry {
    padding: clamp(60px, 8vw, 120px) 6%;
    background: #fff;
}
.features-grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 64px 40px;
    align-items: start;
}
.feature-card {
    text-align: center;
}
.feature-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.feature-card h3 {
    margin: 22px 0 12px;
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0.01em;
}
.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #2a2a2a;
    line-height: 2;
    font-weight: 500;
}
.feature-card ul li::before {
    content: "- ";
    margin-right: 0.2em;
    color: #2a2a2a;
}
.feature-card--tall {
    grid-row: span 2;
    align-self: stretch;
}
.feature-card--tall img {
    height: 100%;
    min-height: 760px;
}

@media (max-width: 1200px) {
    .features-grid-masonry {
        gap: 48px 28px;
    }
}
@media (max-width: 1024px) {
    .features-grid-masonry {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
    .feature-card--tall {
        grid-row: auto;
    }
    .feature-card--tall img {
        min-height: 480px;
    }
}
@media (max-width: 640px) {
    .features-grid-masonry {
        grid-template-columns: 1fr;
    }
    .feature-card img {
        height: 320px;
    }
    .feature-card--tall img {
        min-height: 360px;
    }
}

.cta-band {
    background: #0f1a15;
    color: #fff;
    padding: clamp(80px, 12vw, 140px) 6%;
    text-align: center;
    position: relative;
}
.cta-inner {
    max-width: 960px;
    margin: 0 auto;
}
.cta-band h2 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 4.2vw, 48px);
    margin: 0 0 8px;
    font-weight: 700;
}
.cta-sub {
    font-family: "Poppins", sans-serif;
    font-size: clamp(20px, 3.2vw, 36px);
    margin: 0 0 28px;
    opacity: 0.95;
}
.cta-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 16px 28px;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.cta-btn:hover {
    filter: brightness(1.08);
}

.contact-strip {
    background: #0d1914;
    color: #eef2ef;
    padding: clamp(60px, 8vw, 100px) 6%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    margin: 0 0 18px;
    position: relative;
}
.contact-title:after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--accent));
    margin-top: 10px;
}
.contact-list {
    margin: 0;
}
.contact-list dt {
    width: 90px;
    float: left;
    clear: left;
    opacity: 0.7;
    font-weight: 600;
}
.contact-list dd {
    margin: 0 0 10px 100px;
}

.enquire-form input,
.enquire-form textarea {
    width: 100%;
    background: #121f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e9f1ed;
    padding: 12px 14px;
    margin-bottom: 12px;
    outline: none;
}
.enquire-form input::placeholder,
.enquire-form textarea::placeholder {
    color: #c9d6cf;
}
.enquire-form .row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.enquire-form .btn.submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    margin-top: 6px;
    cursor: pointer;
}
.enquire-form .btn.submit:hover {
    filter: brightness(1.08);
}

.agent-card {
    display: flex;
    gap: 16px;
    align-items: center;
}
.agent-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}
.agent-name {
    font-weight: 800;
}
.agent-role {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 6px;
}
.agent-row {
    font-size: 14px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .enquire-form .row.two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
  body.nav-open .nav-bar {
  background:#fff !important;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}
  .nav-bar.nav-open .brand { color: var(--accent); }
  .nav-bar.nav-open .burger {
    border-color: #e7e7e7;
    background: #fff;
  }
  .nav-bar.nav-open .burger span,
  .nav-bar.nav-open .burger span::before,
  .nav-bar.nav-open .burger span::after { background: #222; }

  #mobilePanel{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    display: block;
    text-align: center;

    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform .32s cubic-bezier(.32,.72,.25,1),
      opacity   .28s ease,
      visibility 0s linear .32s;
  }

  .nav-open #mobilePanel{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform .32s cubic-bezier(.32,.72,.25,1),
      opacity   .28s ease,
      visibility 0s;
  }

  #mobilePanel a{
    display:block;
    padding:12px 16px;
    border-top:1px solid #f3f3f3;
    font-weight:600;
    color:#1b1b1b;
  }

  body.nav-open .nav-bar.scrolled { background:#fff !important; }
}

.nav-bar.nav-open {
    background: #fff;
}

:root {
    --rev-dur: 1.2s;
    --rev-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity var(--rev-dur) var(--rev-ease),
        transform var(--rev-dur) var(--rev-ease);
    transition-delay: var(--rev-delay, 0s);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal="fade-in"] {
    transform: none;
}
[data-reveal="fade-up"] {
    transform: translateY(16px);
}
[data-reveal="fade-down"] {
    transform: translateY(-16px);
}
[data-reveal="fade-left"] {
    transform: translateX(20px);
}
[data-reveal="fade-right"] {
    transform: translateX(-20px);
}
[data-reveal="zoom-in"] {
    transform: scale(0.96);
}

[data-reveal] {
    transition-delay: var(--rev-delay, 0s);
}

[data-reveal-parent] > *[data-reveal] {
    --rev-delay: calc(var(--rev-step, 0.08s) * var(--i, 0));
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.lightbox.open {
    display: flex;
}
.lb-stage {
    position: relative;
    width: min(92vw, 1400px);
    height: min(88vh, 900px);
}
.lb-img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    object-fit: contain;
}
.lb-topbar {
    position: absolute;
    top: 10px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    opacity: 0.9;
    font-weight: 600;
}
.lb-count {
    font-family: Poppins, sans-serif;
    letter-spacing: 0.02em;
}
.lb-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s;
}
.lb-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}
.lb-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.lb-arrow {
    pointer-events: auto;
    margin: 0 14px;
}
.lb-caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    max-width: min(88vw, 1200px);
    color: #fff;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}
@media (max-width: 640px) {
    .lb-btn {
        width: 38px;
        height: 38px;
    }
}

.gallery-grid figure {
    cursor: zoom-in;
}


.lb-topbar,
.lb-arrows,
.lb-caption {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.lb-count {
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
}

.lb-btn {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.lb-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.lb-arrow {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    width: 56px;
    height: 56px;
    margin: 0 24px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.lb-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.nav-bar {
  transition:
    background-color 0.45s cubic-bezier(0.25, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.25, 1, 0.3, 1),
    color 0.45s ease,
    backdrop-filter 0.45s ease;
}

.lb-caption {
    background: rgba(0, 0, 0, 0.55);
    padding: 8px 18px;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    display: inline-block;
}

.lightbox.open {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .section-tiles,
    .gallery-section,
    .location-section,
    .features,
    .features-masonry,
    .contacts,
    .form-block {
        padding-left: 2% !important;
        padding-right: 2% !important;
    }
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 90;
    transition: opacity 0.18s ease;
}
.nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.nav-bar {
    z-index: 100;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
}

button,
.btn,
.cta-btn,
.enquire-form .btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease !important;
}

button:hover,
.btn:hover,
.cta-btn:hover,
.enquire-form .btn:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

button:active,
.btn:active,
.cta-btn:active,
.enquire-form .btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Alternating image/text section (no conflict with existing .feature rules) */
.alt-feature{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin: 44px 0;
}

.alt-feature-img{
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
  display: block;
  border: 0;
}

.alt-feature-body .alt-feature-title{
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
}

.alt-feature-body p{
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

/* Flip order for the middle block */
.alt-feature--reverse .alt-feature-img{ order: 2; }
.alt-feature--reverse .alt-feature-body{ order: 1; }

/* Responsive stack */
@media (max-width: 900px){
  .alt-feature{
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 28px 0;
  }
  .alt-feature--reverse .alt-feature-img,
  .alt-feature--reverse .alt-feature-body{
    order: initial; /* natural stack on mobile */
  }
}

/* ===================== */
/* PAGE-SPECIFIC HEROES  */
/* ===================== */
header.dev-hero {
  background: 
    url("../images/YBE001 Nately Gardens_Exterior - Houses_rev05.jpg") /* <-- replace with your own image path */
    center/cover no-repeat;
  height: 56vh;            /* match typical hero height */
  display: grid;
  place-items: center;
  text-align: center;
}

/* Optional: add a dark overlay for better text contrast */
header.dev-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* adjust opacity as needed */
  z-index: 0;
}

/* Keep header text above the overlay */
header.dev-hero .header-content {
  position: relative;
  z-index: 1;
}

/* Location page */
header.loc-hero {
  background: 
    url("../images/YBE001 Nately Gardens_Exterior - Main Building_rev05.jpg") /* Replace with your actual image path */
    center/cover no-repeat;
  height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}
header.loc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
header.loc-hero .header-content {
  position: relative;
  z-index: 1;
}

/* Gallery page */
header.gal-hero {
  background: 
    url("../images/YBE001-Nately_Grand Staircase_OP 1 (1).jpg") /* Replace with your actual image path */
    center/cover no-repeat;
  height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}
header.gal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
header.gal-hero .header-content {
  position: relative;
  z-index: 1;
}

/* Register page */
header.reg-hero {
  background: 
    url("../images/YBE001 - Nately_APT3 - BIG ROOM (1).jpg") /* Replace with your actual image path */
    center/cover no-repeat;
  height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
}
header.reg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
header.reg-hero .header-content {
  position: relative;
  z-index: 1;
}

.brand img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-brand-block{
  text-align:center;
  padding:40px 0 20px;
  background:#0d1914;   /* matches contact strip */
}

.footer-brand-block img{
  height:46px;
  width:auto;
  display:block;
  margin:0 auto 10px;
}

.footer-brand-block p{
  font-family:Poppins, sans-serif;
  font-size:13px;
  letter-spacing:2px;
  color:#fff;           /* white text */
  opacity:0.85;
}
