/* כללי */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    direction: rtl;
    background-color: #f5f5f5;
    color: #333;
}
/* מניעת גלילה אופקית */
body {
    margin: 0;
    overflow-x: hidden; /* מבטל גלילה אופקית */
}

/* טיפול באלמנטים גדולים מדי */
* {
    box-sizing: border-box; /* מבטיח שחישוב הרוחב כולל Padding ו-Border */
}

/* לסקשן הראשון */
.call-now {
    width: 100%; /* מוודא שהרקע לא חורג */
    overflow: hidden; /* מבטל Overflow */
}

/* סקשן 1: חייגו עכשיו */
.call-now {
    background: #0c4777; /* רקע כחול */
    color: white;
    text-align: center;
    padding: 95px 20px 60px;
    position: relative;
    overflow: hidden;
}

/* דמות האינסטלטור */
.plumber-image {
    position: relative;
    max-width: 200px;
    margin: 0 auto 70px;
}

.plumber-image img {
    width: 100%;
    height: auto;
    animation: plumberBounce 2s infinite ease-in-out;
}

/* כותרת ופרטים */
.call-now h1 {
    font-size: 36px;
    margin-bottom: 10px;
    animation: fadeIn 1.5s ease-in-out;
}

.call-now p {
    font-size: 18px;
    margin-bottom: 20px;
}

.call-now .call-details .call-button {
    display: inline-block;
    padding: 35px 60px; /* הגדלת הריפוד פי 3 */
    background-color: #ff9900;
    color: white;
    font-size: 50px; /* הגדלת גודל הטקסט פי 3 */
    text-decoration: none;
    border-radius: 80px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* צל יותר בולט */
    animation: pulse 2s infinite;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.call-now .call-details .call-button:hover {
    transform: scale(1.1); /* הגדלה קלה בהובר */
    background-color: #ff7700;
}

/* טיפות מים */
.water-drops {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.water-drops .drop {
    position: absolute;
    top: -50px;
    width: 10px;
    height: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: dropFall 2s infinite ease-in-out;
}

.water-drops .drop:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 3s;
}

.water-drops .drop:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
    animation-duration: 2.5s;
}

.water-drops .drop:nth-child(3) {
    left: 80%;
    animation-delay: 0.5s;
    animation-duration: 2.8s;
}

/* אנימציות */
@keyframes plumberBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes dropFall {
    0% {
        top: -50px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        top: 110%;
        opacity: 0;
    }
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .call-now h1 {
        font-size: 28px;
    }

    .call-now .call-details .call-button {
        font-size: 30px;
        padding: 20px 40px;
    }

    .plumber-image {
        max-width: 150px;
    }
}


/* סקשן 2: כותרת העסק */
.business-header {
    background: linear-gradient(135deg, #004080, #0078d7); /* רקע מעבר צבע */
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); /* עיצוב קצה תחתון */
}

/* תוכן הכותרת */
.business-header .title-content {
    position: relative;
    z-index: 2;
}

.business-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    animation: fadeIn 1.5s ease-in-out;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.business-header .subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

/* אפקט גלים */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background-size: cover;
    z-index: 1;
}

/* אנימציות */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .business-header h1 {
        font-size: 33px;
    }

    .business-header .subtitle {
        font-size: 18px;
    }
}


/* סקשן 3: קצת עליי */
.about-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f0f8ff, #ffffff); /* מעבר צבע עדין */
    position: relative;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%; /* מסגרת עגולה */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* צל עדין */
    animation: slideInLeft 1.5s ease-out; /* אנימציית כניסה */
}

.about-text h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 10px;
}

.about-text .underline {
    width: 60px;
    height: 4px;
    background: #ff9900;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.about-text ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
    font-size: 18px;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #333;
}

.about-text ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff9900;
    font-size: 20px;
    line-height: 1;
}


/* אנימציה לתמונה */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text ul {
        text-align: center;
    }
}

/* סקשן 4: צור קשר */
.contact-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff, #e6f7ff); /* מעבר צבע */
    text-align: center;
    position: relative;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #003366;
}

.contact-section .contact-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

/* טופס יצירת קשר */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    direction: rtl; /* מימין לשמאל */
    text-align: right; /* טקסט מיושר לימין */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #0078d7;
    box-shadow: 0 0 8px rgba(0, 120, 215, 0.3);
}

#contact-form textarea {
    height: 120px;
    resize: none;
}

/* כפתור שליחה */
.submit-button {
    padding: 15px 30px;
    background: #0078d7;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background: #005bb5;
    transform: scale(1.05);
}

/* תיבת הודעת הצלחה */
.success-popup {
    display: none; /* מוסתר כברירת מחדל */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* רקע כהה */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #ffffff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    animation: popup-scale 0.4s ease forwards;
}

.popup-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.close-button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background: #0078d7;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: #005bb5;
}

/* כפתור חיוג מתחת לטופס "שלח" */
.call-info-button {
    display: inline-block;
    margin-top: 20px; /* מרווח מעל הכפתור */
    padding: 15px 40px; /* ריפוד פנימי */
    font-size: 20px; /* גודל טקסט נוח */
    color: white; /* צבע טקסט */
    background-color: #0078d7; /* צבע רקע כחול */
    border: none; /* הסרת מסגרת ברירת מחדל */
    border-radius: 12px; /* פינות מעוגלות */
    text-decoration: none; /* ללא קו תחתון */
    text-align: center; /* יישור טקסט במרכז */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* צל */
    transition: background-color 0.3s ease, transform 0.2s ease; /* מעבר חלק */
}

/* אייקון בתוך הכפתור */
.call-info-button i {
    margin-right: 10px; /* רווח בין האייקון לטקסט */
    font-size: 24px; /* גודל אייקון */
}

/* אפקט ריחוף (Hover) */
.call-info-button:hover {
    background-color: #005bb5; /* צבע כהה יותר */
    transform: scale(1.1); /* הגדלה קלה */
}


/* אנימציות */
@keyframes popup-scale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .popup-content {
        width: 90%;
    }
}


/* סקשן השירותים שלנו */
.services-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f9f9f9, #e6f7ff);
    text-align: center;
}

.services-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #003366;
    text-transform: uppercase;
}

.services-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-item i {
    font-size: 50px;
    color: #0078d7;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    color: #666;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-item:hover i {
    color: #ff9900;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* סקשן ביקורות */
.reviews-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff); /* מעבר צבע */
    text-align: center;
    position: relative;
}

.reviews-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #003366;
    text-transform: uppercase;
}

.reviews-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.reviews-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.review-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    font-size: 18px;
    color: white;
    background-color: #0078d7;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-link i {
    margin-right: 5px;
    margin-left: 8px;
    font-size: 20px;
}

.review-link:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .review-link {
        font-size: 16px;
        padding: 10px 15px;
    }
}


/* כפתור WhatsApp צף */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.whatsapp-button i {
    color: white;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
}

/* כותרת תחתונה */
footer {
    text-align: center;
    background-color: #003366;
    color: white;
    padding: 20px 0;
}

.success-popup {
    display: none;
}
/* כפתור נגישות */
.accessibility-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.accessibility-button:hover {
    transform: scale(1.1);
    background-color: #005bb5;
}

/* תפריט הנגישות */
.accessibility-menu {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 999;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.accessibility-option {
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accessibility-option:hover {
    background-color: #e0e0e0;
}
.high-contrast {
    background-color: black;
    color: white;
}

.high-contrast a {
    color: yellow;
}
