/* ============================================
   PROPERTY BUYERS REPORT LANDING PAGE
   Page-specific styles for /property-buyers-report
   ============================================ */

/* Hero Wrapper with Background Image */
.buyers-hero-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    contain: layout style;
}

.buyers-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.buyers-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.4) 0%, rgba(118, 75, 162, 0.35) 50%, rgba(155, 89, 182, 0.4) 100%);
    z-index: 1;
}

.suburb-hero.buyers-hero {
    position: relative;
    z-index: 2;
    background: transparent !important;
}

/* Breadcrumb */
.buyers-breadcrumb {
    background: #f8f9fa;
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
}

.buyers-breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
}

.buyers-breadcrumb a {
    color: #533483;
    text-decoration: none;
    font-size: 14px;
}

.buyers-breadcrumb a i {
    margin-right: 6px;
}

.buyers-breadcrumb__separator {
    color: #6c757d;
    margin: 0 8px;
}

.buyers-breadcrumb__current {
    color: #6c757d;
    font-size: 14px;
}

/* Search Wrapper */
.buyers-search-wrapper {
    position: relative;
}

.buyers-search-input {
    padding-left: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    height: 54px;
}

.buyers-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10000;
}

/* Sample Actions Row */
.buyers-sample-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.buyers-money-back {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 600;
}

.buyers-money-back i {
    margin-right: 4px;
}

/* Content Subsections */
.buyers-subsection {
    margin-bottom: 24px;
}

.buyers-subsection:last-child {
    margin-bottom: 0;
}

.buyers-subsection h3 {
    margin-bottom: 12px;
}

.buyers-subsection h3.buyers-subsection__heading--danger {
    color: #dc3545;
}

.buyers-subsection h3.buyers-subsection__heading--success {
    color: #28a745;
}

.buyers-subsection h3.buyers-subsection__heading--primary {
    color: #533483;
}

.buyers-subsection h3 i {
    margin-right: 8px;
}

.buyers-subsection p {
    color: #2c3e50;
}

.buyers-section-content {
    line-height: 1.8;
}

/* Data Grid (2-column cards) */
.buyers-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.buyers-data-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #533483;
}

.buyers-data-card h3 {
    color: #533483;
    margin-bottom: 8px;
}

.buyers-data-card h3 i {
    margin-right: 8px;
}

.buyers-data-card p {
    color: #2c3e50;
    margin: 0;
}

/* Data Sources Grid */
.buyers-sources-intro {
    color: #2c3e50;
    margin-bottom: 20px;
}

.buyers-sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.buyers-source-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.buyers-source-item i {
    color: #533483;
    font-size: 20px;
}

.buyers-source-item span {
    color: #2c3e50;
    font-weight: 500;
}

/* City-Specific Section */
.buyers-cities {
    background: linear-gradient(135deg, #e8f4fd, #d1e8fa);
    border: none;
}

.buyers-cities .section-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.buyers-cities__intro {
    color: #2c3e50;
    margin-bottom: 20px;
}

.buyers-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.buyers-city-card {
    padding: 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid;
}

.buyers-city-card--auckland {
    border-left-color: #3498db;
}

.buyers-city-card--wellington {
    border-left-color: #27ae60;
}

.buyers-city-card--christchurch {
    border-left-color: #9b59b6;
}

.buyers-city-card h4 {
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.buyers-city-card h4 i {
    margin-right: 6px;
}

.buyers-city-card--auckland h4 i {
    color: #3498db;
}

.buyers-city-card--wellington h4 i {
    color: #27ae60;
}

.buyers-city-card--christchurch h4 i {
    color: #9b59b6;
}

.buyers-city-card p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Cross-Sell Section */
.buyers-cross-sell {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
}

.buyers-cross-sell .section-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.buyers-cross-sell__intro {
    margin-bottom: 24px;
}

.buyers-cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.buyers-cross-sell-card {
    text-decoration: none;
    display: block;
    background: white;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.buyers-cross-sell-card--title {
    border-color: #2ecc71;
}

.buyers-cross-sell-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.buyers-cross-sell-card__icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buyers-cross-sell-card__icon--title {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.buyers-cross-sell-card__icon--safety {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.buyers-cross-sell-card__icon i {
    color: white;
    font-size: 18px;
}

.buyers-cross-sell-card__title {
    margin: 0;
    color: #2c3e50;
    font-size: 16px;
}

.buyers-cross-sell-card__price--title {
    color: #2ecc71;
    font-weight: 700;
    font-size: 18px;
}

.buyers-cross-sell-card__price--safety {
    color: #e74c3c;
    font-weight: 700;
    font-size: 18px;
}

.buyers-cross-sell-card__desc {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .buyers-hero-wrapper {
        min-height: auto;
    }

    .buyers-report-page .valuation-search-input {
        font-size: 16px !important;
        min-height: 48px !important;
        -webkit-appearance: none;
        appearance: none;
    }

    .buyers-report-page .search-result-item {
        min-height: 60px !important;
        padding: 16px !important;
        -webkit-tap-highlight-color: rgba(83, 52, 131, 0.1);
    }

    .buyers-report-page .btn {
        min-height: 48px !important;
        font-size: 16px !important;
        padding: 14px 24px !important;
    }

    .buyers-report-page .modern-header {
        padding: 20px 16px !important;
        margin-bottom: 20px !important;
    }

    .buyers-report-page .modern-header h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .buyers-report-page .modern-header p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .buyers-report-page .property-info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .buyers-report-page .search-tips-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .buyers-report-page .form-section {
        padding: 20px 16px !important;
        margin-bottom: 16px !important;
    }

    .buyers-report-page .form-section h2 {
        font-size: 20px !important;
    }

    .buyers-report-page .form-section h3 {
        font-size: 16px !important;
    }

    .buyers-report-page .profile-container {
        padding: 12px !important;
        max-width: 100% !important;
    }

    .buyers-report-page .valuation-search-section {
        padding: 20px 16px !important;
        margin-bottom: 16px !important;
    }

    .buyers-report-page .info-feature-card {
        padding: 16px !important;
    }

    .buyers-report-page .info-feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
    }

    .buyers-report-page .two-column-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .buyers-report-page .profile-nav {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .buyers-report-page .cta-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .buyers-report-page .cta-buttons .btn {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .buyers-report-page .modern-header h1 {
        font-size: 22px !important;
    }

    .buyers-report-page .profile-container {
        padding: 8px !important;
    }

    .buyers-report-page .section-icon {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Performance & Accessibility */
@media (prefers-reduced-motion: reduce) {
    .buyers-report-page * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
