/* ===== משתנים כלליים ===== */
:root {
  --navy-dark: #070c1c;
  --navy: #0a1226;
  --navy-light: #10182f;
  --navy-card: #131c38;
  --gold: #c9a24b;
  --gold-light: #e3c988;
  --cream: #f3efe4;
  --text-muted: #a8adbd;
  --radius: 14px;
  --max-width: 1140px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--navy-dark);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
  text-align: center;
  margin-bottom: 48px;
  color: var(--cream);
}

h3 {
  font-size: 20px;
  color: var(--gold-light);
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

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

section {
  padding: 90px 0;
}

.section-text {
  max-width: 680px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 18px;
}

/* ===== כפתורים ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 75, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, 0.5);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.08);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 12, 28, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.site-header .container {
  max-width: 1040px;
}

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

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 90px;
  height: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 15px;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 761px) {
  .main-nav {
    flex: 1;
    display: flex;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 130px 0 100px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 75, 0.12), transparent 60%),
    var(--navy-dark);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero-title {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
  font-size: clamp(32px, 5.5vw, 52px);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--cream), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== About ===== */
.about {
  background: var(--navy);
}

.about h2 {
  margin-bottom: 28px;
}

.about-text {
  max-width: 680px;
  margin: 0 auto;
}

.about-text p {
  line-height: 1.9;
  font-size: 18px;
  text-align: right;
  margin-bottom: 22px;
}

.about-text .about-tagline {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--gold-light);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--navy-card);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.4);
}

.card p {
  margin-bottom: 0;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  padding: 36px 30px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold-light);
  margin-bottom: 18px;
}

.service-number {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 24px;
}

.service-btn {
  padding: 10px 26px;
  font-size: 14px;
  align-self: flex-start;
}

/* ===== Process ===== */
.process {
  background: var(--navy-dark);
}

.process-steps {
  display: flex;
  gap: 20px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--navy-card);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: var(--radius);
  padding: 30px 20px;
  transition: transform var(--transition), border-color var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.4);
}

.step-number {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

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

.step p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ===== Benefits ===== */
.benefits {
  background: var(--navy);
}

/* ===== Portfolio ===== */
.portfolio {
  background: var(--navy-dark);
}

.portfolio-card {
  padding: 0;
  overflow: hidden;
}

.portfolio-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 15px;
  border: 1px dashed rgba(201, 162, 75, 0.25);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    45deg,
    rgba(201, 162, 75, 0.04),
    rgba(201, 162, 75, 0.04) 12px,
    transparent 12px,
    transparent 24px
  );
}

.portfolio-placeholder svg {
  color: var(--gold);
  opacity: 0.7;
}

/* ===== FAQ ===== */
.faq {
  background: var(--navy);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--navy-card);
  border: 1px solid rgba(201, 162, 75, 0.15);
  border-radius: var(--radius);
  padding: 6px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold-light);
  font-size: 22px;
  font-weight: 400;
  transition: transform var(--transition);
  margin-inline-start: 12px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 18px;
  margin: 0;
}

/* ===== Contact ===== */
.contact {
  background: var(--navy-dark);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 34px 24px;
}

.contact-option-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold-light);
  margin-bottom: 10px;
}

.contact-option h3 {
  margin-bottom: 2px;
  font-size: 17px;
}

.contact-option p {
  font-size: 14px;
  margin-bottom: 0;
  word-break: break-word;
}

/* ===== Footer ===== */
.site-footer {
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid rgba(201, 162, 75, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 200;
  transition: transform var(--transition);
}

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

/* ===== אנימציית כניסה עדינה ===== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) and (min-width: 761px) {
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-steps .step {
    flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 860px) {
  .contact-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .logo-img {
    width: 70px;
  }

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

  .process-steps {
    flex-direction: column;
  }

  .process-steps .step {
    max-width: 100%;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 18px;
    left: 18px;
    width: 52px;
    height: 52px;
  }

  .main-nav {
    position: fixed;
    inset-inline-end: 0;
    top: 76px;
    width: min(78%, 320px);
    height: calc(100vh - 76px);
    background: var(--navy);
    border-inline-start: 1px solid rgba(201, 162, 75, 0.15);
    transform: translateX(-100%);
    transition: transform var(--transition);
    padding: 32px 24px;
    overflow-y: auto;
  }

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

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

  .menu-toggle {
    display: flex;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 0 70px;
  }
}
