/* ==================================== */
/* 1. משתנים גלובליים ואיפוס */
/* ==================================== */
:root {
    /* גוונים מודרניים */
    --primary: #3d4d9e; /* כחול עמוק */
    --secondary: #7cb342; /* ירוק חי */
    --dark: #1f2a57; /* כחול כהה מאוד */
    --light-bg: #ebf3ff; /* כחול בהיר (רקע בסיס) */
    --white: #ffffff;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-deep: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* פונטים - Heebo המבוקש */
    --font-main: 'Heebo', sans-serif; 
}

/* הגדרת הרקע וה-Parallax */
body {
    font-family: var(--font-main);
    background-color: var(--light-bg); 
    direction: rtl;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    
    /* אפקט Parallax: רקע עדין עם קיבוע */
    background-image: url('https://l023131500.work/media/subtle-pattern.png'); /* נתיב לתמונה/טקסטורה עדינה */
    background-attachment: fixed;
    background-size: cover;
}
* {
    box-sizing: border-box; /* חשוב מאוד לעיצוב נכון ומרווח */
}
.main-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}
h1, h2, h3 {
    font-family: var(--font-main);
    font-weight: 900; 
    letter-spacing: -0.5px;
    color: var(--dark);
}
/* הסרת קו תחתון מכל הקישורים */
a {
    text-decoration: none !important; 
    color: inherit;
    transition: color 0.3s;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: none;
}
.btn-primary {
    color: var(--white);
    background: linear-gradient(45deg, var(--secondary) 0%, #aed581 100%);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.6); 
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.8);
}
/* כפתור הפעולה הכללי בתפריט */
.btn-header-action {
    color: var(--white);
    background: var(--secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    font-size: 1.05rem;
    white-space: nowrap; /* מונע ירידת שורה של החץ */
}
.btn-header-action:hover {
    background: #6aa83d;
}

/* ==================================== */
/* 2. Header וניווט - רקע כחול כהה */
/* ==================================== */
.main-header {
    background: linear-gradient(90deg, var(--dark) 0%, var(--primary) 100%);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    position: sticky;
    top: 0;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-large {
    height: 75px; 
    width: auto;
    cursor: pointer;
    /* הוספת צל לבן עדין סביב הלוגו (הילה) */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); 
}
.main-nav a {
    color: var(--light-bg); 
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-out;
    border-bottom: 3px solid transparent;
    font-size: 1.1rem;
}
.main-nav a.active, .main-nav a:hover {
    color: var(--white);
    border-bottom-color: var(--secondary);
}


/* ==================================== */
/* 3. Hero Section - גרדיאנט משופר */
/* ==================================== */
.hero-section {
    position: relative;
    padding: 100px 40px 200px; 
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.hero-section h1 {
    font-size: 4.8rem;
    color: var(--white);
    text-align: right; 
    flex-grow: 1;
    line-height: 1.1;
}
.subtitle {
    font-size: 1.7rem;
    font-weight: 300;
    margin-top: 15px;
    margin-bottom: 50px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.hero-text-and-image {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-graphic {
    width: 200px; 
    height: auto;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    animation: bounce 2s infinite alternate;
}
@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}
.large-action-btn {
    font-size: 1.8rem;
    padding: 22px 60px;
    border-radius: 60px;
}
.flowing-design-element {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    background: var(--light-bg);
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
}


/* ==================================== */
/* 4. כפתורי הדגש (Featured) */
/* ==================================== */
.featured-buttons-section {
    margin-top: -100px; 
    padding: 0 40px 60px;
}
.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    position: relative;
    z-index: 20; 
}
.featured-btn {
    flex-basis: 30%;
    background: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-deep);
    border-bottom: 5px solid var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s;
}
.featured-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-bottom-color: var(--primary);
}
.featured-icon {
    font-size: 3rem; 
    margin-bottom: 10px;
    color: var(--primary);
}
.action-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
    margin-top: 5px;
}


/* ==================================== */
/* 5. מקטע מקצועיות ותמונת עציץ */
/* ==================================== */
.professionalism-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.pro-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.pro-text {
    flex: 2;
}
.pro-text h2 {
    font-size: 3rem;
}
.pro-text p {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.8;
}
.pro-text strong {
    color: var(--primary);
}
.pro-graphic {
    flex: 1;
    text-align: center;
}
.plant-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}


/* ==================================== */
/* 6. כרטיסיות הטפסים (Grid) - *תיקון נראות* */
/* ==================================== */
.category-section {
    margin-bottom: 80px;
}
.section-title {
    font-size: 3rem; 
    border-bottom: 4px solid var(--secondary); 
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.section-intro {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
}
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.form-link-card {
    display: flex;
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    
    /* *התיקון לנראות* */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); 
    border: 1px solid #c9d6e7; /* גבול עדין לראות טוב יותר */
    border-right: 8px solid var(--primary);
    
    font-size: 1.15rem;
    font-weight: 500;
    min-height: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--dark); /* ודא שהטקסט כהה */
    
    /* אנימציית כניסה */
    opacity: 0;
    transform: translateY(30px);
}
.form-link-card:hover {
    transform: scale(1.03);
    border-right-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    color: var(--primary);
}
.inactive-form {
    opacity: 0.7; /* שומר על נראות קלה */
    filter: grayscale(100%);
    cursor: help;
    border-right-color: #9e9e9e;
}
.inactive-form:hover {
    transform: none;
    cursor: help;
    box-shadow: var(--shadow-subtle);
    color: var(--dark); /* ודא שהצבע לא משתנה ב-hover */
}


/* ==================================== */
/* 7. אנימציות כניסה (Scroll Reveal) */
/* ==================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==================================== */
/* 8. פוטר - *תיקון יישור טלפון* */
/* ==================================== */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 50px;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
}
/* תיקון צבע הכותרת "שאל אותנו בקלות" */
.contact-form-area h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}
/* יישור הטקסט בתוך שדות הטופס לימין (כולל placeholder) */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #4a5a8f;
    background-color: #354277;
    color: var(--white);
    border-radius: 8px;
    text-align: right; /* *יישור הטקסט בפועל לימין* */
}
/* יישור ה-placeholder (שם השדה) לימין */
.contact-form input::placeholder, .contact-form textarea::placeholder {
    text-align: right;
    direction: rtl; 
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.btn-submit {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
}
.contact-info h3 {
    color: var(--white);
}
.contact-info a {
    color: var(--light-bg);
    transition: color 0.3s;
    display: block;
    margin-bottom: 8px;
}
.contact-info a:hover {
    color: var(--secondary);
}
.payment-logos {
    display: flex;
    align-items: center;
    margin-top: 15px;
}
.payment-logos img {
    opacity: 0.9;
}
.credit-bar {
    background: #111a3b;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #a8b0cc;
}
/* שינוי צבע הקישור של Zeivald ללבן */
.zeivald-credit a {
    color: var(--white); 
    font-weight: 500;
}


/* ==================================== */
/* 9. רספונסיביות (התאמה למובייל וטאבלט) */
/* ==================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    .main-nav, .btn-header-action {
        display: none; 
    }
    .hero-section h1 {
        font-size: 3.5rem;
        text-align: center;
    }
    .subtitle {
        font-size: 1.4rem;
    }
    .hero-text-and-image {
        flex-direction: column;
    }
    .hero-graphic {
        order: -1;
        margin-bottom: 20px;
    }
    .featured-container {
        flex-direction: column;
    }
    .pro-container {
        flex-direction: column;
        text-align: center;
    }
    .pro-graphic {
        order: -1;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-form-area, .contact-info, .legal-links {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .contact-form {
        max-width: 400px;
        margin: 0 auto;
    }
    .payment-logos {
        justify-content: center;
    }
}