/* styles.css (Modern Look with Background Image) */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d'); /* You can replace with your own image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #3e3636;
}

/* Overlay for readability */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

header {
    background-color: rgba(236, 240, 244, 0.9);
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 1px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: background 0.3s;
    cursor: pointer;
}

nav ul li:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.news-section,
.search-section,
footer {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px auto;
    padding: 30px;
    width: 90%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.news-section h2,
.search-section h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.news-section article h3 {
    color: #ffffff;
    margin-bottom: 5px;
}

.news-section article p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.search-section input[type="text"] {
    width: 60%;
    padding: 12px;
    font-size
