
.hero {
    height: 100vh;
    width: 100vw; /* רוחב מסך מלא מפורש */
    position: relative;
    background-color: #000000;
    
    /* הדרך הכי חזקה להגדיר רקע */
    background-image: url('../assets/images/studio/contact.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    
    margin-left: calc(-50vw + 50%); /* טריק שמוציא את האלמנט מה-Container אם הוא תקוע בפנים */
    margin-right: calc(-50vw + 50%);
    
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.hero-content {
    position: absolute; /* מוציא אותו מהזרימה כדי שלא יידחף מהניווט */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* מרכוז מתמטי מושלם */
    z-index: 10;
    width: 100vw; /* פריסה על פני כל רוחב המסך */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 650px; 
    max-width: 85vw; 
    height: auto; 
    position: relative;
    display: block;
    margin: 0 auto;
    animation: glitch-effect 2s steps(100) infinite;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
}

.hero-logo::before,
.hero-logo::after {
    content: "";
    background-image: url('../assets/logo/contact.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-logo::before {
    animation: glitch-vhs-blue 2s steps(100) infinite;
    z-index: -1;
}

.hero-logo::after {
    animation: glitch-vhs-red 2s steps(100) infinite;
    z-index: -2;
}

/* ביטול כל הגדרה שיכולה להזיז את ה-Container בתוך ה-Hero */
.hero .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-page {
    padding: 120px 20px;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
	margin-top: -50px;
}

.subtitle {
    color: #888;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* מעטפת הטופס - כאן קורה הקסם של ה-Glow */
.form-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.9); /* כהה יותר כדי להבליט את הגלואו */
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(51, 102, 255, 0.3);
    /* גלואו עדין כשהעכבר לא מעליו */
    box-shadow: 0 0 30px rgba(51, 102, 255, 0.1); 
    backdrop-filter: blur(15px);
    transition: all 0.5s ease; /* מעבר חלק לאפקט ההובר */
    position: relative; /* נחוץ עבור הבוהק הנוסף */
    z-index: 1;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    /* גלואו כחול חזק אבל שקוף כרגע */
    box-shadow: 0 0 60px rgba(51, 102, 255, 0.6);
    opacity: 0; /* מוסתר כברירת מחדל */
    transition: opacity 0.5s ease;
    z-index: -1; /* מאחורי הטופס */
}

/* --- אפקט ה-Hover על כל הטופס --- */
.form-wrapper:hover {
    transform: translateY(-5px); /* הרמה קלה */
    border-color: rgba(51, 102, 255, 0.8); /* הבלטת הגבול הכחול */
}

/* --- הפעלת הבוהק הבוהק ב-Hover --- */
.form-wrapper:hover::before {
    opacity: 1; /* חשיפת הגלואו החזק */
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* שורה כפולה לשם ומייל */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* עיצוב השדות */
input, select, textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3366ff;
    background: rgba(51, 102, 255, 0.05);
    box-shadow: 0 0 15px rgba(51, 102, 255, 0.3);
}

/* עיצוב ה-Select עצמו */
select {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff; /* הצבע של הטקסט שנבחר */
    font-size: 1rem;
    cursor: pointer;
    appearance: none; /* מסיר את החץ המובנה של הדפדפן כדי שנוכל לעצב */
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"24"%20height%3D"24"%20viewBox%3D"0%200%2024%2024" fill="none" stroke="%233366ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline%20points%3D"6%209%2012%2015%2018%209"><%2Fpolyline><%2Fsvg>'); /* מוסיף חץ כחול מעוצב */
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

/* התיקון הקריטי: עיצוב הרשימה שנפתחת (The Options) */
select option {
    background-color: #111; /* רקע כהה לרשימה */
    color: #fff; /* טקסט לבן לרשימה */
    padding: 10px;
}

/* למקרה שהדפדפן מתעקש על טקסט שחור ב-Hover */
select option:hover,
select option:focus {
    background-color: #3366ff;
}

/* עיצוב ה-Placeholder (האופציה הראשונה שהיא Select Service) */
select:invalid, 
select option[value=""] {
    color: #888;
}

/* כפתור עם גלואו חזק */
.submit-btn-glow {
    margin-top: 20px;
    padding: 20px;
    background: #3366ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(51, 102, 255, 0.4);
}

.submit-btn-glow:hover {
    background: #fff;
    color: #3366ff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translateY(-5px);
}

/* התאמה למובייל - חשוב! */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
}

/* --- FAQ SECTION - THE FINAL FIX WITH GLOW --- */
.faq-section {
    padding: 0 0 60px 0; /* צמצום המרווח מלמעלה */
    display: flex;
    justify-content: center;
	margin-top: -60px;
}

.faq-carousel {
    width: 850px; 
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
    padding: 30px 50px; /* צמצום Padding פנימי */
    background: rgba(10, 10, 10, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(51, 102, 255, 0.3);
    box-sizing: border-box;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.5s ease;
    z-index: 1;
}

/* אפקט ה-Glow (הילה כחולה) */
.faq-carousel::before {
    content: '';
    position: absolute;
    inset: 0; 
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(51, 102, 255, 0.4); /* ההילה הכחולה */
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

/* Hover Effect - מה קורה כשנוגעים עם העכבר */
.faq-carousel:hover {
    border-color: rgba(51, 102, 255, 0.8);
    transform: translateY(-2px); /* קפיצה קטנה למעלה למראה יוקרתי */
}

.faq-carousel:hover::before {
    opacity: 1; /* ה-Glow נדלק */
}

/* עיצוב התוכן המוזרק */
.faq-item {
    width: 100%;
    animation: fadeInFaq 0.6s ease;
}

.faq-question {
    color: #3366ff;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.faq-answer {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* נקודות ניווט */
.faq-dots {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #3366ff;
    box-shadow: 0 0 10px #3366ff;
}

@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    1% { transform: translate(-5px, 2px); }
    2% { transform: translate(3px, -1px); }
    3% { transform: translate(0); }
    10% { transform: translate(0); }
    11% { transform: scale(1.02); filter: blur(2px); } /* הבזק קטן */
    12% { transform: scale(1); filter: blur(0); }
    100% { transform: translate(0); }
}

/* אנימציה 2: עיוות כחול (VHS style) */
@keyframes glitch-vhs-blue {
    0% { transform: translate(0); visibility: hidden; }
    15% { transform: translate(-10px, 0); visibility: visible; }
    16% { transform: translate(10px, 0); visibility: visible; }
    17% { transform: translate(0); visibility: hidden; }
    100% { transform: translate(0); visibility: hidden; }
}

/* אנימציה 3: עיוות אדום (VHS style) */
@keyframes glitch-vhs-red {
    0% { transform: translate(0); visibility: hidden; }
    30% { transform: translate(10px, 0); visibility: visible; }
    31% { transform: translate(-10px, 0); visibility: visible; }
    32% { transform: translate(0); visibility: hidden; }
    100% { transform: translate(0); visibility: hidden; }
}
