/* ============================================
   INDEX.CSS - Homepage-specific styles
   Imports: common.css, header.css, search-suggestions.css
   ============================================ */

/* Note: In production, use a bundler or server-side includes.
   For now, include these via link tags in HTML:
   - /static/common.css
   - /static/header.css
   - /static/search-suggestions.css
*/

/* Homepage layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Search container card */
.search-container {
    max-width: 700px;
    width: 100%;
    background: var(--bg-white, white);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
}

.search-container h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 0.75rem;
    text-align: center;
}

.subtitle {
    color: var(--text-secondary, #666);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Search input box */
.search-box {
    position: relative;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 3px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: var(--brand-primary, #c41e3a);
}

.search-input::placeholder {
    color: var(--text-muted, #999);
}

/* Help text */
.help-text {
    color: var(--text-muted, #999);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .search-container {
        padding: 2rem 1.5rem;
    }

    .search-container h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }
}
