/*
Theme Name: ValuationHub
Theme URI: https://valuationhub.com.au
Author: ValuationHub
Description: Lightweight property valuation quote request prototype theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: valuationhub
*/

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f8f9fb;
}

a {
    color: #2563eb;
    text-decoration: none;
}

/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.site-logo span {
    color: #2563eb;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 24px 100px;
}

.hero h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 720px;
    margin: 0 auto 24px;
    letter-spacing: -0.5px;
}

.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 36px;
}

.trust-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: #ffffff;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #1d4ed8;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
    padding: 64px 24px;
    text-align: center;
    background: #ffffff;
}

.how-it-works h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #1a1a2e;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    padding: 24px 16px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.step p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* ===========================
   QUOTE FORM SECTION
   =========================== */
.quote-section {
    padding: 72px 24px;
    background: #f8f9fb;
}

.quote-section h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.quote-section .section-sub {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
}

.form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* Stage indicator */
.stage-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form elements */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 8px;
}

.form-group select,
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a1a2e;
    background: #ffffff;
    transition: border-color 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.form-group select:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-group select.valid,
.form-group input.valid {
    border-color: #10b981;
}

.form-group select.invalid,
.form-group input.invalid {
    border-color: #ef4444;
}

.field-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 5px;
}

.field-error {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 5px;
    display: none;
}

.field-error.visible {
    display: block;
}

/* Buttons */
.btn-next {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    margin-top: 8px;
}

.btn-next:hover:not(:disabled) {
    background: #1d4ed8;
}

.btn-next:active:not(:disabled) {
    transform: scale(0.99);
}

.btn-next:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 32px 24px;
    font-size: 0.85rem;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 600px) {
    .hero {
        padding: 60px 20px 80px;
    }

    .form-card {
        padding: 28px 20px;
    }

    .steps {
        gap: 16px;
    }
}
