/* ===================================================================
   [שם העסק] - stylesheet
   Colors, fonts and spacing are all defined as CSS variables below -
   change them here once and the whole site updates.
   =================================================================== */

:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F5F3;
  --color-text: #232323;
  --color-text-muted: #5B5653;
  --color-accent: #C98A8A;        /* light decorative accent */
  --color-accent-dark: #8B4A4D;   /* buttons, links - meets contrast on white */
  --color-whatsapp: #25D366;
  --color-border: #E7E1DE;

  /* Typography */
  --font-main: 'Heebo', Arial, sans-serif;

  /* Layout */
  --container-width: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 35, 35, 0.08);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 70px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #733c3e;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--color-accent-dark);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  background: none;
  border: none;
  width: 38px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Mobile nav (collapsed by default). Scoped to < 900px so it can never
   fight with the desktop reset below (transform has higher specificity
   than plain .main-nav, so it must not leak past the breakpoint). */
@media (max-width: 899.98px) {
  .main-nav {
    position: fixed;
    inset-inline-end: 0;
    top: 0;
    height: 100vh;
    width: min(80%, 320px);
    background: var(--color-bg);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 90px 30px;
  }

  [dir="rtl"] .main-nav {
    transform: translateX(-100%);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  [dir="rtl"] .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 22px;
  }
}

/* ===================== HERO ===================== */
.hero {
  padding: 60px 0 70px;
  background: var(--color-bg-alt);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.hero-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-visual img {
  margin: 0 auto;
}

/* ===================== CARDS / SERVICES ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===================== PROCESS / STEPS ===================== */
.process {
  background: var(--color-bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  color: #fff;
  font-weight: 700;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===================== ABOUT ===================== */
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius);
  width: 260px;
  height: 260px;
  object-fit: cover;
  margin: 0 auto;
}

.about-text .section-title {
  text-align: start;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

/* ===================== FAQ / ACCORDION ===================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: start;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--color-accent-dark);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--color-text-muted);
}

/* ===================== CONTACT ===================== */
.contact {
  background: var(--color-bg-alt);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info .section-title,
.contact-info .section-sub {
  text-align: start;
  margin-left: 0;
}

.contact-details {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-details a {
  color: var(--color-text);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--color-accent-dark);
}

.contact-form {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-main);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 1px;
}

.contact-form button {
  margin-top: 20px;
}

.form-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--color-accent-dark);
  min-height: 1.2em;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--color-text);
  color: #fff;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #fff;
  font-size: 1.3rem;
}

/* ===================== FLOATING WHATSAPP BUTTON ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform var(--transition);
}

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

/* ===================== SCROLL ANIMATIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .hero-inner {
    flex-direction: row-reverse;
    text-align: start;
  }

  .hero-text {
    flex: 1;
    text-align: start;
  }

  .hero-sub {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    flex: 1;
  }

  .about-inner {
    flex-direction: row-reverse;
    align-items: center;
    text-align: start;
  }

  .about-photo {
    flex: 0 0 280px;
  }

  .about-text {
    flex: 1;
  }

  .contact-inner {
    flex-direction: row-reverse;
  }

  .contact-info,
  .contact-form {
    flex: 1;
  }
}

@media (min-width: 900px) {
  .main-nav {
    position: static;
    height: auto;
    width: auto;
    box-shadow: none;
    transform: none;
    padding: 0;
    background: transparent;
  }

  .main-nav ul {
    flex-direction: row;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
