/* EstateNexus Global Styles - Updated for Emerald Theme */
:root {
    --primary-color: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Custom Scrollbar */
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* Autoslide Container */
.autoslide-container {
    position: relative;
    overflow: hidden;
}

.autoslide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.autoslide-image.active {
    opacity: 1;
    position: relative;
}

/* Snap Slider */
.snap-slider {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.snap-slider > * {
    scroll-snap-align: center;
}

/* Animations */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-glow {
    animation: pulse-glow 2s infinite;
}

/* Marketplace Card Shadow Refinement */
.property-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.property-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Profile Dropdown Animation */
#profile-dropdown {
    transform-origin: top right;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#profile-dropdown.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

@media (max-width: 640px) {
    main { padding-bottom: 80px !important; }
    .compact-mobile-listing {
        height: 110px;
    }
}