@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700;900&display=swap');

:root {
    --primary: #003366;       /* כחול עמוק ומכובד יותר */
    --primary-hover: #004080;
    --accent: #d4af37;        /* זהב יוקרתי */
    --highlight: #00c3ff;     /* טורקיז מודרני */
    --text-dark: #1a1a1a;     /* שחור-אפור לטקסט על רקע בהיר */
    --text-light: #ffffff;    /* לבן לטקסט על רקע כהה */
    --bg-light: #F5F7FA;      /* רקע בהיר ונקי */
    --white: #ffffff;
    --shadow: 0 15px 40px rgba(0, 40, 80, 0.1); /* צללית רכה ועמוקה */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Heebo', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-dark); /* ברירת מחדל: טקסט כהה */
    direction: rtl; 
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- תפריט ניווט --- */
.navbar {
    position: fixed; top: 0; width: 100%; height: 90px;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.logo { font-size: 2rem; font-weight: 900; letter-spacing: 1px; color: var(--primary); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--highlight); }

.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 1.1rem; transition: 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--highlight); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 3px; background: var(--highlight); transition: 0.3s; }
.nav-links a:hover::after { width: 100%; }

.btn-meeting { 
    background: linear-gradient(135deg, var(--primary), #00509d); color: #fff; 
    padding: 12px 30px; border-radius: 50px; font-weight: bold; text-decoration: none; 
    box-shadow: 0 5px 15px rgba(0, 50, 100, 0.3); transition: 0.3s; border: none; cursor: pointer; 
}
.btn-meeting:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 50, 100, 0.5); }

/* --- HERO SECTION (דף הבית) --- */
.hero {
    height: 100vh; display: flex; align-items: center; padding: 0 5%; 
    position: relative; overflow: hidden; color: var(--text-light);
    background: #020a13; /* רקע גיבוי שחור */
}
.video-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero-video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* גרדיאנט כהה חזק כדי שהטקסט יבלוט מעל הוידאו */
    background: linear-gradient(to right, rgba(2, 10, 19, 0.95) 0%, rgba(2, 10, 19, 0.4) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding-top: 80px; }
.hero h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 900; text-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.hero p { font-size: 1.5rem; color: #e0e0e0; margin-bottom: 40px; max-width: 650px; }
.badge { 
    display: inline-block; padding: 8px 20px; background: rgba(0, 195, 255, 0.15); 
    border: 1px solid var(--highlight); color: var(--highlight); border-radius: 50px; 
    font-weight: bold; margin-bottom: 25px; letter-spacing: 1px; text-transform: uppercase;
}
.btn-outline-hero {
    padding: 12px 30px; border: 2px solid var(--white); color: var(--white);
    border-radius: 50px; text-decoration: none; font-weight: bold; transition: 0.3s;
    background: transparent; cursor: pointer;
}
.btn-outline-hero:hover { background: var(--white); color: var(--primary); }

/* --- PAGE HEADER (התיקון לדפים הפנימיים!) --- */
.page-header {
    height: 50vh;
    margin-top: 90px;
    /* רקע כהה מאוד ועשיר */
    background: linear-gradient(135deg, #010a1a 0%, #002B5B 100%);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    color: var(--text-light); /* טקסט לבן */
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.2);
}
/* הוספת טקסטורה עדינה לרקע */
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 195, 255, 0.05), transparent 60%);
    opacity: 0.8;
}
.page-header h1 { font-size: 4rem; margin-bottom: 15px; font-weight: 900; z-index: 1; text-shadow: 0 5px 10px rgba(0,0,0,0.3); }
.page-header p { font-size: 1.4rem; opacity: 0.9; max-width: 700px; font-weight: 400; z-index: 1; }

/* --- SECTIONS & CARDS --- */
.section { padding: 100px 5%; background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { font-size: 3.5rem; margin-bottom: 15px; color: var(--primary); font-weight: 900; }
.section-title p { color: #666; font-size: 1.2rem; max-width: 800px; margin: 0 auto; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.glass-card {
    background: var(--white); padding: 40px; border-radius: 20px;
    box-shadow: var(--shadow); transition: 0.4s; text-align: center;
    border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden;
}
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0, 40, 80, 0.2); border-bottom: 4px solid var(--highlight); }
.glass-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 15px; margin-bottom: 25px; }
.card-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 25px; }
.glass-card h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--primary); }
.glass-card p { color: #555; font-size: 1.1rem; }

/* --- CLIENTS & PROJECTS --- */
.client-case-study {
    background: var(--white); border-radius: 20px; overflow: hidden; 
    box-shadow: var(--shadow); transition: 0.3s; border: 1px solid rgba(0,0,0,0.03);
}
.client-case-study:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.case-media img, .case-media video { width: 100%; height: 280px; object-fit: cover; }
.case-content { padding: 35px; }
.case-content h3 { font-size: 1.6rem; color: var(--primary); margin-bottom: 10px; }
.stat-pill { 
    display: inline-block; padding: 5px 15px; background: rgba(0, 51, 102, 0.1); 
    color: var(--primary); border-radius: 50px; font-size: 0.9rem; font-weight: bold; margin-bottom: 15px;
}

/* --- REVIEWS --- */
.review-card {
    background: var(--white); padding: 40px; border-radius: 20px; 
    box-shadow: var(--shadow); position: relative; border-right: 4px solid var(--accent);
}
.stars { color: var(--accent); margin-bottom: 15px; font-size: 1.2rem; }
.review-text { font-style: italic; font-size: 1.15rem; color: #444; margin-bottom: 25px; }
.reviewer { display: flex; align-items: center; gap: 15px; }
.reviewer img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- LOGO STRIP --- */
.client-logo-strip { padding: 60px 0; background: var(--white); overflow: hidden; }
.logo-track { display: flex; width: calc(200px * 14); animation: scroll 35s linear infinite; }
.c-logo { width: 200px; display: flex; justify-content: center; opacity: 0.4; filter: grayscale(100%); transition: 0.3s; }
.c-logo:hover { opacity: 1; filter: grayscale(0); transform: scale(1.05); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 7)); } }

/* --- FOOTER --- */
footer { background: #010a1a; color: var(--text-light); padding: 80px 5% 30px; text-align: center; }
.footer-logo { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; display: block; color: var(--white); }
.social-links a { color: #888; font-size: 1.5rem; margin: 0 15px; transition: 0.3s; }
.social-links a:hover { color: var(--highlight); }

/* --- MOBILE & MODAL (נשארים דומים) --- */
.mobile-toggle { display: none; font-size: 2rem; color: var(--primary); cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; background: var(--white); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: 0.5s; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { font-size: 2rem; margin: 15px 0; color: var(--primary); text-decoration: none; font-weight: 900; }
.mobile-close { position: absolute; top: 30px; right: 30px; font-size: 2.5rem; cursor: pointer; color: var(--primary); }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 3000; display: none; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; backdrop-filter: blur(5px); }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box { background: var(--white); padding: 50px; border-radius: 20px; width: 90%; max-width: 500px; position: relative; transform: scale(0.9); transition: 0.3s; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-overlay.active .modal-box { transform: scale(1); }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #999; }
.contact-form input, .contact-form select { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; font-size: 1rem; background: #f9f9f9; }
.contact-form input:focus, .contact-form select:focus { outline: none; border-color: var(--primary); background: #fff; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-links, .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 3.5rem; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .btn-outline-hero { width: 100%; text-align: center; }
    .grid-cards { grid-template-columns: 1fr; }
    .page-header { height: 40vh; margin-top: 90px; }
    .page-header h1 { font-size: 2.8rem; }
}
/* --- עיצוב מיוחד לדף צור קשר --- */

.contact-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* צד המידע */
.contact-info { flex: 1; padding-top: 20px; }
.contact-info h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.contact-info p { margin-bottom: 40px; font-size: 1.1rem; }

.info-item {
    display: flex; align-items: center; gap: 20px; margin-bottom: 30px;
    background: #fff; padding: 20px; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: 0.3s;
}
.info-item:hover { transform: translateX(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.icon-circle {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), #00509d);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; box-shadow: 0 5px 15px rgba(0, 43, 91, 0.3);
}

.info-item h4 { margin: 0; font-size: 1.1rem; color: var(--text-dark); }
.info-item span { color: var(--text-gray); font-size: 1rem; }

/* צד הטופס */
.contact-form-wrapper { flex: 1; border-top: 5px solid var(--highlight); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.modern-input {
    width: 100%; padding: 15px; margin-bottom: 15px;
    background: #f4f7f6; border: 1px solid #e0e0e0; border-radius: 8px;
    font-size: 1rem; transition: 0.3s; color: var(--text-dark); font-family: inherit;
}
.modern-input:focus {
    background: #fff; border-color: var(--primary); outline: none;
    box-shadow: 0 0 0 4px rgba(0, 43, 91, 0.1);
}

/* מפה */
.map-section {
    width: 100%; height: 450px; margin-top: 50px; filter: grayscale(100%) invert(90%) contrast(1.2);
    border-top: 5px solid var(--primary);
}
.map-section iframe { width: 100%; height: 100%; border: 0; }

/* רספונסיבי לדף קשר */
@media (max-width: 900px) {
    .contact-container { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .map-section { height: 300px; }
}