:root {
  --navy: #1A2744;
  --navy-deep: #0F1A2E;
  --gold: #C5973B;
  --gold-light: #E8D5A8;
  --cream: #FAF8F4;
  --text: #2C2C2C;
  --text-light: #666;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Serif Hebrew', 'Source Sans 3', sans-serif; color: var(--text); background: var(--cream); line-height: 1.9; direction: rtl; }

/* NAV */
nav { background: var(--navy-deep); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.3); direction: ltr; }
nav .nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 56px; }
nav .logo { font-family: 'Noto Serif Hebrew', serif; font-size: 1.25rem; font-weight: 700; color: white; text-decoration: none; }
nav .logo span { color: var(--gold); }
nav .nav-links { display: flex; gap: 6px; align-items: center; }
nav .nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; padding: 8px 14px; border-radius: 6px; font-size: 0.9rem; transition: all 0.2s; }
nav .nav-links a:hover, nav .nav-links a.active { background: rgba(255,255,255,0.1); color: white; }
nav .nav-links a.cta-nav { background: var(--gold); color: white; font-weight: 600; }
nav .nav-links a.cta-nav:hover { background: #b8892e; }
.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* PAGE HEADER */
.page-header { background: var(--navy); color: white; padding: 40px 20px; text-align: center; }
.page-header h1 { font-family: 'Noto Serif Hebrew', serif; font-size: 2.2rem; }
.page-header p { color: var(--gold-light); margin-top: 8px; }

/* CONTAINER */
.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }
section h2 { font-family: 'Noto Serif Hebrew', serif; font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
section h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--gold); margin: 10px auto 0; }

/* PAPER CARDS */
.paper-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 20px; border-right: 4px solid var(--gold); }
.paper-card h3 { font-family: 'Noto Serif Hebrew', serif; color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.paper-card .meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.paper-card p { font-size: 0.92rem; line-height: 1.7; }
.badge { display: inline-block; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; font-weight: 600; margin-left: 6px; margin-top: 8px; }
.badge-submitted { background: #e8f5e9; color: #2e7d32; }
.badge-review { background: #fff3e0; color: #e65100; }
.badge-open { background: #e3f2fd; color: #1565c0; }

/* BOOK ROW */
.book-row { display: flex; gap: 40px; align-items: flex-start; margin: 30px 0; }
.book-row.reverse { flex-direction: row-reverse; }
.book-cover { flex-shrink: 0; width: 280px; }
.book-cover img { width: 100%; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.book-info { flex: 1; }
.book-info h2 { font-family: 'Noto Serif Hebrew', serif; font-size: 2rem; color: var(--navy); margin-bottom: 6px; text-align: right; }
.book-info h2::after { display: none; }
.book-subtitle { font-size: 1.1rem; color: var(--gold); margin-bottom: 6px; }
.book-meta { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.book-info h3 { font-size: 1.1rem; color: var(--navy); margin: 20px 0 12px; }

/* TOC */
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.toc-part { background: #f9f6f0; padding: 14px 16px; border-radius: 8px; border-right: 3px solid var(--gold); }
.toc-part h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
.toc-part p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }

.divider { border: none; border-top: 2px solid var(--gold); margin: 50px auto; width: 40%; opacity: 0.4; }

/* CTA */
.cta-btn {
  display: inline-block; background: var(--gold); color: white;
  font-size: 1rem; font-weight: 600; padding: 14px 32px; border-radius: 8px;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(197,151,59,0.3);
}
.cta-btn:hover { background: #b8892e; transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--navy); color: rgba(255,255,255,0.6); text-align: center; padding: 28px 20px; font-size: 0.85rem; direction: ltr; }
footer a { color: var(--gold-light); text-decoration: none; }

/* MOBILE */
@media (max-width: 700px) {
  .hamburger { display: block; }
  nav .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--navy-deep); padding: 10px; }
  nav .nav-links.open { display: flex; }
  .book-row, .book-row.reverse { flex-direction: column; }
  .book-cover { width: 200px; margin: 0 auto; }
}
