
/*
Theme Name: PropertyRentCompare
Theme URI: https://demo.WebInfoTech360.com
Template: generatepress
Author: @skmayankit
Author URI: https://yourwebsite.com
Description: A complete property rental comparison website. Browse and compare rentals by city, budget, BHK, and amenities.
Version: 1.0.0
License: GPL v2 or later
Text Domain: propertyrentcompare
*/

/* Custom dropdown arrow for selects (removes default and adds SVG arrow) */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em;
    padding-right: 2.5rem;
}

/* Optional: Input/select focus effects */
.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Smooth transition on filter group hover */
.filter-group {
    transition: transform 0.2s ease;
}
.filter-group:hover {
    transform: translateY(-2px);
}

/* Ripple effect for button (optional) */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}
.btn-primary:active:after {
    width: 100%;
    height: 100%;
}
/* ========== CUSTOM ANIMATIONS & LANDING PAGE STYLES ========== */

/* Hero gradient background */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="white" d="M20 20 L80 20 L80 80 L20 80 Z"/><circle cx="50" cy="50" r="15" fill="white"/></svg>') repeat;
    background-size: 60px 60px;
    animation: moveBackground 20s linear infinite;
}
@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FFD166, #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover effect */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.2);
}

/* Rent range slider styling */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #2A6F97;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Counter numbers animation */
.counter-number {
    display: inline-block;
    animation: countUp 1s ease-out;
}

/* Floating animation for hero elements */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.floating {
    animation: float 3s ease-in-out infinite;
}