/* קובץ: style-base.css */
/* תיאור: סגנונות בסיסיים עבור הדף, כולל איפוס, גוף הדף, הידר ופוטר */

/* חיבור לפונט מודרני מ-Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

/* הגדרות כלליות - איפוס ברירת מחדל והגדרת פונט מודרני */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* כבר קיים, הוספתי גם ל-::before ו-::after */
    font-family: 'Rubik', sans-serif;
}

/* בסיס לדף - כיוון RTL ורקע עם שיפוע מודרני */
body {
    direction: rtl;
    background: #e5e7eb; /* אפור בהיר מאוד, נקי ומקצועי */
    color: #1f2937; /* אפור כהה לטקסט */
    line-height: 1.6;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-x: hidden; /* הוספתי כדי למנוע גלילה אופקית */
}

/* הידר קבוע בראש העמוד */
.header {
    background: #1f2937; /* אפור כהה, מקצועי */
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* פוטר קבוע בתחתית העמוד */
.footer {
    background: #1f2937; /* אותו אפור כהה כמו ה-header */
    color: #ffffff;
    text-align: center;
    padding: 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.footer a {
    color: #9ca3af; /* אפור בהיר לקישורים */
    margin-right: 10px;
    text-decoration: none;
}

.footer a:hover {
    color: #3b82f6; /* כחול עדין בהובר */
}

/* כותרות */
h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff; /* לבן כדי להתבלט על ה-header */
    font-weight: 700;
    font-size: 1.5em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #1f2937;
    font-size: 1.2em;
    font-weight: 500;
}

h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 1.1em;
    font-weight: 500;
}

/* סוף קובץ: style-base.css */