/* עיצוב כללי */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* כותרת עליונה */
.header-banner {
    background-color: #fff; /* הפיכת הרקע ללבן מלא */
    color: black;
    padding: 20px 0;
    text-align: center;
}

.header-banner h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* תפריט ניווט */
.navbar {
    display: flex;
    justify-content: center; /* מרכז את הפריטים */
    align-items: center;
    background: #fff; /* שינוי רקע ללבן */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333; /* שינוי צבע הטקסט לשחור */
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ffcc00; /* שינוי צבע בהצבעה */
}

/* עיצוב גלריה */
.gallery-section h2 {
    margin: 0 auto 20px;
    max-width: 800px;
    text-align: center; /* מבטיח יישור למרכז */
    padding: 10px 0; /* ריווח פנימי */
    font-size: 2rem; /* גודל טקסט */
    color: #333; /* צבע טקסט */
    line-height: 1.5; /* מרווח בין השורות */
}

.gallery-section p {
    margin: 0 auto 20px;
    max-width: 800px;
    text-align: center; /* מבטיח יישור למרכז */
    padding: 5px 0; /* ריווח פנימי */
    font-size: 1.2rem; /* גודל טקסט */
    color: #555; /* צבע טקסט */
    line-height: 1.4; /* מרווח בין השורות */
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    justify-items: center; /* ממרכז את התמונות */
    align-items: center; /* ליישור מרכזי */
}

.gallery-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%; /* תמלא את העמודה */
    max-width: 800px; /* התאמה לגודל הדף */
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* שמירה על הגודל הטבעי */
    border-radius: 8px; /* שומר על פינות עגולות */
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* שירותים */
.services {
    margin: 40px 0;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-item {
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    color: #3a6186;
    margin-bottom: 10px;
}

/* קריאה לפעולה */
.cta-section {
    background: #3a6186;
    color: white;
    text-align: center;
    padding: 30px 20px; /* התאמת רווח פנימי */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px; /* מגביל את הרוחב של המסגרת */
    margin: 20px auto; /* מרכז את המסגרת */
}

.cta-button,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin: 10px 0; /* רווח אנכי אחיד */
    max-width: 300px; /* מגביל את רוחב הכפתורים */
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button {
    background-color: #007bff;
}

.cta-button:hover {
    background-color: #0056b3;
}

.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #1da851;
}

.cta-button i,
.whatsapp-button i {
    margin-left: 8px;
    font-size: 18px;
}

/* כפתורים קבועים */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

.fixed-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; /* גודל אחיד לכפתור */
    height: 70px;
    border-radius: 50%; /* צורה עגולה */
    text-decoration: none;
    background-color: #3a6186; /* צבע בסיס */
    color: white;
    font-size: 28px; /* גודל אייקון */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* הצללה קלה */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fixed-buttons a:hover {
    transform: scale(1.1);
    background-color: #555; /* שינוי צבע במעבר עכבר */
}

.fixed-buttons .phone-button {
    background-color: #3a6186;
}

.fixed-buttons .whatsapp-button {
    background: none; /* אין רקע */
    border: none; /* אין גבול */
    font-size: 70px; /* גודל האייקון */
    color: #25d366; /* צבע האייקון */
    width: auto; /* גודל מותאם לאייקון בלבד */
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* יישור לאמצע */
    transition: transform 0.3s ease, color 0.3s ease;
}

.fixed-buttons .whatsapp-button:hover {
    transform: scale(1.1); /* אפקט מעבר */
    color: #1da851; /* שינוי צבע בהצבעה */
}

/* טופס יצירת קשר */
.contact-section {
    background: white;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    color: #89253e;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background-color: #3a6186;
    color: white;
    font-weight: bold;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
    background-color: #89253e;
    transform: scale(1.05);
}

/* פוטר */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
}

/* גלובלי למובייל */
@media (max-width: 768px) {
    .cta-button,
    .whatsapp-button {
        width: 100%;
        padding: 12px;
        text-align: center;
    }

    .gallery-grid {
        flex-direction: column;
    }

    .navbar {
        justify-content: center;
    }
}

/* חלון קופץ עבור הגדלת תמונות */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 10%;
    right: 5%;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

