/* =========================
   1) VARIABLES + RESET
========================= */
:root {
  --primary-color: #9DC8B0;
  --secondary-color: #F0F7F3;
  --text-color: #4A4A4A;
  --box-bg: rgba(255, 255, 255, 0.95);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --white: #ffffff;
  --bg-color: #F9FCFA;

  /* WhatsApp accent */
  --wa-green: #25D366;
  --wa-green-dark: #1ebe5d;

  /* Waze */
  --waze-blue: #2D9CDB;
  --waze-blue-dark: #1B79B5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(rgba(249, 252, 250, 0.55), rgba(249, 252, 250, 0.55)),
    url("https://images.unsplash.com/photo-1472214103451-9374bd1c798e?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;

  transform: translateZ(0);
}

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

/* Focus ברור במקלדת */
:focus-visible{
  outline: 3px solid rgba(157, 200, 176, 0.95);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Skip link */
.skip-link{
  position:absolute;
  top:10px;
  right:-999px;
  background:#fff;
  color:#000;
  padding:10px 14px;
  border-radius:10px;
  z-index:99999;
  box-shadow:0 10px 24px rgba(0,0,0,.15);
}
.skip-link:focus{ right:10px; }

/* =========================
   2) GLOBAL LAYOUT
========================= */
section {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.25);
}

.container {
  max-width: 1100px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin: 0;
}

.section-subtitle {
  margin-top: 14px;
  background: var(--box-bg);
  display: inline-block;
  padding: 6px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  background: var(--primary-color);
  padding: 12px 30px;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.btn:hover {
  transform: translateY(-1px);
}

/* ✅ כפתור Waze כחול */
.waze-btn {
  background: var(--waze-blue);
}
.waze-btn:hover {
  background: var(--waze-blue-dark);
}

/* ✅ עטיפה לשני כפתורי הניווט */
.nav-buttons{
  display: flex;
  flex-direction: column;   /* אחד מתחת לשני */
  gap: 12px;                /* רווח יפה */
  margin-top: 12px;
  align-items: flex-start;  /* ב-RTL נראה טבעי */
}

/* =========================
   3) HERO
========================= */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;
  padding: 0 20px;

  background: rgba(157, 200, 176, 0.15);
}

.hero-content {
  background: rgba(255, 255, 255, 0.18);
  padding: 26px 22px;
  border-radius: 18px;
  max-width: 820px;
  backdrop-filter: blur(4px);
}

.hero-name {
  font-size: 1.7rem;
  margin-bottom: 16px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 255, 255, 0.35);
  opacity: 0.98;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.3rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.hero .btn {
  margin-top: 40px;
  opacity: 0.95;
}

/* =========================
   4) ABOUT
========================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
}

.about-text {
  text-align: right;
  font-size: 1.3rem;
  line-height: 1.8;
}

.about-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(157, 200, 176, 0.25);
}

/* =========================
   5) SERVICES
========================= */
.services {
  background: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* =========================
   6) TESTIMONIALS
========================= */
.testimonials {
  background: linear-gradient(135deg, var(--primary-color), #D4E9D7);
  padding: 80px 20px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px 35px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
}

.testimonial-card span {
  display: block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

/* =========================
   7) CONTACT
========================= */
#contact .section-title {
  margin-bottom: 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-info,
.contact-action {
  background: var(--box-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-info h3,
.contact-action h3 {
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 1.25rem;
}

.contact-info p,
.contact-action p {
  color: var(--text-color);
}

.contact-info a[href^="tel:"] {
  color: var(--primary-color);
  font-weight: 800;
}

.contact-address {
  line-height: 1.6;
}

.map-icon {
  color: var(--primary-color);
  margin-left: 6px;
  vertical-align: middle;
}

.address-text {
  font-weight: 500;
}

/* WhatsApp button */
.whatsapp-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;

  background: var(--wa-green);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;

  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-btn-large:hover {
  background: var(--wa-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.30);
}

.whatsapp-float {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.30);
  z-index: 9999;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: var(--wa-green-dark);
  transform: translateY(-1px);
}

/* =========================
   8) MOBILE
========================= */
@media (max-width: 768px) {

  body::before {
    background:
      linear-gradient(rgba(249, 252, 250, 0.22), rgba(249, 252, 250, 0.22)),
      url("https://images.unsplash.com/photo-1472214103451-9374bd1c798e?auto=format&fit=crop&w=1920&q=80")
        center / cover no-repeat;
  }

  section {
    background: rgba(255, 255, 255, 0.20);
  }

  .hero { height: 72vh; }

  .about-content { grid-template-columns: 1fr; }
   
   .about-text {
    font-size: 1.45rem;
    line-height: 1.9;
  }
   
  .about-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 0 0 10px rgba(157, 200, 176, 0.25);
    justify-self: center;
  }

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

  .contact-info,
  .contact-action {
    padding: 22px;
  }

  .whatsapp-btn-large {
    width: 100%;
  }

  /* ✅ רווח גדול יותר במובייל בין הכפתורים */
  .nav-buttons{
    gap: 16px;
    align-items: stretch;
  }

  /* ✅ במובייל הכפתורים יהיו ברוחב מלא */
  .nav-buttons .btn{
    width: 100%;
    text-align: center;
  }
}

/* =========================
   10) ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.contact-subtitle {
  margin-top: 10px;
  background: var(--box-bg);
  display: inline-block;
  padding: 5px 20px;
  border-radius: 20px;
}
