/* CSS Custom Properties */
:root {
    --primary-black: #000000;
    --secondary-black: hsl(0, 0%, 10%);
    --dark-gray: hsl(0, 0%, 20%);
    --medium-gray: hsl(0, 0%, 40%);
    --light-gray: hsl(0, 0%, 60%);
    --white: #ffffff;
    --off-white: #f5f5f5;
    --accent-gray: #e5e5e5;
    --border-color: #e5e5e5;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation */
.main-navbar {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 50;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px !important;
    width: auto;
    max-width: 180px;
    display: block !important;
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gray);
    text-decoration: none;
}

.sign-in-link {
    font-size: 0.875rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}



/* Hero Section */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&h=1080&fit=crop') center/cover;
    background-attachment: fixed;
    z-index: -1;
}

.hero-background {
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Member Avatars */
.member-avatars {
    margin-bottom: 1rem;
}

.avatar-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 -8px;
    border: 3px solid var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.avatar:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100&h=100&fit=crop&crop=face');
}

.avatar:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1517841905240-472988babdf9?w=100&h=100&fit=crop&crop=face');
}

.avatar:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=100&h=100&fit=crop&crop=face');
}

.avatar:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=100&h=100&fit=crop&crop=face');
}

.avatar:nth-child(5) {
    background-image: url('https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=100&h=100&fit=crop&crop=face');
}

.avatar:first-child {
    margin-left: 0;
}

.member-count {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Search Form */
.search-form-container {
    max-width: 680px;
    margin: 0 auto 0.75rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.search-form-inline {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 0;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.search-input-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.search-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.125rem;
    letter-spacing: 0.025em;
}

.search-input-wrapper:last-of-type {
    border-right: none;
}

.search-input-icon {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.7);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 400;
    width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
}

.search-submit-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none;
    border-radius: 50%;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 2px;
}

.search-submit-btn i {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.search-submit-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Filter Section */
.filter-section {
    padding: 0.75rem 0 0.5rem 0;
    background: var(--primary-black);
    position: relative;
    z-index: 10;
    border-bottom: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.filter-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    margin: 0 -2rem;
}

.filter-categories::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 400;
    flex-shrink: 0;
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.filter-btn i {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    text-decoration: none;
    transform: scale(1.02);
}

.filters-toggle {
    display: flex;
    justify-content: center;
}

.filters-toggle .filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--primary-black);
}

/* Properties Section */
.properties-section {
    padding: 0;
    background: var(--primary-black);
    position: relative;
    z-index: 1;
    margin-top: -1rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.5rem 0;
    max-width: 95%;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .property-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 500px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
}

.property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.property-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    width: 100%;
    min-width: 0;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.property-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
}

/* Property Image Carousel */
.property-image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 12px;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-nav.prev {
    left: 8px;
}

.carousel-nav.next {
    right: 8px;
}

.property-image-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-image-carousel:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.property-status.coming-soon {
    background: var(--medium-gray);
}

.property-status.make-offer {
    background: var(--primary-black);
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-gray);
}

.property-info {
    padding: 1rem 0;
}

.property-location {
    font-size: 0.875rem;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.property-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.property-availability {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.availability-text {
    font-size: 0.875rem;
    color: var(--light-gray);
}

.availability-dates {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
}

.property-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.property-actions .btn {
    border-color: var(--border-color);
    color: var(--white);
    font-size: 0.875rem;
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background: var(--secondary-black);
}

.video-thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 288px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Testimonial Section */
.testimonial-section {
    padding: 4rem 0;
    background: var(--primary-black);
}

.testimonial {
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-gray);
}

/* Referral Section */
.referral-section {
    padding: 4rem 0;
    background: var(--secondary-black);
}

.referral-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.referral-section p {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--primary-black);
    border-color: var(--primary-black);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-black);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 0;
    }
    
    .search-input-wrapper {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 1rem;
    }
    
    .search-input-wrapper:last-of-type {
        border-bottom: 1px solid #e5e5e5;
    }
    
    .search-submit-btn {
        border-radius: 50px;
        margin: 0.5rem;
        padding: 1rem 1.5rem;
    }
    
    .filter-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .filter-categories::-webkit-scrollbar {
        display: none;
    }
    
    .filters-toggle {
        justify-content: flex-start;
    }
    
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .testimonial {
        font-size: 1.25rem;
    }
    
    .referral-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-form {
        padding: 4px;
    }
    
    .search-field {
        padding: 0.75rem;
    }
    
    .property-info {
        padding: 1rem;
    }
    
    .video-section h3 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
}

/* Loading and Animation States */
.property-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.search-field input:focus,
.btn:focus,
.filter-btn:focus {
    outline: 2px solid var(--accent-gray);
    outline-offset: 2px;
}

/* Z-index layering fixes for overlapping UI elements */
.search-form-container {
    position: relative;
    z-index: 50;
}

.filter-section {
    position: relative;
    z-index: 40;
}

.filter-categories {
    position: relative;
    z-index: 40;
}

/* Date picker and dropdown overlays */
.date-picker-overlay,
.guest-selector-overlay,
.filter-dropdown {
    position: absolute;
    z-index: 60 !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #e5e5e5;
}

/* Ensure property cards stay below interactive elements */
.properties-section {
    padding: 0;
    background: var(--primary-black);
    position: relative;
    z-index: 10;
    margin-top: -1rem;
}

.property-card {
    position: relative;
    z-index: 10;
}

/* Filter buttons hover and active states with proper layering */
.filter-btn {
    position: relative;
    z-index: 30;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    z-index: 35;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Search input focus states with proper layering */
.search-input-wrapper:focus-within {
    z-index: 55;
}

/* Modal and overlay containers */
.modal-overlay,
.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content,
.dropdown-content {
    position: relative;
    z-index: 101;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Map container - transparent to scroll events */
#mapContainer {
    position: relative;
    overflow: visible;
    touch-action: auto;
    isolation: isolate;
    overscroll-behavior: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

#mapContainer .map-display {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    touch-action: auto;
    overscroll-behavior: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

/* Make only interactive elements clickable */
#mapContainer button {
    pointer-events: auto !important;
    touch-action: auto;
    user-select: none;
}

/* Ensure all other map elements are transparent to events */
#mapContainer svg,
#mapContainer div:not(button),
#mapContainer i {
    pointer-events: none;
}

/* Marina del Rey Inspired Modern Architecture Styles */
.modern-architecture {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.modern-architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Section Header */
.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e6ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.9;
}

/* Modern Property Grid */
.modern-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.modern-property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.modern-property-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: 100%;
    position: relative;
}

.modern-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Modern Property Image */
.modern-property-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.modern-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-property-card:hover .modern-property-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Property Status Indicators */
.property-status-indicators {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge.featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}

.status-badge.coming-soon {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
}

.status-badge.make-offer {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

/* Modern Favorite Button */
.modern-favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-favorite-btn:hover {
    background: rgba(220, 38, 127, 0.8);
    transform: scale(1.1);
}

/* Property Hover Overlay */
.property-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.modern-property-card:hover .property-hover-overlay {
    opacity: 1;
}

.view-details-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #1a1a2e;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modern-property-card:hover .view-details-btn {
    transform: translateY(0);
}

/* Modern Property Info */
.modern-property-info {
    padding: 1.5rem;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.property-location {
    color: #94a3b8;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-type {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.modern-property-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Property Amenities */
.property-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.amenity {
    color: #cbd5e1;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenity i {
    color: #64748b;
    width: 1rem;
}

/* Property Footer */
.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-info {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
}

.price-period {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Modern Buttons */
.modern-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-btn.notify {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.modern-btn.offer {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.modern-btn.reserve {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Availability Info */
.availability-info {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Load More Button */
.modern-btn-large {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.modern-btn-large:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-property-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .property-amenities {
        grid-template-columns: 1fr;
    }
    
    .property-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
