/**
 * ROVA Agent - Public Styles
 * Golden gradient branding for Jason Miller Realtor
 */

/* Root Variables */
:root {
    --rova-primary: #E2B34C;
    --rova-secondary: #AAAAAA;
    --rova-text: #2C2C2C;
    --rova-accent: #FFFFFF;
    --rova-gradient: linear-gradient(135deg, #d4af37, #f4e4a5);
}

/* Listings Wrapper */
.rova-listings-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Search Form */
.rova-search-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.rova-search-form h3 {
    margin: 0 0 25px 0;
    color: var(--rova-text);
    font-size: 24px;
}

.rova-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.rova-form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--rova-text);
    font-weight: 600;
    font-size: 14px;
}

.rova-form-field input,
.rova-form-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.rova-form-field input:focus,
.rova-form-field select:focus {
    outline: none;
    border-color: var(--rova-primary);
    box-shadow: 0 0 0 3px rgba(226, 179, 76, 0.1);
}

.rova-form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.rova-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.rova-btn-primary {
    background: var(--rova-gradient);
    color: var(--rova-text);
    box-shadow: 0 4px 15px rgba(226, 179, 76, 0.3);
}

.rova-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 179, 76, 0.4);
}

.rova-btn-secondary {
    background: #fff;
    color: var(--rova-text);
    border: 2px solid var(--rova-primary);
}

.rova-btn-secondary:hover {
    background: var(--rova-primary);
    color: #fff;
}

/* Listings Grid */
.rova-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Listing Card */
.rova-listing-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.rova-listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.rova-listing-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.rova-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--rova-gradient);
    color: var(--rova-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rova-listing-content {
    padding: 25px;
}

.rova-listing-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--rova-primary);
    margin-bottom: 10px;
}

.rova-listing-address {
    font-size: 18px;
    font-weight: 600;
    color: var(--rova-text);
    margin-bottom: 5px;
}

.rova-listing-location {
    font-size: 14px;
    color: var(--rova-secondary);
    margin-bottom: 15px;
}

.rova-listing-details {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.rova-listing-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--rova-text);
}

.rova-view-details {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--rova-gradient);
    color: var(--rova-text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.rova-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 179, 76, 0.3);
}

/* Pagination */
.rova-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.rova-page-link {
    padding: 10px 18px;
    background: #fff;
    border: 2px solid var(--rova-primary);
    border-radius: 6px;
    color: var(--rova-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.rova-page-link:hover,
.rova-page-link.active {
    background: var(--rova-gradient);
    color: var(--rova-text);
}

/* Single Listing */
.rova-single-listing {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.rova-single-listing h1 {
    font-size: 36px;
    color: var(--rova-text);
    margin-bottom: 10px;
}

.rova-single-listing .rova-listing-price {
    font-size: 40px;
    margin: 20px 0;
}

.rova-listing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.rova-listing-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.rova-listing-gallery img:hover {
    transform: scale(1.05);
}

.rova-property-details {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.rova-property-details h3 {
    margin-top: 0;
    color: var(--rova-text);
}

.rova-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rova-detail-item {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid var(--rova-primary);
}

.rova-property-description {
    margin: 30px 0;
}

.rova-property-description h3 {
    color: var(--rova-text);
    margin-bottom: 20px;
}

.rova-property-description p {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

/* No Results */
.rova-no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 20px;
    color: var(--rova-secondary);
}

/* Featured Listings */
.rova-featured-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rova-listings-grid,
    .rova-featured-listings {
        grid-template-columns: 1fr;
    }
    
    .rova-form-row {
        grid-template-columns: 1fr;
    }
    
    .rova-listing-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .rova-single-listing h1 {
        font-size: 28px;
    }
    
    .rova-details-grid {
        grid-template-columns: 1fr;
    }
}
