/* אור השירה — Design System */

:root {
  --cream: #f6f2ea;
  --cream-deep: #efe8db;
  --paper: #fffdf9;
  --taupe: #ddd3c2;
  --taupe-dark: #b7a98d;
  --charcoal: #2e2a24;
  --charcoal-soft: #55503f;
  --gold: #b08d57;
  --gold-dark: #8f6f3f;
  --line: #e4dccb;
  --shadow: 0 12px 30px -18px rgba(46, 42, 36, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: "Heebo", "Assistant", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  direction: rtl;
}

h1, h2, h3, h4 {
  font-family: "Frank Ruhl Libre", "David Libre", serif;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.5em;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--charcoal-soft); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--paper);
  box-shadow: 0 10px 20px -10px rgba(176, 141, 87, 0.6);
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--paper); }

.btn-light {
  background: var(--paper);
  color: var(--charcoal);
  border-color: var(--line);
}
.btn-light:hover { background: var(--cream-deep); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  font-family: "Frank Ruhl Libre", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--taupe);
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/10; }
}

/* Section */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-alt { background: var(--paper); }

/* Product grid */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  cursor: pointer;
  font-weight: 500;
}
.filter-chip.active { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.product-thumb {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--taupe-dark);
  font-size: 0.85rem;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sold-out-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--charcoal);
  color: var(--paper);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 0.75rem; color: var(--gold-dark); font-weight: 600; letter-spacing: 0.04em; }
.product-name { font-family: "Frank Ruhl Libre", serif; font-size: 1.08rem; font-weight: 600; }
.product-price { margin-top: auto; font-weight: 700; font-size: 1.05rem; padding-top: 8px; }
.product-actions { padding: 0 18px 18px; }

/* Placeholder media note */
.media-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  width: 100%;
  color: var(--taupe-dark);
  text-align: center;
  padding: 10px;
}
.media-pending svg { width: 34px; height: 34px; opacity: 0.6; }

/* Feature / about strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.feature-item .icon { font-size: 1.8rem; margin-bottom: 10px; }

@media (max-width: 720px) {
  .feature-strip { grid-template-columns: 1fr; }
}

/* Events page */
.event-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 70px 0;
}
.event-hero h1, .event-hero p { color: var(--cream); }
.event-hero .eyebrow { color: var(--gold); }

.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}
@media (max-width: 860px) { .gallery-grid { column-count: 2; } }
@media (max-width: 520px) { .gallery-grid { column-count: 1; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  position: relative;
}
.gallery-item img, .gallery-item video {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(20, 18, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 70px -10px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

/* Event planning wizard */
.wizard {
  max-width: 720px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.wizard-progress {
  height: 6px;
  background: var(--cream-deep);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.wizard-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.wizard-steps-label {
  font-size: 0.82rem;
  color: var(--taupe-dark);
  margin-bottom: 20px;
}
.wizard-step h3 { margin-bottom: 18px; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.option-card {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  font-family: inherit;
}
.option-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.option-card.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--paper);
  font-weight: 700;
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

/* Reviews marquee */
.reviews-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-scroll 44s linear infinite;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.reviews-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.review-card {
  flex: 0 0 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.review-name { font-weight: 700; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

/* Forms */
.form-grid { display: grid; gap: 16px; max-width: 560px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--charcoal-soft); }
.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--taupe-dark); }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.checkbox-row input { width: auto; }
.addons-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 18px 0;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--taupe-dark);
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 52px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--cream); font-family: "Heebo", sans-serif; font-size: 1rem; }
.site-footer p, .site-footer a { color: #cfc8b8; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  border-top: 1px solid #4a453a;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #a89f8c;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 60;
  background: #25d366;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  font-size: 1.5rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Intro splash */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.intro-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-logo {
  font-family: "Frank Ruhl Libre", serif;
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  display: flex;
  gap: 0.35em;
  justify-content: center;
}
.intro-logo span {
  display: inline-block;
  color: var(--cream);
  opacity: 0;
  transform: translateY(18px);
  animation: intro-word-in 0.8s ease forwards;
}
.intro-logo span.gold { color: var(--gold); }
.intro-underline {
  display: block;
  height: 2px;
  width: 0;
  background: var(--gold);
  margin: 18px auto 0;
  animation: intro-line-draw 0.7s ease forwards;
  animation-delay: 1s;
}
@keyframes intro-word-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-line-draw {
  to { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
}
