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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #1a1a2e;
    color: #fff;
    padding: 1.5em 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.3em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5em;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #f0a500;
}

/* Main Content */
section {
    padding: 2em;
    max-width: 800px;
    margin: 2em auto;
}

h2 {
    color: #1a1a2e;
    font-size: 1.8em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.post {
    background-color: #fff;
    margin-bottom: 2em;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.post:hover {
    transform: scale(1.02);
}

.post h3 {
    color: #1a1a2e;
    font-size: 1.6em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.post p {
    margin-bottom: 1em;
    color: #555;
}

.read-more {
    background-color: #f0a500;
    color: #fff;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #d18d00;
}

.more-content {
    display: none;
    margin-top: 1em;
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5em;
    background-color: #1a1a2e;
    color: #fff;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5em;
    }

    header h1 {
        font-size: 1.8em;
    }

    section {
        padding: 1.5em;
    }

    .post {
        padding: 1.2em;
    }
}
