/* Neighborhood Tag Styles */
.tag-waterfront {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
}

.tag-luxury {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.tag-family {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    color: white;
}

.tag-affordable {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
}

.tag-business {
    background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    color: white;
}

.tag-airport {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: white;
}

/* Premium Neighborhoods CTA Section */
.neighborhoods-cta-section {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0;
    background: linear-gradient(135deg, #1a3c6d 0%, #2d5a8f 50%, #1a3c6d 100%);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(26, 60, 109, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

/* Elegant overlay pattern */
.neighborhoods-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.03) 10px,
            rgba(212, 175, 55, 0.03) 20px
        );
    pointer-events: none;
}

/* Luxury accent border */
.neighborhoods-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #d4af37 25%, 
        #f4d03f 50%, 
        #d4af37 75%, 
        transparent 100%);
}

.neighborhoods-cta-section .cta-content {
    padding: 50px 40px;
    position: relative;
    z-index: 1;
}

.neighborhoods-cta-section .cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #f4d03f 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: none;
    letter-spacing: -0.5px;
    animation: shimmer 3s ease-in-out infinite;
}

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

.neighborhoods-cta-section .cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* Premium button with gold accent */
.btn-cta-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a3c6d;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #d4af37;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.12),
        inset 0 -2px 10px rgba(212, 175, 55, 0.2);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
}

.btn-cta-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.btn-cta-large:hover::before {
    left: 100%;
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.25),
        inset 0 -2px 15px rgba(212, 175, 55, 0.3),
        0 0 30px rgba(212, 175, 55, 0.3);
    border-color: #f4d03f;
}

.btn-cta-large i {
    margin-left: 12px;
    transition: transform 0.4s ease;
    font-size: 1rem;
}

.btn-cta-large:hover i {
    transform: translateX(8px);
}

/* Premium quick links */
.quick-jump-links {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-jump-links span:first-child {
    font-weight: 600;
    margin-right: 20px;
    color: #d4af37;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.quick-jump-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.quick-jump-links a i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.quick-jump-links a:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    color: #f4d03f;
}

.quick-jump-links a:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.quick-jump-links .divider {
    margin: 0 10px;
    opacity: 0.3;
    color: #d4af37;
    font-size: 1.2rem;
}

/* Premium Mobile Responsive */
@media (max-width: 768px) {
    /* Tag adjustments for mobile */
    .neighborhood-tags .tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .neighborhood-tags .tag i {
        font-size: 0.7rem;
    }

    .neighborhoods-cta-section {
        margin-top: 35px;
        margin-bottom: 35px;
        border-radius: 16px;
    }

    .neighborhoods-cta-section::after {
        height: 2px;
    }
    
    .neighborhoods-cta-section .cta-content {
        padding: 38px 24px;
    }
    
    .neighborhoods-cta-section .cta-content h2 {
        font-size: 1.7rem;
        letter-spacing: -0.3px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .neighborhoods-cta-section .cta-content p {
        font-size: 0.97rem;
        margin-bottom: 24px;
        line-height: 1.55;
    }
    
    .btn-cta-large {
        padding: 13px 30px;
        font-size: 0.92rem;
        width: 100%;
        max-width: 340px;
        letter-spacing: 0.9px;
        border-radius: 45px;
    }

    .btn-cta-large i {
        margin-left: 10px;
        font-size: 0.95rem;
    }
    
    .quick-jump-links {
        font-size: 0.88rem;
        padding-top: 18px;
        margin-top: 24px;
    }

    .quick-jump-links span:first-child {
        font-size: 0.85rem;
        margin-right: 15px;
    }
    
    .quick-jump-links .divider {
        display: none;
    }
    
    .quick-jump-links a {
        display: inline-flex;
        margin: 4px;
        padding: 8px 15px;
        font-size: 0.83rem;
        border-radius: 22px;
    }

    .quick-jump-links a i {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Extra small tag adjustments */
    .neighborhood-tags .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }

    .neighborhood-tags .tag i {
        font-size: 0.65rem;
    }

    .neighborhoods-cta-section {
        margin-top: 28px;
        margin-bottom: 28px;
        border-radius: 14px;
    }
    
    .neighborhoods-cta-section .cta-content {
        padding: 28px 18px;
    }
    
    .neighborhoods-cta-section .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        line-height: 1.3;
        letter-spacing: -0.4px;
    }
    
    .neighborhoods-cta-section .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }
    
    .btn-cta-large {
        padding: 12px 26px;
        font-size: 0.88rem;
        max-width: 100%;
        letter-spacing: 0.8px;
        border-radius: 40px;
    }

    .btn-cta-large i {
        margin-left: 8px;
        font-size: 0.9rem;
    }
    
    .quick-jump-links {
        margin-top: 18px;
        padding-top: 16px;
        font-size: 0.82rem;
    }
    
    .quick-jump-links span:first-child {
        display: block;
        margin-bottom: 10px;
        font-size: 0.78rem;
        margin-right: 0;
    }
    
    .quick-jump-links a {
        padding: 7px 13px;
        font-size: 0.8rem;
        margin: 3px;
        border-radius: 20px;
        gap: 6px;
    }
    
    .quick-jump-links a i {
        font-size: 0.75rem;
    }
}
