/**
 * Intake Page Styles
 * For intake-test.html and future intake.html
 */

/* Main Container */
.intake-main {
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #f5f7f6 0%, #e8f5e9 100%);
    padding: 2rem 0 4rem;
}

/* Hero Section */
.intake-hero {
    text-align: center;
    padding: 3rem 0 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.intake-hero h1 {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-family: 'Source Serif Pro', serif;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-text {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
}

.step-arrow {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Intake Form Section */
.intake-form-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-green);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    font-family: 'Source Serif Pro', serif;
}

.section-header p {
    color: #666;
    font-size: 1rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.25rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-section h4 {
    font-size: 1.125rem;
    color: #333;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9375rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Help Text */
.help-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

/* Character Counter */
.char-count {
    display: block;
    text-align: right;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem;
    background: #f9f9f9;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkbox-label:hover {
    background: #f0f0f0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.9375rem;
    color: #333;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Consent Section */
.consent-section {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.consent-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.consent-text a {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-submit {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(75, 122, 74, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background: var(--hover-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(75, 122, 74, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-help {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.form-help p {
    font-size: 0.9375rem;
    color: #555;
}

.form-help a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

/* Booking Section */
.booking-section {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.booking-success {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.booking-success h2 {
    font-size: 1.75rem;
    color: var(--dark-green);
    margin-bottom: 0.75rem;
    font-family: 'Source Serif Pro', serif;
}

.booking-success p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
}

.booking-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-intro h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
}

.booking-intro p {
    color: #666;
    font-size: 1rem;
}

/* Calendar Widget */
.calendar-widget {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.calendar-widget iframe {
    display: block;
    width: 100%;
}

/* Booking Help */
.booking-help {
    text-align: center;
    margin-top: 2rem;
}

.help-box {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: left;
}

.help-box h4 {
    font-size: 1.125rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.help-box ul {
    list-style: none;
    padding: 0;
}

.help-box li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.help-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.help-contact {
    font-size: 1rem;
    color: #555;
}

.help-contact a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.help-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intake-main .container {
        padding: 0 1rem;
    }

    .intake-hero h1 {
        font-size: 1.875rem;
    }

    .hero-steps {
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .intake-form-section,
    .booking-section {
        padding: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        border-radius: 8px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .calendar-widget iframe {
        height: 500px;
    }

    .form-section {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .intake-main {
        padding: 1rem 0 2rem;
    }

    .intake-main .container {
        padding: 0 0.75rem;
    }

    .intake-hero {
        padding: 2rem 0 1rem;
    }

    .intake-hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        padding: 0 0.5rem;
    }

    .intake-form-section,
    .booking-section {
        padding: 1.25rem;
        border-radius: 6px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9375rem;
    }

    .form-section h3 {
        font-size: 1.125rem;
    }

    .form-group label {
        font-size: 0.875rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.625rem;
    }

    .btn-submit {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .hero-step {
        padding: 0.625rem 1.25rem;
    }

    .step-text {
        font-size: 0.8125rem;
    }
}

/* Print Styles */
@media print {
    .intake-hero,
    .booking-section,
    #header-container,
    #footer-container {
        display: none;
    }

    .intake-form-section {
        box-shadow: none;
        padding: 1rem;
    }
}
