/* =========================================
   COMMON PROPERTY PAGE CSS
   Reuse for:
   - Property for Sale
   - Plots
   - Villas
   - Farmhouse
   - Farmland
   - Apartments
========================================= */


/* ===============================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Lora, sans-serif;
    color: #333;
    line-height: 1.7;
    background: #fff;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* ===============================
   COMMON CONTAINER
================================ */

.property-page-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ===============================
   COMMON SECTION
================================ */

.property-page-section {
    padding: 70px 0;
}

.property-page-light {
    background: #f8f9fb;
}


/* ===============================
   HEADINGS
================================ */

.property-page h1,
.property-page h2,
.property-page h3,
.property-page h4,
.property-page h5,
.property-page h6 {
    color: #173f67;
    line-height: 1.3;
    margin-bottom: 18px;
}

.property-page h1 {
    font-size: 46px;
}

.property-page h2 {
    font-size: 34px;
}

.property-page h3 {
    font-size: 27px;
}

.property-page h4 {
    font-size: 22px;
}

.property-page h5 {
    font-size: 19px;
}

.property-page h6 {
    font-size: 16px;
}


/* ===============================
   PARAGRAPH
================================ */

.property-page p {
    margin-bottom: 18px;
    font-size: 16px;
    color: #555;
}


/* ===============================
   HERO SECTION
================================ */

.property-page-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    color: #fff;
}

.property-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.property-page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.property-page-hero h1 {
    color: #fff;
}

.property-page-hero p {
    color: #fff;
    max-width: 700px;
    font-size: 18px;
}


/* ===============================
   COMMON BUTTON
================================ */

.property-page-btn {
    display: inline-block;
    padding: 13px 26px;
    background: #f8bd2d;
    color: #111;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.property-page-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* ===============================
   INTRO GRID
================================ */

.property-page-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.property-page-intro-image img {
    /*height: 430px;*/
    object-fit: cover;
    border-radius: 12px;
}


/* ===============================
   PROPERTY CARDS GRID
================================ */

.property-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.property-page-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.property-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.property-page-card img {
    height: 230px;
    object-fit: cover;
}

.property-page-card-content {
    padding: 22px;
}


/* ===============================
   BENEFIT / INFO BOXES
================================ */

.property-page-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.property-page-info-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}


/* ===============================
   LOCATION GRID
================================ */

.property-page-location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.property-page-location-box {
    background: #173f67;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.property-page-location-box:hover {
    transform: translateY(-4px);
    background: #0f3152;
}


/* ===============================
   CONTENT SECTION
================================ */

.property-page-content {
    max-width: 1000px;
}

.property-page-content p {
    text-align: justify;
}


/* ===============================
   CTA SECTION
================================ */

.property-page-cta {
    background: #173f67;
    color: #fff;
    text-align: center;
}

.property-page-cta h2 {
    color: #fff;
}

.property-page-cta p {
    color: #fff;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}


/* ===============================
   TABLET
================================ */

@media screen and (max-width: 991px) {

    .property-page h1 {
        font-size: 38px;
    }

    .property-page h2 {
        font-size: 30px;
    }

    .property-page-intro-grid {
        grid-template-columns: 1fr;
    }

    .property-page-grid,
    .property-page-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-page-location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-page-intro-image img {
        height: 360px;
    }
}


/* ===============================
   MOBILE
================================ */

@media screen and (max-width: 767px) {

    .property-page-section {
        padding: 45px 0;
    }

    .property-page-container {
        width: 92%;
    }

    .property-page h1 {
        font-size: 30px;
    }

    .property-page h2 {
        font-size: 26px;
    }

    .property-page h3 {
        font-size: 22px;
    }

    .property-page h4 {
        font-size: 19px;
    }

    .property-page-hero {
        min-height: 420px;
    }

    .property-page-hero p {
        font-size: 16px;
    }

    .property-page-grid,
    .property-page-info-grid,
    .property-page-location-grid {
        grid-template-columns: 1fr;
    }

    .property-page-intro-image img {
        height: 280px;
    }

    .property-page-card img {
        height: 220px;
    }

    .property-page-content p {
        text-align: left;
    }
}


/* ===============================
   SMALL MOBILE
================================ */

@media screen and (max-width: 480px) {

    .property-page h1 {
        font-size: 27px;
    }

    .property-page h2 {
        font-size: 24px;
    }

    .property-page h3 {
        font-size: 21px;
    }

    .property-page-hero {
        min-height: 380px;
    }

    .property-page-btn {
        width: 100%;
        text-align: center;
    }

    .property-page-card-content {
        padding: 18px;
    }
}