/* ===========================================================
   גאיה גלית גולדשר — עיצוב אתר
   פלטה: חום עמוק + קרם + אדמדם-חרסי (בהשראת האתר הקיים ודף הסדנה NULL)
   =========================================================== */

:root {
  --bg-deep: #2c1e16;
  --bg-deep-2: #3a2a1e;
  --bg-panel: #40301f;
  --cream: #f3e9d8;
  --cream-dim: #d9c9ae;
  --cream-faint: #b8a888;
  --accent: #c1613f;
  --accent-dark: #a8502f;
  --accent-light: #e0805a;
  --border-soft: rgba(243, 233, 216, 0.14);
  --shadow-glow: rgba(224, 128, 90, 0.25);

  --font-heading: "Frank Ruhl Libre", "David Libre", serif;
  --font-body: "Assistant", "Heebo", sans-serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, var(--bg-deep-2) 0%, var(--bg-deep) 65%);
  color: var(--cream);
  font-family: var(--font-body);
  direction: rtl;
  line-height: 1.75;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 0.6em;
  color: var(--cream);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--cream-dim); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }

.center { text-align: center; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(44, 30, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.98rem;
  color: var(--cream-dim);
  transition: color 0.2s ease;
  padding: 6px 2px;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--accent-light);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    background: var(--bg-deep-2);
    padding: 18px 24px 26px;
    gap: 16px;
    border-bottom: 1px solid var(--border-soft);
    display: none;
  }
  .nav__links.is-open { display: flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 8px 30px var(--shadow-glow);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--cream-dim);
}
.btn--ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.hero__portrait {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  margin: 0 auto 32px;
  object-fit: cover;
  box-shadow: 0 0 80px 10px var(--shadow-glow);
  border: 2px solid var(--border-soft);
}

/* פלייסהולדר לתמונת פרופיל - עד שתועלה תמונה אמיתית ל-images/portrait.jpg */
.hero__portrait--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--bg-panel), var(--bg-deep));
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--accent-light);
}

.hero__eyebrow {
  font-size: 1rem;
  color: var(--cream-faint);
  margin-bottom: 8px;
}

.hero p.lead {
  max-width: 560px;
  margin: 22px auto 34px;
  font-size: 1.1rem;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.card h3 { color: var(--accent-light); }

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pill-list li {
  background: rgba(243, 233, 216, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--cream-dim);
}

/* ---------- Testimonial ---------- */

.testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--cream);
  line-height: 1.7;
}

.testimonial::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

/* ---------- Methods (processes) ---------- */

.method {
  border-top: 1px solid var(--border-soft);
  padding: 34px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}

.method:first-of-type { border-top: none; }

.method__meta { color: var(--accent-light); font-size: 0.95rem; }

@media (max-width: 640px) {
  .method { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Blog ---------- */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filters button {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--cream-dim);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.filters button.is-active,
.filters button:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.post-card {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--accent); }

.post-card__tag {
  color: var(--accent-light);
  font-size: 0.85rem;
  margin-bottom: 6px;
  display: block;
}
.post-card__date { color: var(--cream-faint); font-size: 0.85rem; }

.article-body {
  max-width: 700px;
  margin: 0 auto;
}
.article-body p { font-size: 1.08rem; color: var(--cream-dim); }

/* ---------- Forms ---------- */

.form-field { margin-bottom: 20px; text-align: right; }

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--cream-faint);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(243, 233, 216, 0.05);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: var(--cream-faint);
  margin-top: 14px;
}

.form-success {
  display: none;
  background: rgba(193, 97, 63, 0.15);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 20px;
}

/* ---------- Contact links ---------- */

.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.contact-links a {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  color: var(--cream-dim);
  transition: all 0.2s ease;
}
.contact-links a:hover { border-color: var(--accent); color: var(--accent-light); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
  text-align: center;
  color: var(--cream-faint);
  font-size: 0.9rem;
}

.site-footer a { color: var(--cream-dim); }
.site-footer a:hover { color: var(--accent-light); }

.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Utility ---------- */

.muted { color: var(--cream-faint); }
.mt-lg { margin-top: 48px; }
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 28px auto;
  border: none;
}
