/* public_html/assets/style.css */

:root{
  --bg0:#0f0f23;
  --bg1:#1a1a2e;      /* deep purple-blue */
  --bg2:#16213e;      /* darker blue */
  --gold:#f6dea8;     /* champagne gold */
  --gold2:#f6dea8;    /* champagne gold */
  --text:#e8e6e3;     /* warm white */
  --muted:rgba(232,230,227,.85);
  --line:rgba(246,222,168,.25);
}

*{ box-sizing:border-box; }
html{
  height:100%;
  scroll-behavior: smooth;
}
body{ height:100%; }

body{
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  background: 
    linear-gradient(135deg, rgba(15,15,35,.95) 0%, rgba(26,26,46,.98) 50%, rgba(22,33,62,.95) 100%),
    radial-gradient(ellipse at center, rgba(212,175,55,0.08) 0%, transparent 70%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
}

/* -------- Layout / UI -------- */

a{ color:inherit; text-decoration:none; }

.wrap{
  min-height:100%;
  display:flex;
  flex-direction:column;
  position:relative;
  isolation:isolate; /* keeps overlays behaving nicely */
}

.main{
  display:block;
  padding: 34px 16px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero{
  width:100%;
  max-width: 980px;
  text-align:center;
  margin: 0 auto;
}

.title{
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(54px, 8vw, 110px);
  margin: 20px 0 8px;
  line-height: 0.9;
  letter-spacing:.02em;
  color: var(--gold2);
  text-shadow: 0 8px 24px rgba(0,0,0,.4);
  font-weight: 400;
}

/* Gold subtitle with fading lines */
.subtitleWrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin: 8px auto 10px;
  width: min(760px, 96%);
}

.subtitleGold{
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(15px, 2.1vw, 19px);
  letter-spacing:.2em;
  text-transform: uppercase;
  color: var(--gold2);
  text-shadow: 0 4px 12px rgba(0,0,0,.3);
  white-space: nowrap;
  font-weight: 400;
}

.fadeLine{
  flex:1;
  height:1px;
  max-width: 220px;
  background: linear-gradient(90deg, transparent, rgba(246,222,168,.6), transparent);
  opacity: .8;
}

/* Hebrew watermark in the content flow */
.watermarkHebrew{
  margin: 18px auto 14px;
  font-size: clamp(72px, 11vw, 180px);
  letter-spacing:.04em;
  color: rgba(246,222,168,.12);
  text-shadow: 0 0 30px rgba(246,222,168,.15);
  user-select:none;
  font-weight: 300;
}

/* Tagline: single line on desktop, wraps on small screens */
.taglineOneLine{
  margin: 10px auto 8px;
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
  color: var(--gold2);
  max-width: 56ch;
  text-shadow: 0 2px 6px rgba(0,0,0,.2);
  font-weight: 300;

  /* Desktop: keep on one line */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tagline divider */
.taglineDivider{
  width: min(300px, 60%);
  height: 1px;
  margin: 12px auto;
  background: linear-gradient(90deg, transparent, rgba(246,222,168,.4), transparent);
  opacity: .7;
}

/* Sub-tagline line */
.taglineSub{
  margin: 0 auto 18px;
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  font-size: clamp(12px, 1.8vw, 16px);
  color: var(--gold2);
  max-width: 64ch;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.2);
  font-weight: 300;
}

/* On phones, allow tagline to wrap normally (no ellipsis) */
@media (max-width: 520px){
  .taglineOneLine{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

.hr{
  width:min(680px, 94%);
  height:1px;
  margin: 20px auto 22px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Scroll arrow button */
.scrollArrow{
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(246,222,168,.4);
  border-radius: 50%;
  margin: 20px auto;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.scrollArrow .arrow{
  display: inline-block;
  font-size: 24px;
  color: rgba(246,222,168,.6);
  line-height: 46px;
  animation: bounce 2s infinite;
}

.scrollArrow:hover{
  border-color: rgba(246,222,168,.8);
  box-shadow: 0 0 15px rgba(246,222,168,.2);
}

.scrollArrow:hover .arrow{
  color: var(--gold2);
}

@keyframes bounce{
  0%, 20%, 50%, 80%, 100%{
    transform: translateY(0);
  }
  40%{
    transform: translateY(-8px);
  }
  60%{
    transform: translateY(-4px);
  }
}

/* Video section */
.videoSection{
  display: block;
  width: 100%;
  padding: 56px 16px;
  background: transparent;
}

/* Responsive video */
.videoShell{
  width: min(900px, 100%);
  margin: 0 auto;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(246,222,168,.2);
  background: rgba(0,0,0,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.30);
}

.videoShell iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.email{
  color: var(--gold2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------- Vision page -------- */

.visionSection{
  max-width: 780px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  border-left: 2px solid var(--line);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--muted);
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 300;
}

/* -------- Site Header / Nav -------- */

.siteHeader{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,14,28,.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand{
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  font-size: 17px;
  letter-spacing: .08em;
  color: var(--gold);
  font-weight: 400;
  white-space: nowrap;
}

.navlinks{
  display: flex;
  gap: 28px;
  align-items: center;
}

.navlinks a{
  font-family: 'Cinzel', 'Georgia', 'Times New Roman', serif;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}

.navlinks a:hover{
  color: var(--gold);
}

.navDonate{
  border: 1px solid rgba(246,222,168,.45);
  padding: 6px 16px;
  border-radius: 4px;
  color: var(--gold) !important;
  transition: background .2s, border-color .2s !important;
}

.navDonate:hover{
  background: rgba(246,222,168,.1);
  border-color: var(--gold) !important;
}

@media (max-width: 480px){
  .brand{ font-size: 14px; }
  .navlinks{ gap: 16px; }
  .navlinks a{ font-size: 11px; }
  .navDonate{ padding: 5px 10px; }
}

.footer{
  position: sticky;
  bottom: 0;
  padding: 18px 16px;
  border-top:1px solid var(--line);
  background: rgba(10,14,28,.55);
  backdrop-filter: blur(10px);
  text-align:center;
  font-size: 13px;
  opacity: 1;
}