/* Modern Homepage Styles - Premium Design */

/* Modern Hero Section - Full Screen Image Slider */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.4) 0%, 
        rgba(30, 41, 59, 0.35) 50%, 
        rgba(15, 23, 42, 0.6) 100%);
    z-index: 2;
}

/* Floating Shapes */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.08);
    filter: blur(80px);
    opacity: 0.6;
}

.floating-shape.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatShape 15s ease-in-out infinite;
}

.floating-shape.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: floatShape 12s ease-in-out infinite reverse;
}

.floating-shape.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 60%;
    background: rgba(99, 102, 241, 0.1);
    animation: floatShape 10s ease-in-out infinite 2s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-center-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    color: #fbbf24;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out;
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title .title-line {
    display: block;
    color: rgba(255, 255, 255, 0.95);
}

.hero-title .gradient-text {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin: 0 auto 48px;
    max-width: 650px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Hero Stats - Horizontal Layout */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.6s both;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 32px;
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stats .stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.hero-stats .stat-icon i {
    font-size: 18px;
    color: #1f2937;
}

.hero-stats .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    display: block;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    padding: 18px 40px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.4);
    color: #1f2937;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-3px);
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.slide-indicators .indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-indicators .indicator.active {
    background: #fbbf24;
    width: 60px;
}

.slide-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-stats {
        gap: 12px;
    }
    
    .hero-stats .stat-item {
        padding: 16px 20px;
        min-width: 120px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .slide-indicators {
        bottom: 20px;
    }
}

/* Modern Search Section */
.modern-search-section {
    padding: 40px 0 80px 0;
    background: linear-gradient(180deg, #1e1b4b 0%, #2a235f 100%);
    position: relative;
    z-index: 10;
    margin-top: -40px;
}

.search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.search-header {
    margin-bottom: 48px;
}

.search-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.search-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.search-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.search-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.field-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #fbbf24;
    z-index: 3;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
}

.field-icon i {
    display: block;
}

.search-input {
    width: 100%;
    padding: 16px 40px 16px 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    text-indent: 0;
}

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

.search-input:focus {
    outline: none;
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Select dropdown arrow styling */
.search-field select.search-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fbbf24' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    padding-right: 36px;
    padding-left: 44px;
    text-overflow: ellipsis;
}

.search-input option {
    background: #2a235f;
    color: white;
    padding: 12px;
}

.search-button-wrapper {
    grid-column: span 1;
}

.search-button {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    border-radius: 12px;
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

/* Premium Featured Properties */
.premium-featured {
    padding: 100px 0;
    background: linear-gradient(180deg, #2a235f 0%, #1e1b4b 50%, #0f172a 100%);
}

.section-header {
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.property-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.property-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

.property-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.property-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 48px;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.property-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-sale {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.badge-rent {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.property-rating {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(251, 191, 36, 0.9);
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-favorite {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.favorite-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #ef4444;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: #ef4444;
    color: white;
}

.property-content {
    padding: 24px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 12px;
}

.property-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.property-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-features {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.price-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
}

.property-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.property-link:hover {
    color: #f59e0b;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-button-wrapper {
        grid-column: span 1;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .property-features {
        flex-wrap: wrap;
    }
    
    .field-icon {
        left: 12px;
        font-size: 13px;
    }
    
    .search-input {
        padding: 14px 34px 14px 38px;
        font-size: 14px;
    }
    
    .search-field select.search-input {
        padding-left: 38px;
    }
}

@media (max-width: 480px) {
    .search-card {
        padding: 20px;
    }
    
    .property-card-premium {
        margin: 0 -16px;
        border-radius: 0;
    }
    
    .field-icon {
        left: 10px;
        font-size: 12px;
    }
    
    .search-input {
        padding: 12px 30px 12px 34px;
        font-size: 13px;
    }
    
    .search-field select.search-input {
        padding-left: 34px;
    }
    
    .search-button {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* ============================
   Recent Properties - Modern Design
   ============================ */
.recent-properties-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #2a235f 100%);
    position: relative;
    overflow: hidden;
}

.recent-properties-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
}

.recent-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.recent-property-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
    position: relative;
}

.recent-property-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 60px rgba(251, 191, 36, 0.1);
}

.recent-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.recent-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 40px;
}

.recent-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.recent-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.recent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.view-details {
    background: rgba(251, 191, 36, 0.9);
    color: #1f2937;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

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

.recent-property-content {
    padding: 20px;
}

.recent-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-bottom: 10px;
}

.recent-location i {
    color: #fbbf24;
    font-size: 11px;
}

.recent-property-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-property-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-price .price-amount {
    font-size: 16px;
    font-weight: 700;
}

.recent-price .price-amount.sale {
    color: #10b981;
}

.recent-price .price-amount.rent {
    color: #3b82f6;
}

.recent-price .price-amount small {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
}

.recent-cta {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.recent-property-card:hover .recent-cta {
    gap: 10px;
}

.section-action {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

/* ============================
   Why Choose Us - Modern Design
   ============================ */
.why-choose-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #2a235f 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.why-choose-modern::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover .feature-line {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.feature-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-radius: 20px;
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-bg {
    transform: rotate(45deg) scale(1.1);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.1) 100%);
}

.feature-icon-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-inner i {
    font-size: 28px;
    color: #fbbf24;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon-inner i {
    transform: scale(1.1);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .recent-properties-modern,
    .why-choose-modern {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .recent-properties-modern,
    .why-choose-modern {
        padding: 60px 0;
    }
    
    .recent-properties-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-inner i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .recent-property-card {
        border-radius: 12px;
    }
    
    .recent-property-image {
        height: 180px;
    }
    
    .recent-property-content {
        padding: 16px;
    }
    
    .btn-view-all {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* ===== Resorts Section Styles ===== */
.resorts-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.resorts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.resort-card {
    position: relative;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.resort-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.resort-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.resort-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.resort-image-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
}

.resort-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resort-card:hover .resort-overlay {
    opacity: 1;
}

.view-resort {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.resort-card:hover .view-resort {
    transform: translateY(0);
}

.resort-stars {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 2px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.resort-stars i {
    font-size: 10px;
    color: #fbbf24;
}

.resort-content {
    padding: 20px;
}

.resort-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.resort-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 12px;
}

.resort-location i {
    color: #fbbf24;
    font-size: 12px;
}

.resort-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.resort-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 14px;
    transition: all 0.3s ease;
}

.resort-feature:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: scale(1.1);
}

.resort-count {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

/* Resorts Section Responsive */
@media (max-width: 1200px) {
    .resorts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .resorts-section {
        padding: 80px 0;
    }
    
    .resorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .resorts-section {
        padding: 60px 0;
    }
    
    .resorts-grid {
        grid-template-columns: 1fr;
    }
    
    .resort-image {
        height: 160px;
    }
}
