/* ================================
   בסיס האתר
=================================== */

body {
    background: #ffffff; /* רקע בהיר מאחורה */
    font-family: "Alef", "Arial", sans-serif;
    color: #222;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
}


/* ================================
   צבעים מותאמים
=================================== */ 

.bg-dark-green {
    background-color: #002b25 !important;
}

.text-orange {
    color: #ff9e2c !important;
}

.btn-orange {
    background: #ff9e2c;
    color: #000;
    padding: 10px 22px;
    font-weight: bold;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: 0.2s;
}

.btn-orange:hover {
    background: #ff8b00;
    color: #000;
}


/* ================================
   HERO SECTION
=================================== */



/* ============================
   HERO SECTION
============================ */

.hero-section {
    width: 100%;
    padding: 40px 0 0 0;
    margin: 0;
    text-align: center;
}

/* תוכן טקסט */
.hero-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

/* תמונת HERO — אם משתמשים בה מחוץ ל-overlay */
.hero-img {
    width: 100%;
    height: 700px;
    object-fit: cover;   /* חובה ל-HERO */
    display: block;
    margin: 0;
    padding: 0;
}

/* כפתור */
.hero-btn {
    margin-top: 20px;
    position: relative;
    z-index: 2;
}


/* ================================
   SERVICE CARDS
=================================== */

/* SERVICE CARDS — Wix Style */
/* ============================
   SERVICE CARDS — CLEAN WIX STYLE
=============================*/
.service-card {
    width: 100%;
    background: #002b25;
    border-radius: 22px;
    padding: 12px;
    margin-bottom: 35px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: 0.25s;

    /* הפתרון לבעיה: */
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* במקום space-between */
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}

/* אזור תמונה */
.service-card .image-box {
    width: 100%;
    height: 220px;             /* גובה התמונה */
    overflow: hidden;          /* לא נותן לתמונה לצאת מהקופסה */
    border-radius: 20px;
}

/* התמונה עצמה */
.service-card .image-box img {
    width: 100%;
    height: 100%;          /* גובה אחיד של כל התמונות */
    object-fit: cover;     /* חיתוך אחיד ומקצועי */
    border-radius: 20px;
    display: block;
}


/* כותרת */
.service-card h4 {
    color: #ffffff;
    font-size: 1.2rem;           /* << קטן יותר */
    margin-top: 10px;
    font-weight: bold;
}

/* טקסט */
.service-card p {
    color: #d7e5e1;
    font-size: 0.95rem;
    margin: 8px 15px 0;
}


/* ================================
   FOOTER
=================================== */

.footer-section {
    background: #002b25;
    color: white;
    margin-top: 40px;
}

.footer-section a {
    color: #ff9e2c;
}

.footer-section a:hover {
    color: #ffaa4c;
}


/* ================================
   WHATSAPP FLOATING BUTTON
=================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: white;

    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    font-size: 26px;

    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1);
}


/* ================================
   CALL FLOATING BUTTON (MOBILE)
=================================== */

.call-float {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background: #ff9e2c;
    color: #000;
    padding: 14px 18px;
    border-radius: 50%;
    font-size: 24px;
    z-index: 9999;
    transition: 0.2s;
}

.call-float:hover {
    transform: scale(1.15);
}


/* ================================
   TITLES
=================================== */

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #002b25;
    margin-bottom: 20px;
}


/* ================================
   NAVIGATION BAR
=================================== */
.navbar {
    min-height: 110px;   /* היה ~70–80, עכשיו יותר מרווח */
}

.navbar-brand {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-size: 1.15rem;  /* קודם ~1.05 */
    padding: 12px 18px;  /* יותר אוויר */
}

.navbar-nav .nav-link:hover {
  color: #ff9e2c !important;
}

/* Active page */
.navbar-nav .nav-link.active {
  color: #ff9e2c !important;
  font-weight: 600;
}

/* Dropdown */
.dropdown-services {
  min-width: 240px;
}

.dropdown-menu .dropdown-item {
  padding: 8px 16px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #014139;
  color: #ff9e2c;
}

/* NAV LOGO IMAGE */

.nav-logo {
    height: 120px;        /* קודם היה 40–50 */
    width: auto;
}

.navbar {
    position: relative;
    z-index: 1000;
}
/* ================================
   RESPONSIVE FIXES
=================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .service-card {
        min-height: auto;
    }
}

@media (max-width: 500px) {
    .btn-orange {
        font-size: 1rem;
        padding: 8px 18px;
    }
}
.text-dark-green {
    color: #002b25 !important;
}

@media (max-width: 768px) {

    .navbar {
        min-height: 64px;   /* חובה – זה הפיקס */
        padding: 8px 0;
    }

    .navbar > .container {
        align-items: center;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-toggler {
        padding: 6px 10px;
    }
}



/* ============================
   FOOTER LINKS – TEXT ONLY
============================ */

.footer-links a {
    color: #FFA42C;           /* כתום רגיל */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FF8C00;           /* כתום כהה ב-hover */
    text-decoration: underline;
}

/* ============================
   FOOTER LINKS – ALL TEXT LINKS
============================ */

/* ניווט מהיר */
.footer-links a,

/* טלפון + וואטסאפ */
.footer-contact,

/* כל לינק בתוך footer (ליתר ביטחון) */
footer a {
    color: #FFA42C;            /* כתום רגיל */
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact:hover,
footer a:hover {
    color: #FF8C00;            /* כתום כהה */
    text-decoration: underline;
}

.ant-hero-img {
    width: 100%;
    max-width: 550px; /* לא גדול מדי גם במסכים רחבים */
    height: auto;
    display: block;
    margin: 10px auto 20px auto;
    border-radius: 12px;
    object-fit: cover;
}

/* ================================
   MOBILE OPTIMIZATION – PEST PAGES
=================================== */

@media (max-width: 768px) {

    /* NAV */
    .navbar {
        padding: 8px 0;
    }

    .nav-logo {
        height: 42px; /* לוגו קטן ונקי במובייל */
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    /* כותרת דף */
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    /* תמונת המזיק */
    .ant-hero-img {
        max-width: 90%;
        margin: 15px auto 20px auto;
    }

    /* תוכן */
    .blog-post h2 {
        font-size: 1.4rem;
        margin-top: 25px;
    }

    .blog-post p,
    .blog-post li {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* FAQ */
    .accordion-button {
        font-size: 1rem;
    }

    /* כפתור CTA */
    .btn-orange.btn-lg {
        font-size: 1.1rem;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {

    .section-title {
        font-size: 1.8rem;
    }

    .blog-post h2 {
        font-size: 1.3rem;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
    }
}

/* ============================
   FULL WIDTH HR DIVIDER
============================ */

.full-width-divider {
    border: none;
    height: 2px;                 /* עובי הקו */
    background-color: rgb(34, 34, 34);

    width: 100vw;                /* רוחב מסך מלא */
    margin: 50px calc(50% - 50vw); /* הקסם האמיתי */

    position: relative;
}

/* =========================
   NAV – fine tuning only
========================= */

/* יישור אנכי מושלם ללוגו + טקסט */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* סלוגן קטן ועדין */
.nav-slogan {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1;
    margin-top: 2px; /* יישור עדין לגובה הלוגו */
    white-space: nowrap;
}

/* פייסבוק – אייקון עגול בלי רקע */
.nav-facebook-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #1877f2;
    color: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* טלפון – מודגש וכתום */
.nav-phone {
    color: #ff9e2c;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

/* מובייל – הסלוגן נעלם */
@media (max-width: 768px) {
    .nav-slogan {
        display: none;
    }
}
/* יישור מדויק של אזור הלוגו */
.navbar-brand {
    display: flex;
    align-items: center;
}

.pest-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.pest-content h3 {
    margin-top: 40px;
    font-weight: 700;
}

.pest-content ul {
    padding-right: 20px;
}

.pest-content li {
    margin-bottom: 8px;
}

.pest-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.snake-card .image-box {
    height: 360px;        /* הגדלת גובה התמונה */
}

.snake-card .image-box img {
    object-fit: contain; /* מציג את כל גוף הנחש */
    background: #fff;    /* רקע לבן אם יש שקיפות */
}

/* =========================
   MOBILE – SERVICE CARDS IMAGE FIX
========================= */
@media (max-width: 768px) {

    .service-card .image-box {
        height: 160px;   /* מקטין תמונות במובייל */
    }
@media (max-width: 768px) {

    .service-card {
        min-height: 420px !important;   /* גובה אחיד */
    }

    .service-card .image-box {
        height: 170px;                   /* כל התמונות באותו גובה */
    }

    .service-card .image-box img {
        object-fit: cover;               /* ממלאת יפה בלי עיוות */
        background: #fff;
    }
}

    .service-card .image-box img {
        object-fit: contain; /* מונע חיתוך מוזר (עש המזון וכו') */
        background: #fff;
    }
}

/* =========================
   MOBILE – FLOATING BUTTONS FIX
========================= */
@media (max-width: 768px) {

    .whatsapp-float,
    .call-float {
        width: 52px;
        height: 52px;
        padding: 0;
        font-size: 24px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 18px;
    }

    .call-float {
        bottom: 78px;
    }
}

/* =========================
   LICENSE CARDS FIX
========================= */

.license-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ⬅️ לא space-between */
    min-height: auto;            /* ⬅️ מבטל גובה כפוי */
}

.license-card .image-box {
    margin-bottom: 14px;         /* רווח עדין מתחת לתמונה */
}

.license-card h4 {
    margin: 6px 0 8px;           /* רווחים קטנים */
}

.license-card p {
    margin: 0;
    line-height: 1.6;
}
/* =========================
   MOBILE FIX – LICENSE CARDS
========================= */
@media (max-width: 768px) {

    .license-card {
        min-height: auto !important;
        padding: 14px;
    }

    .license-card .image-box {
        height: auto;
        aspect-ratio: 16 / 9;   /* יחס מושלם לרישיון */
        margin-bottom: 10px;
    }

    .license-card .image-box img {
        object-fit: contain;
        background: #fff;
        padding: 6px;
    }

    .license-card h4 {
        margin: 6px 0;
    }

    .license-card p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
}
/* =========================
   CLIENTS LOGOS SECTION
========================= */

.clients-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;

    align-items: center;
    justify-items: center;

    max-width: 900px;
    margin: 0 auto;
}

.clients-logos img {
    max-height: 60px;
    width: auto;

    filter: grayscale(100%);
    opacity: 0.85;

    transition: filter 0.3s ease, opacity 0.3s ease;
}

.clients-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
/* =========================
   MOBILE – SAFE TEXT PADDING
========================= */
@media (max-width: 768px) {

  /* ריווח עדין לכל אזורי התוכן */
  .pest-content,
  .blog-post,
  .container,
  section,
  main {
    padding-right: 14px;
    padding-left: 14px;
  }

  /* במיוחד עבור דפי יצורים / מאמרים */
  .pest-content p,
  .pest-content h2,
  .pest-content h3,
  .pest-content ul {
    margin-right: 2px;
  }
}
@media (max-width: 768px) {
  main,
  section,
  .container,
  .page-wrapper {
    padding-bottom: 46px;
  }
}
/* FINAL FIX – License cards images */
@media (max-width: 768px) {

  .license-card .image-box {
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .license-card .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ממלא את המסגרת */
    background: transparent;
    padding: 0;
    border-radius: 10px;
    display: block;
  }
}

