/*
 * DG Imports — Custom Dark Gold Theme Override
 * Complete dark luxury theme for Homzen properties pages
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --dg-gold:        #C9A84C;
    --dg-gold-light:  #D4AF37;
    --dg-gold-pale:   #F5E6C8;
    --dg-gold-dark:   #9A7B2E;
    --dg-black:       #0A0A0A;
    --dg-black-light: #141414;
    --dg-black-card:  #1A1A1A;
    --dg-gray-dark:   #2A2A2A;
    --dg-gray:        #6B6B6B;
    --dg-gray-light:  #999;
    --dg-white:       #F5F0EB;

    /* Override Homzen theme vars */
    --primary-color: #C9A84C !important;
    --hover-color: #D4AF37 !important;
    --top-header-background-color: #0A0A0A !important;
    --top-header-text-color: #999 !important;
    --main-header-background-color: #141414 !important;
    --main-header-text-color: #F5F0EB !important;
    --main-header-border-color: rgba(201, 168, 76, 0.2) !important;
}

/* ====== GLOBAL ====== */
body {
    background: var(--dg-black) !important;
    color: var(--dg-white) !important;
    font-family: 'Inter', sans-serif !important;
}
#wrapper, .wrapper, .clearfix {
    background: var(--dg-black) !important;
}

/* ====== ADMIN BAR (keep visible) ====== */
#admin-bar { /* keep unchanged */ }

/* ====== TOP ANNOUNCEMENT BAR ====== */
.ae-anno-announcement,
.ae-anno-announcement * {
    background: var(--dg-black) !important;
    border-color: rgba(201, 168, 76, 0.15) !important;
}
.ae-anno-announcement a {
    color: var(--dg-gold) !important;
}

/* ====== MAIN HEADER ====== */
.main-header,
.main-header-ct,
.header-ct,
.header-lower,
header,
.header-inner-wrap,
#header,
.header {
    background: var(--dg-black-light) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2) !important;
}

/* Header fixed state */
.header-fixed .main-header,
.header-fixed .main-header-ct {
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
}

/* Navigation links */
.navigation a,
.menu-box a,
.main-menu a,
.main-menu li a,
.menu-item a,
.nav-link {
    color: var(--dg-white) !important;
    transition: color 0.3s !important;
}
.navigation a:hover,
.main-menu li a:hover,
.menu-item a:hover,
.menu-item.current a,
.nav-link:hover {
    color: var(--dg-gold) !important;
}

/* Logo */
.logo-box a img {
    filter: brightness(1.2);
}

/* Header actions */
.header .flat-bt-top,
.my-wishlist,
.header-account {
    color: var(--dg-white) !important;
}
.header .flat-bt-top a,
.my-wishlist a,
.header-account a {
    color: var(--dg-gray-light) !important;
}
.header .flat-bt-top a:hover,
.my-wishlist a:hover,
.header-account a:hover {
    color: var(--dg-gold) !important;
}

/* Submit Property button */
.tf-btn.primary,
a.tf-btn.primary,
button.tf-btn.primary {
    background: linear-gradient(135deg, var(--dg-gold), var(--dg-gold-dark)) !important;
    color: var(--dg-black) !important;
    border: none !important;
    font-weight: 600 !important;
}
.tf-btn.primary:hover,
a.tf-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35) !important;
    transform: translateY(-2px) !important;
}

/* ====== MAP SECTION ====== */
#map,
.map-container,
.map-content,
.wrap-map {
    border: 1px solid rgba(201, 168, 76, 0.15) !important;
}

/* ====== SEARCH / FILTER BAR ====== */
.form-search-content,
.form-search-content.style-1,
.wrap-search-box,
.wd-find-select {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.15) !important;
}

.form-search-content .form-group,
.form-search-content .group-select,
.wd-find-select .form-group {
    border-color: rgba(201, 168, 76, 0.15) !important;
}

.form-search-content label,
.form-search-content .title-label,
.wd-find-select label {
    color: var(--dg-gold-pale) !important;
    font-weight: 500 !important;
}

.form-search-content input,
.form-search-content select,
.form-search-content .form-control,
.wd-find-select input {
    background: var(--dg-gray-dark) !important;
    color: var(--dg-white) !important;
    border-color: rgba(201, 168, 76, 0.2) !important;
}

/* Nice Select dropdowns */
.nice-select,
.nice-select .option,
.select_js,
.choices__inner {
    background: var(--dg-gray-dark) !important;
    color: var(--dg-white) !important;
    border-color: rgba(201, 168, 76, 0.2) !important;
}
.nice-select .list,
.nice-select .list li,
.choices__list--dropdown {
    background: var(--dg-black-card) !important;
    color: var(--dg-white) !important;
    border-color: rgba(201, 168, 76, 0.15) !important;
}
.nice-select .list li:hover,
.nice-select .list li.selected {
    background: var(--dg-gray-dark) !important;
    color: var(--dg-gold) !important;
}

/* Search button */
.form-search-content .tf-btn,
.wrap-search-box .tf-btn,
.btn-find, .btn-search {
    background: linear-gradient(135deg, var(--dg-gold), var(--dg-gold-dark)) !important;
    color: var(--dg-black) !important;
    border: none !important;
    font-weight: 600 !important;
}

/* ====== PROPERTY CARDS ====== */
.homehotel-box,
.box-dream,
.homeya-box,
.box-house,
.property-item,
.flat-property-box,
.archive-listing-item,
.card {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.1) !important;
    color: var(--dg-white) !important;
    transition: all 0.4s ease !important;
    overflow: hidden;
    border-radius: 0 !important;
}
.homehotel-box:hover,
.box-dream:hover,
.homeya-box:hover,
.property-item:hover,
.archive-listing-item:hover,
.card:hover {
    border-color: rgba(201, 168, 76, 0.35) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-4px) !important;
}

/* Card images */
.homehotel-box .images-group,
.box-dream .images-group,
.homeya-box .images-group {
    overflow: hidden;
}
.homehotel-box .images-group img,
.box-dream .images-group img,
.homeya-box .images-group img {
    transition: transform 0.5s ease !important;
}
.homehotel-box:hover .images-group img,
.box-dream:hover .images-group img,
.homeya-box:hover .images-group img {
    transform: scale(1.05) !important;
}

/* Card content */
.homehotel-box .content,
.box-dream .content,
.homeya-box .content {
    background: var(--dg-black-card) !important;
    padding: 20px !important;
}

/* Card title */
.homehotel-box .content .title a,
.homehotel-box .content .link,
.box-dream .content .title a,
.homeya-box .content .title a,
.archive-listing-item h5 a,
.property-item .title a {
    color: var(--dg-white) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500 !important;
    font-size: 1.2rem !important;
}
.homehotel-box .content .title a:hover,
.homehotel-box .content .link:hover,
.box-dream .content .title a:hover,
.homeya-box .content .title a:hover {
    color: var(--dg-gold) !important;
}

/* Card price */
.homehotel-box .content .price,
.box-dream .content .price,
.homeya-box .content .price,
.price, h5.price, .text-price {
    color: var(--dg-gold) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 600 !important;
}

/* Card location / description */
.homehotel-box .content .location,
.box-dream .content .location,
.homeya-box .content .location,
.text-muted, .location {
    color: var(--dg-gray-light) !important;
}

/* Card info/meta */
.homehotel-box .content .list-info,
.box-dream .content .list-info,
.homeya-box .content .list-info,
.box-house .meta,
.property-item .meta {
    border-top: 1px solid rgba(201, 168, 76, 0.1) !important;
    color: var(--dg-gray) !important;
}

/* Card action buttons */
.homehotel-box .box-icon,
.box-dream .box-icon,
.homeya-box .box-icon {
    background: rgba(26, 26, 26, 0.8) !important;
    color: var(--dg-white) !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
}
.homehotel-box .box-icon:hover,
.homeya-box .box-icon:hover {
    background: var(--dg-gold) !important;
    color: var(--dg-black) !important;
}

/* Featured badge */
.homehotel-box .flag-tag,
.box-dream .flag-tag,
.homeya-box .flag-tag {
    background: linear-gradient(135deg, var(--dg-gold), var(--dg-gold-dark)) !important;
    color: var(--dg-black) !important;
}

/* ====== PAGE TITLE / BREADCRUMB ====== */
.flat-title,
.page-title,
.breadcrumb-area,
.breadcrumb-wrap,
.tf-breadcrumb,
.banner-page {
    background: var(--dg-black-light) !important;
}
.breadcrumb a { color: var(--dg-gold) !important; }
.breadcrumb .active { color: var(--dg-gray-light) !important; }

/* ====== SIDEBAR ====== */
.sidebar, .widget, .widget-area {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.1) !important;
    color: var(--dg-white) !important;
}
.widget .widget-title, .sidebar .widget-title {
    color: var(--dg-gold-pale) !important;
    font-family: 'Cormorant Garamond', serif !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important;
}

/* ====== PAGINATION ====== */
.pagination .page-item .page-link,
.pagination a, .pagination li a {
    background: var(--dg-black-card) !important;
    color: var(--dg-white) !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
}
.pagination .page-item.active .page-link,
.pagination a.active, .pagination li.active a {
    background: linear-gradient(135deg, var(--dg-gold), var(--dg-gold-dark)) !important;
    color: var(--dg-black) !important;
    border-color: var(--dg-gold) !important;
}
.pagination .page-item .page-link:hover,
.pagination a:hover {
    background: var(--dg-gray-dark) !important;
    color: var(--dg-gold) !important;
}

/* ====== SORT / VIEW CONTROLS ====== */
.flat-tab-form,
.sort-by-wrap,
.wd-search-form,
.tab-content,
.flat-tabs,
.wrap-sort {
    background: transparent !important;
    color: var(--dg-white) !important;
}
.flat-tab-form .nav-tab li a,
.flat-tabs .nav-tab li a {
    color: var(--dg-gray-light) !important;
}
.flat-tab-form .nav-tab li.active a,
.flat-tabs .nav-tab li.active a {
    color: var(--dg-gold) !important;
}

/* ====== FOOTER ====== */
footer, .tf-footer, .main-footer, #footer, .footer-inner,
.footer-ct, .footer-inner-wrap {
    background: var(--dg-black) !important;
    color: var(--dg-gray-light) !important;
    border-top: 1px solid rgba(201, 168, 76, 0.15) !important;
}
footer a, .tf-footer a, .main-footer a { color: var(--dg-gray-light) !important; }
footer a:hover, .tf-footer a:hover { color: var(--dg-gold) !important; }
footer h4, footer h5, footer .widget-title,
.tf-footer h4, .tf-footer h5 {
    color: var(--dg-gold-pale) !important;
    font-family: 'Cormorant Garamond', serif !important;
}
/* Footer bottom */
.footer-bottom, .bottom-footer {
    background: var(--dg-black) !important;
    border-top: 1px solid rgba(201, 168, 76, 0.1) !important;
    color: var(--dg-gray) !important;
}

/* ====== BUTTONS ====== */
.btn-primary,
.flat-bt-slider,
.btn-find,
.sc-btn-top {
    background: linear-gradient(135deg, var(--dg-gold), var(--dg-gold-dark)) !important;
    color: var(--dg-black) !important;
    border: none !important;
    font-weight: 600 !important;
}
.btn-primary:hover { box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35) !important; }
.btn-outline-primary, .btn-secondary {
    border: 1px solid var(--dg-gold) !important;
    color: var(--dg-gold) !important;
    background: transparent !important;
}
.btn-outline-primary:hover, .btn-secondary:hover {
    background: var(--dg-gold) !important;
    color: var(--dg-black) !important;
}

/* ====== HEADINGS ====== */
h1, h2, h3, h4, h5, h6 { color: var(--dg-white) !important; }
p { color: var(--dg-gray-light) !important; }

/* ====== BACKGROUNDS ====== */
.bg-white, .bg-light, .bg-surface {
    background: var(--dg-black-light) !important;
}
.section-properties,
.main-content,
.page-content,
.wrap-inner {
    background: var(--dg-black) !important;
}

/* ====== FORMS ====== */
input, select, textarea, .form-control {
    background: var(--dg-gray-dark) !important;
    color: var(--dg-white) !important;
    border-color: rgba(201, 168, 76, 0.2) !important;
}
input::placeholder, textarea::placeholder { color: var(--dg-gray) !important; }
input:focus, select:focus, textarea:focus, .form-control:focus {
    border-color: var(--dg-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15) !important;
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dg-black); }
::-webkit-scrollbar-thumb { background: var(--dg-gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--dg-gold); }
::selection { background: var(--dg-gold); color: var(--dg-black); }

/* ====== LINKS & TRANSITIONS ====== */
a { transition: all 0.3s ease !important; }

/* ====== DROPDOWN MENUS ====== */
.sub-menu,
.dropdown-menu,
ul.sub-menu {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.15) !important;
}
.sub-menu li a,
.dropdown-menu li a,
ul.sub-menu li a {
    color: var(--dg-gray-light) !important;
}
.sub-menu li a:hover,
.dropdown-menu li a:hover {
    background: var(--dg-gray-dark) !important;
    color: var(--dg-gold) !important;
}

/* ====== MODAL / POPUP ====== */
.modal-content {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    color: var(--dg-white) !important;
}
.modal-header { border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important; }
.modal-footer { border-top: 1px solid rgba(201, 168, 76, 0.15) !important; }

/* ====== ICON COLORS ====== */
.icon-bedroom, .icon-bathroom, .icon-area,
.icon-bed, .icon-bath, .icon-ruler,
svg, i.fa, i.fas, i.far, i.fab {
    color: var(--dg-gold) !important;
}

/* ====== SWIPER / SLIDER ====== */
.swiper-pagination-bullet { background: var(--dg-gray) !important; }
.swiper-pagination-bullet-active { background: var(--dg-gold) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--dg-gold) !important; }

/* Hide search filter bar and map */
.wd-find-select,
.wd-find-select.style-2,
.wd-find-select.shadow-st,
.form-search-content,
.wrap-search-box,
#map,
.map-container,
.map-content,
.wrap-map,
.leaflet-container {
    display: none !important;
}


/* Hide title page bar */
.flat-title-page,
.flat-title-page.style-2 {
    display: none !important;
}


/* ====== PRODUCT DETAIL PAGE ====== */
.flat-property-detail,
.flat-section.flat-property-detail {
    background: var(--dg-black) !important;
}

/* Header - Title & Price */
.header-property-detail {
    background: var(--dg-black) !important;
    padding: 24px 0 !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1) !important;
    margin-bottom: 30px !important;
}
.header-property-detail .box-name .title,
.header-property-detail .box-name h1 {
    color: var(--dg-white) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    text-transform: capitalize !important;
}
.header-property-detail .box-price h4 {
    color: var(--dg-gold) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 1.8rem !important;
    font-weight: 500 !important;
}
.header-property-detail .box-name .flag-tag {
    background: var(--dg-gold) !important;
    color: var(--dg-black) !important;
}

/* Content boxes with white bg */
.content-top,
.content-bottom {
    background: transparent !important;
}

/* Description section */
.single-property-element,
.single-property-desc,
.single-property-overview,
.single-property-features,
.single-property-map,
.single-property-nearby,
.single-property-video {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.1) !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    color: var(--dg-white) !important;
}
.single-property-element h6,
.single-property-element h5,
.single-property-element h4,
.single-property-element .title-heading {
    color: var(--dg-gold-pale) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15) !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
}
.single-property-element p,
.single-property-element .content {
    color: var(--dg-gray-light) !important;
    line-height: 1.7 !important;
}

/* Overview items */
.single-property-overview .list-info li,
.single-property-element .list-info li {
    color: var(--dg-gray-light) !important;
    border-color: rgba(201, 168, 76, 0.08) !important;
}
.single-property-overview .list-info li .text,
.single-property-element .list-info li strong {
    color: var(--dg-white) !important;
}

/* Widget sidebar wrapper */
.widget-sidebar,
.wrapper-sidebar-right {
    background: transparent !important;
}
.widget-sidebar .widget-box,
.widget-sidebar .box-agent,
.wrapper-sidebar-right .widget-box {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.1) !important;
    color: var(--dg-white) !important;
}

/* Gallery slider */
.flat-slider-detail-v1,
.property-gallery-slider,
.single-property-gallery {
    background: var(--dg-black) !important;
}
.flat-slider-detail-v1 .swiper-button-next,
.flat-slider-detail-v1 .swiper-button-prev {
    background: rgba(10, 10, 10, 0.8) !important;
    border: 1px solid rgba(201, 168, 76, 0.3) !important;
    color: var(--dg-gold) !important;
}
.flat-slider-detail-v1 .swiper-button-next:hover,
.flat-slider-detail-v1 .swiper-button-prev:hover {
    background: var(--dg-gold) !important;
    color: var(--dg-black) !important;
}

/* Related properties */
.flat-section.flat-recommended,
.flat-section.flat-latest-property {
    background: var(--dg-black-light) !important;
}

/* Override any remaining white/light backgrounds */
.flat-section {
    background: var(--dg-black) !important;
}
.container {
    background: transparent !important;
}

/* Status badge */
.status-label,
.flag-tag {
    background: var(--dg-gold) !important;
    color: var(--dg-black) !important;
    font-size: .65rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* Action buttons on detail (share, favorite, etc) */
.property-detail-actions a,
.content-bottom .box-icon,
.property-single__action a {
    background: var(--dg-black-card) !important;
    border: 1px solid rgba(201, 168, 76, 0.2) !important;
    color: var(--dg-gray-light) !important;
}
.property-detail-actions a:hover,
.content-bottom .box-icon:hover {
    border-color: var(--dg-gold) !important;
    color: var(--dg-gold) !important;
}

/* Tabs in detail page */
.tab-content { background: transparent !important; }
.nav-tabs { border-bottom-color: rgba(201, 168, 76, 0.15) !important; }
.nav-tabs .nav-link { color: var(--dg-gray-light) !important; }
.nav-tabs .nav-link.active { color: var(--dg-gold) !important; border-bottom-color: var(--dg-gold) !important; }

/* Image overlay arrow buttons */
.property-image .arrow-icon,
.gallery-detail .swiper-button-next,
.gallery-detail .swiper-button-prev {
    background: rgba(10, 10, 10, 0.7) !important;
    border: 1px solid rgba(201, 168, 76, 0.3) !important;
    color: var(--dg-gold) !important;
}

/* Hide property overview section */
.single-property-overview,
.single-property-overview.single-property-element {
    display: none !important;
}


/* Hide main Homzen header */
.main-header,
.main-header.fixed-header,
header.main-header {
    display: none !important;
}


/* Hide top header right and announcement text */
.top-header-right,
.ae-anno-announcement__text,
.ae-anno-announcement {
    display: none !important;
}


/* Hide top header bar */
.top-header {
    display: none !important;
}


/* Hide content-bottom */
.content-bottom {
    display: none !important;
}


/* Hide inner footer */
.inner-footer {
    display: none !important;
}


/* Hide order-2 order-lg-1 */
.order-2.order-lg-1 {
    display: none !important;
}

