/**
 * Frontend styles for Shift8 TREB plugin
 *
 * @package Shift8\TREB
 * @since 1.6.3
 */

.treb-listing-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.treb-hero-section {
    position: relative;
    margin-bottom: 2rem;
}

.treb-price-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
}

.treb-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.treb-property-details {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.treb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.treb-info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.treb-info-card h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.treb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.treb-feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.treb-feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    color: #3498db;
}

.treb-feature-text {
    font-weight: 500;
    color: #2c3e50;
}

.treb-description {
    line-height: 1.6;
    color: #34495e;
    margin: 1.5rem 0;
}

.treb-contact-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.treb-contact-info h3 {
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .treb-main-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .treb-price-overlay {
        position: static;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .treb-features-grid {
        grid-template-columns: 1fr;
    }
    
    .treb-property-details,
    .treb-info-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .treb-listing-container {
        margin: 0 10px;
    }
    
    .treb-feature-item {
        padding: 0.5rem;
    }
    
    .treb-feature-text {
        font-size: 0.9rem;
    }
}
