/* Base styling for the entire page */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #f0f0f0;
}

/* Hero section with background image */
.hero {
    position: relative;
    height: 300px;
    background-image: url('/static/background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
    color: #d0d0d0;
}

/* Main container for search form and results */
.container {
    max-width: 900px;
    margin: -80px auto 40px;
    padding: 30px;
    background-color: #111;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1 1 70%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 16px;
}

button {
    padding: 12px 20px;
    border: none;
    background-color: #0066ff;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #004dbd;
}

/* Card styling for each result */
.card {
    background-color: #1a1a1a;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin-top: 0;
    color: #66b2ff;
}

.card p {
    line-height: 1.4;
}

/* Error message styling */
.error {
    color: #ff6666;
}