header {
    background-color: #a8571d;
    color: #f9f5f0;
    padding: 1.2rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo a {
    text-decoration: none;
    color: #f9f5f0;
    font-size: 1.6rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-left: 1.2rem;
}

nav a {
    color: #f2dfd1;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #fff;
}

#search-form {
    display: flex;
    align-items: center;
}

#search-input {
    padding: 0.6rem;
    border: 1px solid #d3b48c;
    border-radius: 6px;
    margin-right: 0.6rem;
    background-color: #fff8f0;
    color: #543d2d;
}

#search-input::placeholder {
    color: #8b4513;
}

#search-form button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#search-form button:hover {
    background-color: #d35400;
}

#auth a {
    margin-left: 1.2rem;
    text-decoration: none;
    color: #f2dfd1;
}

#auth a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    nav li {
        margin-left: 0;
        margin-bottom: 0.7rem;
    }
}