/* ===== צבע ביתך - עיצוב נועז וצבעוני ===== */

:root {
  --orange: #FF6B35;
  --yellow: #F7C548;
  --teal: #2EC4B6;
  --pink: #E63969;
  --purple: #7B4FE6;
  --dark: #1B1B1E;
  --light: #FFFFFF;
  --gray-bg: #F7F7FA;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 27, 30, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', Arial, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

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

h1, h2, h3 { font-weight: 900; }

section { padding: 70px 0; }

/* ===== כפתורים ===== */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-primary { background: var(--orange); color: var(--light); }
.btn-call { background: #0EA5A5; color: var(--light); }
.btn-call:hover { background: #0c8f8f; }
.btn-whatsapp { background: #25D366; color: var(--light); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-block { display: block; width: 100%; margin-bottom: 12px; }
.btn-header-call { background: var(--dark); color: var(--light); padding: 10px 20px; font-size: 0.95rem; }

/* ===== הדר ===== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 9px; font-size: 1.4rem; font-weight: 900; white-space: nowrap; }
.logo span { color: var(--orange); }
.logo-icon { flex-shrink: 0; display: block; }
.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--dark); text-decoration: none; font-weight: 500; }
.main-nav a:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

/* ===== הירו ===== */
.hero {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 45%, var(--pink) 100%);
  color: var(--light);
  padding: 90px 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}
.hero h1 .highlight {
  background: var(--dark);
  padding: 2px 14px;
  border-radius: 10px;
  display: inline-block;
}
.hero-sub {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 30px;
}
.hero-ctas .btn-outline { color: var(--light); border-color: var(--light); }
.hero-ctas .btn-call {
  background: var(--light);
  color: var(--pink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-weight: 900;
}
.hero-ctas .btn-call:hover { background: var(--dark); color: var(--light); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-weight: 700;
}

/* ===== הצעת מחיר מהירה ===== */
.quick-quote { background: var(--light); }
.quick-quote-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--gray-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--teal);
  padding: 36px 32px;
  text-align: center;
}
.quick-quote-text h2 {
  font-size: clamp(1.6rem, 3.4vw, 2rem);
  margin-bottom: 8px;
}
.quick-quote-text p { color: #555; margin-bottom: 22px; }
.quick-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quick-form-row {
  display: flex;
  gap: 14px;
}
.quick-form-row input {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #ddd;
  font-family: inherit;
  font-size: 1rem;
  background: var(--light);
}
.quick-form-row input:focus { outline: none; border-color: var(--orange); }
.quick-form .form-status { margin-top: 4px; }
.quick-form .form-status.success { color: #1a9e5c; }
.quick-form .form-status.error { color: var(--pink); }

@media (max-width: 480px) {
  .quick-form-row { flex-direction: column; }
  .quick-quote-card { padding: 30px 22px; }
}

/* ===== שירותים ===== */
.services { background: var(--gray-bg); }
.services h2, .advantages h2, .gallery h2, .reviews h2, .contact h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 6px solid var(--orange);
}
.card-2 { border-top-color: var(--teal); }
.card-3 { border-top-color: var(--purple); }
.card-icon { font-size: 2.6rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; font-size: 1.3rem; }

/* ===== יתרונות ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.adv-item {
  background: var(--light);
  border: 2px solid var(--gray-bg);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.adv-emoji { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.adv-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.adv-item p { font-size: 0.95rem; color: #555; }

/* ===== גלריה ===== */
.gallery { background: var(--gray-bg); }
.section-sub { text-align: center; color: #555; margin-top: -24px; margin-bottom: 40px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.gallery-item {
  background: var(--light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}
.ba-images { display: flex; gap: 8px; }
.ba-images figure { flex: 1; margin: 0; position: relative; }
.ba-images img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
}
.ba-images figcaption {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(27,27,30,0.75);
  color: var(--light);
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
}
.gallery-item h3 { margin-top: 12px; font-size: 1.1rem; }

/* ===== המלצות - קרוסלה ===== */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  flex: 1;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.review-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 10px; }
.review-card p { font-style: italic; margin-bottom: 14px; }
.review-name { font-weight: 700; color: var(--pink); }
.carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: var(--light);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.carousel-btn:hover { background: var(--orange); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
}
.carousel-dots .dot.active { background: var(--orange); }

@media (min-width: 700px) {
  .review-card { flex: 0 0 calc(50% - 10px); }
}
@media (min-width: 1100px) {
  .review-card { flex: 0 0 calc(25% - 15px); }
}

/* ===== שאלות ותשובות נפוצות ===== */
.faq { background: var(--gray-bg); }
.faq h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 40px;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--light);
  border-radius: var(--radius);
  padding: 4px 24px;
  box-shadow: var(--shadow);
  border-right: 6px solid var(--teal);
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--orange);
  margin-inline-start: 12px;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 20px; padding-inline-end: 8px; color: #555; font-size: 0.98rem; }

@media (max-width: 600px) {
  .faq-item { padding: 2px 16px; }
  .faq-item summary { font-size: 0.98rem; padding: 14px 0; }
}

/* ===== צור קשר ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin-bottom: 14px; text-align: right; }
.contact-info p { margin-bottom: 20px; color: #555; }
.area-note { font-weight: 700; color: var(--teal); margin-top: 14px; }
.hours-note { font-weight: 700; color: #555; margin-top: 8px; }
.contact-form {
  background: var(--gray-bg);
  padding: 30px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #ddd;
  font-family: inherit;
  font-size: 1rem;
  background: var(--light);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-status { font-weight: 700; min-height: 20px; }
.form-status.success { color: #1a9e5c; }
.form-status.error { color: var(--pink); }

/* ===== עמוד תוכן משפטי (נגישות) ===== */
.legal-page { background: var(--light); }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.legal-updated { color: #777; margin-bottom: 30px; }
.legal-content h2 { font-size: 1.25rem; margin: 28px 0 10px; color: var(--orange); }
.legal-content p { margin-bottom: 12px; color: #444; }
.legal-content ul { margin: 0 0 12px; padding-inline-start: 22px; color: #444; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--teal); font-weight: 700; }

/* ===== עמוד תודה ===== */
.thank-you-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 45%, var(--pink) 100%);
  color: var(--light);
}
.thank-you-box { max-width: 560px; }
.thank-you-box .big-emoji { font-size: 4rem; margin-bottom: 10px; }
.thank-you-box h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 14px; }
.thank-you-box p { font-size: 1.1rem; margin-bottom: 30px; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.thank-you-actions .btn-outline { color: var(--light); border-color: var(--light); }

/* ===== פוטר ===== */
.site-footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 40px 0;
}
.site-footer .logo { justify-content: center; margin-bottom: 10px; }
.site-footer a { color: var(--yellow); text-decoration: none; }
.footer-copy { opacity: 0.6; font-size: 0.85rem; margin-top: 14px; }

/* ===== כפתורים צפים ===== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(27,27,30,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.float-btn svg { display: block; }
.float-btn:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 24px rgba(27,27,30,0.3); }
.float-whatsapp { background: #25D366; }
.float-call { background: #0EA5A5; }
.float-access {
  background: var(--purple);
  border: none;
  color: var(--light);
  font-family: inherit;
  cursor: pointer;
}

/* ===== תפריט נגישות ===== */
.access-panel {
  position: fixed;
  bottom: 230px;
  left: 20px;
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  width: 240px;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  z-index: 210;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.access-panel[hidden] { display: none; }
.access-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.access-panel-header h3 { font-size: 1.05rem; }
.access-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--dark);
}
.access-option {
  display: block;
  width: 100%;
  text-align: right;
  background: var(--gray-bg);
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.access-option:hover { background: #ececf2; }

/* מצבי נגישות המופעלים על גוף הדף */
body.access-large-text { font-size: 1.15em; }
body.access-larger-text { font-size: 1.3em; }
body.access-high-contrast { background: #000; color: #fff; }
body.access-high-contrast .site-header,
body.access-high-contrast .card,
body.access-high-contrast .adv-item,
body.access-high-contrast .gallery-item,
body.access-high-contrast .review-card,
body.access-high-contrast .faq-item,
body.access-high-contrast .contact-form,
body.access-high-contrast .access-panel {
  background: #111 !important;
  color: #fff !important;
}
body.access-high-contrast a { color: #ffe500 !important; }
body.access-underline-links a { text-decoration: underline !important; }

/* ===== רספונסיביות ===== */
@media (max-width: 800px) {
  .contact-inner { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--light);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .btn-header-call { display: none; }
  .ba-images img { height: 170px; }
}
