/*
* איצאב מתכות - עיצוב דף הבית
* גרסה: 1.0
* תאריך: 06/04/2025
*/

/* === Hero === */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 7rem;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    color: var(--light-text);
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* === שירותים === */
.services {
    background-color: var(--light-bg);
}

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

.service-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 3rem 2rem;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.6rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    color: var(--primary-color);
}

/* === אודות === */
.about {
    background-color: var(--light-text);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-description p {
    margin-bottom: 2rem;
}

/* === תהליך העבודה === */
.process {
    background-color: var(--light-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.process-step {
    background-color: var(--light-text);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin: 1rem 0 2rem;
}

/* === יתרונות === */
.benefits {
    background-color: var(--light-text);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.benefit-card {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    font-size: 3.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* === גלריה מקוצרת === */
.gallery-preview {
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-text);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-cta {
    text-align: center;
    margin-top: 4rem;
}

/* === המלצות לקוחות === */
.testimonials {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8rem 0;
}

.testimonials .section-title {
    color: var(--light-text);
}

.testimonials .section-title::after {
    background-color: var(--secondary-color);
}

.testimonial-slide {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4rem;
    margin: 2rem 0;
    display: none;
    /* כל הסליידים מוסתרים בתחילה */
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.8rem;
}

.author-name {
    font-weight: 600;
    text-align: left;
    font-size: 1.6rem;
}

.rtl .author-name {
    text-align: right;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.prev-testimonial,
.next-testimonial {
    background-color: transparent;
    border: 1px solid var(--light-text);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary-color);
}

/* === שאלות נפוצות === */
.faq {
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-text);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.8rem;
}

.faq-icon {
    font-size: 1.8rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    visibility: hidden;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 500px;
    visibility: hidden;
}

.faq-item.active .faq-icon i {
    transform: rotate(45deg);
}

/* === צור קשר === */
.contact {
    background-color: var(--light-text);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
}

.info-item {
    display: flex;
    margin-bottom: 3rem;
}

.info-icon {
    font-size: 2.4rem;
    color: var(--secondary-color);
    margin-left: 1.5rem;
}

.ltr .info-icon {
    margin-left: 0;
    margin-right: 1.5rem;
}

.info-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.6rem;
}

.form-group textarea {
    resize: vertical;
}

/* === מפה === */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Responsive === */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 3.6rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .testimonial-slide {
        padding: 2rem;
    }
}


/* Hero subtitle */
.hero-subtitle {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Service, benefit and process step titles */
.service-title, .benefit-title, .process-step-title, .gallery-item-title {
    display: block;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* About subtitle */
.about-subtitle {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* FAQ question text */
.faq-question-text {
    display: block;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Contact info label */
.info-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Footer heading */
.footer-heading {
    display: block;
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}