.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

/* Marquee Animation */
.marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 48px;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 48px;
    min-width: 100%;
    animation: marquee-ticker 35s linear infinite;
}

.marquee-track:hover .marquee-group {
    animation-play-state: paused;
}

@keyframes marquee-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 48px)); }
}

/* Hero Slideshow Overlay */
.hero-overlay {
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.8) 0%, rgba(11, 28, 48, 0.45) 50%, rgba(6, 17, 31, 0.92) 100%);
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-hero-float {
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes kenburnsZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.animate-kenburns {
    animation: kenburnsZoom 25s ease-in-out infinite alternate;
}

/* Scrollbar Hide for horizontal scrolling areas */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Intersection Observer Reveal Animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    min-height: max(884px, 100dvh);
}

/* fadeInUp Animation for staggered card reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* WhatsApp floating button hover tooltip */
#wa-float-btn::before {
    content: 'Chat via WhatsApp';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    background: #0b1c30;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#wa-float-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Category filter tabs style */
.category-tab {
    color: #4d4635;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.category-tab:hover {
    color: #735c00;
}

.category-tab.active {
    color: #735c00;
    border-bottom-color: #735c00;
    font-weight: 700;
}

/* Type, Transaksi & Kondisi sub-tabs style */
.type-tab, .transaction-tab, .condition-tab {
    color: #4d4635;
    background: transparent;
    cursor: pointer;
}

.type-tab:hover, .transaction-tab:hover, .condition-tab:hover {
    background: rgba(115, 92, 0, 0.06);
}

.type-tab.active, .transaction-tab.active, .condition-tab.active {
    background: #735c00;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(115, 92, 0, 0.25);
}

/* Property Card premium hover */
.property-card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

/* Mobile Featured Properties Slider */
@media (max-width: 639px) {
  #featured-properties-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 16px !important;
    padding-top: 12px !important;
    padding-bottom: 64px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-top: -12px !important;
    margin-bottom: -40px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scrollbar-width: none; /* Firefox */
  }
  #featured-properties-grid::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  #featured-properties-grid .property-card {
    width: 85vw !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
  }
  #load-more-container {
    display: none !important;
  }
}

/* --- VIP Partner Card Luxury Styling & Animations --- */
.vip-card {
    background: linear-gradient(135deg, #091322 0%, #0c1c30 50%, #050d18 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform, box-shadow;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.vip-card:hover {
    border-color: rgba(212, 175, 55, 0.85) !important;
    box-shadow: 0 12px 45px rgba(212, 175, 55, 0.35), 0 4px 15px rgba(212, 175, 55, 0.15) !important;
    transform: translate3d(0, -4px, 0) !important;
}

/* Shimmer Sweep keyframe animation */
.vip-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(212, 175, 55, 0.08) 30%,
        rgba(212, 175, 55, 0.25) 50%,
        rgba(212, 175, 55, 0.08) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    z-index: 20;
    pointer-events: none;
    transition: left 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.vip-card:hover::after {
    left: 150%;
}

/* VIP Badge Styling */
.vip-badge {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%) !important;
    color: #050d18 !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    animation: gold-pulse 2.5s infinite ease-in-out;
}

@keyframes gold-pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 0 16px rgba(212, 175, 55, 0.7);
        filter: brightness(1.15);
    }
}

/* Metallic gold title text gradient */
.vip-title-gold {
    transition: all 0.3s ease;
}

.vip-card:hover .vip-title-gold {
    background: linear-gradient(135deg, #ffe596 0%, #d4af37 50%, #f3cf65 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Gold Button */
.vip-btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
    color: #050d18 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25) !important;
    transition: all 0.3s ease !important;
}

.vip-btn-gold:hover {
    background: linear-gradient(135deg, #ffe596 0%, #ffd700 100%) !important;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5) !important;
    transform: scale(1.03);
}