/* Hazon Ovadiya - Main Stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Georgia', serif;
  color: #2c2c2c;
  background: #f9f7f2;
}

/* NAV */
header {
  background: #1a2e4a;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 0;
}

.logo-area svg { flex-shrink: 0; }

.logo-text { color: #fff; line-height: 1.2; }
.logo-text .name { font-size: 1.2rem; font-weight: bold; color: #d4af37; letter-spacing: 0.5px; }
.logo-text .sub  { font-size: 0.75rem; color: #ccc; letter-spacing: 1px; text-transform: uppercase; }

nav { display: flex; flex-wrap: wrap; gap: 2px; }
nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 18px 10px;
  display: block;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: #d4af37; background: rgba(212,175,55,0.1); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a2e4a 0%, #2d4a6e 60%, #3a5f8a 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "✡";
  position: absolute;
  font-size: 300px;
  opacity: 0.04;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero h1 { font-size: 2.8rem; margin-bottom: 10px; color: #d4af37; }
.hero .hebrew { font-size: 1.6rem; margin-bottom: 16px; color: #e8d5a0; direction: rtl; }
.hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 24px; color: #c8d8e8; line-height: 1.7; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}
.btn-gold { background: #d4af37; color: #1a2e4a; }
.btn-gold:hover { background: #e8c84a; }
.btn-outline { border: 2px solid #d4af37; color: #d4af37; background: transparent; }
.btn-outline:hover { background: rgba(212,175,55,0.15); }

/* MAIN CONTENT */
main { max-width: 1100px; margin: 0 auto; padding: 40px 20px 60px; }
.page-title {
  font-size: 2rem;
  color: #1a2e4a;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

/* HOME GRID */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .home-grid { grid-template-columns: 1fr; } nav { display: none; } .hero h1 { font-size: 1.8rem; } }

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 28px 24px;
  border-top: 4px solid #d4af37;
}
.card h3 { color: #1a2e4a; font-size: 1.1rem; margin-bottom: 12px; }
.card p { color: #555; line-height: 1.7; font-size: 0.95rem; }
.card a { color: #2d4a6e; font-weight: bold; text-decoration: none; }
.card a:hover { color: #d4af37; }

/* SCHEDULE TABLE */
.schedule-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .schedule-wrap { grid-template-columns: 1fr; } }

.schedule-section h3 {
  background: #1a2e4a;
  color: #d4af37;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  font-size: 0.92rem;
}
.schedule-table td:first-child { color: #1a2e4a; font-weight: bold; }
.schedule-table td:last-child { color: #555; text-align: right; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:nth-child(even) { background: #f9f7f2; }

/* ABOUT */
.about-text { background: #fff; border-radius: 8px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); line-height: 1.85; color: #444; font-size: 1.02rem; }
.about-text p { margin-bottom: 18px; }

/* TEAM GRID */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.team-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-top: 4px solid #d4af37;
}
.team-card .initials {
  width: 70px; height: 70px;
  background: #1a2e4a;
  color: #d4af37;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: bold;
  margin: 0 auto 14px;
}
.team-card h4 { color: #1a2e4a; font-size: 1rem; margin-bottom: 6px; }
.team-card p { color: #777; font-size: 0.85rem; }

/* LINKS LIST */
.links-list { list-style: none; }
.links-list li { border-bottom: 1px solid #eee; }
.links-list li:last-child { border-bottom: none; }
.links-list a {
  display: block;
  padding: 14px 16px;
  color: #2d4a6e;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.15s;
}
.links-list a:hover { background: #f0ede4; color: #d4af37; padding-left: 22px; }

/* FORM */
.contact-form { background: #fff; border-radius: 8px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); max-width: 700px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.9rem; color: #444; margin-bottom: 6px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #faf9f6;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #d4af37; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: #888; margin-top: 6px; }

/* DONATE */
.donate-box { background: #fff; border-radius: 8px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); max-width: 560px; text-align: center; }
.donate-box p { color: #555; line-height: 1.7; margin-bottom: 20px; }
.donate-amounts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.amount-btn {
  border: 2px solid #d4af37;
  background: none;
  color: #1a2e4a;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: bold;
  transition: 0.2s;
}
.amount-btn:hover, .amount-btn.selected { background: #d4af37; color: #fff; }

/* FOOTER */
footer {
  background: #1a2e4a;
  color: #aaa;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.85rem;
  line-height: 1.9;
}
footer a { color: #d4af37; text-decoration: none; }
footer strong { color: #d4af37; }

/* ZMANIM WIDGET */
.zmanim-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-left: 4px solid #d4af37;
  margin-bottom: 24px;
}
.zmanim-box h3 { color: #1a2e4a; margin-bottom: 8px; }
.zmanim-box a { color: #2d4a6e; font-weight: bold; }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }
