/* ============================================
   PROPERTY TITLES LANDING PAGE
   Page-specific styles for /property-titles/
   ============================================ */

/* Body background override */
body.titles-page {
    background: linear-gradient(160deg, #f0f4f1 0%, #f8faf9 40%, #f5f7f6 100%) !important;
    min-height: 100vh;
}

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

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

.titles-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.7) 0%, rgba(30, 30, 45, 0.65) 50%, rgba(25, 25, 40, 0.7) 100%);
    z-index: 1;
}

.suburb-hero.titles-hero {
    position: relative;
    z-index: 2;
    background: transparent !important;
    min-height: auto;
}

/* Mobile Touch Target Enhancement */
@media (max-width: 768px) {
    .titles-hero-wrapper {
        min-height: auto;
    }

    .titles-page .valuation-search-input {
        font-size: 16px !important; /* Prevent iOS zoom on focus */
        min-height: 48px;
    }

    .titles-page .search-result-item {
        min-height: 60px;
        padding: 16px !important;
    }

    .titles-page .btn {
        min-height: 48px;
        font-size: 16px;
    }

    .titles-page .modern-header h1 {
        font-size: 28px !important;
    }

    .titles-page .property-info-grid {
        grid-template-columns: 1fr !important;
    }

    .titles-page .search-tips-grid {
        grid-template-columns: 1fr !important;
    }
}

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

    .titles-page .profile-container {
        padding: 12px !important;
    }
}

/* Understanding Section */
.titles-content-section {
    line-height: 1.8;
}

.titles-content-section h3 {
    color: #533483;
    margin-bottom: 12px;
}

.titles-content-section h3 i {
    margin-right: 8px;
}

.titles-content-block {
    margin-bottom: 24px;
}

.titles-content-block:last-child {
    margin-bottom: 0;
}

.titles-content-block p {
    color: #2c3e50;
}

/* GPS Features Grid */
.gps-section {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #3498db 100%);
    border: none;
    color: white;
}

.gps-section .section-icon {
    background: white;
    color: #1a5276;
}

.gps-section h2 {
    color: white;
}

.gps-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.gps-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gps-feature-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.gps-feature-card__icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.gps-feature-card__title {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
}

.gps-feature-card__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
}

/* GPS Perfect For Box */
.gps-use-cases {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #f1c40f;
}

.gps-use-cases__title {
    color: #f1c40f;
    margin: 0 0 10px 0;
}

.gps-use-cases__title i {
    margin-right: 8px;
}

.gps-use-cases__list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: white;
    font-size: 14px;
}

/* GPS CTA */
.gps-cta {
    text-align: center;
    margin-top: 25px;
}

.gps-cta__button {
    display: inline-block;
    background: white;
    color: #1a5276;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gps-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gps-cta__note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 12px;
}

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

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

.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: 1px solid #e8a838;
}

.cross-sell-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cross-sell-card--featured {
    border-color: #e8a838;
    border-width: 2px;
    position: relative;
}

.cross-sell-card__badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.cross-sell-card__badge i {
    margin-right: 4px;
}

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

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

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

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

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

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

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

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

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

/* FAQ Styles */
.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid;
}

.faq-item--green { border-left-color: #27ae60; }
.faq-item--blue { border-left-color: #3498db; }
.faq-item--purple { border-left-color: #9b59b6; }
.faq-item--orange { border-left-color: #e67e22; }
.faq-item--red { border-left-color: #e74c3c; }
.faq-item--emerald {
    border-left-color: #16a34a;
    background: #f0fdf4;
}

.faq-item__question {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.faq-item__question i {
    margin-right: 8px;
}

.faq-icon--green { color: #27ae60; }
.faq-icon--blue { color: #3498db; }
.faq-icon--purple { color: #9b59b6; }
.faq-icon--orange { color: #e67e22; }
.faq-icon--red { color: #e74c3c; }
.faq-icon--emerald { color: #16a34a; }

.faq-item__answer {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* LINZ Resources Section */
.linz-resources {
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    border-radius: 12px;
    border: 1px solid #cbd5e1;
}

.linz-resources__title {
    color: #1e40af;
    margin: 0 0 16px 0;
    font-size: 18px;
}

.linz-resources__title i {
    margin-right: 10px;
}

.linz-resources__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

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

.linz-resource-card--ownership { border-left-color: #1e40af; }
.linz-resource-card--privacy { border-left-color: #6366f1; }
.linz-resource-card--history { border-left-color: #059669; }

.linz-resource-card__title {
    margin: 0 0 8px 0;
    font-size: 14px;
}

.linz-resource-card__title i {
    margin-right: 6px;
}

.linz-resource-card--ownership .linz-resource-card__title { color: #1e40af; }
.linz-resource-card--privacy .linz-resource-card__title { color: #6366f1; }
.linz-resource-card--history .linz-resource-card__title { color: #059669; }

.linz-resource-card__desc {
    color: #555;
    font-size: 13px;
    margin: 0 0 10px 0;
}

.linz-resource-card__link {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.linz-resource-card--ownership .linz-resource-card__link { color: #1e40af; }
.linz-resource-card--privacy .linz-resource-card__link { color: #6366f1; }
.linz-resource-card--history .linz-resource-card__link { color: #059669; }

.linz-resource-card__link i {
    margin-left: 4px;
}

/* Feature card highlights */
.info-feature-card--gps {
    border: 2px solid #533483;
}

.info-feature-card--gps .info-feature-icon {
    background: linear-gradient(135deg, #533483, #7c4dbc);
}

.info-feature-card--gps .info-feature-badge {
    background: #533483;
}

.info-feature-card--red-flags {
    border: 2px solid #dc3545;
}

.info-feature-card--red-flags .info-feature-icon {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.info-feature-card--red-flags .info-feature-badge {
    background: #dc3545;
}

.info-feature-card--terrain {
    border: 2px solid #16a34a;
}

.info-feature-card--terrain .info-feature-icon {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.info-feature-card--terrain .info-feature-badge {
    background: #16a34a;
}

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

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

.titles-breadcrumb a {
    color: #27ae60;
    text-decoration: none;
    font-size: 14px;
}

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

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

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

/* Search Input Overrides */
.titles-search-wrapper {
    position: relative;
}

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

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

/* Hero Actions */
.hero-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-guarantee {
    color: #28a745;
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-guarantee i {
    margin-right: 4px;
}
