/* ---------- ערכת צבעים ----------
   #111114 (כהה) | #34343A (אפור) | #A4161A (אדום כהה) | #D62828 (אדום) | #E5E5E5 (בהיר)
   ----------------------------------- */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Rubik', 'Arial', sans-serif;
}

body {
    background: #E5E5E5;
    color: #111114;
    line-height: 1.7;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip Link */
#skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    right: 0;
    z-index: 1000;
    text-align: center;
}
#skip-link:focus-within {
    position: relative;
    top: 0;
}
.skip-button {
    display: inline-block;
    background: #111114;
    color: #E5E5E5;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: bold;
    outline: 3px solid #D62828;
    outline-offset: 2px;
}

/* Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #D62828;
    outline-offset: 2px;
}

/* ---------- HEADER ---------- */
header {
    background: #111114;
    padding: 16px 0;
    border-bottom: 4px solid #D62828;
    color: #E5E5E5;
}

.header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.logo h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #E5E5E5;
    letter-spacing: -0.5px;
}
.logo h1 span {
    color: #D62828;
}
.logo p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 2px;
}

.header-contact {
    text-align: left;
    font-size: 1rem;
}
.header-contact i {
    color: #D62828;
    margin-left: 6px;
}
.header-contact .phone {
    font-weight: 700;
    color: #E5E5E5;
    font-size: 1.2rem;
}
.header-contact .hours {
    font-size: 0.8rem;
    color: #a0a0a0;
    display: block;
}
.header-contact .closed {
    color: #D62828;
    font-weight: 500;
}
.phone-row {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

/* ---------- HERO ---------- */
.hero {
    background: #E5E5E5;
    padding: 60px 0 50px;
    border-bottom: 1px solid #d0d0d0;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}
.hero-text {
    flex: 1 1 55%;
}
.hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #111114;
}
.hero-text h2 i {
    color: #D62828;
    margin-left: 8px;
}
.hero-text .tagline {
    font-size: 1.2rem;
    color: #34343A;
    margin-bottom: 25px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #d0d0d0;
}
.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-stats .stat i {
    font-size: 2rem;
    color: #D62828;
}
.hero-stats .stat .num {
    font-weight: 700;
    font-size: 1.5rem;
    color: #111114;
}
.hero-stats .stat .label {
    font-size: 0.85rem;
    color: #34343A;
    display: block;
}

.hero-image {
    flex: 1 1 35%;
    text-align: center;
}
.hero-image i {
    font-size: 9rem;
    color: #A4161A;
    opacity: 0.2;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 60px 0;
    background: #ffffff;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #111114;
}
.section-title i {
    color: #D62828;
    margin-left: 10px;
}
.section-sub {
    text-align: center;
    color: #34343A;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.service-card {
    background: #E5E5E5;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s ease;
    border: 1px solid #d0d0d0;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(164, 22, 26, 0.15);
    border-color: #A4161A;
}
.service-card i {
    font-size: 2.8rem;
    color: #D62828;
    margin-bottom: 15px;
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #111114;
}
.service-card p {
    color: #34343A;
    font-size: 0.95rem;
}

/* ---------- REVIEWS ---------- */
.reviews {
    background: #E5E5E5;
    padding: 60px 0;
}

.review-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px 40px;
    margin-bottom: 30px;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 10px 22px;
    border-radius: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #d0d0d0;
}
.review-badge .big {
    font-size: 2rem;
    font-weight: 700;
    color: #111114;
}
.review-badge .stars {
    color: #D62828;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.review-badge .count {
    color: #34343A;
}

.review-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}
.platform-item {
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d0d0d0;
    font-weight: 500;
    color: #111114;
}
.platform-item i {
    font-size: 1.1rem;
}
.small-count {
    font-size: 0.8rem;
    color: #34343A;
}

.review-quote {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 24px;
    border-right: 6px solid #D62828;
    color: #111114;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
}
.review-quote i {
    color: #D62828;
    margin-left: 8px;
}

/* ---------- ABOUT ---------- */
.about-content {
    padding: 60px 0;
    background: #ffffff;
}
.about-content .content-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #111114;
    background: #E5E5E5;
    padding: 35px 40px;
    border-radius: 24px;
    border: 1px solid #d0d0d0;
    line-height: 1.8;
}
.about-content .content-block i {
    color: #D62828;
    margin-left: 6px;
}
.about-content .content-block strong {
    color: #111114;
}

/* ---------- CONTACT ---------- */
.contact {
    background: #34343A;
    padding: 60px 0;
    color: #E5E5E5;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    flex: 1 1 40%;
    background: #111114;
    border-radius: 24px;
    padding: 30px 30px 35px;
    border: 1px solid #A4161A;
}
.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #E5E5E5;
}
.contact-info .detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.contact-info .detail i {
    width: 30px;
    font-size: 1.4rem;
    color: #D62828;
}
.contact-info .detail a,
.contact-info .detail span {
    color: #E5E5E5;
}
.contact-info .detail a:hover {
    color: #D62828;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.social-links a {
    font-size: 2rem;
    color: #b0b0b0;
    transition: 0.2s;
}
.social-links a:hover {
    color: #D62828;
    transform: scale(1.05);
}

.map-container {
    flex: 1 1 50%;
    min-height: 280px;
    background: #111114;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #A4161A;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

/* ---------- FOOTER ---------- */
footer {
    background: #111114;
    color: #b0b0b0;
    padding: 25px 0;
    border-top: 4px solid #D62828;
}
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
footer small {
    font-size: 0.9rem;
}
footer i {
    color: #D62828;
}
.footer-link {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 4px 8px;
}
.footer-link:hover {
    color: #D62828;
}
.footer-sep {
    color: #34343A;
}

/* ---------- MODALS ---------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 20, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}
.modal[hidden] {
    display: none;
}
.modal-content {
    background: #E5E5E5;
    max-width: 550px;
    width: 100%;
    border-radius: 24px;
    padding: 30px;
    border: 2px solid #A4161A;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFade 0.25s ease;
}
@keyframes modalFade {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-close {
    position: absolute;
    top: 12px;
    left: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #34343A;
    padding: 0 8px;
}
.modal-close:hover {
    color: #A4161A;
}
.modal-content h2 {
    color: #111114;
    margin-bottom: 16px;
}
.modal-content p,
.modal-content li {
    color: #111114;
    line-height: 1.6;
}
.modal-content ul {
    padding-right: 20px;
    margin: 12px 0;
}
.modal-confirm-close {
    margin-top: 20px;
    padding: 12px 35px;
    background: #D62828;
    color: #E5E5E5;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.modal-confirm-close:hover {
    background: #A4161A;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111114;
    color: #E5E5E5;
    padding: 20px 25px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
    z-index: 3000;
    border-top: 5px solid #D62828;
    direction: rtl;
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}
.cookie-content #cookie-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #D62828;
}
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.btn-primary {
    background: #D62828;
    color: #E5E5E5;
}
.btn-primary:hover {
    background: #A4161A;
    transform: scale(1.02);
}
.btn-secondary {
    background: #34343A;
    color: #E5E5E5;
}
.btn-secondary:hover {
    background: #555;
}
.btn-link {
    background: none;
    color: #D62828;
    text-decoration: underline;
    padding: 10px 12px;
}
.btn-link:hover {
    color: #ffffff;
}
.cookie-small {
    font-size: 0.8rem;
    color: #a0a0a0;
}
.cookie-small a {
    color: #D62828;
    text-decoration: underline;
}
.cookie-small a:hover {
    color: #fff;
}

/* ---------- RESPONSIVE (מובייל & טאבלט) ---------- */

/* טאבלטים ומסכים קטנים */
@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 2.2rem;
    }
    .hero-image i {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-contact {
        text-align: right;
        width: 100%;
    }
    .phone-row {
        justify-content: flex-start;
    }
    .logo h1 {
        font-size: 1.6rem;
    }

    .hero-text h2 {
        font-size: 1.9rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
        width: 100%;
    }
    .hero-stats .stat {
        justify-content: flex-start;
    }
    .hero-image i {
        font-size: 4.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .service-card {
        padding: 20px 15px;
    }

    .review-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .review-badge {
        justify-content: center;
    }
    .review-platforms {
        justify-content: center;
    }
    .review-quote {
        padding: 20px;
        font-size: 0.95rem;
    }

    .about-content .content-block {
        padding: 20px;
        font-size: 0.95rem;
    }

    .contact-grid {
        flex-direction: column;
    }
    .map-container {
        min-height: 200px;
    }
    .map-container iframe {
        min-height: 200px;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        text-align: center;
        justify-content: center;
    }
    .modal-content {
        padding: 20px;
        margin: 10px;
    }
}

/* טלפונים קטנים */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
    .hero-text h2 {
        font-size: 1.6rem;
    }
    .hero-text .tagline {
        font-size: 1rem;
    }
    .hero-stats .stat .num {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.7rem;
    }

    .contact-info {
        padding: 20px;
    }
    .contact-info .detail {
        font-size: 0.95rem;
        flex-wrap: wrap;
    }
    .social-links a {
        font-size: 1.6rem;
    }

    .cookie-content p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* נגישות - תנועה מופחתת */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}