/* Custom Styles for HomeMitra */

/* Particles Background */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Property Cards */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.property-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-type-card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

.property-type-card:hover .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

/* Feature Icons */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
}

/* Search Section */
.search-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

/* Rent Section */
.rent-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

/* Property Features */
.property-features {
    font-size: 0.9rem;
}

/* Social Links */
.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #667eea !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
}

/* Card Image Overlay */
.card-img-overlay {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
}

/* Particles Background */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
}

/* Property Cards Enhancements */
.property-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.property-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.property-type-card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
    border-color: #667eea;
}

.property-type-card:hover h5,
.property-type-card:hover .text-muted {
    color: white !important;
}

/* Feature Icons */
.feature-icon {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Search Section Enhancement */
.search-section .bg-light {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 50px;
        min-height: auto;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .property-type-card {
        margin-bottom: 15px;
    }
}

/* Smooth Animations */
.property-card, .feature-icon, .property-type-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Styles for HomeMitra */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.property-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-type-card:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
}

.property-type-card:hover .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

.search-section .bg-light {
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%; 
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

