:root {
    --primary-color: #004c97;
    --bg-color: #f4f7f6;
    --text-color: #333;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

header h1 { margin: 0; font-size: 1.5rem; }

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

nav a:hover { text-decoration: underline; }

#lang-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.card h2 { margin-top: 0; color: var(--primary-color); }

ul { list-style-type: none; padding: 0; margin: 0; }
li { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 1.1rem; }
li:last-child { border-bottom: none; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* RTL Support for Hebrew */
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] header { flex-direction: row-reverse; }
html[dir="rtl"] .header-controls { flex-direction: row-reverse; }