/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wood-dark:   #5C3D1E;
  --wood-mid:    #8B5E2A;
  --wood-light:  #C8944A;
  --wood-pale:   #E8D5B0;
  --cream:       #FAF6EE;
  --text-dark:   #2C1F0E;
  --text-mid:    #5A4030;
  --text-light:  #9A7A5A;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(92,61,30,.10);
  --shadow-lg:   0 8px 40px rgba(92,61,30,.16);
  --radius:      12px;
  --transition:  .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  direction: rtl;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary { background: var(--wood-dark); color: var(--white); }
.btn-primary:hover { background: var(--wood-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--wood-dark); }
.btn-full { width: 100%; text-align: center; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .95rem;
  margin-top: 24px;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }

/* ===== SECTION COMMON ===== */
section { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 28px; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 8px;
}
.section-header h2 { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.section-desc { color: var(--text-light); font-size: .88rem; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(250,246,238,.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,148,74,.15);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--wood-light);
  flex-shrink: 0;
  cursor: pointer;
}

.about-img-box { cursor: pointer; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 1.4rem; font-weight: 700; color: var(--wood-dark); }
.logo-sub  { font-size: .7rem; font-weight: 400; color: var(--text-light); letter-spacing: .05em; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .93rem; font-weight: 500; color: var(--text-mid); transition: color var(--transition); }
.nav-links a:hover { color: var(--wood-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--wood-dark); border-radius: 2px; transition: var(--transition); }

.nav-contact-btn {
  display: none;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--wood-dark);
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  margin-top: 68px;
  background: #A07838;
  height: 180px;
  position: relative;
}

.hero-title {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(140, 100, 40, 0.88);
  z-index: 2;
  padding: 0 20px;
}
.hero-title h1 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

.hero-actions {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  background: rgba(140, 100, 40, 0.88);
  z-index: 2;
}
.hero-actions .btn { width: 100%; text-align: center; padding: 10px 18px; font-size: .88rem; }
.hero-actions .btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.hero-actions .btn-outline:hover {
  background: var(--white);
  color: #A07838;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,.40);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.slide-prev { right: 200px; }
.slide-next { left: 200px; }
.slide-prev:hover,
.slide-next:hover { background: rgba(0,0,0,.65); }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.dot.active { background: var(--white); }

/* ===== FEATURES ===== */
.features { background: var(--white); padding: 28px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item { text-align: center; }
.feature-icon { font-size: 1.8rem; margin-bottom: 8px; }
.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--wood-dark); }
.feature-item p { color: var(--text-light); font-size: .85rem; }

/* ===== CATALOG ===== */
.catalog { background: var(--cream); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* product image */
.product-img {
  height: 270px;
  background-size: 88%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--wood-pale);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.product-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}
.product-img:hover::after { background: rgba(0,0,0,.12); }

.card-prev,
.card-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,.42);
  color: var(--white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.card-prev { right: 8px; }
.card-next { left: 8px; }

@media (max-width: 768px) {
  .card-prev, .card-next { display: flex; }
}

.gallery-hint {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,.55);
  color: var(--white);
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* product info */
.product-info { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-badge-inline {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--wood-dark);
  color: var(--white);
  letter-spacing: .04em;
}
.product-badge-inline.kids { background: #2E7D32; }
.product-badge-inline.cushion-opt { background: #7a5a2a; font-size: .65rem; }

/* dimensions */
.product-dims {
  background: var(--cream);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
}
.dims-title {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.dim-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .79rem;
  padding: 3px 0;
  border-bottom: 1px solid rgba(200,148,74,.12);
}
.dim-row:last-child { border-bottom: none; }
.dim-row span:first-child { color: var(--text-mid); }
.dim-row span:last-child { color: var(--text-dark); font-weight: 500; font-size: .77rem; }

/* price list */
.price-list { margin-bottom: 10px; }
.price-row {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(200,148,74,.08);
}
.price-row:last-child { border-bottom: none; }
.price-row span:first-child { color: var(--text-mid); }
.price-row span:last-child { color: var(--wood-mid); font-weight: 600; }

/* combo block */
.product-combo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--wood-dark);
  border-radius: 8px;
  padding: 9px 14px;
  margin-top: auto;
  gap: 10px;
  text-decoration: none;
  transition: background var(--transition);
}
.product-combo:hover { background: var(--wood-mid); }
.combo-label { color: rgba(255,255,255,.8); font-size: .78rem; line-height: 1.3; }
.combo-price { color: var(--white); font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.combo-prices-dual { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.combo-price-alt { color: rgba(255,255,255,.75); font-size: .78rem; white-space: nowrap; }

.catalog-note {
  text-align: center;
  color: var(--text-light);
  font-size: .83rem;
  margin-top: 32px;
}

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image { position: relative; }
.about-img-box {
  height: 280px;
  border-radius: var(--radius);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--wood-pale);
  background-image: linear-gradient(160deg, var(--wood-pale), var(--wood-light));
}

.about-text .section-tag { display: block; }
.about-text h2 { font-size: 1.55rem; font-weight: 700; margin-bottom: 14px; }
.about-text p { color: var(--text-mid); margin-bottom: 10px; line-height: 1.7; font-size: .93rem; }
.about-values { margin: 14px 0 20px; display: flex; flex-direction: column; gap: 7px; }
.about-values li { color: var(--text-mid); font-size: .88rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.stars { color: #F59E0B; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-mid); font-size: .91rem; line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.testimonial-author strong { display: block; font-weight: 700; color: var(--text-dark); }
.testimonial-author span { font-size: .82rem; color: var(--text-light); }

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact-simple {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.contact-simple .section-tag { display: block; }
.contact-simple h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 20px; }

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-light);
  font-size: .9rem;
  margin-bottom: 32px;
}
.contact-meta a { color: var(--text-light); }
.contact-meta a:hover { color: var(--wood-dark); }

.contact-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-contact-wa,
.btn-contact-ig,
.btn-contact-fb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Heebo', sans-serif;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}
.btn-contact-wa { background: #25D366; }
.btn-contact-wa:hover { background: #1ebe5c; transform: translateY(-2px); }
.btn-contact-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.btn-contact-ig:hover { opacity: .88; transform: translateY(-2px); }
.btn-contact-fb { background: #1877F2; }
.btn-contact-fb:hover { background: #1565d8; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--text-dark); padding: 32px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer .logo-main { color: var(--wood-pale); font-size: 1.25rem; }
.footer .logo-sub  { color: var(--text-light); }
.footer-copy { color: rgba(255,255,255,.38); font-size: .8rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.52); font-size: .84rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--wood-pale); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}
.lb-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.lb-img-wrap {
  width: min(720px, 82vw);
  height: min(520px, 62vh);
  border-radius: 12px;
  overflow: hidden;
  background: #1e1e1e;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.lb-placeholder {
  display: none;
  color: rgba(255,255,255,.38);
  font-size: .95rem;
}
.lb-close {
  position: absolute;
  top: -4px; left: -4px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.lb-nav {
  background: rgba(255,255,255,.16);
  color: var(--white);
  border: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-nav[style*="opacity: 0"] { pointer-events: none; }
.lb-counter {
  position: absolute;
  bottom: -4px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-size: .78rem;
  white-space: nowrap;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  #header { display: none; }
  .hero { margin-top: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-img-box { height: 260px; background-size: contain; background-repeat: no-repeat; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  section { padding: 28px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .section-header h2 { font-size: 1.4rem; }

  /* ===== HERO MOBILE - כותרת + תמונה + כפתורים ===== */
  .hero {
    flex-direction: column;
    height: auto;
    padding: 0;
  }
  .hero-title {
    position: relative;
    right: auto; left: auto; top: auto; bottom: auto;
    width: 100%;
    padding: 20px 20px 18px;
    background: linear-gradient(135deg, #7a5020, #A07838);
    justify-content: center;
    align-items: center;
  }
  .hero-title h1 {
    width: 100%;
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.04em;
    line-height: 1.3;
  }
  .hero-slider {
    position: relative;
    inset: auto;
    width: 100%;
    height: 58vw;
    min-height: 230px;
    max-height: 320px;
  }
  .slide img {
    object-fit: contain;
  }
  .slide-prev { right: 8px; }
  .slide-next { left: 8px; }
  .hero-actions {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    padding: 14px 20px 16px;
    gap: 12px;
    background: linear-gradient(135deg, #7a5020, #A07838);
  }
  .hero-actions .btn {
    width: auto;
    padding: 10px 24px;
    font-size: .9rem;
  }
  .hero-actions .btn-primary {
    background: var(--wood-dark);
    border-color: var(--wood-dark);
  }

  /* Lightbox */
  .lb-nav { display: none; }
  .lb-img-wrap { width: 92vw; height: 56vw; }

  /* Products */
  .product-combo { flex-direction: column; align-items: flex-start; gap: 4px; }
  .catalog-grid { gap: 16px; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-img-box { height: 200px; background-size: contain; background-repeat: no-repeat; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-ctas { flex-direction: column; gap: 12px; }
  .btn-contact-wa, .btn-contact-ig { width: 100%; justify-content: center; padding: 14px 20px; }
}
