/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header Styles */
header {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

nav a:hover {
    color: #007bff;
}

.search-bar {
    display: flex;
    gap: 0.5rem;
}

.search-bar input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

.search-bar button {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.user-links {
    display: flex;
    gap: 1rem;
}

.user-links a {
    color: #333;
    text-decoration: none;
}

/* Footer Styles */
footer {
    background: #333;
    color: white;
    padding: 2rem;
    margin-top: 2rem;
}

.footer-links, .social-media {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-links a, .social-media a {
    color: white;
    text-decoration: none;
}

.newsletter {
    display: flex;
    gap: 0.5rem;
}

.newsletter input {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    width: 200px;
}

.newsletter button {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .search-bar {
        width: 100%;
    }

    .search-bar input {
        width: 100%;
    }

    .user-links {
        width: 100%;
        justify-content: center;
    }

    .footer-links, .social-media {
        flex-direction: column;
        align-items: center;
    }

    .newsletter {
        flex-direction: column;
        align-items: center;
    }

    .newsletter input {
        width: 100%;
    }
}
