@charset "utf-8";
:root {
  --bg-dark: #0a0a0f;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --accent-red: #ff3d5a;
  --accent-green: #00d4aa;
  --accent-gold: #ffd700;
}

/* Reset בסיסי */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Grid Background */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.grid-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(255, 61, 90, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(0, 212, 170, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 40%
    );
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle linear infinite;
}
.particle:nth-child(odd) {
  background: var(--accent-red);
}
.particle:nth-child(3n) {
  background: var(--accent-green);
}
.particle:nth-child(2n) {
  background: var(--accent-gold);
}
@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-20px) rotate(360deg);
    opacity: 0;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
nav {
  display: flex;
  gap: 8px;
}
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  transition: 0.3s;
}
nav a:hover,
nav a.nav-active {
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

/* Nav Toggle Button (Mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  font-weight: bold;
  color: #fff;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 20px 100px;
  text-align: center;
  z-index: 2;
}
.hero h1.gradient {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--accent-red),
    var(--accent-gold),
    var(--accent-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 60px;
}

/* Sections */
section {
  position: relative;
  z-index: 2;
  padding: 120px 60px;
  text-align: center;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 24px;
}
.section-title.gradient {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--accent-red),
    var(--accent-gold),
    var(--accent-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 20px auto 0;
}

/* Contact Form */
.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  background: var(--bg-glass);
  backdrop-filter: blur(40px);
  border: 20px solid var(--border-glass);
  border-radius: 32px;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  color: var(--text-primary);
  font-size: 1rem;
}
.newsletter-form textarea {
  resize: none;
}
.newsletter-form button {
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--accent-red), #ff6b6b);
  border: none;
  border-radius: 16px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 61, 90, 0.4);
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  padding: 80px 60px 30px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-glass);
  text-align: center;
  color: #fff;
  font-size: 14px;
}

/* Floating Social Buttons */
.floating-icons {
  position: fixed;
  left: 20px;
  top: 90%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10000;
}
.floating-icons .social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 12px 20px;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.floating-icons .social-btn img {
  width: 24px;
  height: 24px;
}
.floating-icons .social-btn.whatsapp {
  background: #25d366;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}
.floating-icons .social-btn.facebook {
  background: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
  color: #fff;
}
.floating-icons .social-btn span {
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 70px;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    padding: 20px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  nav.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    gap: 6px;
    cursor: pointer;
  }

  .newsletter-container {
    max-width: 95%;
    padding: 24px;
    border: 6px solid var(--border-glass);
    border-radius: 20px;
    margin: 20px auto;
  }
  .newsletter-form {
    gap: 10px;
  }
  .newsletter-form input,
  .newsletter-form textarea {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .newsletter-form button {
    padding: 14px;
    font-size: 1rem;
  }

  .floating-icons {
    left: 10px;
    gap: 10px;
  }
  .floating-icons .social-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .floating-icons .social-btn img {
    width: 20px;
    height: 20px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 212, 170, 0.95);
  color: #fff;
  padding: 20px 25px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  text-align: center;
  z-index: 9999;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.cookie-banner.show {
  display: flex;
}
.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
#accept-cookies {
  background: #00d4aa;
  color: #fff;
}
#decline-cookies {
  background: #ff3d5a;
  color: #fff;
}
.cookie-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Call Now Badge */
.call-now-badge {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #00eaff, #00b3ff);
  color: #000;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.call-now-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.9);
}

/* Light / Glow Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 61, 90, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(0, 212, 170, 0.05) 0%,
      transparent 80%
    ),
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 70%
    );
}
/* Call Now Badge - שמאל עליון */
.call-now-badge {
  display: block; /* תמיד מוצג */
  position: fixed;
  top: 20px;
  left: 15px; /* שמאל */
  z-index: 10002; /* מעל כפתור תפריט */
  background: linear-gradient(135deg, #00eaff, #00b3ff);
  color: #000;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.call-now-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.9);
}

.nav-toggle-button {
  z-index: 10003; /* עכשיו מעל Call Now Badge */
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 15px;
    z-index: 10001;
    background: #2eddfc;
    color: #fff;
    padding: 12px 16px;
    border-radius: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
    font-size: 15px;
  }

  nav#mobileNav {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: #fff;
    padding: 60px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  }

  nav#mobileNav.open {
    transform: translateX(0);
  }
}

.nav-toggle {
  pointer-events: auto;
  z-index: 9999; /* הכי מעל הכל */
}

/* ==============================
   עיצוב למה לבחור בנו - גרסה מודרנית
============================== */
.why-choose-us {
  width: 100%;
  background: linear-gradient(135deg, #2cc7ff, #1317fc);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.why-choose-us h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.why-choose-us p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 20px;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}

.feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.feature-item span {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

/* רספונסיבי */
@media (max-width: 768px) {
  .features {
    gap: 20px;
  }
  .feature-item {
    width: 140px;
    padding: 20px 15px;
  }
  .why-choose-us h2 {
    font-size: 2rem;
  }
  .why-choose-us p {
    font-size: 1rem;
  }
  .icon {
    font-size: 40px;
  }
}

/* Nav Toggle */
.nav-toggle {
  display: none; /* יופיע רק במובייל */
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  background: #00eaff;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  user-select: none;
  box-shadow: 0 3px 8px rgba(0, 234, 255, 0.45);
  transition: all 0.25s ease;
}

.nav-toggle:hover {
  background: #00c4e0;
  box-shadow: 0 4px 12px rgba(0, 234, 255, 0.6);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* כפתור רק במובייל */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 12px;
    right: 12px;
  }

  /* תפריט ניווט נפתח */
  header nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    position: fixed;
    top: 70px;
    right: 10px;
    width: 190px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  header nav.open {
    display: flex;
  }
}

/* סגנון עבור שלושת הקווים בכפתור */
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== FIX סופי לתפריט מובייל (iPhone / Safari) ===== */
@media (max-width: 768px) {
  nav#mobileNav {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
  }

  nav#mobileNav a {
    display: block !important;
    color: #000000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 16px;
    line-height: 1.4;
  }
}
