@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;800&display=swap');

:root {
    --primary-color: #76c8c0; /* מנטה רך */
    --secondary-color: #f4a261; /* אפרסק רך */
    --accent-color: #f9d877; /* צהוב פסטל */
    --bg-color: #fdfcf9; /* שמנת עדינה */
    --text-color: #5d5d5d; /* אפור עדין */
    --white: #FFFFFF;
}

body {
    font-family: 'Heebo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

h1, h2 { color: var(--primary-color); }

/* עיצוב כרטיסי ניווט בדף הבית */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.portal-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.portal-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.portal-card h3 { color: var(--secondary-color); margin-bottom: 10px; }

/* טבלאות וטפסים */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { padding: 15px; text-align: right; border-bottom: 1px solid #eee; }
th { background-color: var(--primary-color); color: white; }

input, select, textarea {
    width: 100%; padding: 12px; margin: 8px 0 20px;
    border: 1px solid #ddd; border-radius: 10px;
}

button {
    background-color: var(--secondary-color); color: white;
    border: none; padding: 12px 30px; border-radius: 25px;
    font-weight: bold; cursor: pointer; width: 100%;
}

footer { text-align: center; padding: 30px; background: #f0ebe1; margin-top: 40px; }