@charset "utf-8";

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    direction: rtl; /* יישור מימין לשמאל */
    text-align: center;
}


.main-content, .main-header, .footer-contact {
   
    margin: 0 auto;
    
}


.logo {
    display: block;
    margin: 20px auto;
    max-width: 250px;
    height: auto;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
       margin: 20px;
}

.text-section {
    background-color: #f9f9f9; /* כאן נגדיר את הרקע, לדוגמה אפור בהיר */
    padding: 40px 0; /* padding אנכי בלבד */
}

.text-container {
    padding: 0px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}
.text-section h2 {
    
    font-size: 2em;
    color: #004c8c;/
    margin-bottom: 10px;
}

.text-section p {
    font-size: 1.1em;
    letter-spacing: 0.2px; /* מוסיף רווח עדין בין האותיות */
    color: #555;
}
.gallery-section {
    padding: 40px 0;
}

.gallery-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #004c8c;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /
}

.gallery-pair {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* מאפשר לזוגות לעבור שורה במידה ואין מקום */
}

.gallery-item {
    width: 400px;
   
    object-fit: cover;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* התאמה למסכים קטנים (Responsive) */
@media (max-width: 900px) {
    .gallery-pair {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        width: 100%;
        height: auto;
    }
}

.footer-contact {
    background-color: #e2e2e2;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.contact-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.contact-icon {
    font-size: 1.5em;
   
}

.contact-info-container p {
    margin: 0;
}

.contact-info-container a {
    color: #004c8c;
    text-decoration: none;
    font-weight: bold;
}

.contact-info-container a:hover {
    text-decoration: underline;
}

/* התאמה למסכים קטנים (Responsive) */
@media (max-width: 768px) {
    .contact-info-container {
        flex-direction: column;
        align-items: center;
    }
}

    .gallery-image {
        width: 100%;
        height: auto;
    }
}