/* ========== המטבח של רינת – Design System ========== */
:root {
  --primary: #F5B719;
  --primary-soft: #F8C84A;
  --primary-deep: #E0A40F;
  --secondary: #8B2519;
  --secondary-soft: #A63526;
  --cream: #FAFAFA;
  --cream-warm: #FFF8EC;
  --ink: #2A1814;
  --ink-soft: #5C4038;
  --muted: #8A7066;
  --white: #FFFFFF;
  --line: rgba(139, 37, 25, 0.12);
  --shadow: 0 10px 30px rgba(42, 24, 20, 0.08);
  --shadow-soft: 0 6px 20px rgba(42, 24, 20, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 78px;
  --container: 1180px;
  --font: "Rubik", "Assistant", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Secular One", "Rubik", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 183, 25, 0.18), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(139, 37, 25, 0.08), transparent 30%),
    linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 40%, #fff 100%);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--secondary);
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 48rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(245, 183, 25, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(245, 183, 25, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid rgba(139, 37, 25, 0.18);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  border-color: var(--secondary);
}

.btn-dark {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(139, 37, 25, 0.28);
}

.btn-block {
  width: 100%;
}

/* ========== Bento cards ========== */
.bento {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.bento-soft {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 236, 0.9));
}

.bento h3,
.bento h4 {
  margin: 0 0 0.7rem;
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.3;
}

.bento p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.bento p:last-child {
  margin-bottom: 0;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255, 250, 240, 0.72);
  border-bottom: 1px solid rgba(139, 37, 25, 0.08);
  box-shadow: 0 8px 24px rgba(42, 24, 20, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: contain;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--secondary);
  font-weight: 400;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(245, 183, 25, 0.22);
  color: var(--secondary);
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  display: block;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.55), transparent 35%),
    linear-gradient(135deg, #F7C53A 0%, #F5B719 45%, #F0A90A 100%);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(139, 37, 25, 0.12), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400;
  color: var(--secondary);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-subtitle span {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  animation: floatSoft 5.5s ease-in-out infinite;
}

.hero-logo-wrap {
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.75), transparent 45%),
    rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 50px rgba(139, 37, 25, 0.18);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-logo-wrap img {
  width: 86%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(42, 24, 20, 0.12));
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.2rem;
}

.about-main {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
  align-items: stretch;
}

.about-photo {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(245, 183, 25, 0.25), rgba(139, 37, 25, 0.18)),
    #f2e2c4;
  display: grid;
  place-items: center;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo .placeholder {
  text-align: center;
  color: var(--secondary);
  padding: 1rem;
  font-weight: 600;
}

.why-box {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}

.quality-grid {
  display: grid;
  gap: 0.85rem;
}

.quality-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
}

.quality-card .icon {
  font-size: 1.35rem;
  line-height: 1;
}

.quality-card strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 0.15rem;
}

.quality-card span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ========== Class / Workshops grids ========== */
.bento-grid {
  display: grid;
  gap: 1.1rem;
}

.class-grid {
  grid-template-columns: repeat(12, 1fr);
}

.class-grid .span-7 { grid-column: span 7; }
.class-grid .span-5 { grid-column: span 5; }
.class-grid .span-4 { grid-column: span 4; }
.class-grid .span-8 { grid-column: span 8; }
.class-grid .span-12 { grid-column: span 12; }

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  position: relative;
  padding-right: 1.5rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "✔️";
  position: absolute;
  right: 0;
  top: 0;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-soft);
}

.price-cards {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.price-card {
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  background: linear-gradient(160deg, #FFF4D4, #FFFFFF 55%);
  border: 1px solid rgba(245, 183, 25, 0.45);
}

.badge {
  display: inline-flex;
  align-items: center;
  background: var(--secondary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 0.4rem 0 0.6rem;
}

.price small {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--secondary);
  font-weight: 700;
  text-align: right;
}

.accordion-trigger .chev {
  transition: transform 0.25s ease;
}

.accordion.open .accordion-trigger .chev {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
}

.accordion.open .accordion-panel {
  display: block;
  animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Workshops ========== */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(42, 24, 20, 0.12);
}

.workshop-card .emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.workshop-card .price-lines {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  color: var(--ink);
  font-weight: 600;
}

.terms-box {
  margin-top: 1.1rem;
}

.terms-box ul {
  margin: 0.4rem 0 0;
  padding-right: 1.2rem;
  color: var(--ink-soft);
}

.cta-row {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
}

/* ========== Menu tabs ========== */
.note-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.note-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(139, 37, 25, 0.08);
  color: var(--secondary);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.institutions-box p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.institutions-box .note-chips {
  margin-top: 1.1rem;
  margin-bottom: 1.1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.tab-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.3s ease;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(139, 37, 25, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.menu-item .name {
  font-weight: 600;
  color: var(--ink);
}

.menu-item .meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.menu-item .cost {
  white-space: nowrap;
  font-weight: 800;
  color: var(--secondary);
}

.featured-pots {
  display: grid;
  gap: 0.9rem;
}

.pot-card {
  padding: 1.2rem 1.3rem;
  background: linear-gradient(135deg, rgba(245, 183, 25, 0.14), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(245, 183, 25, 0.35);
}

/* ========== Gallery ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem 0.85rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.gallery-caption {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--secondary);
  text-align: center;
  line-height: 1.3;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f7e2b0, #f0c9a0);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  padding: 1rem;
  text-align: center;
}

.testimonials {
  margin-top: 1.4rem;
}

.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slider::-webkit-scrollbar {
  height: 8px;
}

.slider::-webkit-scrollbar-thumb {
  background: rgba(139, 37, 25, 0.25);
  border-radius: 999px;
}

.testimonial-card {
  scroll-snap-align: start;
  min-height: 220px;
  cursor: pointer;
  border: none;
  text-align: right;
  font: inherit;
  padding: 0;
  overflow: hidden;
}

.testimonial-card img,
.testimonial-card .ph {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.testimonial-card .ph {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #fff, #ffe8b8);
  color: var(--secondary);
  font-weight: 700;
  padding: 1rem;
}

/* ========== Footer / Contact ========== */
.footer {
  background:
    linear-gradient(180deg, rgba(139, 37, 25, 0.04), rgba(139, 37, 25, 0.1)),
    #fff;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(139, 37, 25, 0.16);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(245, 183, 25, 0.2);
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.contact-details a:not(.btn) {
  color: var(--secondary);
  font-weight: 700;
}

.contact-details .btn-dark {
  color: #fff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ========== Sticky WhatsApp ========== */
.whatsapp-float {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 10, 8, 0.82);
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--secondary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ========== Reveal motion ========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Mobile ========== */
@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 250, 240, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.35rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .about-grid,
  .about-main,
  .workshops-grid,
  .footer-grid,
  .price-cards,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .class-grid {
    grid-template-columns: 1fr;
  }

  .class-grid .span-7,
  .class-grid .span-5,
  .class-grid .span-4,
  .class-grid .span-8,
  .class-grid .span-12 {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-text span {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
