/* ===== Ofek's Sweets — אופק אוחנה · קונדיטוריית בוטיק =====
   עיצוב יוקרתי-עדין: שמנת, ורוד-עתיק, זהב. נגישות WCAG AA. RTL. */

:root {
  --cream: #FBF6F0;
  --ivory: #FFFDF9;
  --blush: #F7E8E4;
  --blush-deep: #EFD6CF;
  --rose: #A14651;
  --rose-dark: #8A3742;
  --gold: #8C6A33;
  --gold-light: #C9A96A;
  --ink: #43322B;
  --muted: #6B564C;
  --line: #E8DACE;
  --shadow: 0 10px 30px rgba(67, 50, 43, 0.10);
  --radius: 18px;
  --font-head: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-body: 'Assistant', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.06rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--rose); }
a:hover { color: var(--rose-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--ink); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== נגישות ===== */
.skip-link {
  position: absolute; top: -60px; right: 1rem; z-index: 200;
  background: var(--rose-dark); color: #fff; padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 10px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ===== כותרת עליונה ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 1.25rem; max-width: 1240px; margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-name { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); font-weight: 700; }
.brand-sub { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; }

.main-nav ul { display: flex; gap: 0.2rem; list-style: none; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 0.5rem 0.85rem; text-decoration: none;
  color: var(--ink); font-weight: 600; border-radius: 999px; font-size: 1rem;
}
.main-nav a:hover { background: var(--blush); color: var(--rose-dark); }
.main-nav a[aria-current="page"] { background: var(--rose-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--rose-dark);
  color: var(--rose-dark); border-radius: 10px; padding: 0.45rem 0.8rem;
  font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
  .main-nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 0.8rem 1.2rem 1.2rem; }
  .main-nav a { padding: 0.8rem 1rem; border-radius: 12px; }
}

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem;
  align-items: center; padding: 3.5rem 0 3rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--rose-dark); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.6rem; max-width: 34rem; }

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 160px 160px var(--radius) var(--radius);
  box-shadow: var(--shadow); border: 6px solid #fff;
}
.hero-badge {
  position: absolute; bottom: 1.2rem; inset-inline-start: -0.8rem;
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: 14px; padding: 0.55rem 1rem; box-shadow: var(--shadow);
  font-weight: 700; color: var(--gold); font-size: 0.95rem;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; padding: 2.2rem 0; }
  .hero-photo img { height: 360px; }
}

/* ===== כפתורים ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.7rem; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; font-family: var(--font-body);
  border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--rose-dark); color: #fff; }
.btn-primary:hover { background: var(--rose); color: #fff; }
.btn-outline { border-color: var(--rose-dark); color: var(--rose-dark); background: transparent; }
.btn-outline:hover { background: var(--blush); color: var(--rose-dark); }
.btn-whatsapp { background: #1B7A4B; color: #fff; }
.btn-whatsapp:hover { background: #14613B; color: #fff; }
.btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ===== מקטעים ===== */
.section { padding: 3.5rem 0; }
.section.alt { background: var(--ivory); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.4rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; color: var(--gold); font-weight: 700;
  letter-spacing: 0.12em; font-size: 0.85rem; margin-bottom: 0.5rem; text-transform: uppercase;
}

/* ===== כרטיסי קטגוריה ===== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.category-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; background: #000; display: block;
}
.category-card img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card .cat-label {
  position: absolute; inset-inline: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(40, 22, 18, 0.88) 0%, rgba(40, 22, 18, 0) 100%);
  color: #fff; padding: 2.2rem 1.2rem 1rem; font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700;
}
.category-card .cat-label span { display: block; font-family: var(--font-body); font-size: 0.92rem; font-weight: 400; color: #F3E2DC; }

/* ===== גלריה ===== */
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
  border: 2px solid var(--rose-dark); background: transparent; color: var(--rose-dark);
  padding: 0.5rem 1.2rem; border-radius: 999px; font-family: var(--font-body);
  font-size: 1rem; font-weight: 700; cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--rose-dark); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }

.cake-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 16px rgba(67, 50, 43, 0.07);
  display: flex; flex-direction: column;
}
.cake-card figure { margin: 0; position: relative; }
.cake-card img { width: 100%; height: 300px; object-fit: cover; cursor: zoom-in; transition: transform 0.35s ease; }
.cake-card:hover img { transform: scale(1.03); }
.cake-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.cake-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.cake-desc { color: var(--muted); font-size: 0.97rem; flex: 1; }
.cake-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.4rem; }
.cake-price { font-weight: 800; color: var(--gold); font-size: 1.05rem; }
.cake-price.tbd { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.cake-order {
  text-decoration: none; background: var(--rose-dark); color: #fff; font-weight: 700;
  padding: 0.45rem 1.1rem; border-radius: 999px; font-size: 0.95rem; white-space: nowrap;
}
.cake-order:hover { background: var(--rose); color: #fff; }

/* ===== לייטבוקס ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(35, 20, 16, 0.92); align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 760px); max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: 1.2rem; inset-inline-start: 1.2rem;
  background: #fff; color: var(--ink); border: none; width: 48px; height: 48px;
  border-radius: 50%; font-size: 1.4rem; cursor: pointer; font-weight: 700;
}
.lightbox-caption { position: absolute; bottom: 1.4rem; inset-inline: 0; text-align: center; color: #fff; font-size: 1.05rem; padding: 0 2rem; }

/* ===== יתרונות ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.feature {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; text-align: center;
}
.feature .icon { font-size: 2rem; margin-bottom: 0.6rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ===== פס CTA ===== */
.cta-band {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 100%);
  color: #fff; text-align: center; padding: 3rem 1.25rem;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.cta-band p { color: #F7E3DE; margin-bottom: 1.4rem; font-size: 1.1rem; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== שאלות ותשובות ===== */
.faq-list { max-width: 46rem; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--ivory); margin-bottom: 0.9rem; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1.08rem;
  font-family: var(--font-head); list-style: none; position: relative; padding-inline-end: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; inset-inline-end: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--rose-dark); font-size: 1.5rem; font-weight: 400;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-answer { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ===== טבלת תהליך ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.3rem; counter-reset: step; }
.step { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--blush-deep);
  color: var(--rose-dark); font-weight: 800; font-size: 1.2rem; margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ===== צור קשר ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.contact-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.4rem; text-align: center;
}
.contact-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-card h3 { margin-bottom: 0.3rem; }
.contact-card p { color: var(--muted); margin-bottom: 0.9rem; }

/* ===== פוטר קבוע ===== */
.site-footer { background: #3B2B24; color: #EFE3DA; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2rem;
  padding: 3rem 0 2rem;
}
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.8rem; }
.site-footer a { color: #F0D9CF; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-brand p { color: #D8C4B8; font-size: 0.97rem; margin-top: 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding: 1.1rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.9rem; color: #C9B5A9;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== וואטסאפ צף ===== */
.wa-float {
  position: fixed; bottom: 1.3rem; inset-inline-start: 1.3rem; z-index: 150;
  background: #1B7A4B; color: #fff; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); text-decoration: none;
}
.wa-float:hover { background: #14613B; color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== פירורי לחם ===== */
.breadcrumbs { padding: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: '‹'; margin-inline-end: 0.4rem; color: var(--gold-light); }
.breadcrumbs a { color: var(--muted); }

/* ===== עמוד פנימי ===== */
.page-hero { background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%); padding: 2.6rem 0 2.2rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.page-hero p { color: var(--muted); max-width: 42rem; margin: 0 auto; font-size: 1.12rem; }

.prose { max-width: 46rem; margin: 0 auto; }
.prose p { margin-bottom: 1rem; }
.prose h2 { margin: 1.8rem 0 0.7rem; font-size: 1.45rem; }
