/* ============================================================
   JEWSONG.COM — Shared Stylesheet
   Aesthetic: Sacred Minimalism — elegant, airy, refined
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --white:      #ffffff;
  --cream:      #faf8f4;
  --cream-mid:  #f2ede5;
  --black:      #0c0b0a;
  --ink:        #2a2520;
  --gray:       #7a756e;
  --light-gray: #c8c2b8;
  --gold:       #b8892a;
  --gold-light: #d4a84b;
  --gold-pale:  #f5ecd5;
  --border:     #e8e2d8;

  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', Helvetica, sans-serif;

  --max-w:      1100px;
  --radius:     4px;
  --transition: 0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--gray); line-height: 1.8; }
.small { font-size: 0.85rem; }

/* ── Utility ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--black); color: var(--white); }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.divider--left { margin-left: 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(184,137,42,0.25);
}
.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.01em;
}
.nav__logo span { color: var(--gold); }
.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--black); }
.nav__links .btn { margin-left: 0.5rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  transition: all var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  gap: 1.2rem;
}
.nav__mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}
.nav__mobile.open { display: flex; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '✡';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38vw;
  color: var(--cream-mid);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero__inner {
  max-width: 700px;
}
.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}
.hero h1 {
  opacity: 0;
  animation: fadeUp 0.8s 0.25s forwards;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}

/* ── Occasions Grid ─────────────────────────────────────────── */
.occasions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 4rem;
}
.occasion-card {
  background: var(--white);
  padding: 2rem 1.8rem;
  transition: background var(--transition);
  cursor: default;
}
.occasion-card:hover { background: var(--gold-pale); }
.occasion-card__icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.occasion-card h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.occasion-card p {
  font-size: 0.82rem;
  color: var(--light-gray);
}

/* ── How It Works ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}
.step {
  position: relative;
  padding-left: 0;
}
.step__num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.9rem; }

/* ── Examples ────────────────────────────────────────────────── */
.examples__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.example-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  background: var(--white);
}
.example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.example-card__thumb {
  aspect-ratio: 16/9;
  background: var(--cream-mid);
  overflow: hidden;
  position: relative;
}
.example-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.example-card:hover .example-card__thumb img { transform: scale(1.04); }
.example-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12,11,10,0.3);
  transition: background var(--transition);
}
.example-card:hover .example-card__play { background: rgba(12,11,10,0.5); }
.example-card__play svg { width: 48px; height: 48px; fill: white; opacity: 0.9; }
.example-card__body { padding: 1.4rem; }
.example-card__tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.example-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.example-card p { font-size: 0.85rem; }
.example-card__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  transition: gap var(--transition);
}
.example-card__link::after { content: ' →'; }

/* ── About Snippet ─────────────────────────────────────────── */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-snippet__img {
  aspect-ratio: 4/5;
  background: var(--cream-mid);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-snippet__img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  pointer-events: none;
}
.about-snippet__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--cream);
}
.about-snippet__text { padding: 1rem 0; }
.about-snippet__text blockquote {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--black);
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'ד';
  font-family: var(--font-head);
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22rem;
  color: rgba(255,255,255,0.025);
  line-height: 1;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 2.5rem; }
.cta-section .divider { background: var(--gold); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
}
.footer__logo span { color: var(--gold); }
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Order Form ──────────────────────────────────────────────── */
.page-header {
  background: var(--cream);
  padding: 10rem 0 5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header p {
  max-width: 520px;
  margin: 1rem auto 0;
}

.order-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.form-group {
  margin-bottom: 1.8rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.form-group .hint {
  font-size: 0.78rem;
  color: var(--light-gray);
  margin-top: 0.3rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,137,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%237a756e' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
}
.form-success h3 { color: var(--gold); margin-bottom: 0.5rem; }

/* ── Example Page ────────────────────────────────────────────── */
.example-page-header {
  padding: 9rem 0 4rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.example-page-header .label { margin-bottom: 0.5rem; }
.example-page-header h1 { margin-bottom: 0.8rem; }
.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.example-meta span {
  font-size: 0.82rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.example-video-wrap {
  aspect-ratio: 16/9;
  background: var(--black);
  margin: 3rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.example-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.lyrics-section {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 3rem 0;
}
.lyrics-section h3 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.lyrics-body {
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 2;
  color: var(--ink);
  white-space: pre-line;
}
.lyrics-body .verse-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin: 1.5rem 0 0.5rem;
}
.lyrics-body .verse-label:first-child { margin-top: 0; }

/* ── About Page ──────────────────────────────────────────────── */
.about-page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.about-page-content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.about-page-content h2 { margin: 3rem 0 1rem; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .about-snippet { grid-template-columns: 1fr; gap: 3rem; }
  .about-snippet__img { aspect-ratio: 3/2; }
  .form-row { grid-template-columns: 1fr; }
  .hero::before { font-size: 60vw; right: -4rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .cta-section { padding: 5rem 0; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .occasions__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
