:root {
    --bg-color: #ffe6e6;
    --card-bg: #fff0f0;
    --text-color: #333333;
    --accent-color: #d32f2f;
    --secondary-text: #666666;
    --nav-bg: rgba(255, 230, 230, 0.95);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigation */
nav {
    background-color: var(--nav-bg);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover,
nav a.active {
    background-color: var(--accent-color);
    color: #000;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-size: 2.5rem;
}

/* Logo */
.nav-logo {
    height: 40px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
}

/* Hero Image */
.hero-image {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Grid Layout */
.grid {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 20px;
}

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

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

.card-content {
    padding: 15px;
    background-color: #e3f2fd;
}

.card-title {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.card-date {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* Lightbox (Simple) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 0.9rem;
    }
}