/* -------------------- RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100%;           /* ✅ במקום height: 100% */
  background: #f8fffe;
}

/* -------------------- VARIABLES -------------------- */
:root {
  --primary-color: #20b2aa;    /* צבע טורקיז מהלוגו */
  --secondary-color: #17a199; /* טורקיז כהה יותר */
  --accent-color: #25d5cb;    /* טורקיז בהיר */
  --text-dark: #2c3e50;
  --text-light: #555;
  --bg-light: #f8fffe;        /* רקע בהיר */
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(32, 178, 170, 0.1);
  --shadow-md: 0 10px 30px rgba(32, 178, 170, 0.15);
  --shadow-lg: 0 20px 40px rgba(32, 178, 170, 0.2);
}

/* -------------------- GENERAL -------------------- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #f8fffe; 
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------- WHATSAPP -------------------- */
.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999 !important;  /* 👈 תמיד מעל כולם */
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  transition: opacity 0.3s ease;
}

.whatsapp-wrapper.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  cursor: pointer;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70%  { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-text {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid #ccc;
  transition: all 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.whatsapp-link:hover .whatsapp-float {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.6);
  background: #1ebe5a;
}

.whatsapp-link:hover .whatsapp-text {
  background: #f5f5f5;
  border-color: #bbb;
  color: #000;
  opacity: 1;
}

/* -------------------- HEADER / HERO -------------------- */
header.hero {
  min-height: 100vh;
  position: relative;
  background: #000; /* fallback */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: visible !important; /* ✅ שלא יחתוך כפתורים */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ✅ שכבת כהות */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

/* תוכן מעל */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
  background: transparent !important;
}

.logo-container {
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}
.logo-container img {
  width: 600px;
  height: auto;
  filter: brightness(0) invert(1);
}

header h1 {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  font-size: clamp(0.8rem, 2vw, 1rem);
  background: linear-gradient(45deg, #fff, rgba(255,255,255,0.9));
  color: var(--primary-color);
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  animation: fadeInUp 1s ease-out 0.3s both;
  box-shadow: 0 6px 20px rgba(32, 178, 170, 0.2);
  z-index: 2;
  margin-top: 0.5rem;
}

.scroll-indicator {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.8s infinite ease-in-out;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

/* אנימציות */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* -------------------- מובייל -------------------- */
@media (max-width: 600px) {
header.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;  /* הכל יורד לתחתית */
  padding-bottom: 5vh;        /* 👈 המרחק מהתחתית */
  text-align: center;
}
.logo-container img {
  width: 260px;
  transform: translateY(-32vh); /* מעלה למעלה */
}

header h1 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.hero-badge {
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 4vh;  /* טיפה רווח קטן מהחץ */
}



  .scroll-indicator { bottom: 15px; font-size: 1.5rem; }
}

/* -------------------- ABOUT -------------------- */
.about {
  padding: 80px 20px;
  text-align: center;
  background: var(--bg-light);
}
.about h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}
.about p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-light);
}

/* -------------------- SCROLL ANIMATIONS -------------------- */
.about,
.service-section,
.section-divider,
.testimonials,
.faq,
.form,
.map-section {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

.about.visible,
.service-section.visible,
.section-divider.visible,
.testimonials.visible,
.faq.visible,
.form.visible,
.map-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- SERVICES -------------------- */
.service-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 30px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}
.btn-primary i { transition: transform 0.3s ease; }
.btn-primary:hover i { transform: translateX(-5px); }

.service-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}
.service-image:hover { transform: scale(1.02); }
.service-image img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}

/* -------------------- SCROLL ANIMATIONS -------------------- */
.service-section {
  padding: 100px 20px;
  position: relative;
  overflow: visible !important; /* ✅ שלא יחתוך את הכפתור */
  background: var(--bg-light);
  transition: opacity 1.2s ease, transform 1.2s ease;
  opacity: 0;
}
.service-section:nth-of-type(odd) { transform: translateX(60px); }
.service-section:nth-of-type(even) { transform: translateX(-60px); }
.service-section.visible {
  transform: translateX(0);
  opacity: 1;
}

/* -------------------- SECTION DIVIDER -------------------- */
.section-divider {
  height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.section-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(248, 249, 250, 0.3) 30%,
    rgba(248, 249, 250, 0.3) 70%,
    rgba(248, 249, 250, 0.8) 100%);
}

/* -------- התאמות למסכים קטנים -------- */
@media (max-width: 768px) {
  .service-content { grid-template-columns: 1fr; gap: 30px; }
  .service-image { order: -1; }
  .service-image img { height: 300px; }
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonials {
  padding: 100px 20px;
  background: white;
}
.testimonials h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-dark);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); }
.stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { color: var(--text-dark); font-size: 1.1rem; }
.testimonial-author span { color: var(--text-light); font-size: 0.9rem; }

/* -------------------- FAQ -------------------- */
.faq {
  padding: 100px 20px;
  background: var(--bg-light);
}
.faq h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-dark);
}
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 30px;
  background: white;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  transition: background 0.3s ease;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question i { transition: transform 0.3s ease; color: var(--primary-color); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 30px 20px; }
.faq-answer p { color: var(--text-light); line-height: 1.8; }

/* -------------------- FORM -------------------- */
.form {
  padding: 100px 20px;
  background: white;
  text-align: center;
}
.form h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-dark);
  font-weight: 700;
}
#contactForm {
  max-width: 750px;   /* 👈 יותר מקום לשדות ולאופציות */
  margin: 0 auto;
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 20px;
  border: 2px solid #e1e1e1;
  border-radius: 15px;
  font-size: 1.1rem;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
}
#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.1);
}
#contactForm button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}
#contactForm button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.membership-options {
  text-align: center;     /* מרכז את התוכן */
  padding:20px;
  border: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;        /* ירידה לשורה חדשה במסכים קטנים */
  justify-content: center;/* מרכז את כל האופציות */
  margin-bottom: 20px;
}

.membership-options legend {
  width: 100%;            /* שיהיה בשורה נפרדת */
  text-align: center;     /* מרכז גם את הכותרת */
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.membership-options .option {
  display: inline-block;
  margin: 8px;
  position: relative;
}

.membership-options input[type="radio"] {
  display: none; /* מסתיר את הכפתור המקורי */
}

.membership-options .option span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  background: white;
  color: var(--primary-color);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* אפקט ריחוף */
.membership-options .option span:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 16px rgba(32,178,170,0.3);
}

/* אפקט לחיצה (קפיצה החוצה) */
.membership-options .option span:active {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 10px 20px rgba(32,178,170,0.5);
}

/* כשהאופציה נבחרה */
.membership-options input[type="radio"]:checked + span {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 12px 24px rgba(32,178,170,0.6);
  animation: pulseGlow 0.6s ease;
}

/* --- אנימציות --- */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(32,178,170,0.0); }
  50% { box-shadow: 0 0 20px rgba(32,178,170,0.7); }
  100% { box-shadow: 0 12px 24px rgba(32,178,170,0.6); }
}

/* -------------------- MAP SECTION -------------------- */
.map-section {
  padding: 100px 20px;
  background: var(--bg-light);
}
.map-section h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--text-dark);
}
.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* -------------------- FOOTER -------------------- */
footer {
  padding: 50px 20px 20px;
  background: #333;
  color: white;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-info p { margin-bottom: 10px; font-size: 1.1rem; }
.footer-info i { margin-left: 10px; color: var(--primary-color); }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
