/* קובץ CSS נוסף - נטע אדלר */
/* Copyright (C) 2025 MATO. All Rights Reserved. */

/* ===== ערכת צבעים חדשה - #E1CEBF ו-#9B6A6C ===== */

/* סקציה: About - רקע ורוד עתיק */
.about {
    background-color: #9b6a6c !important;
    color: white;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: nowrap;
}

.about h2,
.about h3,
.about p {
    color: white !important;
}

.about-text h2 {
    color: white !important;
}

.about .credential {
    color: white;
}

.about .credential i {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
}

.about-text {
    position: relative;
    padding: 35px;
    z-index: 1;
    flex: 1 1 55%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: -1;
}

.about-image-container {
    flex: 1 1 45%;
    max-width: 550px;
}

.about-image {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.5s ease;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* סקציה: Services - רקע בז' חם */
.services {
    background-color: #E1CEBF !important;
}

.services h2,
.services h3,
.services p {
    color: #3a3a3a;
}

.service-card {
    background-color: white;
    border: 1px solid rgba(155, 106, 108, 0.1);
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-icon {
    background-color: rgba(155, 106, 108, 0.15);
}

.service-icon i {
    color: #c89092; /* צבע בהיר יותר */
}

/* סקציה: Events - אירועים קרובים - רקע ורוד עתיק */
.events {
    background-color: #9b6a6c !important;
    color: white;
}

.events .section-title h2,
.events .section-title p {
    color: white !important;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.event-date {
    background: linear-gradient(135deg, #c89092 0%, #9b6a6c 100%);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

.event-day {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.event-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    color: #9b6a6c;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-description {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.event-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.event-location,
.event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.event-location i,
.event-time i {
    color: #c89092;
    font-size: 16px;
}

.event-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9b6a6c 0%, #c89092 100%);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 106, 108, 0.3);
    align-self: flex-start;
}

.event-btn:hover {
    background: linear-gradient(135deg, #8a5a5c 0%, #b07f81 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 106, 108, 0.4);
}

/* אירועים עם תמונות */
.event-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #c89092 0%, #9b6a6c 100%);
    color: white;
    text-align: center;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.event-date-overlay .event-day {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.event-date-overlay .event-month {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 1px;
}

/* כפתורים באירוע - לצד אחד */
.event-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-btn-secondary {
    background: linear-gradient(135deg, #E1CEBF 0%, #d4c0b0 100%);
    color: #3a3a3a;
    box-shadow: 0 4px 15px rgba(225, 206, 191, 0.3);
}

.event-btn-secondary:hover {
    background: linear-gradient(135deg, #d4c0b0 0%, #c8b3a0 100%);
    box-shadow: 0 6px 20px rgba(225, 206, 191, 0.4);
}

.event-btn i {
    margin-left: 8px;
}

/* תג "היום!" */
.today-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* כפתור צפייה באירועים שעברו */
.past-events-toggle {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.past-events-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.past-events-toggle i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* אירועים שעברו - עיצוב מעומעם */
.past-event {
    opacity: 0.85;
    position: relative;
}

.past-event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(155, 106, 108, 0.9) 0%, rgba(200, 144, 146, 0.9) 100%);
    color: white;
    padding: 8px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 3;
}

.past-event .event-btn {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        flex-wrap: wrap !important;
        flex-direction: column;
    }

    .about-text {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .about-image-container {
        flex: 1 1 100% !important;
        width: min(90vw, 400px) !important;
        height: min(90vw, 400px) !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .about-image {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1 !important;
    }

    .about-image img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        max-width: 100%;
    }

    .event-image {
        height: 200px;
    }

    .event-date-overlay {
        top: 10px;
        right: 10px;
        padding: 12px 16px;
    }

    .event-date-overlay .event-day {
        font-size: 30px;
    }

    .event-date-overlay .event-month {
        font-size: 14px;
    }

    .event-buttons {
        flex-direction: column;
    }

    .event-btn,
    .event-btn-secondary {
        width: 100%;
        text-align: center;
    }

    .past-events-toggle {
        font-size: 16px;
        padding: 12px 28px;
    }

    .today-badge {
        font-size: 12px;
        padding: 4px 12px;
    }

    .testimonials-image {
        margin: 15px auto;
        max-width: 280px;
    }

    .testimonials-image img {
        border-radius: 8px;
    }
}

/* סקציה: Testimonials - רקע בז' חם */
.testimonials {
    background-color: #E1CEBF !important;
}

.testimonials-image {
    margin: 25px auto;
    max-width: 350px;
    text-align: center;
}

.testimonials-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.testimonials h2,
.testimonials h3,
.testimonials p {
    color: #3a3a3a;
}

.testimonial {
    background-color: white;
    border: 1px solid rgba(155, 106, 108, 0.1);
}

.testimonial-author-image {
    background-color: rgba(155, 106, 108, 0.15);
}

.testimonial-author-image i {
    color: #c89092; /* צבע בהיר יותר */
}

/* סקציה: Contact - רקע ורוד עתיק */
.contact {
    background-color: #9b6a6c !important;
    color: white;
}

.contact h2,
.contact h3,
.contact h4,
.contact p {
    color: white !important;
}

.contact-info-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-info-icon i {
    color: white;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
}

.contact-form label {
    color: white;
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #3a3a3a;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(58, 58, 58, 0.6);
}

.contact-form .btn-submit {
    background-color: white;
    color: #9b6a6c;
    border: none;
}

.contact-form .btn-submit:hover {
    background-color: #E1CEBF;
    color: #9b6a6c;
}

.social-links a {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Navbar - רקע בז' */
.navbar {
    background-color: rgba(225, 206, 191, 0.95);
}

.navbar.scrolled {
    background-color: rgba(225, 206, 191, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-links a {
    color: #3a3a3a;
}

.navbar-links a:hover {
    color: #9b6a6c;
}


/* תיקון hero-image - עיגול תמיד */
.hero-image img {
    border-radius: 50% !important;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .hero-text {
        max-width: 100% !important;
        text-align: center !important;
    }

    .hero-image {
        flex: none !important;
        width: min(90vw, 400px) !important;
        height: min(90vw, 400px) !important;
        max-width: 400px !important;
        max-height: 400px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
        border-radius: 50% !important;
    }

    .hero-image::after {
        display: none !important;
    }

    .hero-image img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    /* תיקון טופס יצירת קשר במובייל */
    .contact-content {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .contact-info,
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .contact-form {
        padding: 30px 20px !important;
    }
}

/* Footer */
.footer {
    background-color: #9b6a6c;
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: white;
}

.footer-content p {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Section Titles - כותרות סקציות */
.section-title h2::after {
    background-color: #c89092; /* צבע בהיר יותר */
}

.about .section-title h2::after,
.contact .section-title h2::after,
.events .section-title h2::after {
    background-color: white;
}

/* CTA Section */
.cta-content h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    background-color: white !important;
    color: #9b6a6c !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 12px 28px;
}

.cta-button:hover {
    background-color: #E1CEBF !important;
    color: #9b6a6c !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-text, .about-image-container {
        flex: 1 1 100%;
    }

    .about-image {
        margin: 0 auto;
        max-width: 80%;
    }

    .hero-text {
        padding: 25px;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}
