/* =================================
   PROPZA MAIN STYLESHEET
================================= */

:root {
    --navy: #100B50;
    --red: #E53935;
    --green: #008653;
    --white: #ffffff;
    --background: #f5f6fa;
    --text: #333333;
    --muted: #777777;
    --border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--navy);
    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* HEADER */

.navbar {
    background: var(--white);
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 8px #00000010;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: 180px;
    height: 75px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar nav a {
    color: var(--navy);
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.navbar nav a:hover {
    color: var(--green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-button {
    color: var(--navy);
    font-weight: bold;
    font-size: 14px;
}

.list-button {
    background: var(--green);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.list-button:hover {
    background: #006b42;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    color: var(--navy);
    font-size: 27px;
    cursor: pointer;
}


/* HERO */

.hero {
    background: var(--navy);
    color: var(--white);
    padding: 90px 20px;
    text-align: center;
}

.hero-content {
    max-width: 1100px;
    margin: auto;
}

.eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero .eyebrow {
    color: #8ce2b9;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 65px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #8ce2b9;
}

.hero-text {
    color: #e0e0e0;
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: 16px;
}

.hero-note {
    color: #cccccc;
    font-size: 13px;
    margin-top: 20px;
}


/* SEARCH BAR */

.search-bar {
    background: var(--white);
    color: var(--navy);
    padding: 18px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1fr auto;
    gap: 12px;
    align-items: end;
    text-align: left;
    box-shadow: 0 8px 30px #00000020;
}

.search-bar label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.search-bar label span {
    font-size: 12px;
    font-weight: bold;
}

.search-bar input,
.search-bar select {
    width: 100%;
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    background: white;
    color: var(--navy);
    font-size: 13px;
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--green);
}

.search-bar button {
    background: var(--red);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.search-bar button:hover {
    background: #c62828;
}


/* SECTION HEADINGS */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.section-heading h2,
.locations h2 {
    font-size: 29px;
    margin-bottom: 8px;
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
}

.listing-status {
    background: #d9f5e7;
    color: #006b42;
    padding: 8px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}


/* LOCATIONS */

.locations,
.properties {
    max-width: 1200px;
    margin: auto;
    padding: 65px 25px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.location-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    color: var(--navy);
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.location-card:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-3px);
}


/* PROPERTY CARDS */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px #00000008;
    transition: 0.2s;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px #00000012;
}

.property-image {
    height: 220px;
    background: #e9eaf0;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-details {
    padding: 20px;
}

.property-price {
    color: var(--green);
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 8px;
}

.property-title {
    font-size: 19px;
    margin-bottom: 9px;
    color: var(--navy);
}

.property-location,
.property-features,
.property-description {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 9px;
}

.property-description {
    line-height: 1.5;
}

.view-property-button {
    display: block;
    width: 100%;
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    margin-top: 16px;
    font-weight: bold;
    font-size: 14px;
}

.view-property-button:hover {
    background: var(--green);
}

.empty-state {
    background: white;
    padding: 35px;
    border-radius: 10px;
    text-align: center;
    color: var(--muted);
    grid-column: 1 / -1;
}

.empty-state h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.search-message {
    color: var(--green);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: bold;
}

.view-all {
    text-align: center;
    margin-top: 35px;
}

.primary-button {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 14px 25px;
    border-radius: 6px;
    font-weight: bold;
}

.primary-button:hover {
    background: #c62828;
}


/* HOW IT WORKS */

.how-it-works {
    background: white;
    padding: 75px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.how-it-works > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 650px;
    margin: auto;
}

.steps-grid {
    max-width: 1000px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
}

.step-number {
    color: var(--green);
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-card h3 {
    margin-bottom: 8px;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
}


/* LANDLORD SECTION */

.landlord-section {
    background: var(--navy);
    color: white;
    padding: 65px 25px;
    text-align: center;
}

.landlord-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.landlord-section p:not(.eyebrow) {
    color: #ddd;
    margin-bottom: 25px;
}

.landlord-button {
    display: inline-block;
    background: var(--green);
    color: white;
    padding: 14px 25px;
    border-radius: 6px;
    font-weight: bold;
}

.landlord-button:hover {
    background: #006b42;
}


/* FOOTER */

.footer {
    background: #08062f;
    color: white;
    padding: 55px 5% 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 45px;
}

.footer-brand img {
    width: 145px;
    max-height: 70px;
    object-fit: contain;
}

.footer-brand p {
    color: #cccccc;
    font-size: 13px;
    margin-top: 15px;
    max-width: 270px;
}

.footer-brand .company-name {
    color: #8ce2b9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-links h3 {
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: #cccccc;
    font-size: 12px;
    margin-bottom: 11px;
}

.footer-links a:hover {
    color: #8ce2b9;
}

.footer-bottom {
    border-top: 1px solid #ffffff25;
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #bbbbbb;
    font-size: 12px;
}


/* MOBILE RESPONSIVENESS */

@media (max-width: 900px) {

    .navbar {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .navbar nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 0;
    }

    .navbar nav.open {
        display: flex;
    }

    .navbar nav a {
        width: 100%;
        padding: 12px 5px;
        border-top: 1px solid var(--border);
    }

    .header-actions {
        order: 3;
        margin-left: auto;
    }

    .search-bar {
        grid-template-columns: 1fr 1fr;
    }

    .location-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .navbar {
        padding: 12px 15px;
        gap: 10px;
    }

    .logo img {
    width: 145px;
    height: 65px;
}

    .header-actions {
        gap: 10px;
    }

    .login-button {
        font-size: 12px;
    }

    .list-button {
        padding: 10px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 60px 18px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-text {
        font-size: 14px;
    }

    .search-bar {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .search-bar button {
        width: 100%;
    }

    .locations,
    .properties {
        padding: 45px 17px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading h2,
    .locations h2 {
        font-size: 25px;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .property-image {
        height: 210px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works {
        padding: 55px 18px;
    }

    .how-it-works h2 {
        font-size: 25px;
    }

    .landlord-section h2 {
        font-size: 26px;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}