/* =========================
   LIST PROPERTY PAGE
========================= */

.list-property-page {
    overflow: hidden;
}


/* =========================
   HERO SECTION
========================= */

.list-hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("l.jpeg");

    background-size: cover;
    background-position: fit;
    background-repeat: no-repeat;
}

.list-hero-content {
    max-width: 600px;
    color: white;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
}

.list-hero h1 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.list-hero p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 35px;
}

.start-listing-btn {
    display: inline-block;

    padding: 15px 28px;

    background: white;
    color: #222;

    text-decoration: none;
    border-radius: 6px;

    font-weight: 600;

    transition: 0.3s;
}

.start-listing-btn:hover {
    transform: translateY(-3px);
}


/* =========================
   BENEFITS SECTION
========================= */

.listing-benefits {
    padding: 100px 8%;
}

.section-heading {
    max-width: 600px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.2;
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.benefit-card {
    padding: 35px;

    background: #f8f8f8;

    border-radius: 12px;
}

.benefit-card i {
    font-size: 28px;
    margin-bottom: 25px;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

.benefit-card p {
    color: #777;
    line-height: 1.7;
}


/* =========================
   FORM SECTION
========================= */

.property-form-section {
    max-width: 850px;

    margin: 0 auto;

    padding: 80px 30px 120px;
}

.form-heading {
    margin-bottom: 45px;
}

.form-heading h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.form-heading p:not(.eyebrow) {
    color: #777;
}


.property-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: 7px;

    font-family: inherit;
    font-size: 15px;

    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #222;
}

.submit-property-btn {
    margin-top: 15px;

    padding: 17px;

    border: none;

    background: #222;
    color: white;

    border-radius: 7px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.submit-property-btn:hover {
    background: #444;
}


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {

    .list-hero {
        min-height: 550px;
        padding: 60px 25px;
    }

    .list-hero h1 {
        font-size: 42px;
    }

    .listing-benefits {
        padding: 70px 25px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .list-hero h1 {
        font-size: 35px;
    }

    .list-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .property-form-section {
        padding: 60px 20px 90px;
    }

}