/* איפוס בסיסי ופונטים */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d1117; /* רקע כהה מאוד (סגנון Dark Mode טכנולוגי) */
    color: #f0f6fc; /* טקסט בהיר */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* כותרת ואנימציה */
.main-header {
    background: rgba(13, 17, 23, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #30363d;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 40px; /* הגדרת גובה קבוע לתמונת הלוגו */
    width: auto; /* שמירה על יחס הגובה-רוחב */
    display: block; /* כדי להבטיח שהגובה ייושם נכון */
}

.menu-toggle {
    background: none;
    border: 1px solid #007bff;
    color: #007bff;
    font-size: 1.5em;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    /* נסתר כברירת מחדל בדסקטופ */
    display: none; 
    order: 1; /* ממוקם לצד הלוגו וה-CTA */
}

/* קלאס להצגת התפריט באמצעות JS */
.main-nav.active {
    display: block !important;
}
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav a {
    color: #c9d1d9;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #007bff;
}

.cta-button {
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* HERO SECTION - באנר ראשי */
/* נשאר כהה לשמירת הדרמה והניגודיות */
/* HERO SECTION - באנר ראשי */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 100px 0;
    /* השארתי את HERO_IMAGE_URL - וודא שהיא קיימת */
    background: url('background.png') center/cover no-repeat;
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.9);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2em; /* גודל ברירת מחדל לדסקטופ */
    margin-bottom: 20px;
    color: #ffffff; /* נשאר לבן */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6); /* הילה לבנה חזקה יותר */
    line-height: 1.2;
    font-weight: 700;
}

/* עיצוב המילים הנפרדות בכותרת */
.hero-title .word-reveal {
    display: block;
    margin-bottom: 5px;
}

.hero-title .primary-highlight {
    /* הסרנו את הצבע הכחול (#00e0ff) */
    /* נחזק רק את ההילה הלבנה */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9); /* הילה לבנה חזקה מאוד */
    font-weight: 900; /* נשאר מודגש מאוד */
}

.hero-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #c9d1d9;
}
.cta-purchase-small {
    display: inline-block;
    background-color: #007bff; /* כחול מבטא */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 30px; /* רווח מעל הכפתור */
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #007bff; /* מסגרת כחולה */
}

.cta-purchase-small:hover {
    background-color: #0056b3; /* כחול כהה יותר בריחוף */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4); /* צל עדין */
}

/* התאמה למובייל: רווח גדול יותר סביב הכפתור */
@media (max-width: 768px) {
    .cta-purchase-small {
        margin-top: 20px;
        padding: 10px 20px;
    }
}

/* PRODUCTS GALLERY - שינוי לרקע אפור בהיר */
.products-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f0f0; /* רקע אפור בהיר מאוד */
    color: #0d1117; /* טקסט כהה לניגודיות */
    border-top: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

.products-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #007bff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #ffffff; /* רקע לבן לכרטיס המוצר */
    padding: 20px;
    border-radius: 12px; /* פינות מעוגלות קלות לכרטיס */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #c0c0c0;
    overflow: hidden; /* מבטיח שהתמונה לא תגלוש מחוץ לפינות המעוגלות */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

/* תמונות המוצרים - מסגרת מרובעת עם פינות מעוגלות */
.product-card img {
  
    height: 250px; 
    object-fit: cover; /* מכסה את המסגרת המרובעת */
    margin-bottom: 15px;
    border-radius: 8px; /* פינות מעוגלות לתמונה עצמה */
   
}

.product-card h3 {
    font-size: 1.5em;
    color: #0d1117; /* כותרת כהה על רקע בהיר */
}

/* CONTACT SECTION - שינוי לרקע אפור כהה יותר */
.contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: #161b22;
    border-top: 1px solid #30363d;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h2 {
    color: #007bff;
    margin-bottom: 20px;
}

.contact-info p a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: #007bff;
}

.cta-purchase-large {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-purchase-large:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* FOOTER */
.main-footer {
    background-color: #010409;
    color: #8b949e;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #30363d;
}
/* ========================================= */
/* === MEDIA QUERY FOR MOBILE / TABLET === */
/* ========================================= */
@media (max-width: 768px) {
    
    .main-header .container {
        /* הסרת flex-wrap: wrap; כדי להשאיר את הלוגו וה-CTA בשורה אחת */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* מציג את כפתור ההמבורגר במובייל */
    .menu-toggle {
        display: block; 
    }

    /* הסתרת התפריט כברירת מחדל במובייל */
    .main-nav {
        display: none; /* התפריט מוסתר */
        /* ממקם את התפריט ברוחב מלא */
        position: absolute;
        top: 65px; /* מניח את התפריט מתחת להאדר */
        left: 0;
        width: 100%;
        background-color: #161b22; /* רקע כהה כשהוא פתוח */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .main-nav ul {
        flex-direction: column;
        text-align: left; /* יישור לשמאל בתוך התפריט הנפתח */
        width: 100%;
    }

    .main-nav li {
        border-bottom: 1px solid #30363d;
    }

    .main-nav a {
        padding: 15px 20px; /* הגדלת המרווחים לפריסה נוחה במגע */
    }

    /* כפתור CTA - נשאר לצד הלוגו */
    .cta-button {
        flex: 0 0 auto;
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    /* מוודא שהלוגו וה-CTA לא נדחפים*/
    .logo-link {
        flex: 0 0 auto;
    }
    
    .logo-image {
        height: 35px;
    }
}

/* מוודא שהתפריט נשאר אופקי וגלוי בדסקטופ (מעל 768px) */
@media (min-width: 769px) {
    .main-nav {
        display: block !important; /* מוודא שהתפריט גלוי במסכים גדולים */
    }
}