/*
   -------------------------------------------------
   טיפוגרפיה - Secular One בכל האתר (כותרות וטקסט כאחד)
   -------------------------------------------------
*/

/* משתני מערכת לעיצוב אחיד */
:root {
    --bg-color: #0d0d0f;
    --surface-color: #161619;
    --text-color: #f4f4f5;
    --text-muted: #a1a1a6;
    --accent-color: #ad8619;
    --accent-soft: rgba(173, 134, 25, 0.35);
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

    --font-heading: 'Secular One', sans-serif;
    --font-body: 'Secular One', sans-serif;
}

/* נגישות */
.skip-link {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    z-index: 1000;
    font-weight: bold;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* איפוס */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.15rem;
    overflow-x: hidden;
    font-weight: 400;
}
body.nav-open { overflow: hidden; }

/* טיפוגרפיה למראה מגזין */
.serif-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    /* Secular One נטען רק במשקל 400 (אין לו גרסת בולד אמיתית) - לכן משקל 800
       גרם לדפדפן "לזייף" בולד (עיבוי מלאכותי של האותיות), מה שנראה עבה/כבד
       מדי בעברית. במשקל הרגיל (400) הכותרות עדיין בולטות בזכות הגודל. */
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: 0;
    text-wrap: balance;
}
.accent-text { color: var(--accent-color); font-family: var(--font-heading); font-style: normal; font-weight: inherit; }
.center-text { text-align: center; }
.max-width-title { max-width: 800px; margin: 0 auto 50px; }

/* פריסה כללית */
.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.narrow-container { max-width: 900px; margin: 0 auto; }
.section-padding { padding: 140px 0; }
.dark-bg { background-color: var(--surface-color); }

/* --- Header --- */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    /* z-index גבוה בכוונה (לא רק "יותר מהרגיל"): ה-nav-overlay של תפריט המובייל
       הוא DIV אח (sibling) של ה-header, לא ילד שלו - ולכן ה-z-index הפנימי
       הגבוה של nav ul (200) לא באמת "מנצח" בהשוואה מול nav-overlay ברמת ה-body,
       אלא רק ביחס לשאר האלמנטים שבתוך ה-header עצמו. כל עוד ל-header יש
       z-index נמוך מ-nav-overlay, כל מה שבתוך ה-header (כולל התפריט!) מצטייר
       *מתחת* לשכבת ה-nav-overlay השחורה-שקופה - זה בדיוק מה שגרם לתפריט המובייל
       להיראות "מטושטש"/דהוי: לא היה שום blur אמיתי, פשוט שכבה שחורה ב-82%
       שקיפות שכיסתה את כל התפריט. פתרון: header חייב לצייר מעל nav-overlay. */
    z-index: 300;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
/* שכבת הרקע המטושטש כפסאודו-אלמנט נפרד (ולא ישירות על .main-header) - חשוב:
   backdrop-filter/filter ישירות על אלמנט הורה הופך אותו ל"containing block" עבור
   ילדים עם position:fixed (כמו פאנל התפריט המובייל), מה שגורם לתפריט "להיעלם" -
   כך הרקע המטושטש נשאר זהה ויזואלית בלי לשבור את מיקום התפריט הנייד. */
.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    /* שקיפות אמיתית לאפקט זכוכית - הרקע (תמונת/וידאו הגיבור) נשקף מבעד לטשטוש */
    background: rgba(13, 13, 15, 0.55);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
/* בזמן שהתפריט הנייד פתוח מכבים את הטשטוש בהאדר - כמה דפדפני מובייל מתקשים
   ברינדור נכון של שני אלמנטים עם backdrop-filter חופפים על המסך בו-זמנית */
body.nav-open .main-header::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(13, 13, 15, 0.9); }
.header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    max-width: 1600px;
    margin: 0 auto;
}
.header-container nav { flex: 1; display: flex; justify-content: center; }
.logo-wrapper { display: flex; align-items: center; }
.logo-placeholder {
    width: 140px; height: 50px;
    border: 1px dashed var(--accent-color);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-color); font-size: 0.9rem;
}
.logo-placeholder.small { width: 100px; height: 40px; margin: 0 auto 20px; }
.logo-img { max-height: 82px; width: auto; display: block; }
.logo-img.small { max-height: 42px; margin: 0 auto 20px; }

/* כפתורי פעולה מהירה בהאדר (חיוג + וואטסאפ) - שולחן עבודה בלבד */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition);
}
.header-action-btn:hover, .header-action-btn:focus-visible {
    background: var(--accent-color);
    color: #0d0d0f;
    transform: translateY(-3px);
}

nav ul { display: flex; list-style: none; gap: 40px; justify-content: center; }
nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}
nav ul li a:hover { color: var(--accent-color); }
nav ul li a::after {
    content: ''; position: absolute;
    width: 0; height: 2px;
    background: var(--accent-color);
    bottom: 0; right: 0;
    transition: var(--transition);
}
nav ul li a:hover::after { width: 100%; }

/* כפתור המבורגר ייחודי: עיגול עם מסגרת זהב (תואם לשפה העיצובית של אייקוני הרשתות בפוטר),
   קו אמצעי קצר יותר לאפקט א-סימטרי, וסיבוב 90° של כל הכפתור בשילוב הפיכה ל-X בעת הפתיחה */
.mobile-menu-btn {
    display: none;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-color);
    background: rgba(173, 134, 25, 0.08);
    padding: 0;
    cursor: pointer;
    z-index: 210;
    transition: transform 0.5s cubic-bezier(0.68, -0.4, 0.27, 1.4), background-color 0.4s ease;
}
.mobile-menu-btn .burger-line {
    position: absolute;
    right: 14px;
    width: 22px;
    height: 2.5px;
    border-radius: 3px;
    background: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.68, -0.4, 0.27, 1.4), opacity 0.25s ease, background-color 0.3s ease;
}
.mobile-menu-btn .burger-line:nth-child(1) { top: 17px; }
.mobile-menu-btn .burger-line:nth-child(2) { top: 24px; width: 15px; }
.mobile-menu-btn .burger-line:nth-child(3) { top: 31px; }
.mobile-menu-btn[aria-expanded="true"] {
    background: var(--accent-color);
    transform: rotate(90deg);
}
.mobile-menu-btn[aria-expanded="true"] .burger-line { background: #0d0d0f; }
.mobile-menu-btn[aria-expanded="true"] .burger-line:nth-child(1) { top: 24px; width: 22px; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn[aria-expanded="true"] .burger-line:nth-child(3) { top: 24px; width: 22px; transform: rotate(-45deg); }

/* --- Hero --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #000;
    overflow: hidden;
}

/* הגדרות הסליידר ואנימציות המעבר המיוחדות */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
}
/* שקופית מסוג וידאו (תג video ולא div עם background-image) - אותו מיקום/מעברים
   בדיוק כמו שאר השקופיות, רק שה"כיסוי" של השטח נעשה עם object-fit ולא background. */
.video-slide {
    object-fit: cover;
    object-position: center;
}

.slide.prev {
    opacity: 1;
    z-index: 1;
    animation: slideOut 1.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    animation: slideIn 1.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
/* התמונה הראשונה שנטענת עם הדף (סומנת ע"י ה-JS מיד עם עליית הדף) לא צריכה
   לעבור את אנימציית הכניסה - היא אמורה פשוט "להיות שם" כבר מהרגע הראשון,
   ולא להיטען/להיטשטש מול העין של המשתמש. האנימציה עצמה נשארת פעילה כרגיל
   בכל מעבר הבא בין שקופיות (JS מסיר את המחלקה הזו לפני התחלופה הראשונה). */
.slide.active.no-anim {
    animation: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1) translateX(0);
    filter: blur(0px) brightness(1);
}

@keyframes slideOut {
    0% {
        transform: scale(1);
        filter: brightness(1) grayscale(0%);
    }
    100% {
        transform: scale(1.1) translateX(-30px);
        filter: brightness(0.3) grayscale(80%);
    }
}

@keyframes slideIn {
    0% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        transform: scale(1.3) translateX(30px);
        filter: blur(15px) brightness(1.5);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: scale(1) translateX(0);
        filter: blur(0px) brightness(1);
    }
}

/* שכבת ההחשכה */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 3;
}

.hero-content {
    text-align: center;
    z-index: 4;
    padding: 0 20px;
    position: relative;
}
.hero-logo {
    max-height: clamp(90px, 12vw, 160px);
    width: auto;
    margin: 0 auto 30px;
    display: block;
    /* הופך את הלוגו (בכל צבע מקורי) לסילואטה לבנה נקייה על רקע הגיבור הכהה */
    filter: brightness(0) invert(1);
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.8);
    line-height: 1.05;
    text-wrap: balance;
}
.hero-content p {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 1px 2px 10px rgba(0,0,0,0.8);
}
.btn {
    display: inline-block;
    padding: 15px 45px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}
.btn:hover, .btn:focus {
    background: rgba(13, 13, 15, 0.8);
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

/* --- About --- */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.split-text { display: flex; flex-direction: column; justify-content: center; }
.split-text p { margin-bottom: 20px; color: var(--text-muted); font-size: 1.2rem; }
.split-text strong { color: var(--text-color); font-weight: 400; font-family: var(--font-heading); font-size: 2rem; font-style: italic;}

/* תמונת הפורטרט - ללא מסגרת/זוהר מאחור, צמודה ממש לתחתית האיזור (עד קצה ה-padding התחתון של הסקשן)
   כדי שהחיתוך בתחתית התמונה ייראה מכוון ולא ישאיר רווח ריק מתחת. ה-margin-bottom השלילי שווה בדיוק
   ל-padding התחתון של .section-padding כדי שהתמונה תיגע בדיוק בקצה הסקשן, לא מעבר לו.
   במסכים רחבים (ראו מדיה-קוורי בהמשך) הגובה נמתח כדי להתאים בדיוק לגובה טור הטקסט - כך התמונה
   לעולם לא "נמוכה" מהטקסט, והרוחב מחושב אוטומטית לפי יחס הממדים 3:4. */
.split-image {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -140px;
}
.portrait-frame {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    align-self: stretch;
    min-height: 720px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}
.about-portrait-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* --- Portfolio: רוחב מלא של המסך --- */
.portfolio-section { padding-left: 0; padding-right: 0; overflow: hidden; }
.portfolio-section .container { margin-bottom: 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 50px;
    width: 100%;
}
.portfolio-item {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    background: #000;
}
.portfolio-img-placeholder {
    width: 100%; height: 100%;
    background: #2a2a2d;
    display: flex; align-items: center; justify-content: center;
    color: #555;
    filter: grayscale(100%);
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease;
}
.portfolio-item:hover .portfolio-img-placeholder,
.portfolio-item:focus-visible .portfolio-img-placeholder {
    transform: scale(1.08);
    filter: grayscale(0%);
}
/* תמונה אמיתית בתיק העבודות (תג img) - אותו אפקט בדיוק כמו הפלייסהולדר:
   נטענת בגווני אפור ובהובר עוברת לצבע מלא עם זום עדין. */
.portfolio-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    background: #2a2a2d;
    filter: grayscale(100%);
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease;
}
.portfolio-item:hover .portfolio-img,
.portfolio-item:focus-visible .portfolio-img {
    transform: scale(1.08);
    filter: grayscale(0%);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 15, 0.95) 0%, rgba(13, 13, 15, 0.1) 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 22px;
    opacity: 0;
    transition: all 0.5s ease;
    border: 2px solid transparent;
    border-radius: 12px;
}
.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus-visible .portfolio-overlay {
    opacity: 1;
    border-color: var(--accent-color);
}
.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:focus-visible .portfolio-overlay h3 {
    transform: translateY(0);
}

/* --- Articles --- */
.article-block {
    text-align: center;
    margin-bottom: 60px;
}
.article-block p {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.separator {
    width: 2px;
    height: 80px;
    background: var(--accent-color);
    margin: 60px auto;
    opacity: 0.5;
}

/* --- 4 Cubes --- */
.cubes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.cube {
    background: var(--bg-color);
    padding: 60px 35px 40px;
    border-radius: 16px;
    border-bottom: 4px solid transparent;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.03);
    overflow: hidden;
}
.cube:hover {
    border-bottom-color: var(--accent-color);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(22, 22, 25, 0.8);
}
.cube-number {
    position: absolute;
    top: 5px; right: 15px;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 900;
    font-size: 8rem;
    line-height: 1;
    color: rgba(173, 134, 25, 0.12);
    transition: color 0.5s ease;
    z-index: 1;
}
.cube:hover .cube-number {
    color: rgba(173, 134, 25, 0.3);
}
.cube h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 2;
}
.cube p {
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    overflow: hidden;
    background-color: var(--surface-color);
    border-top: 1px solid rgba(173, 134, 25, 0.15);
    border-bottom: 1px solid rgba(173, 134, 25, 0.15);
    text-align: center;
}
/* וידאו רקע: קליפ קצר ורציף שרץ בלולאה, קשור לצילום/סטודיו */
.cta-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* שכבת החשכה מעל הוידאו - כדי שהטקסט והכפתור תמיד יהיו קריאים וברורים */
.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(13, 13, 15, 0.88) 0%, rgba(13, 13, 15, 0.78) 45%, rgba(13, 13, 15, 0.92) 100%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-text {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 45px;
    background-color: var(--accent-color);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(173, 134, 25, 0.25);
}
.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.whatsapp-btn:hover, .whatsapp-btn:focus-visible {
    background-color: rgba(13, 13, 15, 0.85);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(173, 134, 25, 0.35);
    color: var(--accent-color);
}

/* --- Footer --- */
.main-footer {
    background: #08080a;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
/* שורה עליונה: 4 עמודות (ניווט / משפטי / יצירת קשר / לוגו+רשתות) */
.footer-top {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    text-align: right;
}
.footer-heading {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 14px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 36px; height: 2px;
    background: var(--accent-color);
}
/* פשוט ועמיד: יישור ימני רגיל (ולא flex על כל קישור) - פחות שכבות, פחות מקום לתקלות רינדור */
.footer-menu, .footer-contact-list { list-style: none; }
/* עמודת "אזורי שירות" בפוטר - 22 ערים (צפון + מרכז) בשני טורים פנימיים, 11 בכל טור
   (grid-auto-flow: column ממלא טור ראשון מלמעלה למטה, ואז את הטור השני,
   ולא לסירוגין כמו ברירת המחדל של גריד). */
.footer-menu-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(11, auto);
    grid-auto-flow: column;
    column-gap: 16px;
}
.footer-menu li, .footer-contact-list li { margin-bottom: 12px; }
.footer-menu li:last-child, .footer-contact-list li:last-child { margin-bottom: 0; }
.footer-menu a,
.footer-contact-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}
.footer-menu a:hover,
.footer-contact-list a:hover { color: var(--accent-color); }
.footer-contact-list a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact-list i { color: var(--accent-color); font-size: 0.95rem; width: 16px; text-align: center; }
.footer-col-brand { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.footer-logo-img { max-height: 55px; width: auto; }
.footer-socials { display: flex; gap: 14px; }
/* אייקונים ייחודיים לרשתות החברתיות - עיגול קו-מתאר זהב עם מילוי אנימטיבי בהובר */
.social-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-color);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.social-icon svg {
    width: 19px; height: 19px;
    fill: currentColor;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}
.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}
.social-icon:hover::before,
.social-icon:focus-visible::before { transform: translateY(0); }
.social-icon:hover,
.social-icon:focus-visible {
    color: #0d0d0f;
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(173, 134, 25, 0.35);
}
.social-icon:hover svg { transform: scale(1.12) rotate(-6deg); }
/* שורה תחתונה: זכויות יוצרים (ימין) + קרדיט פיתוח (שמאל) */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.footer-credit a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-credit a:hover { color: var(--accent-color); }

/* --- עמודי גלריה פנימיים --- */
.page-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: var(--surface-color);
    border-bottom: 1px solid rgba(173, 134, 25, 0.15);
}
.page-hero p {
    color: var(--text-muted);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}
.back-link:hover { gap: 14px; }

/* --- עמודי תוכן משפטי/נגישות --- */
.legal-content h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 45px 0 18px;
}
.legal-content p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1.05rem;
}
.legal-content a { color: var(--accent-color); }
.legal-content .back-link { margin-top: 40px; }
.legal-content ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.legal-content ul li {
    position: relative;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    padding-right: 24px;
    margin-bottom: 10px;
}
.legal-content ul li::before {
    content: "";
    position: absolute;
    right: 4px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.gallery-item {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--surface-color);
    border: 1px dashed rgba(173, 134, 25, 0.4);
    cursor: default;
    padding: 0;
}
.gallery-item.has-photo {
    cursor: zoom-in;
    border: none;
    transition: box-shadow 0.5s ease;
}
.gallery-item.has-photo:hover {
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--accent-color);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    /* בברירת מחדל התמונה בגווני אפור - במעבר עכבר היא "מתעוררת" לצבע מלא
       יחד עם זום עדין וקצת בהירות נוספת, לאפקט חשיפה דרמטי. */
    filter: grayscale(100%) brightness(0.88);
    transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.9s ease;
}
.gallery-item.has-photo:hover img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1.04);
}
.gallery-placeholder-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    padding: 20px;
}

/* --- תיבת הגדלה (Lightbox) --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 6, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 40px;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
    position: absolute;
    top: 25px;
    left: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}
.lightbox-close:hover { color: var(--accent-color); }

/* --- אנימציות גלילה --- */
.hidden-element {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.show-element { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- מובייל --- */
@media (max-width: 992px) {
    .split-content { grid-template-columns: 1fr; gap: 40px; }
    .split-text { order: 2; text-align: center; }
    .split-image { order: 1; margin-bottom: 0; }
    .portrait-frame { min-height: 0; aspect-ratio: 3/4; max-width: 480px; align-self: auto; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    /* מספר קטגוריות אי-זוגי: הפריט האחרון תופס שורה שלמה במקום להישאר לבד */
    .portfolio-grid .portfolio-item:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    .header-container { padding: 15px 20px; }
    .header-actions { display: none; }

    /* תפריט מובייל - פאנל אוף-קאנבאס נפתח מהצד עם אנימציה ייעודית, ולא תפריט נפתח רגיל.
       הכפתור מקבל position:fixed ומוצא לגמרי מחוץ לזרימת ה-flex של ההאדר - כי ה-nav
       הריק (התוכן שלו הופך ל-fixed בפני עצמו) היה משאיר "חור" שדוחף את הכפתור לאמצע. */
    .mobile-menu-btn {
        display: block;
        position: fixed;
        top: 15px;
        left: 20px;
    }
    /* בלי backdrop-filter כאן בכוונה: שני אלמנטי טשטוש חופפים על המסך (הרקע הזה +
       הטשטוש בהאדר) גרמו לבאג רינדור בדפדפני מובייל מסוימים שבו התפריט כולו נעלם
       מאחורי טשטוש אטום. גוון כהה ואטום יותר נותן אפקט דומה בלי הסיכון. */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(5, 5, 6, 0.82);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        z-index: 190;
    }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 6px;
        position: fixed;
        top: 0; right: 0;
        width: min(80vw, 340px);
        height: 100vh;
        max-height: none;
        margin: 0;
        padding: 0 12vw;
        background: linear-gradient(160deg, #131315 0%, #0b0b0d 100%);
        border-left: 1px solid rgba(173, 134, 25, 0.18);
        box-shadow: -25px 0 60px rgba(0, 0, 0, 0.55);
        text-align: right;
        overflow: hidden visible;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 200;
    }
    nav ul.active { transform: translateX(0); }
    nav ul li {
        width: 100%;
        opacity: 0;
        transform: translateX(35px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    nav ul.active li { opacity: 1; transform: translateX(0); }
    nav ul.active li:nth-child(1) { transition-delay: 0.15s; }
    nav ul.active li:nth-child(2) { transition-delay: 0.22s; }
    nav ul.active li:nth-child(3) { transition-delay: 0.29s; }
    nav ul.active li:nth-child(4) { transition-delay: 0.36s; }
    nav ul.active li:nth-child(5) { transition-delay: 0.43s; }
    nav ul.active li:nth-child(6) { transition-delay: 0.5s; }
    nav ul li a { display: inline-block; font-size: 1.4rem; padding: 14px 0; }

    .page-hero { padding: 140px 0 60px; }
    .portrait-frame { width: 60%; max-width: 260px; }
    .footer-top { grid-template-columns: 1fr; gap: 45px; text-align: center; }
    .footer-heading::after { right: 50%; transform: translateX(50%); }
    .footer-col-brand { align-items: center; }
    .footer-contact-list a { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* גלריות במובייל - 2 עמודות במקום עמודה אחת שגורמת לגלילה ארוכה מדי.
       ה-minmax המקורי (260px) קרס לעמודה בודדת ברוב מסכי הטלפונים - כאן
       מכריחים 2 עמודות תמיד, עם gap קטן יותר שמתאים לרוחב המצומצם. */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-placeholder-text { font-size: 0.75rem; padding: 10px; }

    /* טקסט ההובר בתיק העבודות (עמוד הבית) - בדסקטופ הכותרת גדולה (2.8rem)
       כי התאים רחבים; במובייל התא צר בהרבה (2 עמודות) והטקסט הענק נחתך.
       מקטינים גופן ופדינג כדי שהכותרת תיכנס בנוחות בתוך התא. */
    .portfolio-overlay {
        padding: 16px 14px;
    }
    .portfolio-overlay h3 {
        font-size: 1.15rem;
        line-height: 1.3;
    }
}

/* =====================================================
   בלוג - עמוד ראשי (blog.html) ועמודי מאמרים (blog-*.html)
   ===================================================== */

/* --- פירורי לחם --- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-color); }
.breadcrumb span[aria-current] { color: var(--accent-color); }

/* --- רשת כרטיסי בלוג (עמוד ראשי + מאמרים קשורים) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
    border-color: rgba(173, 134, 25, 0.3);
}
.blog-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-color);
}
.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.08); }
.blog-card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(13, 13, 15, 0.75);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(173, 134, 25, 0.4);
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 26px 26px;
}
.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 12px;
}
.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}
.blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}
.blog-card:hover .blog-card-readmore { gap: 14px; }

/* --- עמוד מאמר בודד: כותרת עליונה --- */
.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.article-tag-pill {
    background: rgba(173, 134, 25, 0.12);
    color: var(--accent-color);
    padding: 5px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(173, 134, 25, 0.35);
}

/* תמונת כריכה מלאה מתחת לכותרת */
.article-cover-wrap {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
}
.article-cover-wrap img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* תיבת "תשובה מהירה" - GEO: תשובה ממוקדת בראש המאמר לצורכי מנועי חיפוש גנרטיביים */
.quick-answer {
    background: var(--surface-color);
    border-right: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 40px 0;
}
.quick-answer h2 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.quick-answer p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

/* --- FAQ --- */
.faq-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    margin: 55px 0 25px;
}
.faq-item {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.04);
}
.faq-question {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}
.faq-question::before { content: "ש:"; color: var(--accent-color); flex-shrink: 0; }
.faq-answer {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    display: flex;
    gap: 10px;
    margin: 0;
}
.faq-answer::before { content: "ת:"; color: var(--accent-color); flex-shrink: 0; }

/* --- תיבת מחבר (E-E-A-T) --- */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--surface-color);
    border-radius: 14px;
    padding: 26px 30px;
    margin: 50px 0;
    border: 1px solid rgba(255,255,255,0.04);
}
.author-box img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.author-box-name {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.author-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* --- תיבת CTA בתוך המאמר --- */
.article-cta-box {
    text-align: center;
    background: var(--surface-color);
    border: 1px solid rgba(173, 134, 25, 0.25);
    border-radius: 18px;
    padding: 45px 30px;
    margin: 55px 0 30px;
}
.article-cta-box h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 14px;
}
.article-cta-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 26px;
}

/* --- מאמרים קשורים --- */
.related-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 25px;
}
.related-card {
    display: block;
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
}
.related-card:hover { transform: translateY(-6px); border-color: rgba(173, 134, 25, 0.3); }
.related-card-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-title {
    display: block;
    padding: 16px 18px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; gap: 25px; }
    .article-cover-wrap { max-height: 260px; }
    .article-cover-wrap img { max-height: 260px; }
    .author-box { flex-direction: column; text-align: center; }
    .article-cta-box { padding: 35px 20px; }
    .quick-answer { padding: 20px; margin: 30px 0; }
}


/* =====================================================
   עמוד וידאו (gallery-video.html)
   סרטונים אנכיים (9:16) - נגן מובנה, טעינה רק בלחיצה על הפעלה (preload=none)
   ===================================================== */
.video-section.section-padding { padding: 90px 0 40px; }
.video-section-bts.section-padding { padding-bottom: 110px; }
.video-section .serif-title { margin-bottom: 45px; }
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}
.video-grid-small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.video-card { margin: 0; }
.video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.video-card figcaption {
    margin-top: 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .video-section.section-padding { padding: 60px 0 20px; }
    .video-grid, .video-grid-small { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .video-card figcaption { font-size: 0.85rem; }
}


/* --- אזורי שירות --- */
.area-region-title { margin-top: 20px; }
.area-city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
    margin-bottom: 60px;
}
.area-city-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}
.area-city-card:hover { border-color: rgba(173, 134, 25, 0.3); transform: translateY(-4px); }
.area-city-name {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}
.area-city-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.area-service-links { display: flex; flex-direction: column; gap: 10px; }
.area-service-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.area-service-links a i { color: var(--accent-color); width: 18px; text-align: center; }
.area-service-links a:hover { background: rgba(173,134,25,0.1); border-color: rgba(173,134,25,0.3); color: var(--accent-color); }

@media (max-width: 992px) {
    .area-city-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
    .area-city-grid { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
    .footer-menu-2col {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}