
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #08752c;
    color: #ffffff;
}

/* HEADER */
.header {
    background: #ffffff;
    color: #08752c;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #222;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    color: #08752c;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #c49a25;
}

/* HERO */


.hero {
    min-height: 430px;
    background:
        linear-gradient(rgba(0, 60, 20, 0.65), rgba(0, 60, 20, 0.65)),
url("https://elevconstrutora.com.br/assets/project-residential-B-vXWbxT.jpg#")
        center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 750px;
    color: #ffffff;
}

.hero h1 {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* SEARCH */
.search-section {
    background: #ffffff;
    color: #08752c;
    padding: 35px 5%;
    text-align: center;
}

.search-section h2 {
    margin-bottom: 20px;
}

.search-section input,
.search-section select {
    padding: 13px;
    margin: 7px;
    border: 1px solid #08752c;
    border-radius: 5px;
    min-width: 190px;
    max-width: 100%;
    outline: none;
}

/* PROPERTY SECTION */
.properties {
    padding: 50px 5%;
    text-align: center;
}

.properties h2,
.about h2,
.contact h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.section-intro {
    margin-bottom: 35px;
}

/* PARALLEL PROPERTY BOXES */
.property-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.property-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}
.property-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 22px rgba(0,0,0,.3);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #dddddd;
}

.property-info {
    padding: 18px;
}

.property-info h3 {
    color: #08752c;
    margin-bottom: 10px;
    font-size: 18px;
}

.property-info p {
    margin-bottom: 13px;
    color: #555555;
}

.property-info span {
    display: inline-block;
    background: #08752c;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
}

#noResults {
    background: white;
    color: #08752c;
    padding: 20px;
    border-radius: 5px;
    margin-top: 25px;
}

/* ABOUT */
.about {
    background: #ffffff;
    color: #08752c;
    text-align: center;
    padding: 60px 8%;
}

.about p {
    max-width: 900px;
    margin: 15px auto;
    line-height: 1.9;
    font-size: 16px;
}

/* CONTACT */
.contact {
    padding: 55px 5%;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 35px auto;
    max-width: 950px;
}

.contact-box {
    background: #ffffff;
    color: #08752c;
    padding: 25px 15px;
    border-radius: 8px;
    min-width: 0;
}

.contact-box h3 {
    margin-bottom: 12px;
}

.contact-box p,
.contact-box a {
    color: #333333;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-box a:hover {
    color: #08752c;
    text-decoration: underline;
}

.map-heading {
    margin: 40px 0 20px;
    font-size: 23px;
}

.map-container {
    max-width: 1100px;
    margin: auto;
    border: 5px solid white;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    display: block;
}

/* FOOTER */
footer {
    background: #064d20;
    text-align: center;
    padding: 35px 15px;
    line-height: 2;
}

footer h3 {
    font-size: 23px;
}

/* TABLET */
@media (max-width: 1000px) {
    .property-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 38px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        justify-content: center;
        gap: 12px;
    }

    nav a {
        font-size: 13px;
    }

    .logo {
        font-size: 21px;
    }

    .hero {
        min-height: 350px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .search-section input,
    .search-section select {
        width: 100%;
        margin: 7px 0;
    }

    /* TWO PARALLEL COLUMNS ON MOBILE */
    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .property-card img {
        height: 135px;
    }

    .property-info {
        padding: 10px;
    }

    .property-info h3 {
        font-size: 14px;
    }

    .property-info p {
        font-size: 12px;
    }

    .property-info span {
        font-size: 9px;
        padding: 6px;
    }

    .properties h2,
    .about h2,
    .contact h2 {
        font-size: 25px;
    }

    /* TWO PARALLEL CONTACT BOXES */
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .contact-box {
        padding: 18px 8px;
    }

    .contact-box h3 {
        font-size: 14px;
    }

    .contact-box p,
    .contact-box a {
        font-size: 12px;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* GREENHAVEN PROPERTIES ABOUT PAGE */

.about-page {
    background-color: #08752c !important;
    color: white !important;
    padding: 40px 5%;
    font-family: Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.about-page * {
    box-sizing: border-box;
}

/* HEADER */
.about-page .about-header {
    background-color: #064d20;
    color: white;
    text-align: center;
    padding: 45px 15px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.about-page .about-header h1 {
    color: white;
    font-size: 32px;
    margin: 0 0 15px;
}

.about-page .about-header h3 {
    color: #d8f0d8;
    margin: 0 0 12px;
}

.about-page .about-header p {
    color: white;
}

/* INTRODUCTION */
.about-page .about-intro {
    background-color: white !important;
    color: #08752c !important;
    text-align: center;
    padding: 35px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.about-page .about-intro h2 {
    color: #08752c;
    margin-bottom: 18px;
}

.about-page .about-intro p {
    color: #333;
    line-height: 1.8;
    max-width: 950px;
    margin: 12px auto;
}

/* ABOUT BOXES */
.about-page .about-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px;
    width: 100%;
}

.about-page .about-box {
    display: block;
    background-color: white !important;
    color: #333 !important;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.about-page .about-box:hover {
    transform: translateY(-5px);
}

.about-page .about-icon {
    font-size: 35px;
    margin-bottom: 12px;
}

.about-page .about-box h2 {
    color: #08752c !important;
    font-size: 21px;
    margin-bottom: 15px;
}

.about-page .about-box p {
    color: #333 !important;
    font-size: 15px;
    line-height: 1.8;
}

/* CALL TO ACTION */
.about-page .about-cta {
    background-color: #064d20 !important;
    color: white !important;
    text-align: center;
    padding: 40px 20px;
    margin-top: 35px;
    border-radius: 12px;
}

.about-page .about-cta h2 {
    color: white;
    margin-bottom: 15px;
}

.about-page .about-cta p {
    color: white;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-page .about-button {
    display: inline-block;
    background-color: white !important;
    color: #08752c !important;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* LEGAL SECTION */
.about-page .legal-section {
    margin-top: 40px;
    text-align: center;
}

.about-page .legal-section > h2 {
    color: white;
    margin-bottom: 25px;
}

.about-page .legal-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
}

.about-page .legal-box {
    background-color: white !important;
    color: #333 !important;
    padding: 25px 20px;
    border-radius: 9px;
    text-align: left;
    min-width: 0;
}

.about-page .legal-box h3 {
    color: #08752c !important;
    margin-bottom: 12px;
}

.about-page .legal-box p {
    color: #333 !important;
    font-size: 14px;
    line-height: 1.8;
}

/* MOBILE DISPLAY */
@media screen and (max-width: 600px) {

    .about-page {
        padding: 20px 10px;
    }

    .about-page .about-header h1 {
        font-size: 22px;
    }

    .about-page .about-header h3 {
        font-size: 17px;
    }

    .about-page .about-intro {
        padding: 22px 12px;
    }

    /* TWO PARALLEL COLUMNS */
    .about-page .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .about-page .about-box {
        padding: 16px 8px;
    }

    .about-page .about-icon {
        font-size: 26px;
    }

    .about-page .about-box h2 {
        font-size: 14px;
    }

    .about-page .about-box p {
        font-size: 11px;
        line-height: 1.7;
    }

    /* LEGAL BOXES TWO COLUMNS */
    .about-page .legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .about-page .legal-box {
        padding: 14px 8px;
    }

    .about-page .legal-box h3 {
        font-size: 13px;
    }

    .about-page .legal-box p {
        font-size: 11px;
        line-height: 1.7;
    }
}
/* =================================
   GREENHAVEN ABOUT PAGE
================================= */

/* TOP BAR */
.topbar {
    background: #ffffff;
    color: #08752c;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar .logo {
    color: #08752c;
}

.topbar .logo span {
    color: #222222;
}

.topbar nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar nav a {
    color: #08752c;
    text-decoration: none;
    font-weight: bold;
}

.topbar nav a:hover,
.topbar nav a.active {
    color: #c49a25;
}

/* ABOUT HERO */
.about-hero {
    background: linear-gradient(
        rgba(0, 60, 20, 0.85),
        rgba(0, 60, 20, 0.85)
    );
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.about-hero .small-heading {
    color: #c5f0ce;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-hero h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
}

.about-hero p:last-child {
    color: white;
    max-width: 750px;
    margin: auto;
    line-height: 1.8;
}

/* ABOUT CONTENT */
.about-content,
.legal-section {
    max-width: 1200px;
    margin: auto;
    padding: 55px 5%;
}

.section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading h2 {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 10px;
}

.section-heading p {
    color: #e2f5e5;
}

/* ABOUT CARDS */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-card {
    background: #ffffff;
    color: #333333;
    padding: 25px 20px;
    border-radius: 10px;
    border-left: 5px solid #c49a25;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transition: 0.3s ease;
    min-width: 0;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card .card-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.about-card h3 {
    color: #08752c;
    font-size: 20px;
    margin-bottom: 12px;
}

.about-card p {
    color: #444444;
    font-size: 15px;
    line-height: 1.8;
}

/* LEGAL INFORMATION */
.legal-section {
    padding-top: 20px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.legal-card {
    background: #ffffff;
    color: #333333;
    padding: 25px 20px;
    border-radius: 10px;
    border-left: 5px solid #08752c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 0;
    transition: 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
}

.legal-card h3 {
    color: #08752c;
    margin-bottom: 12px;
}

.legal-card p {
    color: #444444;
    font-size: 14px;
    line-height: 1.8;
}

/* CONTACT CALL TO ACTION */
.about-cta {
    background: #064d20;
    color: white;
    text-align: center;
    padding: 45px 20px;
}

.about-cta h2 {
    color: white;
    margin-bottom: 12px;
}

.about-cta p {
    color: white;
    margin-bottom: 22px;
}

.about-cta .cta-button {
    display: inline-block;
    background: white;
    color: #08752c;
    padding: 13px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.about-cta .cta-button:hover {
    background: #ccebd3;
}

/* ABOUT FOOTER */
body:has(.about-hero) footer {
    background: #033d1d;
    color: white;
    text-align: center;
    padding: 25px 15px;
    line-height: 1.8;
}

/* MOBILE DISPLAY: TWO COLUMNS */
@media screen and (max-width: 600px) {

    .topbar {
        flex-direction: column;
        text-align: center;
    }

    .topbar nav {
        justify-content: center;
        gap: 12px;
    }

    .topbar nav a {
        font-size: 13px;
    }

    .about-hero {
        padding: 50px 15px;
    }

    .about-hero h1 {
        font-size: 27px;
    }

    .about-hero p:last-child {
        font-size: 14px;
    }

    .about-content,
    .legal-section {
        padding: 35px 12px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .about-grid,
    .legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .about-card,
    .legal-card {
        padding: 14px 9px;
        overflow-wrap: anywhere;
    }

    .about-card .card-icon {
        font-size: 24px;
    }

    .about-card h3,
    .legal-card h3 {
        font-size: 14px;
    }

    .about-card p,
    .legal-card p {
        font-size: 11px;
        line-height: 1.6;
    }

    .about-cta h2 {
        font-size: 22px;
    }
}

/* TEST ABOUT PAGE CSS */
.about-hero {
    background: green !important;
    padding: 80px 20px !important;
}

.about-card {
    background: white !important;
    color: green !important;
    border: 3px solid gold !important;
}

/* ABOUT PAGE */

.about-hero {
    background: linear-gradient(
        rgba(0, 60, 20, 0.85),
        rgba(0, 60, 20, 0.85)
    );
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.about-grid,
.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-card,
.legal-card {
    background: white;
    color: #333;
    padding: 25px 20px;
    border-radius: 10px;
}

.about-card h3,
.legal-card h3 {
    color: #08752c;
}

.about-card p,
.legal-card p {
    color: #444;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .about-grid,
    .legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


/* =====================================
   GREENHAVEN PROPERTIES CONTACT PAGE
===================================== */

.contact-page {
    background: #f4fff6;
    color: #173b25;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}


/* CONTACT HERO */

.contact-hero {
    background: linear-gradient(135deg, #075b27, #078a3b);
    color: white;
    text-align: center;
    padding: 75px 20px;
}

.contact-subtitle {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.contact-hero h1 {
    font-size: 36px;
    margin: 15px 0;
}

.contact-hero p {
    max-width: 650px;
    margin: 15px auto;
    line-height: 1.8;
}


/* CONTACT SECTION */

.contact-section {
    max-width: 1100px;
    margin: auto;
    padding: 55px 20px;
}

.contact-heading {
    text-align: center;
    margin-bottom: 35px;
}

.contact-heading h2 {
    color: #08752c;
    font-size: 28px;
}

.contact-heading p {
    color: #555;
    line-height: 1.7;
}


/* CONTACT GRID - TWO COLUMNS */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}


/* CONTACT CARDS */

.contact-card {
    background: white;
    padding: 28px 20px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #d7eadb;
    box-shadow: 0 5px 18px rgba(0, 80, 30, 0.08);
    transition: 0.3s ease;
    overflow-wrap: anywhere;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 9px 22px rgba(0, 80, 30, 0.15);
}

.contact-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #08752c;
    font-size: 19px;
    margin-bottom: 12px;
}

.contact-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-card a {
    color: #078a3b;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-card a:hover {
    color: #034d20;
    text-decoration: underline;
}


/* CONTACT CTA */

.contact-cta {
    background: #e2f5e7;
    text-align: center;
    padding: 55px 20px;
}

.contact-cta h2 {
    color: #075b27;
    margin-bottom: 15px;
}

.contact-cta p {
    max-width: 650px;
    margin: 0 auto 25px;
    color: #444;
    line-height: 1.8;
}

.contact-cta a {
    display: inline-block;
    background: #08752c;
    color: white;
    padding: 14px 25px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: bold;
}

.contact-cta a:hover {
    background: #034d20;
}


/* MOBILE RESPONSIVENESS */

@media screen and (max-width: 600px) {

    .contact-hero {
        padding: 55px 15px;
    }

    .contact-hero h1 {
        font-size: 26px;
    }

    .contact-section {
        padding: 35px 12px;
    }

    .contact-heading h2 {
        font-size: 23px;
    }

    /* KEEP TWO COLUMNS ON MOBILE */

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .contact-card {
        padding: 20px 9px;
        border-radius: 9px;
    }

    .contact-card h3 {
        font-size: 15px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .contact-card a {
        font-size: 12px;
    }

    .contact-icon {
        font-size: 28px;
    }
}


/* =================================
   GREENHAVEN RESPONSIVE MENU
================================= */

/* HEADER */
.header {
    background: #ffffff;
    color: #08752c;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: nowrap;
}

/* LOGO */
.header .logo {
    color: #08752c;
    font-size: 24px;
    font-weight: bold;
}

.header .logo span {
    color: #222222;
}

/* DESKTOP NAVIGATION */
.gh-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gh-navigation a {
    color: #08752c;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
}

.gh-navigation a:hover {
    color: #c49a25;
}

/* HIDE CHECKBOX */
#gh-menu {
    display: none;
}

/* HAMBURGER HIDDEN ON DESKTOP */
.gh-menu-button {
    display: none;
    cursor: pointer;
    width: 35px;
    padding: 5px;
}

.gh-menu-button span {
    display: block;
    width: 28px;
    height: 3px;
    background: #08752c;
    margin: 6px 0;
    border-radius: 5px;
}

/* MOBILE VIEW */
@media screen and (max-width: 768px) {

    .header {
        padding: 15px 5%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .header .logo {
        font-size: 19px;
    }

    /* SHOW HAMBURGER */
    .gh-menu-button {
        display: block;
        z-index: 1002;
    }

    /* HIDE LINKS UNTIL CLICKED */
    .gh-navigation {
        display: none;
        position: absolute;
        top: 100%;
        right: 5%;
        width: 190px;
        background: #08752c;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.25);
        z-index: 1001;
    }

    /* OPEN MENU */
    #gh-menu:checked ~ .gh-navigation {
        display: flex;
    }

    .gh-navigation a {
        color: white;
        padding: 14px 18px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .gh-navigation a:hover {
        color: #c49a25;
    }
}



/* =================================
   GREENHAVEN PROPERTY FILTER
================================= */

.search-section {
    background: #ffffff;
    color: #08752c;
    padding: 45px 5%;
    text-align: center;
}

.search-section h2 {
    margin-bottom: 10px;
}

.search-section > p {
    margin-bottom: 20px;
}

/* FILTER TOGGLE BUTTON */

.filter-toggle {
    background: #08752c;
    color: #ffffff;
    border: none;
    padding: 14px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.filter-toggle:hover {
    background: #05551f;
    transform: translateY(-2px);
}

/* FILTER PANEL */

.filter-panel {
    display: none;
    max-width: 1100px;
    margin: 25px auto 0;
    padding: 25px;
    background: #f2f8f3;
    border: 1px solid #c9e2cf;
    border-radius: 12px;
    text-align: left;
}

.filter-panel.active {
    display: block;
    animation: filterOpen 0.3s ease;
}

@keyframes filterOpen {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FILTER GRID */

.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label {
    color: #08752c;
    font-weight: bold;
}

.filter-item input,
.filter-item select {
    width: 100%;
    padding: 13px;
    border: 1px solid #b7cdbb;
    border-radius: 6px;
    background: #ffffff;
    color: #222222;
    font-size: 15px;
    outline: none;
}

.filter-item input:focus,
.filter-item select:focus {
    border-color: #08752c;
    box-shadow: 0 0 5px rgba(8, 117, 44, 0.2);
}

/* FILTER ACTION BUTTONS */

.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.apply-filter,
.reset-filter {
    padding: 13px 25px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.apply-filter {
    background: #08752c;
    color: white;
}

.apply-filter:hover {
    background: #05551f;
}

.reset-filter {
    background: #e2e2e2;
    color: #222222;
}

.reset-filter:hover {
    background: #cccccc;
}

/* FILTER RESULTS COUNT */

.filter-count {
    color: #08752c;
    font-weight: bold;
    margin-top: 20px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {

    .search-section {
        padding: 35px 15px;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        padding: 18px;
    }

    .filter-actions {
        flex-direction: column;
    }

    .apply-filter,
    .reset-filter {
        width: 100%;
    }

    .filter-toggle {
        width: 100%;
    }

}


/* CUSTOMER ENQUIRY FORM */

.customer-form {
    background: #ffffff;
    color: #08752c;
    max-width: 800px;
    margin: 50px auto;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.customer-form h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.customer-form > p {
    text-align: center;
    margin-bottom: 25px;
    color: #444;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #08752c;
}

.customer-form button {
    width: 100%;
    padding: 15px;
    background: #08752c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.customer-form button:hover {
    background: #05551f;
}

#thankYouMessage {
    display: none;
    background: #e5f7e9;
    color: #08752c;
    text-align: center;
    padding: 25px;
    margin-top: 25px;
    border-radius: 8px;
}

#thankYouMessage h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {
    .customer-form {
        margin: 25px 12px;
        padding: 22px 16px;
    }

    .customer-form h2 {
        font-size: 23px;
    }
}


/* =========================================
   GREENHAVEN HOMEPAGE - PROFESSIONAL DESIGN
   ADD THIS TO THE BOTTOM OF style.css
========================================= */

/* TRUST STRIP */

.gh-trust-strip {
    background: #ffffff;
    color: #08752c;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 25px 5%;
    text-align: center;
}

.gh-trust-strip > div {
    padding: 15px 10px;
    border-right: 1px solid #dceadd;
}

.gh-trust-strip > div:last-child {
    border-right: none;
}

.gh-trust-strip h3 {
    font-size: 20px;
    margin-bottom: 7px;
}

.gh-trust-strip p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* HOMEPAGE SEARCH AREA */

#searchSection {
    background: #f4fff6;
    color: #08752c;
    padding: 50px 5%;
}

#searchSection h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

#searchSection > p {
    color: #555;
    margin-bottom: 22px;
    line-height: 1.7;
}

/* FILTER BUTTON */

#filterToggle {
    background: #08752c;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

#filterToggle:hover {
    background: #064d20;
}

/* FILTER PANEL */

#filterPanel {
    max-width: 1100px;
    margin: 25px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #d5e8d9;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

#filterPanel input,
#filterPanel select {
    width: 100%;
    min-width: 0;
    padding: 13px;
    border: 1px solid #c5d9c9;
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    font-size: 15px;
}

/* FILTER ACTIONS */

#applyFilter,
#resetFilter {
    padding: 13px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px 5px;
}

#applyFilter {
    background: #08752c;
    color: white;
}

#resetFilter {
    background: #e5e5e5;
    color: #222222;
}

#applyFilter:hover {
    background: #064d20;
}

#resetFilter:hover {
    background: #cccccc;
}

/* FILTER RESULTS */

#filterCount {
    color: #08752c;
    font-weight: bold;
    margin-top: 15px;
}

/* PROPERTY SECTION IMPROVEMENTS */

.property-grid {
    max-width: 1400px;
    margin: 30px auto 0;
}

.property-card {
    border: 1px solid #e5e5e5;
}

.property-card img {
    object-fit: cover;
}

.property-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.property-info h3 {
    line-height: 1.5;
}

.property-info p {
    line-height: 1.6;
}

/* PROPERTY ENQUIRY LINKS */

.property-enquiry {
    display: inline-block;
    background: #08752c;
    color: #ffffff;
    padding: 11px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
}

.property-enquiry:hover {
    background: #064d20;
}

/* NO RESULTS MESSAGE */

#noResults {
    max-width: 700px;
    margin: 30px auto;
    line-height: 1.7;
}

/* HOMEPAGE MOBILE RESPONSIVENESS */

@media screen and (max-width: 768px) {

    .gh-trust-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 12px;
        gap: 8px;
    }

    .gh-trust-strip > div {
        border-right: none;
        border-bottom: 1px solid #dceadd;
    }

    #searchSection {
        padding: 35px 15px;
    }

    #searchSection h2 {
        font-size: 24px;
    }

    #filterPanel {
        padding: 18px 12px;
    }

    #applyFilter,
    #resetFilter {
        width: 100%;
        margin: 7px 0;
    }

    .property-enquiry {
        width: 100%;
        text-align: center;
        padding: 10px 5px;
    }
}

@media screen and (max-width: 400px) {

    .gh-trust-strip h3 {
        font-size: 16px;
    }

    .gh-trust-strip p {
        font-size: 12px;
    }

    .property-info h3 {
        font-size: 13px;
    }

    .property-info p {
        font-size: 11px;
    }
}


/* =====================================
   GREENHAVEN EXPLORE PAGE
===================================== */

.explore-hero {
    background: linear-gradient(120deg, #064d20, #08752c);
    color: white;
    text-align: center;
    padding: 75px 20px;
}

.explore-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 15px;
}

.explore-hero p {
    max-width: 650px;
    margin: auto;
    line-height: 1.7;
}

.explore-container {
    width: 92%;
    max-width: 1250px;
    margin: 35px auto;
    padding-bottom: 40px;
}

.explore-heading {
    text-align: center;
    margin-bottom: 25px;
}

.explore-heading h2 {
    color: #08752c;
    font-size: 30px;
    margin-bottom: 10px;
}

.explore-filters {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    margin-bottom: 25px;
}

.explore-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.explore-filter-grid label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: #23432d;
}

.explore-filter-grid input,
.explore-filter-grid select {
    width: 100%;
    padding: 13px;
    border: 1px solid #d5dfd6;
    border-radius: 7px;
    font-size: 14px;
    background: white;
}

.explore-filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.explore-filter-actions button {
    padding: 12px 22px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
    background: #08752c;
    color: white;
}

.explore-filter-actions button:hover {
    background: #064d20;
}

#exploreReset {
    background: #e8eee9;
    color: #23432d;
}

#exploreReset:hover {
    background: #d5e5d8;
}

#exploreCount {
    color: #08752c;
    font-weight: bold;
    margin: 20px 0;
}

.explore-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.explore-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
    transition: transform .2s ease;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #e5eee6;
}

.explore-card-info {
    padding: 18px;
}

.explore-card-info h3 {
    color: #183b23;
    font-size: 18px;
    margin-bottom: 9px;
}

.explore-location {
    color: #666;
    margin-bottom: 12px;
}

.explore-tag {
    display: inline-block;
    background: #e5f3e8;
    color: #08752c;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 5px 10px 0;
}

.explore-price {
    color: #08752c;
    font-size: 17px;
    font-weight: bold;
    margin: 8px 0 15px;
}

.explore-enquire {
    display: block;
    background: #08752c;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 7px;
    font-weight: bold;
}

#exploreNoResults {
    text-align: center;
    padding: 40px 15px;
    background: white;
    border-radius: 10px;
    color: #555;
}

#exploreNoResults[hidden] {
    display: none;
}

.explore-note {
    background: #eaf3eb;
    padding: 18px;
    border-left: 4px solid #08752c;
    margin-top: 30px;
    line-height: 1.7;
    color: #34513a;
}

.explore-footer {
    background: #063d1b;
    color: white;
    text-align: center;
    padding: 30px 15px;
}

.explore-footer a {
    color: #b9e7c2;
}


/* TABLET */

@media (max-width: 850px) {
    .explore-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .explore-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* MOBILE */

@media (max-width: 550px) {
    .explore-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .explore-card img {
        height: 135px;
    }

    .explore-card-info {
        padding: 11px;
    }

    .explore-card-info h3 {
        font-size: 14px;
    }

    .explore-location {
        font-size: 12px;
    }

    .explore-price {
        font-size: 13px;
    }

    .explore-enquire {
        font-size: 12px;
        padding: 10px 5px;
    }

    .explore-filter-grid {
        grid-template-columns: 1fr;
    }

    .explore-hero {
        padding: 55px 15px;
    }
}

/* REMOVE PROPERTY BOXES COMPLETELY */

.property-card,
.property-info,
.property-grid .property-card,
.property-grid .property-info {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.property-card::before,
.property-card::after,
.property-info::before,
.property-info::after {
    display: none !important;
    content: none !important;
}


/* =====================================
   GREENHAVEN PROPERTIES PAGE
===================================== */

.properties-page {
    width: 92%;
    max-width: 1250px;
    margin: 50px auto;
    min-height: 500px;
}

.properties-heading {
    text-align: center;
    margin-bottom: 35px;
}

.properties-heading h1 {
    color: #08752c;
    font-size: 36px;
    margin: 12px 0;
}

.properties-heading p {
    color: #666;
    font-size: 16px;
}

.properties-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 22px;
    background: #f1f8f2;
    border: 1px solid #d7e9d9;
    border-radius: 12px;
    margin-bottom: 25px;
}

.properties-filter input,
.properties-filter select {
    width: 100%;
    min-width: 0;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    outline: none;
}

.properties-filter input:focus,
.properties-filter select:focus {
    border-color: #08752c;
}

#propertiesCount {
    color: #08752c;
    font-weight: bold;
    margin: 20px 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.property-card {
    background: white;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-info {
    padding: 18px;
}

.property-info h3 {
    color: #08752c;
    font-size: 19px;
    margin-bottom: 10px;
}

.property-info p {
    color: #555;
    margin: 9px 0;
    line-height: 1.5;
}

.property-price {
    color: #08752c !important;
    font-size: 19px;
    font-weight: bold;
}

.property-enquiry {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 18px;
    background: #08752c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.property-enquiry:hover {
    background: #05551f;
}

#propertiesEmpty {
    text-align: center;
    color: #777;
    padding: 40px 10px;
}

/* TABLET */

@media (max-width: 900px) {

    .properties-filter {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .properties-page {
        width: 94%;
        margin: 30px auto;
    }

    .properties-heading h1 {
        font-size: 26px;
    }

    .properties-filter {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .property-card img {
        height: 210px;
    }

}


/* =====================================
   FIX PROPERTY PAGE TEXT DISPLAY
===================================== */

.properties-page {
    color: #222;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.properties-heading h1 {
    color: #08752c !important;
    font-size: 34px !important;
    font-weight: 700;
    line-height: 1.3;
}

.properties-heading p {
    color: #555 !important;
    font-size: 16px;
    line-height: 1.7;
}

.properties-filter input,
.properties-filter select {
    color: #222 !important;
    background-color: #fff !important;
    font-size: 14px;
    line-height: 1.5;
}

.properties-filter input::placeholder {
    color: #777;
    opacity: 1;
}

#propertiesCount {
    color: #08752c !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.property-info {
    background: #fff !important;
    padding: 20px !important;
    text-align: left;
}

.property-info h3 {
    color: #08752c !important;
    font-size: 19px !important;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.property-info p {
    color: #444 !important;
    font-size: 15px !important;
    line-height: 1.7;
    margin: 8px 0;
}

.property-info .property-price {
    color: #08752c !important;
    font-size: 19px !important;
    font-weight: 700;
    margin-top: 12px;
}

.property-enquiry {
    color: #fff !important;
    background: #08752c !important;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    padding: 12px 16px;
}

#propertiesEmpty {
    color: #555 !important;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 600px) {

    .properties-heading h1 {
        font-size: 26px !important;
    }

    .property-info h3 {
        font-size: 18px !important;
    }

    .property-info p {
        font-size: 14px !important;
    }

}



/* WHITE AND GREEN THEME - PROPERTIES PAGE ONLY */

body:has(.properties-page) {
    background: #ffffff !important;
    color: #08752c !important;
}

body:has(.properties-page) .properties-page {
    background: #ffffff !important;
    color: #08752c !important;
}

body:has(.properties-page) .properties-heading h1,
body:has(.properties-page) .properties-heading p,
body:has(.properties-page) .properties-heading .section-kicker {
    color: #08752c !important;
}

body:has(.properties-page) .properties-filter {
    background: #ffffff !important;
    border: 1px solid #08752c !important;
}

body:has(.properties-page) .properties-filter input,
body:has(.properties-page) .properties-filter select {
    background: #ffffff !important;
    color: #08752c !important;
    border: 1px solid #08752c !important;
}

body:has(.properties-page) .properties-filter input::placeholder {
    color: #08752c !important;
}

body:has(.properties-page) #propertiesCount,
body:has(.properties-page) #propertiesEmpty {
    color: #08752c !important;
}

body:has(.properties-page) .property-card,
body:has(.properties-page) .property-info {
    background: #ffffff !important;
}

body:has(.properties-page) .property-card {
    border: 1px solid #08752c !important;
}

body:has(.properties-page) .property-info h3,
body:has(.properties-page) .property-info p {
    color: #08752c !important;
}

body:has(.properties-page) .property-enquiry {
    background: #08752c !important;
    color: #ffffff !important;
}

body:has(.properties-page) footer {
    background: #ffffff !important;
    color: #08752c !important;
    border-top: 1px solid #08752c;
}

body:has(.properties-page) footer h3,
body:has(.properties-page) footer p {
    color: #08752c !important;
}


/* ROUNDED PROPERTY PICTURES - EXPLORE PAGE */
.explore-card {
    overflow: hidden;
    border-radius: 18px;
}

.explore-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
}



/* PROPERTIES PAGE - ROUNDED PROPERTY PICTURES */

body:has(.properties-page) .property-card {
    border-radius: 18px !important;
    overflow: hidden !important;
}

body:has(.properties-page) .property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 18px !important;
}

/* =========================================
   GREENHAVEN PROPERTIES - FINAL CSS FIXES
========================================= */

/* GENERAL PAGE SETTINGS */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* PROPERTY PAGE - WHITE BACKGROUND */
body:has(.properties-page),
.properties-page {
    background: #ffffff !important;
    color: #08752c !important;
}

.properties-page h1,
.properties-page h2,
.properties-page h3,
.properties-page p,
.properties-page label {
    color: #08752c;
}

/* PROPERTY GRID */
.property-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
}

/* PROPERTY CARDS */
.property-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #e0e8e2;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.property-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.property-info {
    padding: 16px;
}

.property-info h3 {
    color: #08752c !important;
    font-size: 17px;
}

.property-info p {
    color: #444444 !important;
    overflow-wrap: anywhere;
}

/* EXPLORE GRID */
.explore-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* ABOUT PAGE */
.about-grid,
.legal-grid,
.about-page .about-grid,
.about-page .legal-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
}

.about-card,
.legal-card,
.about-page .about-box,
.about-page .legal-box {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
}

.contact-card {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* MOBILE MENU */
@media screen and (max-width: 768px) {
    .header {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .gh-menu-button {
        display: block;
    }

    .gh-navigation {
        display: none;
    }

    #gh-menu:checked ~ .gh-navigation {
        display: flex !important;
    }
}

/* MOBILE PROPERTY AND CONTENT LAYOUT */
@media screen and (max-width: 600px) {

    /* TWO PROPERTY COLUMNS */
    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .property-card img {
        height: 125px;
    }

    .property-info {
        padding: 10px;
    }

    .property-info h3 {
        font-size: 13px;
    }

    .property-info p {
        font-size: 11px;
    }

    .property-info span {
        font-size: 9px;
    }

    /* TWO EXPLORE COLUMNS */
    .explore-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    /* TWO ABOUT COLUMNS */
    .about-grid,
    .legal-grid,
    .about-page .about-grid,
    .about-page .legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .about-card,
    .legal-card,
    .about-page .about-box,
    .about-page .legal-box {
        padding: 14px 9px;
    }

    /* TWO CONTACT COLUMNS */
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .contact-card {
        padding: 16px 9px;
    }

    .contact-card h3 {
        font-size: 14px;
    }

    .contact-card p,
    .contact-card a {
        font-size: 11px;
    }

    /* FILTERS */
    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .filter-actions button {
        width: 100%;
    }

    /* PAGE SPACING */
    .properties,
    .contact-section {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* TABLET */
@media screen and (min-width: 601px) and (max-width: 1000px) {
    .property-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .explore-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
