/* משתני צבעים */
:root {
    --main-blue: #005f73;
    --dark-blue: #003d4d;
    --light-teal: #0a9396;
    --accent-mint: #94d2bd;
    --wa-green: #25d366;
    --white: #ffffff;
    --bg-light: #f4f9f9;
    --logo-cyan: #b3e5fc;
    --transition: all 0.3s ease;
}

/* כללי */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Assistant', sans-serif; 
    direction: rtl; 
    line-height: 1.6; 
    background-color: #fff;
    color: #333;
}
/* מיכל גמיש שמאפשר ללוגו להיצמד לימין */
.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--main-blue), var(--dark-blue));
    height: 80px; display: flex; align-items: center; position: fixed;
    width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* הצמדת הלוגו לימין וקישורים לשמאל */
.navbar .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
    padding: 0; /* ביטול פדינג פנימי כדי שהלוגו ייצמד */
}

/* לוגו צמוד לימין */
.logo { 
    font-size: 1.7rem; 
    font-weight: 700; 
    color: var(--logo-cyan);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: default;
    margin-right: 0; /* מבטיח הצמדה לימין */
}

.logo span { 
    color: var(--logo-cyan); 
    font-weight: 700; 
}

/* תפריט ניווט */
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links li { position: relative; }

.nav-links a { 
    text-decoration: none; 
    color: var(--white); 
    font-weight: 500; 
    padding: 10px 0;
    transition: var(--transition); 
}

/* אפקט הקו מתחת למילה - Hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: var(--logo-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--logo-cyan);
}

/* Hero Section המעודכן עם התמונה שלך */
.hero {
    height: 85vh; 
    /* שכבת כהות עדינה מעל התמונה כדי שהטקסט יהיה קריא */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
    url('images/photo6.jpg.jpeg');
    
    background-size: cover; 
    background-position: center;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    text-align: center; 
    padding-top: 80px;
}

.hero h1 { 
    font-size: clamp(2.2rem, 5vw, 4rem); 
    margin-bottom: 20px; 
    font-weight: 700;
    /* הוספת צל לטקסט לביטחון נוסף בקריאות */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
}

.hero p { 
    font-size: 1.3rem; 
    margin-bottom: 30px; 
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.btn { padding: 14px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; display: inline-block; margin: 10px; transition: var(--transition); }
.btn-whatsapp { background: var(--wa-green); color: white; border: none; }
.btn-phone { border: 2px solid white; color: white; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* Gallery Slider */
.slider-container { position: relative; max-width: 900px; margin: 40px auto; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.15); background: #fdfdfd; }
.slide { display: none; text-align: center; }
.slide img { width: 100%; height: 500px; object-fit: contain; background-color: #f8f9fa; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 95, 115, 0.7); color: white; padding: 18px; border: none; cursor: pointer; z-index: 10; border-radius: 50%; transition: var(--transition); }
.prev { right: 20px; } .next { left: 20px; }
.dots-container { padding: 20px; text-align: center; background: white; }
.dot { height: 12px; width: 12px; background: #ddd; border-radius: 50%; display: inline-block; margin: 0 6px; cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--main-blue); transform: scale(1.3); }

/* Sections */
.section { padding: 100px 20px; text-align: center; }
.bg-light { background: var(--bg-light); }
.section h2 { font-size: 2.5rem; margin-bottom: 50px; color: var(--main-blue); position: relative; display: inline-block; }
.section h2::after { content: ''; width: 50%; height: 3px; background: var(--light-teal); position: absolute; bottom: -10px; left: 25%; }

/* Services Grid */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 20px; 
}
.card { 
    background: white; padding: 45px 30px; border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0, 85, 115, 0.08); 
    border-top: 6px solid var(--main-blue); transition: var(--transition);
}
.card:hover { transform: translateY(-12px); box-shadow: 0 20px 45px rgba(0, 85, 115, 0.15); }
.card .icon { font-size: 3rem; margin-bottom: 20px; background: var(--bg-light); width: 90px; height: 90px; line-height: 90px; border-radius: 50%; display: inline-block; color: var(--main-blue); }

/* Contact Box */
.contact-box { background: white; padding: 60px 40px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); max-width: 850px; margin: auto; border-right: 10px solid var(--main-blue); }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 40px; }
.contact-item { background: var(--bg-light); padding: 20px; border-radius: 15px; text-decoration: none; color: var(--main-blue); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; gap: 15px; transition: var(--transition); border: 1px solid transparent; }
.contact-item:hover { background: var(--white); border-color: var(--main-blue); transform: scale(1.03); }
.wa-large { grid-column: span 2; background: var(--wa-green) !important; color: white !important; font-size: 1.4rem; }

/* Footer */
.main-footer { background-color: #00222b; color: var(--white); padding: 40px 0; margin-top: 50px; border-top: 4px solid var(--light-teal); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.footer-logo { font-size: 1.4rem; font-weight: 700; color: var(--logo-cyan); }
.footer-logo span { color: var(--logo-cyan); }
.footer-copyright { font-size: 1rem; opacity: 0.9; }
.footer-credit { font-size: 0.85rem; opacity: 0.6; font-weight: 300; }

/* Mobile */
@media (max-width: 768px) {
    .navbar .container { padding: 0 20px; } /* החזרת מרווח במובייל */

    .nav-links { 
        position: fixed; 
        left: -100%; 
        top: 80px; 
        flex-direction: column; 
        background: var(--dark-blue); 
        width: 100%; 
        transition: 0.5s; 
        padding: 40px 0; 
        z-index: 1100; /* שיהיה מעל ה-navbar */
    }

    .nav-links.active { 
        left: 0; 
    }

    .nav-links li { 
        width: 100%; 
        text-align: center; 
    }

    /* כל השורה לחיצה ונוחה */
    .nav-links a { 
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 22px 20px;
        min-height: 55px;
        font-size: 1.3rem;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a::after { 
        display: none; 
    }

    .nav-links a:active { 
        background: rgba(255, 255, 255, 0.1); 
    }

    .menu-toggle { 
        display: flex; 
        flex-direction: column; 
        cursor: pointer; 
    }

    .bar { 
        width: 25px; 
        height: 3px; 
        background: white; 
        margin: 4px; 
    }

    .hero h1 { font-size: 2.2rem; padding: 0 10px; }
    .slide img { height: 350px; }
    .contact-links { grid-template-columns: 1fr; }
    .wa-large { grid-column: span 1; }
    .contact-box { padding: 30px 20px; border-right: 6px solid var(--main-blue); }
    .logo { font-size: 1.3rem; }
}


/* --- עיצוב אקורדיון שאלות ותשובות --- */
.accordion-container {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: right;
}

.faq-item {
    background: var(--white);
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 85, 115, 0.06);
    overflow: hidden;
    transition: var(--transition);
    border-right: 6px solid var(--main-blue); /* הפס הכחול שמדגיש את המלבן */
}

.faq-item summary {
    padding: 22px 25px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ביטול החץ המקורי בדפדפני ספארי וכרום */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* הוספת סימן פלוס בעיצוב נקי */
.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--logo-cyan); /* הצבע התכלת של הלוגו */
    transition: transform 0.3s ease;
    font-weight: 400;
}

/* שינוי למינוס כשהשאלה פתוחה */
.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 25px 25px 25px;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
    background-color: #fafafa;
}

/* ריחוף מעל המלבן */
.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 85, 115, 0.12);
    transform: scale(1.01);
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .faq-item summary {
        font-size: 1.1rem;
        padding: 18px;
    }
}

/* --- עיצוב אודות עם קו מפריד --- */
.about-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    text-align: right;
    padding: 40px 0;
}

/* טור הטקסט עם קו מפריד משמאלו */
.about-main-text {
    flex: 1.5;
    padding-right: 40px;
    /* יצירת הקו המפריד בצד שמאל של הטקסט */
    border-right: 2px solid var(--main-blue); 
}

.about-main-text h2 {
    margin-bottom: 25px;
    color: var(--main-blue);
}

.about-main-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* טור ה-V-ים */
.about-v-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v-card {
    background: var(--white);
    padding: 18px 22px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(0, 85, 115, 0.06);
    border-right: 6px solid var(--main-blue); /* הצבע הכחול של הכותרת */
    font-size: 1.05rem;
}

/* התאמה למובייל - הקו הופך לאופקי */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-main-text {
        padding-left: 0;
        border-left: none; /* מבטל את הקו האנכי */
        border-bottom: 2px solid var(--main-blue); /* מוסיף קו אופקי מתחת לטקסט */
        padding-bottom: 30px;
        width: 100%;
    }
}
/* --- כפתור שיתוף צף --- */
.share-floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* בצד שמאל כדי לא להתנגש עם הוואטסאפ אם יהיה בימין */
    width: 60px;
    height: 60px;
    background-color: var(--main-blue);
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.share-floating-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: var(--dark-blue);
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .share-floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 1.2rem;
    }
}