/* Premium Homes — elegant gold/dark system. Do not restyle the homepage hero. */

:root {
    --ph-gold: #bf9d34;
    --ph-gold-soft: #d4b45a;
    --ph-dark: #121b22;
    --ph-darker: #0c1318;
    --ph-ink: #1c252c;
    --ph-muted: #6b7280;
    --ph-paper: #f7f4ee;
    --ph-white: #ffffff;
}

/* Replace theme pink with gold, except the hero */
.section-title:before,
.btn.btn-outline-light,
.first-footer .newsletters h3::after,
.services-home .bg-base,
.first-footer .bloq-email .email input[type="submit"],
.listing-hidden-content.blue,
.nice-select .option:hover,
.feature-cities-1 .listing-badges .featured {
    background: var(--ph-gold) !important;
}

.section-title h2,
.welcome-title h2 span,
.services-home a.text-base,
#navigation.style-1 .current,
.first-footer .contactus ul li .fa,
.recently .homes-content .homes-list li,
.recently .homes-content .homes-list li i,
.portfolio .homes-content .homes-list li,
.portfolio .homes-content .homes-list li i {
    color: var(--ph-gold) !important;
}

a.button.border:not(.hero-search-go),
a.button:not(.hero-search-go),
#main-menu ul li a:hover,
#main-menu .dropdown-menu a:hover,
.bloq-search input[type="submit"] {
    background: var(--ph-gold);
}

#navigation.style-1 ul li:hover {
    background: rgba(191, 157, 52, 0.12);
}

.int_dark_bg {
    background: var(--ph-darker);
}

.bg-black-1,
.bg-black-2,
section.recently.portfolio,
section.blog-section,
section.services-home {
    background: var(--ph-dark) !important;
}

/* Section headings — editorial, like a luxury brochure */
.section-title {
    margin-bottom: 2rem;
}

.section-title:before {
    display: none !important;
}

.section-title h3 {
    color: var(--ph-gold) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.45rem !important;
}

.section-title h2 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 2.35rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    color: var(--ph-white) !important;
}

/* Property cards inspired by dpremiumhomes white tiles */
.ph-card-grid > [class*="col-"] {
    margin-bottom: 24px;
}

.ph-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: var(--ph-white);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ph-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.ph-card-media {
    display: block;
    height: 210px;
    background: var(--ph-ink) center/cover no-repeat;
}

.ph-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.15rem 1.2rem 1.05rem;
    min-height: 168px;
}

.ph-card-loc {
    color: var(--ph-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ph-card-loc i {
    margin-right: 0.3rem;
}

.ph-card-title {
    color: var(--ph-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ph-card-type {
    color: var(--ph-muted);
    font-size: 0.86rem;
}

.ph-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #eee8dc;
}

.ph-card-price {
    color: var(--ph-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.ph-card-go {
    color: var(--ph-gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ph-empty {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(191, 157, 52, 0.35);
    border-radius: 16px;
    padding: 2.4rem 1.5rem;
    text-align: center;
}

.ph-empty strong {
    display: block;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.ph-cta-row {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.ph-cta-row .btn,
.bg-all .btn.btn-outline-light {
    background: transparent !important;
    border: 1px solid var(--ph-gold) !important;
    color: var(--ph-gold) !important;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ph-cta-row .btn:hover,
.bg-all .btn.btn-outline-light:hover {
    background: var(--ph-gold) !important;
    color: var(--ph-dark) !important;
}

/* Statement strip — cream plaque so it lifts off the dark page */
.ph-statement {
    position: relative;
    background: var(--ph-paper);
    color: var(--ph-ink);
    text-align: center;
    padding: 4.6rem 1.5rem 4.4rem;
    overflow: hidden;
}

.ph-statement::before,
.ph-statement::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ph-gold), transparent);
}

.ph-statement::before { top: 0; }
.ph-statement::after { bottom: 0; }

.ph-statement-inner {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 2.4rem 1.6rem 2.2rem;
    border: 1px solid rgba(191, 157, 52, 0.38);
    box-shadow: inset 0 0 0 6px rgba(247, 244, 238, 1), inset 0 0 0 7px rgba(191, 157, 52, 0.22);
}

.ph-kicker {
    display: inline-block;
    color: var(--ph-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.ph-statement h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 600;
    color: var(--ph-dark);
    margin: 0;
    line-height: 1.18;
    text-transform: none;
}

.ph-rule {
    display: block;
    width: 52px;
    height: 2px;
    background: var(--ph-gold);
    margin: 1.15rem auto 1.25rem;
}

.ph-statement p {
    max-width: 640px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.75;
}

.ph-places {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 1.55rem 0 1.7rem;
    padding: 0;
}

.ph-places li {
    border: 1px solid rgba(191, 157, 52, 0.5);
    color: var(--ph-dark);
    background: rgba(191, 157, 52, 0.08);
    border-radius: 999px;
    padding: 0.38rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ph-statement-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ph-gold);
    color: var(--ph-dark) !important;
    border: 1px solid var(--ph-gold);
    border-radius: 999px;
    padding: 0.78rem 1.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ph-btn:hover {
    background: var(--ph-dark);
    border-color: var(--ph-dark);
    color: #fff !important;
}

.ph-btn-ghost {
    background: transparent;
    color: var(--ph-dark) !important;
}

.ph-invite .ph-btn-ghost {
    color: #fff !important;
    border-color: rgba(191, 157, 52, 0.7);
}

.ph-invite .ph-btn-ghost:hover {
    background: var(--ph-gold);
    border-color: var(--ph-gold);
    color: var(--ph-dark) !important;
}

.ph-statement .ph-btn-ghost:hover {
    background: var(--ph-dark);
    color: #fff !important;
}

/* Private rental invitation on the dark listings band */
.ph-invite {
    position: relative;
    text-align: center;
    max-width: 880px;
    margin: 0.4rem auto 0.2rem;
    padding: 3.1rem 1.7rem 2.7rem;
    background:
        radial-gradient(ellipse at top, rgba(191, 157, 52, 0.16), transparent 58%),
        rgba(12, 19, 24, 0.55);
    border: 1px solid rgba(191, 157, 52, 0.42);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.ph-invite::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(191, 157, 52, 0.22);
    pointer-events: none;
}

.ph-invite-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.05rem;
    border-radius: 50%;
    border: 1px solid var(--ph-gold);
    color: var(--ph-gold);
    font-size: 1.35rem;
    background: rgba(191, 157, 52, 0.08);
}

.ph-invite .ph-kicker {
    display: block;
}

.ph-invite strong {
    display: block;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.7rem, 3.4vw, 2.45rem);
    font-weight: 600;
    line-height: 1.2;
}

.ph-invite p {
    max-width: 560px;
    margin: 0 auto 1.7rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.02rem;
    line-height: 1.75;
}

@media (max-width: 767px) {
    .ph-statement {
        padding: 3.2rem 1rem 3rem;
    }

    .ph-statement-inner,
    .ph-invite {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .ph-statement-actions .ph-btn {
        width: 100%;
    }
}

/* Services */
.services-home {
    padding-top: 4rem;
    padding-bottom: 3.2rem;
}

.services-home .service {
    background: var(--ph-white) !important;
    border: 0 !important;
    border-radius: 18px !important;
    min-height: 0 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.services-home .service .media i,
.services-home .bg-base {
    background: var(--ph-gold) !important;
    color: var(--ph-dark) !important;
}

.services-home h4 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--ph-dark);
    font-size: 1.5rem;
}

.services-home .agent-section p {
    color: #4b5563;
    line-height: 1.7;
}

.services-home a.text-base {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem !important;
}

/* News */
.blog-section .news-item {
    background: var(--ph-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.blog-section .news-item-text h3,
.blog-section .news-item-text a h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--ph-dark) !important;
    text-transform: none !important;
}

.blog-section .action-list {
    display: none;
}

.blog-section .news-item-descr p {
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Buttons and chrome */
.go-up {
    background: var(--ph-gold) !important;
    color: var(--ph-dark) !important;
}

.listing-badges span {
    background: var(--ph-gold) !important;
    color: var(--ph-dark) !important;
}

.headings h1 {
    color: var(--ph-gold) !important;
}

/* Keep homepage hero exactly as designed */
#hero-area,
#hero-area * {
    /* no color reset here — hero-search.css owns this block */
}

#map-container.fullwidth-home-map {
    background: #000;
}

/* Icon fonts: keep FA4 .fa glyphs and FA5 fas/fab/far after mixed stylesheets */
@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/fontawesome-webfont3e6e.woff2") format("woff2"),
         url("../fonts/fontawesome-webfont3e6e.woff") format("woff"),
         url("../fonts/fontawesome-webfont3e6e.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    src: url("../webfonts/fa-solid-900.woff2") format("woff2"),
         url("../webfonts/fa-solid-900.woff") format("woff"),
         url("../webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    src: url("../webfonts/fa-regular-400.woff2") format("woff2"),
         url("../webfonts/fa-regular-400.woff") format("woff"),
         url("../webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    src: url("../webfonts/fa-brands-400.woff2") format("woff2"),
         url("../webfonts/fa-brands-400.woff") format("woff"),
         url("../webfonts/fa-brands-400.ttf") format("truetype");
}

.fa {
    font-family: FontAwesome !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fas {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

.far {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

#navigation ul li a:after,
#navigation ul ul li a:after {
    font-family: FontAwesome !important;
}

/* Mobile header: logo left, burger right */
@media (max-width: 1024px) {
    #header,
    #header.cloned {
        background: var(--ph-dark);
        padding: 0.45rem 0 !important;
        box-shadow: 0 8px 24px rgba(12, 19, 24, 0.28);
        border-bottom: 1px solid rgba(191, 157, 52, 0.28);
    }

    #header.cloned.sticky {
        background: var(--ph-dark);
    }

    #header .container-header,
    #header.cloned .container-header {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
        width: 100%;
    }

    #header .left-sides,
    #header.cloned .left-sides {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        gap: 12px;
        float: none;
    }

    #header #logo,
    #header.cloned #logo {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        max-width: calc(100% - 64px);
        margin: 0 !important;
        text-align: left !important;
        float: none !important;
        flex: 0 1 auto;
        z-index: 2;
        order: 1;
    }

    #header #logo img,
    #header.cloned #logo img,
    #logo.logo-white img {
        width: auto !important;
        max-width: 168px;
        height: 40px;
        max-height: 40px;
        object-fit: contain;
        object-position: left center;
    }

    #header .mmenu-trigger,
    #header.cloned .mmenu-trigger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0 0 0 auto !important;
        padding: 0;
        background: rgba(191, 157, 52, 0.08) !important;
        border: 1px solid rgba(191, 157, 52, 0.55);
        border-radius: 50%;
        box-shadow: none;
        flex: 0 0 44px;
        order: 3;
        z-index: 12;
        top: auto;
        position: relative;
        line-height: 0;
        overflow: hidden;
        -webkit-tap-highlight-color: transparent;
    }

    #header .mmenu-trigger:hover,
    #header .mmenu-trigger:focus-within {
        background: rgba(191, 157, 52, 0.18) !important;
        border-color: var(--ph-gold);
    }

    #header .hamburger,
    #header.cloned .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        top: 0 !important;
        left: 0 !important;
        padding: 0;
        margin: 0;
        transform: none !important;
        position: relative;
        line-height: 0;
    }

    #header .hamburger-box,
    #header.cloned .hamburger-box {
        display: block;
        position: relative;
        width: 18px;
        height: 12px;
        margin: 0 auto;
    }

    #header .hamburger-inner,
    #header .hamburger-inner::before,
    #header .hamburger-inner::after,
    #header.cloned .hamburger-inner,
    #header.cloned .hamburger-inner::before,
    #header.cloned .hamburger-inner::after {
        width: 18px;
        height: 2px;
        background-color: var(--ph-gold) !important;
        border-radius: 2px;
        left: 0;
    }

    #header .hamburger-inner,
    #header.cloned .hamburger-inner,
    #header .hamburger--collapse .hamburger-inner,
    #header.cloned .hamburger--collapse .hamburger-inner {
        top: 5px !important;
        bottom: auto !important;
        margin-top: 0;
    }

    #header .hamburger-inner::before,
    #header.cloned .hamburger-inner::before,
    #header .hamburger--collapse .hamburger-inner::before,
    #header.cloned .hamburger--collapse .hamburger-inner::before {
        top: -5px;
    }

    #header .hamburger-inner::after,
    #header.cloned .hamburger-inner::after,
    #header .hamburger--collapse .hamburger-inner::after,
    #header.cloned .hamburger--collapse .hamburger-inner::after {
        top: 5px;
        bottom: auto;
    }

    #header .hamburger--collapse.is-active .hamburger-inner,
    #header.cloned .hamburger--collapse.is-active .hamburger-inner {
        transform: rotate(-45deg);
    }

    #header #navigation,
    #header.cloned #navigation {
        display: none !important;
    }
}

@media (max-width: 575px) {
    #header #logo img,
    #header.cloned #logo img,
    #logo.logo-white img {
        max-width: 132px;
        height: 36px;
        max-height: 36px;
    }

    #header .container-header,
    #header.cloned .container-header {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.mm-menu {
    background: var(--ph-dark) !important;
    color: var(--ph-paper) !important;
    border-color: rgba(191, 157, 52, 0.22) !important;
}

.mm-navbar {
    border-bottom: 1px solid rgba(191, 157, 52, 0.28) !important;
    background: var(--ph-darker) !important;
}

.mm-navbar a,
.mm-navbar > * {
    color: var(--ph-gold) !important;
}

.mm-listview > li > a,
.mm-listview > li > span {
    color: #f4efe4 !important;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.mm-listview > li:after {
    border-color: rgba(191, 157, 52, 0.16) !important;
}

.mm-listview > li.mm-selected > a,
.mm-listview > li > a:hover {
    background: rgba(191, 157, 52, 0.12) !important;
    color: var(--ph-gold) !important;
}

.mm-listview .mm-counter {
    display: none !important;
}
