﻿:root {
    /* Default Blue theme */
    --primary-bg: #0C2340;
    --primaryColor: #0C2340;
    --primary-bg-rgb: 12, 35, 64;
}

/* Blue theme (default) */
.theme-1 {
    --primary-bg: #0C2340;
    --primary-bg-rgb: 12, 35, 64;
}

/* Green theme */
.theme-2 {
    --primary-bg: #2a5135;
    --primaryColor: #2a5135;
    --primary-bg-rgb: 42, 81, 53;
}

/* Maroon theme */
.theme-3 {
    --primary-bg: #5f462b;
    --primaryColor: #5f462b;
    --primary-bg-rgb: 95, 70, 43;
}

/* White theme */
.theme-4 {
    --primary-bg: #ffffff;
    --primaryColor: #00447C;
    --primary-bg-rgb: 255, 255, 255;
}

/* ========================================
   THEME 4 - White + Blue (#00447C)
   ======================================== */
.property-card .property-footer .text-muted {
    color: #fff !important;
}
/* === GLOBAL === */
body.theme-4 section,
body.theme-4 .container-fluid {
    background-color: #ffffff !important;
}
body.theme-4 .property-card .property-price,
body.theme-4 .property-card .property-title,
body.theme-4 .property-card .location,
body.theme-4 .property-card .unstyled-link,
body.theme-4 .property-card .property-meta span,
body.theme-4 .property-card .property-agent-name, {
}
body.theme-4 h1, body.theme-4 h2, body.theme-4 h3,
body.theme-4 h4, body.theme-4 h5, body.theme-4 h6,
body.theme-4 p, body.theme-4 span, body.theme-4 a,
body.theme-4 label, body.theme-4 li, body.theme-4 strong, body.theme-4 div {
    color: #00447C !important;
}

body.theme-4 .section-title,
body.theme-4 .section-title-mobile,
body.theme-4 .section-title-line span {
    color: #00447C !important;
}
body.theme-4 .frame {
    border: 2px solid #00447C;
}
/* === MENU / NAVBAR === */
body.theme-4 .navbar-custom {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

    body.theme-4 .navbar-custom .nav-link,
    body.theme-4 .navbar-custom .top-info a,
    body.theme-4 .navbar-custom .top-info span {
        color: #00447C !important;
    }

    body.theme-4 .navbar-custom .dropdown-menu {
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
    }

    body.theme-4 .navbar-custom .dropdown-item {
        color: #00447C !important;
    }

        body.theme-4 .navbar-custom .dropdown-item:hover {
            background: #f5f5f5 !important;
        }

/* === HEADER (keep background image) === */

body.theme-4 .homepage-header .header-title,
body.theme-4 .homepage-header .header-subtitle,
body.theme-4 .blog-title,
body.theme-4 .blog-text,
body.theme-4 .article-card-meta span,
body.theme-4 .static-header .header-title {
    color: #ffffff !important; /* Keep white text on header image */
}


/* === SEARCHBAR === */
body.theme-4 .searchbar-team-desktop .search-box, body.theme-4 .searchbar-team-mobile .search-box-mobile {
    background: linear-gradient(to top, rgba(10, 61, 145, 0.86) 0%, rgba(10, 61, 145, 0.85) 30%, rgba(10, 61, 145, 0.4) 70%, rgba(10, 61, 145, 0.4) 100%) !important;
}

    body.theme-4 .searchbar-tabs .nav-link {
        color: #ffffff !important;
    }

        body.theme-4 .searchbar-tabs .nav-link.active {
            border-bottom-color: #ffffff !important;
        }

    body.theme-4 .select-wrapper::after {
        background: rgba(28, 28, 28, 0.62) !important;
        border-radius: 0 6px 6px 0 !important;
    }

    body.theme-4 span .select2-selection__rendered {
        color: #ffffff !important;
    }

    body.theme-4 #azureautocomplete {
        color: #ffffff !important;
    }

        body.theme-4 #azureautocomplete::placeholder {
            color: #ffffff !important;
            opacity: 1 !important;
        }

    body.theme-4 .property-filter #azureautocomplete {
        color: #00447C !important;
    }

        body.theme-4 .property-filter #azureautocomplete::placeholder {
            color: #00447C !important;
            opacity: 0.5;
        }

    body.theme-4 .search-box .form-control {
        color: #ffffff !important;
    }
    /* === LIFESTYLE SECTION === */
    body.theme-4 .lifeStyle-section {
        background: #ffffff !important;
    }

        body.theme-4 .lifeStyle-section .section-title,
        body.theme-4 .lifeStyle-section .lifeStyle-title,
        body.theme-4 .lifeStyle-section .description {
            color: #00447C !important;
        }
    /* === TEAM SECTION === */
    body.theme-4 .team-section {
        background: #ffffff !important;
    }

    body.theme-4 .team-info h5, body.theme-4 .team-info span {
        color: #ffffff !important;
    }

    body.theme-4 .team-card::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 20%; /* ajuste selon le besoin */
        background: linear-gradient( to top, rgba(10, 61, 145, 0.86) 0%, rgba(10, 61, 145, 0.85) 30%, rgba(10, 61, 145, 0.4) 70%, transparent 100%) !important;
        pointer-events: none;
    }
    /* === MAP SECTION === */
    body.theme-4 .map-section {
        background: #ffffff !important;
    }

        body.theme-4 .map-section .section-title,
        body.theme-4 .map-section .map-tagline,
        body.theme-4 .map-section .map-description,
        body.theme-4 .map-section .stat-number,
        body.theme-4 .map-section .stat-label,
        body.theme-4 .map-section .stat-currency,
        body.theme-4 .map-section .stats-note {
            color: #00447C !important;
        }

        body.theme-4 .map-section .map-divider {
            background: #00447C !important;
        }
    /* === GALLERY SECTION === */
    body.theme-4 .gallery-section {
        background: #ffffff !important;
    }

        body.theme-4 .gallery-section .title-gallery,
        body.theme-4 .gallery-section .subtitle {
            color: #ffffff !important; /* Keep white on image overlays */
        }
    /* === EXPERT SECTION === */
    body.theme-4 .testimonial-section,
    body.theme-4 .testimonial-section .bg-quotation {
        background: #ffffff !important;
        background-image: none !important;
    }

        body.theme-4 .testimonial-section .description,
        body.theme-4 .testimonial-section .author-text {
            color: #00447C !important;
        }

        body.theme-4 .testimonial-section .text-box {
            border-color: #00447C !important;
        }
    /* === SOLD SECTION === */
    body.theme-4 .sold-section {
        background: #ffffff !important;
    }

        body.theme-4 .sold-section .section-gradient-bottom {
            background: none !important;
            background-image: none !important;
        }

        body.theme-4 .sold-section .view-all-btn {
            color: #00447C !important;
            border-color: #00447C !important;
        }

        body.theme-4 .sold-section .property-card {
            background: #ffffff !important;
            border: 1px solid #e0e0e0 !important;
        }

 
    /* === BLOG SECTION === */
    body.theme-4 .blog-section,
    body.theme-4 .blog-section .blog-container {
        background: #ffffff !important;
        background-image: none !important;
    }
    /* === PARTNERS SECTION === */
    body.theme-4 .partners-section {
        background: #ffffff !important;
        background-image: none !important;
    }

        body.theme-4 .partners-section .logo {
            filter: invert(1) brightness(0.2) !important; /* Make white logos dark */
        }

        body.theme-4 .partners-section .logos-divider {
            background: #00447C !important;
        }

body.theme-4 .logos-divider,
body.theme-4 .divider-footer {
    background: #00447C !important;
}
    /* === FOOTER === */
    body.theme-4 .footer-section {
        background: #ffffff !important;
        border-top: 2px solid #e0e0e0 !important;
    }

        body.theme-4 .footer-section *,
        body.theme-4 .footer-section a,
        body.theme-4 .footer-section p,
        body.theme-4 .footer-section span,
        body.theme-4 .footer-section .footer-title,
        body.theme-4 .footer-section .footer-contact,
        body.theme-4 .footer-section .copyright {
            color: #00447C !important;
        }

        body.theme-4 .footer-section .footer-bottom {
            border-top: 1px solid #e0e0e0 !important;
            background: #ffffff !important;
        }

        body.theme-4 .footer-section .footer-logo.logo-1 {
            filter: invert(1) brightness(0.2) !important; /* Make white logo dark */
        }
    /* === REMOVE ALL GRADIENTS (except header bg image) === */
    body.theme-4 .section-gradient-bottom,
    body.theme-4 .bg-quotation::before,
    body.theme-4 .bg-quotation::after {
        background: none !important;
        background-image: none !important;
    }
    /* === CAROUSEL ARROWS === */
    body.theme-4 .carousel-control-prev-icon,
    body.theme-4 .carousel-control-next-icon {
        filter: invert(1) !important;
    }

    body.theme-4 .custom-arrow {
        color: #00447C !important;
    }
    /* === FORMS / INPUTS === */
    body.theme-4 input,
    body.theme-4 select,
    body.theme-4 .form-control, body.theme-4 .submit-btn-popup-connect {
        color: #00447C !important;
    }

        body.theme-4 textarea::placeholder, body.theme-4 input::placeholder, body.theme-4 .search-input::placeholder {
            color: #00447C !important;
        }
    /* === CONNECT BUTTON === */
    body.theme-4 .connect-btn {
        background: #00447C !important;
        color: #ffffff !important;
    }

        body.theme-4 .connect-btn .connect-text {
            color: #ffffff !important;
        }

    body.theme-4 .custom-checkbox {
        border: 2px solid #00447C;
    }

    body.theme-4 .consent-check input:checked + .custom-checkbox {
        background: #00447C;
        border-color: #00447C;
    }
 
    /*Auctions page */
    body.theme-4 .upcoming-auctions {
        background: #ffffff !important;
    }

    body.theme-4 .auction-buttons .btn-details,
    body.theme-4 .section-title-line-auction::before,
    body.theme-4 .section-title-line-auction::after {
        background: #00447C !important;
    }

    body.theme-4 a.btn.btn-details {
        color: #ffffff !important;
    }

    body.theme-4 .upcoming-auctions {
        color: #00447C !important;
    }

    body.theme-4 span.badge-type {
        color: #2a5135 !important;
    }
    /* === THEME 4 - MOBILE OVERRIDES === */
    /* Mobile header */
    body.theme-4 .mobile-header {
        background: #ffffff !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    body.theme-4 .mobile-menu-btn {
        color: #00447C !important;
    }
    /* Mobile menu */
    body.theme-4 .mobile-menu {
        background: #ffffff !important;
    }

        body.theme-4 .mobile-menu a,
        body.theme-4 .mobile-menu button,
        body.theme-4 .mobile-nav li a,
        body.theme-4 .submenu-toggle,
        body.theme-4 .close-menu,
        body.theme-4 .mobile-top-info a,
        body.theme-4 .mobile-top-info span {
            color: #00447C !important;
        }
    /* Mobile lifestyle */
    body.theme-4 .lifeStyle-section-mobile {
        background: #ffffff !important;
    }
    /* Mobile map section */
    body.theme-4 .map-section-mobile {
        background: #ffffff !important;
    }
    /* Mobile expert section - KILL pseudo-element gradients */
    body.theme-4 .testimonialMobile-section,
    body.theme-4 .testimonialMobile-section .bg-quotation {
        background: #ffffff !important;
        background-image: none !important;
    }

        body.theme-4 .testimonialMobile-section .bg-quotation::before,
        body.theme-4 .testimonialMobile-section .bg-quotation::after,
        body.theme-4 .testimonial-section .bg-quotation::before,
        body.theme-4 .testimonial-section .bg-quotation::after {
            content: none !important;
            display: none !important;
        }

        body.theme-4 .section-title-expertMobile,
        body.theme-4 .testimonialMobile-section .description,
        body.theme-4 .testimonialMobile-section .author-text,
        body.theme-4 .mobile-title,
        body.theme-4 .mobile-tagline {
            color: #00447C !important;
        }

        body.theme-4 .testimonialMobile-section .expert-line {
            background: #00447C !important;
        }

        body.theme-4 .testimonialMobile-section .text-box {
            border-color: #00447C !important;
        }
    /* Mobile sold section */
    body.theme-4 .sold-mobile {
        background: #ffffff !important;
    }
    /* Mobile blog section */
    body.theme-4 .blog-mobile {
        background: #ffffff !important;
        background-image: none !important;
    }

        body.theme-4 .blog-mobile::before,
        body.theme-4 .blog-mobile::after {
            content: none !important;
            display: none !important;
        }
    /* Mobile gallery */
    body.theme-4 .galleryMobile-section {
        background: #ffffff !important;
    }
    /* Mobile footer */
    body.theme-4 .footer-mobile,
    body.theme-4 .footer-mobile .footer-container {
        background: #ffffff !important;
    }

        body.theme-4 .footer-mobile *,
        body.theme-4 .footer-mobile a,
        body.theme-4 .footer-mobile .footer-col-title a,
        body.theme-4 .footer-mobile .footer-bottom-mob a,
        body.theme-4 .footer-mobile .footer-legal-mob a,
        body.theme-4 .footer-mobile .agent-mob,
        body.theme-4 .footer-mobile .update-text-mob {
            color: #00447C !important;
        }

        body.theme-4 .footer-mobile .footer-line {
            background: #00447C !important;
        }
    /* === GLOBAL: Kill ALL pseudo-element gradients for theme-4 === */
    body.theme-4 *::before,
    body.theme-4 *::after {
        background: transparent !important;
        background-image: none !important;
    }
    /* Restore only specific pseudo-elements that need to stay (like title underlines) */
    body.theme-4 .section-title-line::after,
    body.theme-4 .section-title-line::before, body.theme-4 .section-title-line-left::before {
        background: #00447C !important;
    }

body.theme-4 .property-body {
    background: linear-gradient( to top, rgba(10, 61, 145, 0.86) 0%, rgba(10, 61, 145, 0.85) 30%, rgba(10, 61, 145, 0.4) 70%, transparent 100%) !important;
}



    body.theme-4 .property-card {
        box-shadow: none;
    }

    body.theme-4 .expert-line::after,
    body.theme-4 .map-divider::after,
    body.theme-4 .features-list li::after,
    body.theme-4 .features-list li::before,
    body.theme-4 .map-divider::after,
    body.theme-4 .mobile-divider::after {
        background: #00447C !important;
    }



    body.theme-4 .information-details,
    body.theme-4 .location-label-message,
    body.theme-4 .description_details,
    body.theme-4 .detail-label,
   
    body.theme-4 .property-price,
    body.theme-4 .price-label-united,
    body.theme-4 .read-more-btn,
    body.theme-4 .share-menu-item {
        color: #00447C !important;
    }


    body.theme-4 .uc-images .divider,
    body.theme-4 .footer-brands .brand-separator,
    body.theme-4 .section-title-line-lifestyle::before,
    body.theme-4 .section-title-line-lifestyle::after {
        background-color: #00447C !important;
    }

    body.theme-4 .footer-toggle .arrow {
        border-top: 14px solid #00447C !important;
    }

    body.theme-4 .lifeCard::after {
        border: 2px solid #00447C !important;
    }

    body.theme-4 .custom-dots li {
        background-color: #fff !important;
        border: 1px solid #00447C !important;
        opacity: 1;
    }

        body.theme-4 .custom-dots li.active {
            background-color: #00447C !important;
        }


    body.theme-4 .stats {
        border-top: 1px solid #00447C !important;
    }

    body.theme-4 .stat-item {
        border-right: 1px solid #00447C !important;
    }
    /* Mobile details */

    body.theme-4 .btn-photos {
        color: #00447C !important;
        border: 2px solid #00447C !important;
    }

    body.theme-4 .btn-bid {
        color: #ffffff !important;
        background: #00447C !important;
    }

    body.theme-4 .information-details-mobile {
        color: #00447C !important;
    }

body.theme-4 .divider-mob,
body.theme-4 .stats-line-mob,
body.theme-4 .submit-btn {
    background: #00447C !important;
}
    /* Mobile Auctions */
    body.theme-4 .upcoming-auctions-mobile {
        background: #ffffff !important;
        padding-top: 20px;
    }

    body.theme-4 .auction-buttons-mobile .btn-bid-mobile,
    body.theme-4 .auction-buttons-mobile .btn-details-mobile {
        background: #00447C !important;
        color: #ffffff !important;
    }

    body.theme-4 .bottom-line {
        background: #00447C !important;
    }

    body.theme-4 .blog-card {
        color: #00447C !important;
    }

body.theme-4 .location-card span {
    color: #ffffff !important;
}

/*****************image update ************************/
/* All themes except white — invert all images */
body.theme-1 .social-icons img,
body.theme-1 .social-icons-mobile img,
body.theme-1 .footer-logo,
body.theme-1 .footer-brands img,
body.theme-1 .uc-images img,
body.theme-1 .logo_img,
body.theme-2 .social-icons img,
body.theme-2 .social-icons-mobile img,
body.theme-2 .footer-logo,
body.theme-2 .footer-brands img,
body.theme-2 .uc-images img,
body.theme-2 .logo_img,
body.theme-3 .social-icons img,
body.theme-3 .social-icons-mobile img,
body.theme-3 .footer-logo,
body.theme-3 .footer-brands img,
body.theme-3 .logo-center img,
body.theme-3 .logo_img,
body.theme-3 .uc-images img {
    filter: brightness(0) invert(1) !important;
}

/* Theme 4 — remove filter */
body.theme-4 .social-icons img,
body.theme-4 .social-icons-mobile img,
body.theme-4 .footer-logo,
body.theme-4 .footer-brands img,
body.theme-4 .logo-center img,
body.theme-4 .logo_img,
body.theme-4 .uc-images img {
    filter: none !important;
}

body.theme-4 .faq-item {
    border-top: 1px solid #00447C !important;
}


body.theme-4 .work-with-us-title,
body.theme-4 .work-with-us-description,
body.theme-4 .work-with-us-btn,
body.theme-4 .article-card-meta {
    color: #ffffff !important;
}

body.theme-4 .article-card-content {
    background: #00447C;
}

body.theme-4 .bs-pagination .page-item:first-child .page-link,
body.theme-4 .bs-pagination .page-item:last-child .page-link,
body.theme-4 .bs-pagination .page-item.active .page-link,
body.theme-4 .bs-pagination .page-link:hover {

    border: 1px solid #00447C !important;
}


body.theme-4 .article-card-btn:hover {
    background: #fff;
    color: #00447C;
}