/* Modern Premium UI Overrides for Homzen */

:root {
    --premium-radius: 16px;
    --button-radius: 12px;
    --premium-shadow: 0 10px 40px -10px rgba(0,0,0,0.08), 0 2px 15px -5px rgba(0,0,0,0.04);
    --premium-shadow-hover: 0 20px 50px -15px rgba(0,0,0,0.12), 0 5px 20px -5px rgba(0,0,0,0.06);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* Global Smoothness */
* {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Property Card Refinement */
.property-item.homeya-box {
    border: none !important;
    background: #ffffff;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1) !important;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
    will-change: transform, box-shadow;
}

.property-item.homeya-box:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-10px);
    box-shadow: 0 25px 60px -20px rgba(0,0,0,0.15) !important;
}

.property-item.homeya-box .images-style::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-item.homeya-box:hover .images-style::after {
    opacity: 1;
}

/* Glassmorphism Price Wrapper */
.price-wrapper {
    background: rgba(240, 246, 255, 0.6);
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 92, 168, 0.1);
}

.price-amount {
    background: linear-gradient(135deg, var(--primary-color), #003e71);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px !important;
    letter-spacing: -0.5px;
}

/* Hero Search Magnificence */
.flat-tab.flat-tab-form {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 30px 100px -20px rgba(0,0,0,0.3) !important;
    animation: slideInUpPremium 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Tab Navigation Premium */
.nav-tab-form .nav-link-item {
    padding: 12px 24px !important;
    font-weight: 700 !important;
    color: #4B5563 !important;
}

.nav-tab-form .nav-link-item.active {
    background: #ffffff !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Interactive Search Button */
.wd-find-select .tf-btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.wd-find-select .tf-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px -5px var(--primary-color);
}

/* Author Avatar High-End */
.author-info .avatar {
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Specifications Icons */
.property-specs .item i {
    color: var(--primary-color);
    opacity: 0.8;
}

.property-specs .item span {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    color: #1F2937;
}

/* Form Controls */
.form-control, .nice-select {
    border-radius: var(--button-radius) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background-color: #F9FAFB !important;
}

.form-control:focus {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 92, 168, 0.1) !important;
}

/* Buttons */
.tf-btn.primary {
    border-radius: var(--button-radius) !important;
    box-shadow: 0 4px 14px 0 rgba(0, 92, 168, 0.39);
    position: relative;
    overflow: hidden;
}

.tf-btn.primary:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.tf-btn.primary:active:after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% { transform: scale(0, 0); opacity: 1; }
    20% { transform: scale(25, 25); opacity: 1; }
    100% { opacity: 0; transform: scale(40, 40); }
}
