:root {
    --background-color: #fdfbf9;
    --text-color: #2e2a29; /* Woodish gray */
    --primary-color: #eb741e; /* Fiery orange */
    --wood-brown-color: #7B4019; /* Wood brown */
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
    min-width: 80%;
    margin: 0 auto;
    min-height: 100vh;
}

.form-row {
    display: flex;
    gap: 4rem;
    width: 100%;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.row {
    display: flex;
    flex-direction: row;
    gap: 4rem;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 700;
    text-align: left;
}

.search-input {
    font-size: 1.1rem;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(235, 116, 30, 0.2);
}

.search-button {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    width: 100%;
    margin-top: 10px;
}

.search-button:hover,
.search-button:focus {
    background-color: #d9681a; /* Slightly darker orange */
    transform: translateY(-2px);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--wood-brown-color);
    border-top: 1px solid var(--border-color);
}

/* --- Responsive Design --- */
@media (min-width: 600px) {
    .search-form {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    h1 { font-size: 2.2rem; }
    .index-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .index-search-form .search-button {
        width: 100%;
        height: 60px;
        font-size: 1.2rem;
        line-height: 60px;
        padding: 0;
    }
    .index-search-form .search-input {
        height: 60px;
        font-size: 1.2rem;
        padding: 0 12px;
    }
}