/* פונט וצבעים מהדף המושלם */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700&display=swap');

:root {
  --bg-gradient: linear-gradient(135deg, #fef5f0 0%, #f9ebe5 100%);
  --accent-rose: #d88b8b;
  --accent-gold: #daa520;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --card-bg: rgba(255, 255, 255, 0.85); /* לבן נקי וחצי שקוף */
   --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 50px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
  font-family: 'Assistant', sans-serif; 
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-dark); 
  line-height: 1.7;
  direction: rtl;
}

.container { max-width: 1100px; margin:0 auto; padding: 40px 20px 10px 20px; }

/* תפריט ניווט בעיצוב זכוכית (Glassmorphism) */
.main-nav { 
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 20px; /* הוספנו 20px ריווח מהצדדים */
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.main-nav ul { 
  list-style: none; 
  display: flex; 
  justify-content: center; 
  gap: 20px; /* צמצמנו מעט את המרווח ביניהם כדי שיהיה אוויר בצדדים */
  flex-wrap: wrap; 
}
.main-nav a { text-decoration: none; color: var(--accent-rose); font-weight: 700; transition: 0.3s; }
.main-nav a:hover { color: var(--accent-gold); }

/* כותרת מרכזית עם גרדיאנט */
h1 { 
  font-size: 3.5rem; 
  text-align: center; 
  background: linear-gradient(135deg, #d88b8b 0%, #c07373 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 20px;
}

/* כותרות סקשן עם פס זהב */
h2 { 
  font-size: 2.2rem; 
  color: var(--accent-rose);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

/* קופסאות תוכן מרחפות */
section { 
  padding: 40px; 
  margin-bottom: 15px; 
  border-radius: 20px; 
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.3);
}
section:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* לוגו בפינה */
.logo-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}
.logo-container img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* כפתור יוקרתי */
.button {
  display: inline-block;
  background: linear-gradient(135deg, #d88b8b 0%, #c07373 100%);
  color: #fff;
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(216, 139, 139, 0.3);
  text-decoration: none;
}
.button:hover { transform: translateY(-3px); border: 1px solid var(--accent-gold); }


/* פוטר אחיד לכל האתר */
footer { 
  text-align: center; 
  padding: 40px 20px; 
  margin-top: 60px; 
  border-top: 1px solid rgba(216, 139, 139, 0.15);
  width: 100%;
  clear: both; /* מבטיח שהפוטר לא יקפוץ הצידה בגלל אלמנטים אחרים */
}

/* הגדרה ספציפית לטקסט בתוך הפוטר - כדי שלא יהיה גדול מדי במאמרים */
.footer-content p { 
  font-size: 0.95rem !important; /* ה-important מוודא שזה הגודל הקובע */
  color: #666 !important;
  margin: 8px 0;
  line-height: 1.6;
}

/* התאמה לנייד - שיהיה קטן ועדין */
@media (max-width: 768px) {
  .footer-content p {
    font-size: 0.85rem !important; 
  }
  footer {
    padding: 30px 15px;
  }
}

/* מבטל את הגובה המינימלי של המיכל הראשי אם קיים */
.container {
    min-height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* מבטל את המרווח של התיבה האחרונה בהחלט בעמוד */
section:last-of-type {
    margin-bottom: 5px !important;
}

/* מהדק את הפוטר לתוכן שמעליו */
footer {
    margin-top: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* התאמה לטלפון */
@media (max-width: 768px) {
  .logo-container { position: relative; right: auto; text-align: center; margin-bottom: 20px; }
  h1 { font-size: 2.5rem; }
  section { padding: 25px; }
}