/* ==========================================================
   CANDOR PROPERTY
   Home Page
========================================================== */


/* ----------------------------------------------------------
   Home Page
---------------------------------------------------------- */

.cp-hero-eyebrow {
    color: #b6a58f;
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.cp-home-hero {
    background: #faf9f7;
    padding: 40px 0;
}

.cp-hero-title {
    color: #302b73;
    font-family: 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
}

.cp-hero-title-accent {
    color: #b6a58f;
}

.cp-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 10px;
}

.cp-hero-image {
    overflow: hidden;
    border-radius: 8px;
}

.cp-hero-image img {
    display: block;
    width: 100%;
 /*  height: 420px;*/
    object-fit: cover;
}


/* ==========================================================
   Featured Listings
========================================================== */

.cp-featured-listings {
    background-color: #f6f4f1;
}


.cp-view-all {
    color: #302b73;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}


.cp-view-all:hover {
    color: #302b73;

    text-decoration: underline;
}


/* Swiper arrows */


.cp-featured-swiper {
    padding: 6px 6px 12px;
    --swiper-navigation-size: 34px;
}

.cp-featured-swiper .swiper-button-prev,
.cp-featured-swiper .swiper-button-next {
    color: #302b73;
    top: 35%;
}




/* ==========================================================
   Featured Property Cards
========================================================== */
.cp-property-card-title {
    margin-bottom: 6px;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.cp-property-card-town {
    margin-bottom: 14px;

    color: #666666;

    font-size: 14px;
    line-height: 1.4;
}

.cp-property-card-link {
    color: inherit;

    text-decoration: none;
}


.cp-property-card-link:hover {
    color: inherit;

    text-decoration: none;
}



.cp-property-card {
    position: relative;

    overflow: hidden;

    border: 1px solid #ddd;
    border-radius: 8px;

    background-color: #ffffff;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* Hover border */

.cp-property-card::after {
    content: "";

    position: absolute;
    inset: 0;

    border: 0 solid transparent;
    border-radius: 8px;

    pointer-events: none;

    transition: border 0.2s ease;
}


.cp-property-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);

    transform: translateY(-2px);
}


.cp-property-card:hover::after {
    border: 3px solid #007bff;
}




/* Property Image */

.cp-property-card-image {
    position: relative;

    overflow: hidden;
}


.cp-property-card-image img {
    width: 100%;

    height: 210px;

    object-fit: cover;
}


/* Price */

.cp-property-card-price {
    position: absolute;

    left: 15px;
    bottom: 15px;

    padding: 7px 10px;

    background-color: rgba(48, 43, 115, 0.70);

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    border-radius: 3px;
}



/* ==========================================================
   Home Valuation Section
========================================================== */

.cp-valuation-section {
    background-color: #ffffff;
}


.cp-valuation-text {
    color: #444444;

    font-size: 16px;
    line-height: 1.7;
}


.cp-valuation-icon {
    color: #b6a58f;

    font-size: 22px;
}


/* Form box */

.cp-valuation-form {
    padding: 35px;

    background-color: #f8f8f8;

    border-radius: 8px;
}


.cp-valuation-form h3 {
    color: #302b73;

    font-size: 26px;
    font-weight: 700;
}


/* Form controls */

.cp-valuation-form .form-control {
    min-height: 46px;

    border: 1px solid #dddddd;

    border-radius: 3px;
}


.cp-valuation-form textarea.form-control {
    min-height: 120px;
}


.cp-valuation-form .form-control:focus {
    border-color: #b6a58f;

    box-shadow: none;
}


.cp-valuation-form label {
    color: #333333;

    font-size: 14px;
    font-weight: 500;
}


.cp-valuation-form .form-check-label {
    font-size: 13px;
    font-weight: 400;

    line-height: 1.5;
}


.cp-valuation-form .form-check-label a {
    color: #302b73;
}


/* ==========================================================
   What We Do
========================================================== */

.cp-what-we-do {
    background-color: #f6f4f1
}


.cp-what-we-do-text {
    color: #555555;

    font-size: 16px;
    line-height: 1.7;
}


.cp-service-summary li {
    display: flex;

    justify-content: center;
    align-items: center;

    color: #302b73;

    font-size: 15px;
    font-weight: 500;
}


.cp-service-summary .material-icons {
    color: #b6a58f;

    font-size: 20px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 575.98px) {
    .cp-home-hero {
        padding: 30px 0;
    }

    .cp-hero-eyebrow {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .cp-hero-title {
        font-size: 38px;
        line-height: 1.08;
        margin-bottom: 16px;
    }

    .cp-home-hero p {
        font-size: 16px;
        line-height: 1.6;
    }

    .cp-hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 22px;
    }


    .cp-hero-buttons .cp-btn-primary,
    .cp-hero-buttons .cp-btn-secondary {
        display: block;
        width: 100%;
        padding: 14px 18px;
        text-align: center;
    }


    .cp-hero-image {
        margin-top: 30px;
    }

    .cp-valuation-form {
        padding: 25px 20px;
    }
    
    .cp-valuation-section .cp-btn-primary {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .cp-property-card-image img {
    height: 220px;
    }

}