/* ========================================
   Property Hub Section Styles
   ======================================== */

.property-hub-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.property-hub-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.property-hub-section .content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #2c5f7c 0%, #1e4259 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.2);
}

.property-hub-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.property-hub-section .section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Property Hub Grid */
.property-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

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

/* Property Hub Card */
.property-hub-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Property Image */
.property-hub-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

.property-hub-image img.loaded {
    opacity: 1;
}

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

/* Property Badges */
.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.property-badges .badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.badge-waterfront {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.badge-golden-visa {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-affordable {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.badge-luxury {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

.badge-hot-deal {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.badge-family-friendly {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Property Content */
.property-hub-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2c5f7c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.property-location i {
    font-size: 14px;
}

.property-hub-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

/* Property Details */
.property-details {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}

.detail-item i {
    color: #2c5f7c;
    font-size: 16px;
}

/* Property Price Row */
.property-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.property-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: #2c5f7c;
}

.property-roi {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.property-roi i {
    font-size: 14px;
}

/* Property Button */
.btn-property-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #2c5f7c 0%, #1e4259 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 95, 124, 0.2);
    margin-top: auto;
}

.btn-property-hub:hover {
    background: linear-gradient(135deg, #1e4259 0%, #2c5f7c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 95, 124, 0.3);
}

.btn-property-hub i {
    transition: transform 0.3s ease;
}

.btn-property-hub:hover i {
    transform: translateX(5px);
}

/* Property Hub CTA */
.property-hub-cta {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #2c5f7c 0%, #1e4259 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(44, 95, 124, 0.2);
}

.property-hub-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.property-hub-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-explore-properties {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: white;
    color: #2c5f7c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-explore-properties:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
}

.btn-explore-properties i {
    transition: transform 0.3s ease;
}

.btn-explore-properties:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-hub-section {
        padding: 50px 0;
    }

    .property-hub-section .section-header {
        margin-bottom: 40px;
    }

    .property-hub-section .content-badge {
        font-size: 13px;
        padding: 7px 18px;
        margin-bottom: 16px;
    }

    .property-hub-section h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .property-hub-section .section-header p {
        font-size: 15px;
        padding: 0 10px;
    }

    .property-hub-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
    }

    .property-hub-image {
        height: 220px;
    }

    .property-badges {
        top: 12px;
        left: 12px;
        gap: 6px;
    }

    .property-badges .badge {
        padding: 5px 10px;
        font-size: 11px;
    }

    .property-hub-content {
        padding: 22px;
    }

    .property-location {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .property-hub-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .property-details {
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .detail-item {
        font-size: 13px;
    }

    .detail-item i {
        font-size: 15px;
    }

    .property-price-row {
        margin-bottom: 18px;
    }

    .price-label {
        font-size: 11px;
    }

    .price-value {
        font-size: 18px;
    }

    .property-roi {
        padding: 7px 12px;
        font-size: 13px;
    }

    .btn-property-hub {
        padding: 13px 22px;
        font-size: 14px;
        gap: 8px;
    }

    .property-hub-cta {
        padding: 40px 24px;
        border-radius: 18px;
    }

    .property-hub-cta h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .property-hub-cta p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .btn-explore-properties {
        padding: 14px 36px;
        font-size: 15px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .property-hub-section {
        padding: 40px 0;
    }

    .property-hub-section .section-header {
        margin-bottom: 32px;
    }

    .property-hub-section .content-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 14px;
    }

    .property-hub-section h2 {
        font-size: 24px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .property-hub-section .section-header p {
        font-size: 14px;
        padding: 0 5px;
    }

    .property-hub-grid {
        gap: 20px;
        margin-bottom: 40px;
    }

    .property-hub-image {
        height: 200px;
    }

    .property-badges {
        top: 10px;
        left: 10px;
        gap: 5px;
        max-width: calc(100% - 20px);
    }

    .property-badges .badge {
        padding: 4px 9px;
        font-size: 10px;
    }

    .property-hub-content {
        padding: 20px 18px;
    }

    .property-location {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .property-location i {
        font-size: 12px;
    }

    .property-hub-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .property-details {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .detail-item {
        font-size: 12px;
    }

    .detail-item i {
        font-size: 14px;
    }

    .property-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .price-label {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .price-value {
        font-size: 17px;
    }

    .property-roi {
        padding: 6px 11px;
        font-size: 12px;
    }

    .property-roi i {
        font-size: 12px;
    }

    .btn-property-hub {
        padding: 12px 20px;
        font-size: 13px;
        gap: 7px;
    }

    .property-hub-cta {
        padding: 35px 20px;
        border-radius: 16px;
    }

    .property-hub-cta h3 {
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .property-hub-cta p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .btn-explore-properties {
        width: 100%;
        justify-content: center;
        padding: 13px 32px;
        font-size: 14px;
        gap: 9px;
    }
}
