/* Realtor Overrides - Ensure consistent styling */

html {
    scroll-behavior: smooth;
}

/* Realtor Font Set for All Elements */
* {
    font-family: "Object Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif !important;
}

body, h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, select, textarea {
    font-family: "Object Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif !important;
}

:root {
    --white: var(--color-white);
    --brand-navy: var(--color-navy);
    --brand-gold: var(--color-gold);
    --gray-50: var(--color-gray-50);
    --gray-200: var(--color-gray-200);
    --gray-600: var(--color-gray-600);
    --gray-900: var(--color-black);
}

/* Black Translucent Header */
.site-header {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Logo - Show Original Colors */
.logo-image {
    filter: none !important;
    opacity: 1 !important;
}

.logo:hover .logo-image {
    opacity: 0.8 !important;
}

.logo-has-uploaded-image {
    padding: 0;
}

.logo-has-uploaded-image .logo-image,
.logo-has-uploaded-image .logo-image-wordmark {
    display: block;
    height: 44px;
    max-width: min(48vw, 240px);
    width: auto;
    object-fit: contain;
    filter: none;
}

/* Navigation - White Text */
.main-nav a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.main-nav a:hover {
    color: var(--white) !important;
}

.main-nav a::after {
    background: rgba(255, 255, 255, 0.9) !important;
    height: 2px !important;
}

/* Search Box Fonts */
.search-input-minimal input,
.filter-button-minimal,
.save-search-minimal,
.search-submit-minimal {
    font-family: "Object Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif !important;
}

/* Property Cards */
.property-card-hybrid,
.property-title-hybrid,
.property-location-hybrid,
.property-price-hybrid,
.property-details-hybrid {
    font-family: "Object Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif !important;
}

.property-title-hybrid {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
}

.property-title-hybrid a {
    color: var(--brand-navy) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.property-title-hybrid a::after {
    content: "→";
    font-size: 0.95em;
    transition: transform 0.2s ease;
}

.property-title-hybrid a:hover::after {
    transform: translateX(2px);
}


/* ============================================
   HEADER ACTIONS - Contact, Social, CTA
   ============================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-header .header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
}

.site-header .header-icon-btn,
.site-header .header-icon-btn:visited,
.site-header .header-icon-btn:hover,
.site-header .header-icon-btn:focus-visible {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.site-header .header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.site-header .header-icon-btn svg {
    flex-shrink: 0;
    display: block;
}

.site-header .header-icon-btn-map {
    color: #F59E0B !important;
}

.site-header .header-icon-btn-map:hover {
    border-color: rgba(245, 158, 11, 0.42);
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.16);
}

.site-header .header-icon-btn-phone {
    color: #7DD3FC !important;
}

.site-header .header-icon-btn-phone:hover {
    border-color: rgba(125, 211, 252, 0.42);
    box-shadow: 0 14px 28px rgba(125, 211, 252, 0.14);
}

.site-header .header-icon-btn-whatsapp {
    color: #25D366 !important;
}

.site-header .header-icon-btn-whatsapp,
.site-header .header-icon-btn-whatsapp:visited,
.site-header .header-icon-btn-whatsapp:hover,
.site-header .header-icon-btn-whatsapp:focus-visible {
    color: #25D366 !important;
}

.site-header .header-icon-btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.18);
}

.site-header .header-icon-btn-email {
    color: #F472B6 !important;
}

.site-header .header-icon-btn-email:hover {
    border-color: rgba(244, 114, 182, 0.42);
    box-shadow: 0 14px 28px rgba(244, 114, 182, 0.16);
}

.site-header .header-icon-btn-contact {
    color: #E9D3A4 !important;
}

.site-header .header-icon-btn-contact:hover {
    border-color: rgba(233, 211, 164, 0.46);
    box-shadow: 0 14px 28px rgba(201, 169, 97, 0.15);
}

@media (max-width: 1280px) {
    .header-actions {
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-actions {
        gap: 12px;
    }

    .site-header .header-icon-btn {
        width: 40px;
        height: 40px;
    }
}


/* ============================================
   TEXT LOGO - PROPERTISM
   ============================================ */

.logo-text {
    display: flex;
    align-items: center;
    font-family: "Object Sans", "Adjusted Arial", Tahoma, Geneva, sans-serif !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo-text:hover {
    opacity: 0.85;
}

.logo-proper {
    color: #FFFFFF;
}

.logo-tism {
    color: #DC2626;
}

.logo-tm {
    color: #B8860B;
    font-size: 0.625rem;
    font-weight: 600;
    margin-left: 2px;
    vertical-align: super;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-tm {
        font-size: 0.5rem;
    }
}

/* ============================================
   GLOBAL FLASH MESSAGES
   ============================================ */

.site-flash-stack {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 1200;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100% - 32px));
}

.site-flash {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.94);
    color: #FFFFFF;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9375rem;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.site-flash-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
    margin-top: -2px;
}

.site-flash-close:hover {
    color: #FFFFFF;
}

.site-flash-success {
    background: rgba(16, 185, 129, 0.96);
}

.site-flash-error {
    background: rgba(239, 68, 68, 0.96);
}

.site-flash-warning {
    background: rgba(217, 119, 6, 0.96);
}

@media (max-width: 768px) {
    .site-flash-stack {
        left: 16px;
        right: 16px;
        top: 78px;
        width: auto;
    }
}

/* ============================================
   ENRICHED FOOTER
   ============================================ */

.footer-copy {
    margin-top: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.footer-links li {
    color: var(--gray-600);
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--brand-navy);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 169, 97, 0.45);
    color: var(--brand-gold);
}

.footer-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.footer-primary-link:hover {
    color: #FFFFFF;
    background: linear-gradient(135deg, #162338 0%, #263449 100%);
}

.footer-chip-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-chip-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.12);
    color: var(--brand-navy);
    font-size: 0.84rem;
    font-weight: 600;
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter h3 {
    margin-bottom: 10px;
}

.footer-newsletter p {
    margin: 0 0 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-newsletter-form input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #FFFFFF;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: rgba(201, 169, 97, 0.6);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.14);
}

.footer-newsletter-form button {
    padding: 13px 18px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #C9A961 0%, #B89A4A 100%);
    color: #101828;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.footer-newsletter-form button:hover {
    filter: brightness(1.03);
}

@media (max-width: 768px) {
    .footer-socials {
        margin-bottom: 4px;
    }

    .footer-newsletter-form {
        flex-direction: column;
    }
}


/* ============================================
   PURE LINE SCROLLBAR - Minimal Design
   ============================================ */

/* Scrollbar width */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Track (background) - completely transparent */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Thumb (the draggable part) - thin line */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: background 0.3s;
}

/* Thumb on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Remove arrows/buttons */
::-webkit-scrollbar-button {
    display: none;
}

/* Corner where scrollbars meet */
::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Dark sections - lighter scrollbar */
.hero-hybrid::-webkit-scrollbar-thumb,
.cta-section::-webkit-scrollbar-thumb,
[style*="background: linear-gradient"]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
}

.hero-hybrid::-webkit-scrollbar-thumb:hover,
.cta-section::-webkit-scrollbar-thumb:hover,
[style*="background: linear-gradient"]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.property-title a::after,
.property-title-hybrid a::after {
    content: "" !important;
}

.property-title .property-link-arrow,
.property-title-hybrid .property-link-arrow {
    display: inline-block;
    font-size: 0.95em;
    transition: transform 0.2s ease;
}

.property-title a:hover .property-link-arrow,
.property-title-hybrid a:hover .property-link-arrow {
    transform: translateX(2px);
}
