/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: #2c3e50;
    color: #ecf0f1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
    transition: color 0.3s ease;
}

body.dark-mode .section-title {
    color: #ecf0f1;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

body.dark-mode .header {
    background: #34495e;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

body.dark-mode .main-nav ul li a {
    color: #ecf0f1;
}

.main-nav ul li a:hover {
    color: #3498db;
}

.dark-mode-toggle {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dark-mode-toggle:hover {
    background: #2980b9;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .news-card {
    background: #34495e;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.category-tag {
    background: #3498db;
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

body.dark-mode .category-tag {
    background: #ecf0f1;
    color: #2c3e50;
}

h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #2c3e50;
    transition: color 0.3s ease;
}

body.dark-mode h3 {
    color: #ecf0f1;
}

.post-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

body.dark-mode .post-meta {
    color: #bdc3c7;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

body.dark-mode .read-more {
    color: #ecf0f1;
}

/* Sport and Entertainment Section */
.sport-entertainment-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .sport-entertainment-grid {
        flex-direction: column;
    }
}

.sport-section,
.entertainment-section {
    flex: 1;
}

.image-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-item {
    display: flex;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .image-item {
    background: #34495e;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.image-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.image-content {
    flex: 1;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}