/* =============================================
   evHomeLink Site - Global Styles
   ============================================= */

:root {
  --green-primary: #64DA75; 
  --green-dark: #305830; /*  #4a7a4a   305830 */
  --green-light: #e8f8eb; 
  --bg-light: #f0f4f8;
  --white: #ffffff;
  --text-dark: #1a2e1a;
  --text-muted: #5a7a5a;
  --border: #d4e8d4;
  --shadow: 0 4px 20px rgba(45, 87, 44, 0.10);
  --shadow-hover: 0 8px 32px rgba(45, 87, 44, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Heebo', 'Assistant', 'Segoe UI', Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; }
p  { font-size: 1.05rem; color: var(--text-muted); }

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: var(--green-dark);
  border-bottom-right-radius: 18px;
  border-bottom-left-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar-logo span.accent { color: var(--green-primary); }

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  background: var(--green-primary);
  color: var(--green-dark);
  font-weight: 700;
}

.navbar-hamburger {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 7px 12px;
  background: rgba(100, 218, 117, 0.12);
  border: 1px solid rgba(100, 218, 117, 0.35);
  border-radius: 8px;
  transition: background 0.2s;
}
.navbar-hamburger:hover {
  background: rgba(100, 218, 117, 0.22);
}
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger-lines span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger-label {
  color: var(--green-primary);
  font-size: 0.85rem;
  font-weight: 700;
  order: -1; /* RTL: pushes label to the right side */
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 100px 1.5rem 60px;
  background: linear-gradient(145deg, var(--green-dark) 0%, #1a3d1a 0%, #0d2e0d 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; left: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100, 218, 117, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100, 218, 117, 0.1) 0%, transparent 70%); /* rgba(100, 218, 117, 0.10) 0%, transparent 70%); */
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(100, 218, 117, 0.15);
  border: 1px solid rgba(100, 218, 117, 0.35);
  color: var(--green-primary);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero h1 .highlight { color: var(--green-primary); }

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-placeholder-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4/3;
  background: rgba(100, 218, 117, 0.08);
  border: 2px dashed rgba(100, 218, 117, 0.3);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(100, 218, 117, 0.5);
  font-size: 0.9rem;
  gap: 0.5rem;
}

.hero-image-area img {
  width: 100%;
  height: auto;
}
/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: #50cc62;
  box-shadow: 0 6px 20px rgba(100, 218, 117, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--green-dark);
  color: var(--white);
}
.btn-dark:hover {
  background: #1f3d1f;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* =============================================
   SECTION SHARED
   ============================================= */
section { padding: 80px 1.5rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-header h2 { color: var(--text-dark); margin-bottom: 0.7rem; }
.section-header p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* =============================================
   PRODUCT CARDS (Index page)
   ============================================= */
.products-section { background: var(--bg-light); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

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

.product-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--green-dark);
  position: relative;
}

.product-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}

.product-card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-card-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.product-card-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.product-card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.product-card-features li::before {
  content: '✓';
  color: var(--green-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.product-card-footer {
  padding: 1.2rem 1.6rem;
  border-top: 1px solid var(--border);
}

/* =============================================
   WHY US / FEATURES STRIP
   ============================================= */
.features-strip {
  background: var(--green-dark);
  padding: 60px 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  color: var(--white);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(100, 218, 117, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
  border: 2px solid rgba(100, 218, 117, 0.3);
}

.feature-item h3 { color: var(--green-primary); font-size: 1.1rem; margin-bottom: 0.4rem; }
.feature-item p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

/* =============================================
   PRODUCT PAGE - HERO
   ============================================= */
.product-hero {
  padding: 110px 1.5rem 70px;
  background: linear-gradient(145deg, var(--green-dark) 0%, #1a3d1a 100%);
}

.product-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-hero .product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-hero h1 { color: var(--white); margin-bottom: 1rem; }
.product-hero .lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.product-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   PRODUCT PAGE - VARIANTS
   ============================================= */
.variants-section { background: var(--white); }

.variants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.variant-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.variant-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-hover);
}

.variant-card.featured {
  border-color: var(--green-primary);
  background: var(--green-light);
}

.variant-badge {
  display: inline-block;
  background: var(--green-primary);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.variant-icon { font-size: 2.8rem; margin-bottom: 0.8rem; }
.variant-card h3 { color: var(--text-dark); margin-bottom: 0.6rem; }
.variant-card p { font-size: 0.95rem; margin-bottom: 1.2rem; }

.variant-features { display: flex; flex-direction: column; gap: 0.5rem; }
.variant-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.variant-features li::before {
  content: '✓';
  color: var(--green-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { background: var(--bg-light); }

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--green-primary);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-content h3 { color: var(--text-dark); margin-bottom: 0.4rem; }
.step-content p { font-size: 0.95rem; }

/* =============================================
   SPECS TABLE
   ============================================= */
.specs-section { background: var(--white); }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.specs-table th,
.specs-table td {
  padding: 1rem 1.4rem;
  text-align: right;
  font-size: 0.95rem;
}

.specs-table thead th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
}

.specs-table tbody tr { border-bottom: 1px solid var(--border); }
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody tr:nth-child(even) { background: var(--green-light); }
.specs-table tbody td:first-child { font-weight: 600; color: var(--text-dark); }

/* =============================================
   FAQ
   ============================================= */
.faq-section { background: var(--bg-light); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  direction: rtl;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--green-light); }

.faq-question .faq-arrow {
  font-size: 1.1rem;
  color: var(--green-dark);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* =============================================
   CTA BAND
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), #1a3d1a);
  padding: 80px 1.5rem;
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.contact-details {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-intro {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 1.2rem !important;
}
.contact-items {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.75rem 1.3rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
}
.contact-item:hover {
  background: rgba(100,218,117,0.15);
  border-color: var(--green-primary);
  color: var(--green-primary);
}
.contact-icon { font-size: 1.1rem; }
.contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


@media (max-width: 640px) {
  .contact-items { flex-direction: column; align-items: center; }
  .contact-item { width: 100%; justify-content: center; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0d1f0d;
  color: rgba(255,255,255,0.7);
  padding: 50px 1.5rem 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p { font-size: 0.92rem; margin-top: 0.8rem; max-width: 280px; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-primary); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* -- Scrollable table wrapper -- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner,
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* Show product hero image on tablet, smaller */
  .hero-image-area {
    display: flex;
    justify-content: center;
  }
  .hero-image-area img { max-width: 60%; }
  .variants-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 640px) {
  /* Navbar */
  .navbar-nav { display: none; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    right: 0; left: 0;
    background: var(--green-dark);
    padding: 1rem 1.2rem;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    gap: 0.3rem;
  }
  .navbar-nav.open a {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
  }
  .navbar-hamburger { display: flex; }

  /* Hero */
  .hero { min-height: auto; padding: 90px 1.2rem 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn,
  .product-hero-actions .btn { width: 100%; justify-content: center; }
  .product-hero-actions { flex-direction: column; }

  /* Hero image */
  .hero-image-area { display: none; }

  /* Sections */
  section { padding: 44px 1rem; }
  .features-strip { padding: 44px 1rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* Benefits grid (shabataria) */
  .benefits-grid { grid-template-columns: 1fr; }

  /* FAQ answers */
  .faq-answer ul,
  .faq-answer ol {
    padding-right: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .faq-answer p { margin-bottom: 0.6rem; }
  .faq-question { font-size: 0.95rem; padding: 1rem; }
  .faq-answer { padding: 0 1rem 1rem; }

  /* Tables */
  .specs-table th,
  .specs-table td,
  .vehicles-table th,
  .vehicles-table td { padding: 0.7rem 0.8rem; font-size: 0.88rem; }
}

@media (max-width: 480px) {
  /* Features strip: single column on very small phones */
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { display: flex; align-items: center; gap: 1rem; text-align: right; }
  .feature-icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; }

  /* Typography */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  /* Section header */
  .section-header { margin-bottom: 2rem; }

  /* Shab recommendation boxes */
  .shab-recommendations { gap: 0.5rem; }

  /* Founders grid */
  .about-founders { grid-template-columns: 1fr; }
}
