﻿/* ========================================
   ULTRA-PREMIUM PROPERTY CATALOG - "WAAAAW" EDITION
   Designed by 30-year industry veteran
   ======================================== */

:root {
    /* Enhanced color palette for luxury feel */
    --luxury-gold: #D4AF37;
    --luxury-gold-light: #E6C566;
    --luxury-navy: #0a192f;
    --luxury-teal: #2ab7b5;
    --luxury-coral: #ff6b6b;
    --luxury-cream: #f8f5f0;
    --luxury-gray: #6c757d;
    --luxury-light: #f8f9fa;
    --shadow-ultra: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 25px 70px rgba(0, 0, 0, 0.35);
    --transition-super: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ========================================
   HERO SECTION - CINEMATIC IMPACT
   ======================================== */

.catalog-hero {
    background: linear-gradient(rgba(10, 25, 47, 0.88), rgba(10, 25, 47, 0.92)), url('../Images/luxury-hero.jpg') center/cover no-repeat;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 4rem;
    overflow: hidden;
}

/* Animated floating particles in hero */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(42, 183, 181, 0.15) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 25%), radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.08) 0%, transparent 30%);
    animation: floatParticles 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(5%, -3%);
    }

    50% {
        transform: translate(-3%, 5%);
    }

    75% {
        transform: translate(3%, -5%);
    }
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: -1.5px;
    background: linear-gradient(to right, white 0%, var(--luxury-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    line-height: 1.1;
    position: relative;
}

    .hero-content h1::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--luxury-gold);
        border-radius: 2px;
    }

.hero-subtitle {
    font-size: 1.6rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
}

/* SEARCH CONTAINER - GLASSMORPHISM EFFECT */
.search-container {
    display: flex;
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    padding: 0.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: floatUp 3s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 350px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--luxury-gold);
    font-size: 1.4rem;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.8rem 1.1rem 3.2rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--luxury-navy);
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.4s var(--transition-super);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    font-family: 'Montserrat', sans-serif;
}

    .search-input::placeholder {
        color: var(--luxury-gray);
        font-weight: 400;
    }

    .search-input:focus {
        outline: none;
        background: white;
        box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
        transform: translateY(-1px);
    }

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--luxury-gray);
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input:focus + .search-clear,
.search-input:not(:placeholder-shown) + .search-clear {
    opacity: 1;
}

.search-clear:hover {
    color: var(--luxury-coral);
    background: rgba(255, 107, 107, 0.1);
}

.filter-toggle {
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
    color: var(--luxury-navy);
    border: none;
    padding: 0.95rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transition: all 0.4s var(--transition-super);
    position: relative;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

    .filter-toggle::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
        transform: translateX(-100%);
        transition: transform 0.8s;
    }

    .filter-toggle:hover::before {
        transform: translateX(100%);
    }

    .filter-toggle:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.65);
        color: white;
        text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.filter-count {
    background: white;
    color: var(--luxury-gold);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ========================================
   PROPERTIES GRID - LUXURY CARD DESIGN
   ======================================== */

.properties-section {
    padding: 3rem 0 5rem;
    background: var(--luxury-cream);
    position: relative;
}

    .properties-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 10% 90%, rgba(42, 183, 181, 0.04) 0%, transparent 25%), radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.03) 0%, transparent 30%);
        z-index: 0;
        pointer-events: none;
    }

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

    .section-header::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        width: 100px;
        height: 4px;
        background: var(--luxury-gold);
        border-radius: 2px;
    }

.header-left h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--luxury-navy);
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}

    .header-left h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--luxury-teal);
        border-radius: 3px;
    }

.property-count {
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
    color: var(--luxury-navy);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-left: 0.7rem;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    font-size: 1.1rem;
}

.header-left p {
    color: var(--luxury-gray);
    max-width: 650px;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-top: 0.8rem;
    font-weight: 300;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.view-toggle {
    background: white;
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: var(--shadow-ultra);
    display: flex;
    overflow: hidden;
    border: 2px solid var(--luxury-gold);
}

.view-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: none;
    color: var(--luxury-gray);
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

    .view-btn::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
        border-radius: 16px;
        opacity: 0;
        transition: opacity 0.3s;
        z-index: -1;
    }

    .view-btn.active {
        color: white;
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    }

        .view-btn.active::after {
            opacity: 1;
        }

    .view-btn:hover:not(.active) {
        color: var(--luxury-gold);
        background: rgba(212, 175, 55, 0.1);
        transform: scale(1.05);
    }

/* ========================================
   PROPERTY CARD - ULTRA LUXURY DESIGN
   ======================================== */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.property-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-ultra);
    transition: all 0.6s var(--transition-super);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: translateY(0);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, var(--luxury-teal), var(--luxury-coral)) border-box;
}

    .property-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
        opacity: 0;
        transition: opacity 0.5s;
        z-index: 1;
        pointer-events: none;
    }

    .property-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: var(--shadow-hover);
        border-color: rgba(212, 175, 55, 0.4);
    }

        .property-card:hover::before {
            opacity: 1;
        }

        .property-card:hover .property-status {
            transform: scale(1.1) translateY(-3px);
            box-shadow: 0 5px 20px rgba(46, 204, 113, 0.5);
        }

/* PROPERTY IMAGES - CINEMATIC CAROUSEL */
.property-images {
    position: relative;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    height: 280px;
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s var(--transition-super);
        display: block;
    }

.property-card:hover .carousel-slide img {
    transform: scale(1.08);
}

/* Gradient overlay on images */
.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.3) 70%, transparent 100%);
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    color: var(--luxury-navy);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: all 0.3s var(--transition-super);
    z-index: 10;
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
}

.property-card:hover .carousel-btn {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.carousel-btn:hover {
    background: var(--luxury-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.carousel-btn.prev {
    left: 25px;
}

.carousel-btn.next {
    right: 25px;
}

.image-count {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--luxury-navy);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    backdrop-filter: blur(5px);
    border: 2px solid var(--luxury-gold);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

    .image-count::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        background: var(--luxury-gold);
        border-radius: 50%;
    }

.property-status {
    position: absolute;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 0.6rem 1.6rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s var(--transition-super);
    border: 2px solid white;
    letter-spacing: 0.5px;
}

    .property-status::before {
        content: '●';
        color: #27ae60;
        font-size: 1.4rem;
        line-height: 0.6;
    }

/* PROPERTY INFO - ELEGANT TYPOGRAPHY */
.property-info {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

    .property-header h3 {
        font-size: 1.8rem;
        color: var(--luxury-navy);
        margin: 0;
        line-height: 1.3;
        font-weight: 800;
        background: linear-gradient(to right, var(--luxury-navy) 0%, var(--luxury-teal) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        position: relative;
        padding-bottom: 8px;
    }

        .property-header h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--luxury-teal);
            border-radius: 3px;
        }

.property-code {
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
    color: var(--luxury-navy);
    padding: 0.4rem 1.2rem;
    border-radius: 24px;
    font-weight: 800;
    font-size: 0.95rem;
    align-self: flex-start;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
    border: 2px solid white;
}

.property-address {
    color: var(--luxury-gray);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
    padding-left: 2px;
}

    .property-address i {
        color: var(--luxury-teal);
        font-size: 1.2rem;
        margin-top: 4px;
        min-width: 20px;
    }

.property-description {
    color: var(--luxury-gray);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    flex-grow: 1;
    font-size: 1.05rem;
    font-weight: 300;
    position: relative;
    padding-left: 2px;
}

    .property-description::first-letter {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--luxury-navy);
        float: left;
        line-height: 0.8;
        margin-right: 8px;
        margin-top: 4px;
    }

/* PRICING - LUXURY DISPLAY */
.property-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-top: 1.3rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

    .property-price::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--luxury-gold);
        border-radius: 3px;
    }

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 0.5rem;
    line-height: 1;
    position: relative;
}

    .price-amount::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 3px;
        width: 95%;
        height: 3px;
        background: var(--luxury-gold);
        opacity: 0.6;
        border-radius: 3px;
    }

.price-period {
    color: var(--luxury-gray);
    font-size: 1.3rem;
    font-weight: 400;
    align-self: flex-end;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

/* ACTION BUTTONS - PREMIUM DESIGN */
.property-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-details, .btn-contact {
    flex: 1;
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    transition: all 0.4s var(--transition-super);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    letter-spacing: 0.5px;
}

.btn-details {
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    color: var(--luxury-navy);
    border: 2px solid var(--luxury-teal);
    position: relative;
}

    .btn-details::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(42, 183, 181, 0.15), transparent);
        transition: left 0.7s;
    }

    .btn-details:hover::before {
        left: 100%;
    }

    .btn-details:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(42, 183, 181, 0.35);
        color: var(--luxury-teal);
    }

.btn-contact {
    background: linear-gradient(135deg, var(--luxury-coral) 0%, #ff8e8e 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    position: relative;
}

    .btn-contact::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.5s;
    }

    .btn-contact:hover::after {
        opacity: 1;
    }

    .btn-contact:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.55);
        background: linear-gradient(135deg, #ff8e8e 0%, #ff6b6b 100%);
    }

    .btn-contact:active {
        transform: translateY(1px);
    }

/* BADGE ANIMATIONS */
@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

.property-status {
    animation: floatBadge 3s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE DESIGN - PERFECT ON ALL DEVICES
   ======================================== */

@media (max-width: 1400px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2.8rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
    .catalog-hero {
        height: 75vh;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .search-container {
        max-width: 750px;
        flex-direction: column;
        border-radius: 30px;
    }

    .search-box {
        width: 100%;
        min-width: auto;
    }

    .filter-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .catalog-hero {
        height: 65vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

        .section-header::after {
            left: 50%;
            transform: translateX(-50%);
        }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .catalog-hero {
        height: 60vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .search-container {
        max-width: 100%;
        padding: 0.7rem;
        border-radius: 24px;
    }

    .search-input {
        padding: 1rem 1.6rem 1rem 3rem;
        font-size: 1.05rem;
    }

    .filter-toggle {
        padding: 0.85rem 1.8rem;
        font-size: 1.05rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .property-card {
        border-radius: 24px;
    }

    .property-images {
        height: 240px;
    }

    .property-info {
        padding: 1.8rem;
    }

    .property-header h3 {
        font-size: 1.65rem;
    }

    .price-amount {
        font-size: 2.4rem;
    }

    .property-actions {
        flex-direction: column;
    }

    .btn-details, .btn-contact {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .catalog-hero {
        height: 55vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }

    .property-card {
        border-radius: 20px;
    }

    .property-images {
        height: 220px;
        border-radius: 20px 20px 0 0;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .image-count {
        bottom: 18px;
        right: 18px;
        padding: 0.35rem 0.9rem;
        font-size: 0.9rem;
    }

    .property-info {
        padding: 1.6rem;
    }

    .property-header h3 {
        font-size: 1.55rem;
    }

    .property-code {
        padding: 0.35rem 1rem;
        font-size: 0.9rem;
    }

    .price-amount {
        font-size: 2.2rem;
    }

    .price-period {
        font-size: 1.2rem;
    }

    .btn-details, .btn-contact {
        padding: 0.95rem;
        font-size: 1.05rem;
        border-radius: 16px;
    }

    .filter-count {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
}

/* ========================================
   MICRO-INTERACTIONS & ANIMATIONS
   ======================================== */

/* Staggered card animation on page load */
@keyframes cardStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card:nth-child(1) {
    animation: cardStagger 0.6s ease-out forwards;
}

.property-card:nth-child(2) {
    animation: cardStagger 0.6s ease-out 0.1s forwards;
}

.property-card:nth-child(3) {
    animation: cardStagger 0.6s ease-out 0.2s forwards;
}

.property-card:nth-child(4) {
    animation: cardStagger 0.6s ease-out 0.3s forwards;
}

.property-card:nth-child(5) {
    animation: cardStagger 0.6s ease-out 0.4s forwards;
}

.property-card:nth-child(6) {
    animation: cardStagger 0.6s ease-out 0.5s forwards;
}

/* Heartbeat animation for featured properties (future enhancement) */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.08);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.08);
    }

    70% {
        transform: scale(1);
    }
}

/* Loading skeleton animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

/* ========================================
   PRINT STYLES (Optional Enhancement)
   ======================================== */
@media print {
    .catalog-hero, .filters-container, .property-actions, .view-toggle {
        display: none !important;
    }

    .property-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* ========================================
   CATALOG PAGE ENHANCEMENTS - ULTRA PREMIUM
   ======================================== */

/* HERO BADGES - TRUST SIGNALS */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

    .badge-item:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .badge-item i {
        font-size: 1.4rem;
        min-width: 24px;
        text-align: center;
    }

    .badge-item:nth-child(1) i {
        color: #3498db;
    }

    .badge-item:nth-child(2) i {
        color: #2ecc71;
    }

    .badge-item:nth-child(3) i {
        color: #f39c12;
    }

    .badge-item:nth-child(4) i {
        color: #e74c3c;
    }

/* FEATURED PROPERTIES SECTION */
.featured-section {
    padding: 5rem 0 3rem;
    background: linear-gradient(to bottom, var(--luxury-cream) 0%, white 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.featured-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--transition-super);
    position: relative;
}

    .featured-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.featured-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.featured-card:hover .featured-image img {
    transform: scale(1.08);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--luxury-coral) 0%, #ff8e8e 100%);
    color: white;
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
}

.featured-content {
    padding: 1.8rem;
}

    .featured-content h3 {
        font-size: 1.65rem;
        color: var(--luxury-navy);
        margin-bottom: 0.6rem;
        font-weight: 700;
        line-height: 1.3;
    }

.featured-location {
    color: var(--luxury-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

    .featured-location i {
        color: var(--luxury-teal);
        font-size: 1.1rem;
    }

.featured-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--luxury-coral);
    margin-bottom: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.featured-details {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--luxury-light);
    border-bottom: 1px solid var(--luxury-light);
    margin-bottom: 1.3rem;
    font-weight: 500;
    color: var(--luxury-gray);
}

    .featured-details span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
    }

    .featured-details i {
        color: var(--luxury-teal);
        font-size: 1.1rem;
    }

.btn-view-details {
    display: inline-block;
    background: linear-gradient(135deg, var(--luxury-coral) 0%, var(--luxury-coral-light) 100%);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

    .btn-view-details:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45);
        color: white;
    }

/* NEIGHBORHOOD GUIDE SECTION */
.neighborhood-section {
    padding: 5rem 0 3rem;
    background: white;
}

.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.neighborhood-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
}

    .neighborhood-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.neighborhood-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .neighborhood-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.neighborhood-card:hover .neighborhood-image img {
    transform: scale(1.1);
}

.neighborhood-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, transparent 100%);
    padding: 1.8rem;
    color: white;
    z-index: 2;
}

    .neighborhood-overlay h4 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .neighborhood-overlay p {
        opacity: 0.9;
        font-size: 1.05rem;
        line-height: 1.5;
    }

.neighborhood-stats {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-top: 1px solid var(--luxury-light);
}

    .neighborhood-stats span {
        font-weight: 700;
        color: var(--luxury-navy);
        font-size: 1.15rem;
    }

.btn-explore {
    background: linear-gradient(135deg, var(--luxury-teal) 0%, #1a9390 100%);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .btn-explore:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(42, 183, 181, 0.4);
    }

/* TESTIMONIALS SECTION - CATALOG VERSION */
.catalog-testimonials {
    padding: 5rem 0 3rem;
    background: linear-gradient(to bottom, white 0%, var(--luxury-cream) 100%);
}

/* AGENT SPOTLIGHT SECTION */
.agent-section {
    padding: 5rem 0 3rem;
    background: white;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.agent-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

    .agent-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.agent-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

    .agent-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.agent-card:hover .agent-image img {
    transform: scale(1.08);
}

.agent-contact {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

    .agent-contact a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--luxury-coral) 0%, var(--luxury-coral-light) 100%);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
    }

        .agent-contact a:hover {
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 6px 16px rgba(230, 57, 70, 0.55);
        }

        .agent-contact a:nth-child(2) {
            background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        }

        .agent-contact a:nth-child(3) {
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        }

.agent-info {
    padding: 1.8rem;
}

    .agent-info h3 {
        font-size: 1.7rem;
        color: var(--luxury-navy);
        margin-bottom: 0.4rem;
        font-weight: 700;
    }

.agent-title {
    color: var(--luxury-teal);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    display: block;
}

.agent-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.3rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--luxury-light);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--luxury-coral);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--luxury-gray);
    font-weight: 500;
}

.agent-info p {
    color: var(--luxury-gray);
    line-height: 1.7;
    margin-bottom: 1.4rem;
    font-size: 1.02rem;
}

.btn-contact-agent {
    display: inline-block;
    background: linear-gradient(135deg, var(--luxury-navy) 0%, var(--teal-dark) 100%);
    color: white;
    padding: 0.85rem 1.8rem;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(10, 46, 90, 0.3);
}

    .btn-contact-agent:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(10, 46, 90, 0.45);
        color: white;
    }

/* MARKET INSIGHTS SECTION */
.market-section {
    padding: 5rem 0 3rem;
    background: linear-gradient(to bottom, var(--luxury-cream) 0%, white 100%);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.market-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--luxury-light);
}

    .market-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--luxury-teal);
    }

.market-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(42, 183, 181, 0.15) 0%, rgba(26, 147, 144, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--luxury-teal);
}

.market-card h3 {
    font-size: 1.6rem;
    color: var(--luxury-navy);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.market-card p {
    color: var(--luxury-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.read-more {
    color: var(--luxury-teal);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

    .read-more:hover {
        color: var(--luxury-navy);
        transform: translateX(5px);
    }

    .read-more i {
        font-size: 1rem;
        min-width: 18px;
    }

/* ENHANCED CTA SECTION */
.enhanced-cta {
    background: linear-gradient(135deg, var(--luxury-navy) 0%, var(--teal-dark) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

    .enhanced-cta::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 20% 30%, rgba(42, 183, 181, 0.15) 0%, transparent 25%), radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 30%);
        z-index: 0;
    }

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--luxury-coral) 0%, var(--luxury-coral-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    animation: pulseIcon 3s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 35px rgba(230, 57, 70, 0.6);
    }
}

.cta-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

    .cta-guarantee i {
        color: var(--luxury-gold);
        font-size: 1.4rem;
    }

/* RESPONSIVE ENHANCEMENTS */
@media (max-width: 992px) {
    .hero-badges {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .badge-item {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .featured-grid,
    .neighborhood-grid,
    .agent-grid,
    .market-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .catalog-hero {
        height: 70vh;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-badges {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .badge-item {
        width: 100%;
        justify-content: center;
        padding: 0.7rem;
        font-size: 1rem;
    }

    .featured-grid,
    .neighborhood-grid,
    .agent-grid,
    .market-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.3rem;
    }

    .cta-content p {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary.btn-lg,
    .btn-outline.btn-lg {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .catalog-hero {
        height: 65vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .featured-image,
    .neighborhood-image,
    .agent-image {
        height: 200px;
    }

    .featured-content h3,
    .agent-info h3 {
        font-size: 1.5rem;
    }

    .featured-price {
        font-size: 1.6rem;
    }

    .cta-icon {
        width: 80px;
        height: 80px;
        font-size: 2.8rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.15rem;
    }

    .cta-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .fs-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        font-size: 32px;
        padding: 12px 18px;
        cursor: pointer;
        border-radius: 6px;
        z-index: 100000;
        transition: 0.2s;
    }

        .fs-btn:hover {
            background: rgba(255,255,255,0.4);
        }

    .fs-prev {
        left: 20px;
    }

    .fs-next {
        right: 20px;
    }
}