/* ===================================== */
/* GLOBAL DESIGN SYSTEM IMPROVEMENTS     */
/* ===================================== */

:root {
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
    --transition: all 0.25s ease;
}

/* ===================================== */
/* BASE STRUCTURAL STABILIZATION         */
/* ===================================== */

html, body {
    height: 100%;
}

.container,
.container-fluid {
    position: relative;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Prevent accidental stretching */
img {
    max-width: 100%;
    height: auto;
}

/* Remove global image rounding (breaks property alignment) */
img {
    border-radius: 0 !important;
}


body {
    font-family: "Merriweather Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}


/* Smooth transitions everywhere */
a,
button,
.btn,
select,
.nav-link,
.dropdown-item,
input,
textarea,
.card,
.banner {
    transition: var(--transition);
}

/* ===================================== */
/* LINKS                                 */
/* ===================================== */

a {
    text-decoration: none;
    font-weight: 500;
}

    a:hover {
        text-decoration: underline;
    }


/* ===================================== */
/* BUTTON SYSTEM UPGRADE                 */
/* ===================================== */

.btn {
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-weight: 600;
    letter-spacing: .3px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn:active {
        transform: translateY(0);
    }


/* Make primary buttons feel modern */
.btn-primary {
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Favorite buttons modern pill look */
.btn-favorite,
.btn-favorite-on {
    border-radius: 50px;
}


/* ===================================== */
/* CARDS / CONTENT BLOCKS                */
/* ===================================== */

.banner,
.community-list .community-item .community-item-inner,
.infobox-wrapper .infobox-inner {
    border: none !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

    .banner:hover,
    .community-list .community-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

/* Improve blog list separation */
.blog-list-article {
    border-bottom: none !important;
    padding-bottom: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
}


/* ===================================== */
/* SECTION BLOCK MODERNIZATION           */
/* ===================================== */

#our-areas,
#locations,
#blog-comments,
#contact-comments {
    border: none !important;
    padding: 70px 0;
    background: #f8f9fb !important;
}

/* Give sections breathing room */
section,
#our-services,
#our-areas,
#locations {
    padding-top: 80px;
    padding-bottom: 80px;
}


/* ===================================== */
/* NAVIGATION UPGRADE                    */
/* ===================================== */

.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.navigation .navbar .navbar-nav > li a {
    font-weight: 500;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
}

    .navigation .navbar .navbar-nav > li a:hover {
        background: rgba(0,0,0,0.05);
    }

.navigation .navbar .navbar-nav > li.active > a {
    background: rgba(0,0,0,0.08);
}


/* ===================================== */
/* FORM FIELDS MODERNIZATION             */
/* ===================================== */

input,
textarea,
select {
    border-radius: var(--radius-sm) !important;
    padding: 10px 14px;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
}

    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: rgba(0,0,0,0.25) !important;
        box-shadow: 0 0 0 3px rgba(0,0,0,0.05) !important;
    }

/* Fancybox modals cleaner */
.fancybox-account .fancybox-skin {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}


/* ===================================== */
/* MAP + INFOBOX                         */
/* ===================================== */

.infobox-details {
    border: none !important;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
}

.marker-cluster {
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}


/* ===================================== */
/* HERO / CALLOUT CLEANUP                */
/* ===================================== */

#intro-callout .intro-content {
    border-radius: var(--radius-lg);
    backdrop-filter: blur(6px);
    padding: 40px;
}


/* ===================================== */
/* FOOTER MODERNIZATION                  */
/* ===================================== */

#footer-content {
    padding: 60px 0;
    background: #111 !important;
}

    #footer-content .footer-text,
    #footer-content .footer-text-smaller {
        opacity: 0.85;
    }


/* ===================================== */
/* REMOVE HARSH BORDERS GLOBALLY         */
/* ===================================== */

hr {
    border: none;
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.community-list .community-item .community-img > img {
    border: none !important;
}


/* ===================================== */
/* SUBTLE IMAGE POLISH                   */
/* ===================================== */

img {
    border-radius: var(--radius-md);
}


/* ===================================== */
/* SMALL VISUAL ENHANCEMENTS             */
/* ===================================== */

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -.3px;
}

.error-page .title header {
    font-size: 120px !important;
    opacity: .9;
}

.no-search-results {
    font-weight: 600;
}

/* PROPERTY CARD */

.property,
.property-box {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

    .property:hover,
    .property-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    }

/* KEEP PRICE STRAIGHT EDGE */
.property-box-price {
    border-radius: 0 !important;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 14px;
}


/* ===================================== */
/* MODERN SEARCH HERO                    */
/* ===================================== */

/* Unified Search Card Container */

#search-box-container,
#sell-box-container {
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(12px);
    border-radius: 6px !important;
    padding: 6px !important;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25) !important;
    margin: 0 auto !important;
}




/* ===================================== */
/* MODERN PROPERTY DETAIL TABS           */
/* ===================================== */

#prop-tab-nav.nav-pills .nav-link {
    border-radius: 30px !important;
    padding: 8px 18px;
    margin-right: 8px;
    transition: all 0.25s ease;
}

#prop-tab-nav.nav-pills .nav-link.active {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.property-box,
.property-row,
.section,
section,
.search-box-home #search-box-container {
    border: none !important;
}

#agent-box-container {
    position: relative;
    z-index: 5;
}

    #agent-box-container form {
        background: rgba(255,255,255,.85) !important;
        backdrop-filter: blur(8px);
        border-radius: var(--radius-lg);
        padding: 25px;
        box-shadow: var(--shadow-lg);
    }

    #agent-box-container h1 {
        text-shadow: none !important;
    }


#callout-panel {
    max-width: 95vw;
}

    #callout-panel #callout-body {
        border: none !important;
        box-shadow: var(--shadow-lg);
        border-radius: var(--radius-lg) 0 0 0;
    }

.banner {
    border: none !important;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.bootstrap-select .dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid #eee;
}

.bootstrap-select .selectpicker {
    border-radius: var(--radius-md);
    background: #f5f7fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

    .bootstrap-select .selectpicker:hover {
        background: #e9eef4 !important;
    }
/* ===================================== */
/* HERO STRUCTURAL FIX                   */
/* ===================================== */

.hero,
.agent-hero,
#hero,
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 550px;
}

    /* Hero background image */
    .hero img,
    .agent-hero img,
    #hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Center overlay content */
    .hero .container,
    .agent-hero .container,
    #hero .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        z-index: 5;
        text-align: center;
    }
.hero,
.agent-hero,
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
}


/* ===================================== */
/* NAV OVER HERO FIX                     */
/* ===================================== */

.navbar,
#main-nav,
.navigation {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    box-shadow: none !important;
}


    /* Optional subtle backdrop for readability */
    .navbar::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,0));
        z-index: -1;
    }

/* ===================================== */
/* MODERN SECTION REFINEMENT             */
/* ===================================== */

#locations,
#our-areas {
    border-top: none !important;
    border-bottom: none !important;
    background: #f6f7f9 !important;
    margin: 80px 0 !important;
    padding: 70px 0 !important;
}

/* ===================================== */
/* FOOTER REBALANCE                      */
/* ===================================== */

#footer-content {
    background: #f4f5f7 !important;
    color: #333 !important;
    padding: 70px 0 !important;
}

    #footer-content a {
        color: #333 !important;
    }

/* ===================================== */
/* HERO SEARCH COMPACTING                */
/* ===================================== */

#intro-callout .intro-content {
    margin-top: -80px !important;
    padding: 25px 30px !important;
}

.header.nav-clear {
    margin-top: 0 !important;
}

#our-services .buyers-box,
#our-services .sellers-box {
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.property-box-price {
    border-radius: 0 !important;
}
/* =========================
   2026 VISUAL RESET LAYER
========================= */

/* Modern Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: #f6f7f9 !important;
    color: #111 !important;
    letter-spacing: -0.2px;
}

/* Remove heavy borders everywhere */
input,
textarea,
select,
.card,
.property-box {
    border-color: #e8eaed !important;
}

/* Remove old shadows */
.card,
.property-box,
.listing-slider,
.container,
.well {
    box-shadow: none !important;
}

/* Modern headings */
h1, h2, h3 {
    font-weight: 600 !important;
    letter-spacing: -0.5px;
}

/* Space out sections */
section {
    padding: 20px 0 !important;
}

/* =========================
   HERO MODERNIZATION
========================= */

.header {
    position: relative;
}

    .header .bg-tint {
        opacity: 0.55 !important;
    }

.page-property-detail .property-page-header {
    margin-top: 55px; /* adjust to your navbar height */
}
/* Push AI Chat header below fixed navbar */
#full-header {
    position: relative;
    top: 55px; /* height of fixed navbar */
}

/* Force AI Chat header below navbar */
.page-ai-chat #full-header {
    margin-top: 55px; /* same as property page navbar offset */
}
.page-ai-chat #full-header {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 55px; /* navbar height */
    text-align: center;
    padding: 0 15px; /* small side padding for responsiveness */
}

/* Push chat content below the AI header */
#full-chat-container {
    margin-top: 45px; /* approximate height of #full-header */
}


/* Search Container Glass Effect */
#search-box-container {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* Modern Input */
#search-box-location {
    height: 58px !important;
    border-radius: 14px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 16px !important;
    padding-left: 20px !important;
}

/* Modern Button */
#submit-button {
    height: 58px !important;
    border-radius: 14px !important;
    background: #111 !important;
    border: none !important;
    font-weight: 500 !important;
}

    #submit-button:hover {
        background: #000 !important;
    }

/* =========================
   LISTING SLIDER MODERN
========================= */

.listing-slider {
    margin-top: 40px;
}

/* Hide ugly Owl dots if present */
.owl-dots {
    display: none !important;
}

/* Modern Nav Buttons */
.listing-slider-btn-left,
.listing-slider-btn-right {
    font-size: 28px !important;
    color: #111 !important;
    opacity: 0.6;
    transition: 0.2s ease;
}

    .listing-slider-btn-left:hover,
    .listing-slider-btn-right:hover {
        opacity: 1;
    }

/* =========================
   PROPERTY CARD UPGRADE
========================= */

.property-box,
.listing-item,
.owl-item > div {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    transition: 0.3s ease !important;
}

    .property-box:hover,
    .listing-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.15) !important;
    }

    /* Fix tight spacing */
    .property-box .content,
    .listing-item .content {
        padding: 24px !important;
    }

/* =========================
   BUTTON RESET
========================= */

.btn,
.btn-primary,
.btn-default {
    border-radius: 14px !important;
    padding: 12px 26px !important;
    font-weight: 500 !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: #111 !important;
}

    .btn-primary:hover {
        background: #000 !important;
    }

/* Spinner buttons small and readable */
.btn.spinner-up,
.btn.spinner-down {
    padding: 2px 6px !important; /* tiny padding */
    font-size: 14px !important; /* readable icon size */
    line-height: 1 !important; /* vertically center icon */
    border-radius: 4px !important;
    width: 28px; /* optional: fixed square */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn.spinner-up i,
    .btn.spinner-down i {
        font-size: 12px !important; /* ensures the icon is readable */
        line-height: 1;
    }

/* =========================
   TESTIMONIAL SLIDER MODERN FIX
========================= */

/* Section background */
#testimonials {
    background: #f6f7f9 !important; /* match global section gray */
    padding: 80px 0 !important;
}

    /* Owl Carousel outer wrappers match section bg */
    #testimonials .owl-stage-outer,
    #testimonials .owl-stage,
    #testimonials .owl-item,
    #testimonials .owl-item .item {
        background: #f6f7f9 !important; /* same gray as section */
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Testimonial card itself (white floating card) */
    #testimonials .testimonial {
        background: #fff; /* white card */
        border-radius: var(--radius-lg) !important; /* 16px modern radius */
        padding: 25px 30px;
        box-shadow: var(--shadow-lg); /* subtle modern shadow */
        color: #111;
        text-align: center;
        margin: 0 auto; /* center card in slide */
    }

        /* Quote text */
        #testimonials .testimonial .quote {
            color: #444;
            font-style: italic;
            font-size: 1.1em;
            line-height: 1.6;
        }

        /* Author text */
        #testimonials .testimonial .author {
            color: #777;
            margin-top: 15px;
            font-weight: 500;
        }

        /* Stars color */
        #testimonials .testimonial .stars i {
            color: #f5b50a; /* golden stars */
            margin: 0 2px;
        }

        /* Optional hover lift */
        #testimonials .testimonial:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

    /* Remove leftover Owl nav/dots backgrounds if present */
    #testimonials .owl-nav button,
    #testimonials .owl-dots button {
        background: transparent !important;
    }

/* =====================================
   LISTINGS PAGE – SEARCH BOX RESET
===================================== */

.page-listing.micro #search-box-container {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
/* =====================================
   LISTINGS PAGE – FIX TYPEAHEAD BORDER GHOST
===================================== */

.page-listing.micro .twitter-typeahead {
    width: 100%;
}

    .page-listing.micro .twitter-typeahead .tt-hint {
        border: none !important;
        border-radius: 4px !important;
        background: transparent !important;
    }

    .page-listing.micro .twitter-typeahead .tt-input {
        background-color: #fff !important;
        border-radius: 4px !important;
    }

    .page-listing.micro .twitter-typeahead .form-control {
        height: 38px; /* match your other filter inputs */
    }



/* Reduce extra spacing for contact page sections – balanced padding */
#agent-detail,
#contact-information,
#address,
#social,
#team {
    margin: 0 !important;
    padding: 8px 0 !important; /* small vertical padding */
}

    #agent-detail h3,
    #contact-information h3,
    #address h3,
    #social h3,
    #team h3 {
        margin-top: 0;
        margin-bottom: 12px; /* sensible spacing under headings */
    }

/* Social icons row */
#social-icons.row {
    margin: 0 !important; /* remove row gutters */
    gap: 12px; /* small spacing between icons */
}

/* Social icon columns */
#social-icons .col-12,
#social-icons .col-sm-6,
#social-icons .col-md-4,
#social-icons .col-lg-3 {
    padding: 4px; /* slight padding for breathing room */
}

/* Address & contact links */
#address address,
#address a {
    display: block;
    margin-bottom: 6px; /* keep links separated */
}

/* Team button */
#team a.btn {
    margin-top: 8px; /* small space above button */
}

/* Empty map container */
#contact-map {
    min-height: 150px; /* placeholder height if needed */
    margin: 0;
    padding: 0;
}

/* Row alignment */
#contact-information .row {
    align-items: flex-start; /* top-align columns */
    gap: 0; /* remove extra gaps */
}

/* ===================================== */
/* LISTINGS PAGE – REDUCE EXTRA SPACING */
/* ===================================== */

/* Results and Search Filter */
#results,
#search-filter {
    margin: 0 !important;
    padding: 8px 0 !important; /* small vertical padding for breathing room */
}

    /* Headings inside results and filters */
    #results h3,
    #search-filter h3 {
        margin-top: 0;
        margin-bottom: 12px; /* sensible spacing under headings */
    }

    /* Form rows inside search-filter */
    #search-filter .form-row,
    #search-filter .form-group {
        margin: 0 !important;
        padding: 4px 0; /* slight spacing between form elements */
    }

    /* Buttons or toggle groups inside search-filter */
    #search-filter .btn,
    #search-filter .btn-group {
        margin: 4px 2px; /* small spacing between buttons */
    }


#results,
#search-filter,
#properties {
    padding-top: 0px !important; /* small breathing room */
    padding-bottom: 0px !important;
}

#search-filter {
    margin: 0 !important;
}

#properties {
    margin: 0 !important;
}

/* Keep property-box-meta row flush, adjust SqFt number spacing */
.property-box-meta.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 12px !important; /* spacing above row */
    background: transparent !important;
}

/* Only nudge the numeric values in the last col (SqFt) */
.property-box-meta-item.col-3:last-child strong {
    padding-left: 6px; /* move the number slightly left */
    display: inline-block; /* ensures padding affects positioning */
}
/* Ensure price box sits flush above the property picture */
.property-box-picture {
    position: relative; /* ensures inner elements are positioned relative to this container */
}

.property-box-price {
    position: relative !important; /* remove absolute positioning if any */
    top: 0 !important; /* reset any vertical shift */
    margin: 0 !important; /* remove negative margins */
    width: 100%; /* span full width of picture container */
    padding: 8px 12px; /* optional: give a little breathing room inside */
    background: rgba(255,255,255,0.95); /* optional: keep price visually separate */
    z-index: 2; /* ensures it stays above background but below overlays */
    box-sizing: border-box; /* include padding in width calculation */
    text-align: center; /* optional: center the price text */
}



/* ===================================== */
/* HOMEPAGE SEARCH – GLASS + NO GHOSTING */
/* ===================================== */

/* Search Box Container */
.search-box-home #search-box-container {
    background: rgba(255, 255, 255, 0.6); /* glass effect */
    backdrop-filter: blur(12px); /* blur behind glass */
    border-radius: 30px; /* pill shape */
    padding: 6px 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0; /* remove extra gaps */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

    /* Input Column */
    .search-box-home #search-box-container .col-sm-9 {
        padding-right: 0;
    }

    /* Submit Button Column */
    .search-box-home #search-box-container .col-sm-3 {
        padding-left: 0;
    }

/* Typeahead / Input */
.search-box-home #search-box-location {
    height: 58px;
    width: 100%;
    border-radius: 30px; /* match container pill shape */
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.95);
    padding: 0 20px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

/* Remove inner ghosting for typeahead */
.search-box-home .twitter-typeahead,
.search-box-home .tt-input,
.search-box-home .tt-hint {
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 100%;
    border-radius: 30px !important;
}

/* Submit Button */
.search-box-home #submit-button {
    height: 58px;
    width: 100%;
    border-radius: 30px; /* match input pill */
    background: #111;
    color: #fff;
    font-weight: 500;
    border: none;
    padding: 0 20px;
    transition: background 0.2s ease;
}

    .search-box-home #submit-button:hover {
        background: #000;
    }


/* Sell Box Input */
.search-box-home #sell-box-container input {
    height: 58px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.6);
    padding: 0 20px;
    background: rgba(255,255,255,0.95);
}

/* Adjust spacing inside row */
.search-box-home #search-box-container .row {
    margin: 0;
}


