/* ------------------------------------------------------------------ */
/* Main App Styles - Final (Refined Design + Landscape Logic)         */
/* ------------------------------------------------------------------ */

:root {
    --gold-primary: #D4AF37;       /* זהב מסגרות */
    --gold-bg: #F9F4E0;            /* רקע זהב בהיר מאוד */
    --royal-blue: #1A3B5C;         /* כחול ירושלמי */
    --green-future: #27ae60;       /* ירוק - עתידי */
    --orange-done: #f39c12;        /* כתום - בוצע */
    --text-dark: #333333;
    --white: #ffffff;
    --sidebar-width: 300px;        /* רוחב תפריט */
}

/* --- הגדרות בסיס: ביטול גלילה כברירת מחדל --- */
html, body {
    margin: 0; padding: 0;
    width: 100%; height: 100%;     /* חובה למניעת גלילה */
    overflow: hidden;              /* נועל גלילה ברמת הגוף */
    font-family: 'Heebo', 'Assistant', sans-serif;
    background-color: #f0f2f5;
    color: var(--text-dark);
    direction: rtl;
}

/* --- מסך "סובב את המכשיר" (מוסתר כברירת מחדל) --- */
.rotate-warning {
    display: none;
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000; z-index: 999999;
    color: #D4AF37;
    flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
}
.rotate-icon { font-size: 60px; margin-bottom: 20px; animation: rotate-phone 2s infinite; }
.rotate-text { font-size: 20px; font-weight: bold; color: #fff; padding: 0 20px; }

/* זיהוי מסך עומד במובייל - מפעיל את האזהרה ומסתיר את האתר */
@media screen and (orientation: portrait) and (max-width: 1024px) {
    .rotate-warning { display: flex; }
    .dashboard-wrapper, .region-viewer, .category-archive-container, .project-page-layout { display: none !important; }
}

@keyframes rotate-phone {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
    100% { transform: rotate(0deg); }
}

/* --- 1. דף דשבורד ראשי --- */
.dashboard-wrapper {
    display: flex; height: 100vh; width: 100vw; overflow: hidden;
}

/* סרגל צד */
.dash-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: #fff;
    display: flex; flex-direction: column;
    box-shadow: 5px 0 20px rgba(0,0,0,0.05);
    z-index: 20;
    overflow-y: auto;
    flex-shrink: 0;
    padding: 0; /* ביטול ריפוד כללי כדי שהכותרת הכחולה תהיה מלאה */
}

/* כותרת צד כחולה עם לוגו */
.dash-brand {
    background-color: var(--royal-blue);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 5px solid var(--gold-primary);
    margin-bottom: 20px;
}
.brand-title { color: #fff; margin: 10px 0 0 0; font-size: 30px; font-weight: 800; line-height: 1; }
.brand-subtitle { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 5px; letter-spacing: 1px; }

/* ניווט */
.dash-nav { padding: 0 20px; flex-grow: 1; }
.nav-grid { display: flex; flex-direction: column; gap: 10px; }
.nav-btn {
    display: flex; align-items: center; gap: 15px;
    padding: 15px 20px; background: #fff; color: var(--text-dark);
    text-decoration: none; border-radius: 8px; font-weight: bold; font-size: 16px;
    transition: all 0.3s ease; border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.nav-btn:hover {
    background: var(--royal-blue); color: #fff;
    transform: translateX(-5px); border-color: var(--royal-blue);
}
.nav-btn .dashicons { color: var(--gold-primary); font-size: 20px; width: 20px; height: 20px; }


/* אזור משתמש */
.dash-user { padding: 20px; background: #f9f9f9; border-top: 1px solid #eee; }
.user-info { margin-bottom: 15px; text-align: center; font-size: 14px; }
.user-actions { display: flex; gap: 10px; justify-content: center; }

/* כפתורי ניהול יפים */
.action-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    padding: 8px 15px; border-radius: 20px; font-size: 13px; font-weight: bold; text-decoration: none;
    transition: 0.2s; border: 1px solid transparent;
}
.btn-manage { background: #e3f2fd; color: var(--royal-blue); border-color: #bbdefb; }
.btn-manage:hover { background: var(--royal-blue); color: #fff; }
.btn-logout { background: #ffebee; color: #c62828; border-color: #ffcdd2; }
.btn-logout:hover { background: #c62828; color: #fff; }
.login-btn-main { display: block; text-align: center; background: var(--gold-primary); color: #fff; padding: 10px; border-radius: 4px; text-decoration: none; font-weight: bold; }


/* אזור המפה + PARALLAX */
.dash-map-area {
    flex: 1; position: relative; background: #eef2f5; overflow: hidden;
}

/* השכבה הזזה (המפה והנקודות בתוכה) */
#parallax-layer {
    width: 110%; height: 110%; /* גדול מהמסך כדי לאפשר תזוזה */
    position: absolute; 
    top: -5%; left: -5%; /* מרכוז התחלתי */
    transition: transform 0.1s ease-out; /* תנועה חלקה */
}
.the-map-image { width: 100%; height: 100%; object-fit: cover; }

/* כותרת צפה מעל המפה */
.top-bar-overlay {
    position: absolute; top: 30px; right: 30px; z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 25px; border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 15px;
    border: 1px solid #fff; pointer-events: none;
}
.map-title-badge { font-weight: 900; color: var(--royal-blue); font-size: 18px; }
.map-status { font-size: 14px; color: #777; border-left: 1px solid #ddd; padding-left: 15px; margin-left: 15px; }

/* נקודות חמות במפה - קבועות ובולטות */
.map-hotspot {
    position: absolute; width: auto; height: auto;
    transform: translate(-50%, -50%);
    cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none;
    z-index: 5;
}

/* העיגול המהבהב */
.spot-visual {
    position: relative; width: 24px; height: 24px; display: flex; justify-content: center; align-items: center;
}
.spot-dot { width: 14px; height: 14px; background: var(--gold-primary); border: 2px solid #fff; border-radius: 50%; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.pulse-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--gold-primary); border-radius: 50%; animation: pulse 2s infinite; opacity: 0.6; }

/* התווית (הטקסט) - תמיד מופיעה! */
.spot-label-fixed {
    background: var(--royal-blue); color: #fff;
    padding: 4px 10px; border-radius: 4px; 
    font-size: 14px; font-weight: 800; /* בולד חזק */
    white-space: nowrap;
    margin-top: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    opacity: 1; /* מוצג תמיד */
}
/* אפקט קטן בהובר */
.map-hotspot:hover .spot-label-fixed { background: var(--gold-primary); color: #000; transform: scale(1.1); }

/* --- 2. דף אזור (Region) - ללא גלילה --- */
.region-viewer { 
    position: relative; height: 100vh; width: 100vw; overflow: hidden; 
}

/* תפריט עליון צף */
.region-top-ui {
    position: absolute; top: 30px; left: 0; width: 100%;
    display: flex; justify-content: center; z-index: 100;
    padding: 0 40px; box-sizing: border-box;
    pointer-events: none;
}

.ui-bar-container {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--gold-primary);
    border-radius: 50px;
    padding: 10px 25px;
    display: flex; gap: 30px; align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.filter-pill {
    background: transparent; border: 1px solid #ccc; border-radius: 20px;
    padding: 6px 15px; font-size: 14px; cursor: pointer; color: #555;
    transition: 0.2s; font-weight: bold;
}
.filter-pill:hover, .filter-pill.active {
    background: var(--royal-blue); color: #fff; border-color: var(--royal-blue);
}

.pin-marker {
    position: absolute; transform: translate(-50%, -100%);
    cursor: pointer; transition: transform 0.2s;
    display: flex; flex-direction: column; align-items: center;
}
.pin-marker:hover { transform: translate(-50%, -110%) scale(1.1); z-index: 50; }
.pin-shape {
    width: 40px; height: 40px; background: var(--green-future);
    border: 3px solid #fff; border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg); display: flex; justify-content: center; align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.pin-marker.status-done .pin-shape { background: var(--orange-done); }
.pin-icon { transform: rotate(45deg); color: #fff; font-size: 18px; }


/* --- 3. דף קטגוריה (כוורת) --- */
/* מאפשר גלילה בדף זה אם יש הרבה משושים */
.category-archive-container { 
    background: #fff; min-height: 100vh; padding: 40px; text-align: center;
    height: 100vh; overflow-y: auto; /* גלילה פנימית */
}
/* --- 3. דף קטגוריה - כוורת משושים (True Hive Layout) --- */

.category-archive-container { 
    background: #fff; 
    min-height: 100vh; 
    padding: 40px 20px; 
    text-align: center;
    overflow-x: hidden; /* מונע גלילה רוחבית בגלל החפיפות */
}

/* כותרת הקטגוריה */
.cat-header-area { max-width: 800px; margin: 0 auto 80px auto; }
.cat-header-title { font-size: 48px; font-weight: 800; color: var(--royal-blue); margin-bottom: 15px; line-height: 1; }
.cat-header-desc { font-size: 20px; color: #555; line-height: 1.6; }

/* רשת המשושים - כוורת */
.hexagon-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; /* גורם לשורות להתמרכז וליצור זיגזג טבעי */
    align-items: center;
    gap: 10px; /* רווח אופקי קטן */
    max-width: 1200px; 
    margin: 0 auto;
    padding-bottom: 100px; /* מקום למשושה האחרון */
}

/* המעטפת */
.hex-wrapper {
    width: 250px; height: 280px; /* הקטנתי טיפה לפרופורציה יפה יותר */
    position: relative; 
    
    /* הטריק לכוורת: שוליים שליליים מלמטה */
    margin: 0 5px -65px 5px; 
    
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));
    transition: transform 0.3s ease, z-index 0.3s;
    z-index: 1; /* ברירת מחדל */
}

/* בהובר - קופץ החוצה ועולה מעל כולם */
.hex-wrapper:hover { 
    transform: scale(1.15); 
    z-index: 100 !important; 
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
}

/* צורת המסגרת (זהב) */
.hex-shape {
    width: 100%; height: 100%;
    background-color: var(--gold-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; justify-content: center; align-items: center;
}

/* החלק הפנימי (לבן) */
.hex-inner {
    width: 244px; height: 274px; /* קטן ב-3 פיקסל לכל צד */
    background-color: #fff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit;
    position: relative;
}

/* תמונה - ללא קו מפריד */
.hex-image-part {
    height: 52%; width: 100%;
    background-size: cover; background-position: center;
}

/* טקסט */
.hex-text-part {
    height: 48%; 
    padding: 10px 20px 30px 20px; /* מקום לאייקון למטה */
    text-align: center; 
    display: flex; flex-direction: column; align-items: center;
}

.hex-title {
    font-size: 18px; font-weight: 800; color: var(--royal-blue); 
    margin-bottom: 5px; line-height: 1.1;
}
.hex-excerpt {
    font-size: 13px; line-height: 1.3; color: #666;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* אייקון המיקום (SVG) */
.hex-map-icon {
    position: absolute; 
    bottom: 25px; /* ממוקם קרוב לשפיץ התחתון */
    left: 50%; transform: translateX(-50%);
    width: 24px; height: 24px;
    z-index: 5;
    /* אנימציה קטנה כדי שיראו שזה חי */
    filter: drop-shadow(0 2px 3px rgba(255,255,255,1)); 
}
.hex-map-icon svg {
    fill: var(--royal-blue);
    width: 100%; height: 100%;
}

/* מובייל: ביטול הכוורת והפיכה לרשימה יפה */
@media (max-width: 600px) {
    .hexagon-grid { gap: 20px; padding-bottom: 50px; }
    .hex-wrapper { 
        width: 100%; max-width: 320px; height: auto; 
        margin: 0; clip-path: none; border-radius: 12px; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        filter: none;
    }
    .hex-shape, .hex-inner { clip-path: none; width: 100%; height: auto; border-radius: 12px; }
    .hex-inner { border: 2px solid var(--gold-primary); }
    .hex-image-part { height: 180px; border-radius: 10px 10px 0 0; }
    .hex-text-part { height: auto; padding: 20px; }
    .hex-map-icon { position: static; margin-top: 10px; transform: none; width: 30px; height: 30px; }
}

/* --- התאמות למובייל לרוחב (Landscape Optimization) --- */
@media (max-width: 950px) and (orientation: landscape) {
    
    :root { --sidebar-width: 220px; } /* הקטנת תפריט */

    .dash-brand { padding: 10px; }
    .brand-title { font-size: 20px; }
    .nav-btn { padding: 8px; font-size: 13px; }
    
    /* הזזת הפס הצף למעלה כדי לא להסתיר מפה נמוכה */
    .region-top-ui { top: 10px; padding: 0 10px; }
    .ui-bar-container { padding: 5px 15px; transform: scale(0.9); }
    
    /* דף פרויקט: שינוי לטורים כדי לנצל רוחב */
    .project-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .project-page-layout { padding: 20px; }
}


/* --- 4. Single Project Page (Final Refined) --- */

/* Base Page Settings */
body.single-project { background-color: #ffffff !important; overflow-y: auto !important; }
.project-page-layout { 
    max-width: 1600px; 
    width: 96%;
    margin: 0 auto; 
    padding: 40px 20px;
}

/* Grid Layout */
.project-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* חלוקה 50/50 בין מדיה לטקסט */
    gap: 50px;
}

/* --- Header Strip --- */
.top-bar-strip {
    background-color: #1A3B5C !important; 
    border-bottom: 4px solid #D4AF37; 
    color: #fff; padding: 15px 30px; 
    display: flex; justify-content: space-between; align-items: center;
    position: relative; z-index: 100;
}
.header-right, .header-left { display: flex; align-items: center; gap: 15px; }
.header-logo { height: 45px; width: auto; background: #fff; padding: 4px; border-radius: 4px; }
.header-titles { display: flex; flex-direction: column; }

/* Clickable Breadcrumbs */
.main-system-title { font-size: 20px; font-weight: 800; line-height: 1.2; }
.main-system-title a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.2s; }
.main-system-title a:hover { border-bottom-color: #D4AF37; color: #D4AF37; }
.main-system-title .sep { opacity: 0.5; margin: 0 5px; font-weight: normal; }
.sub-system-title { font-size: 13px; opacity: 0.8; }

/* Buttons */
.btn-action-share, .btn-action-back {
    color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: bold;
    display: flex; align-items: center; gap: 6px; transition: 0.2s;
}
.btn-action-share { background: #D4AF37; color: #000; border: none; }
.btn-action-share:hover { background: #fff; }
.btn-action-back:hover { background: rgba(255,255,255,0.1); border-color: #fff; }


/* --- Content Column (Right) --- */
.proj-content { text-align: right; }
.proj-label-top { font-size: 14px; color: #888; font-weight: bold; margin-bottom: 5px; }
.proj-main-title { font-size: 42px; font-weight: 800; color: #000; margin: 0 0 15px 0; line-height: 1; }

/* The Frame Wrapper */
.text-frame-wrapper {
    border-top: 2px solid #e0e0e0;    /* Visible top border */
    border-bottom: 2px solid #e0e0e0; /* Visible bottom border */
    padding: 30px 0;
    margin: 30px 0;
    position: relative;
}

.frame-label {
    font-size: 24px; font-weight: 800; color: #000; margin-bottom: 20px;
    display: inline-block; border-bottom: 3px solid #D4AF37; padding-bottom: 5px;
}

.text-body { font-size: 18px; line-height: 1.8; color: #333; margin-bottom: 20px; }

.proj-status-line {
    margin-top: 25px; padding-top: 15px;
    border-top: 1px dashed #ccc; 
    font-size: 15px; color: #555;
}

/* Value Box */
.value-box { 
    background: #fdf8e4; border: 1px solid #e0d0a0; border-radius: 12px; 
    padding: 30px; text-align: center; margin-top: 40px; position: relative; overflow: hidden; 
}
.value-box::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: #D4AF37; }
.value-label { font-weight: 900; font-size: 24px; color: #000; margin-bottom: 5px; }
.value-text { font-size: 22px; color: #555; font-style: italic; font-weight: 500; }


/* --- Media Column (Left) --- */
.media-sidebar { 
    background: #f9f9f9; padding: 25px; border-radius: 16px; 
    height: fit-content; /* Don't stretch */
}

.media-header { font-size: 18px; font-weight: 800; color: #000; margin-bottom: 15px; text-align: center; }

/* Spacing Fixes */
.media-content-wrapper { display: flex; flex-direction: column; gap: 18px; }

.media-main-item { 
    width: 100%; 
    height: 420px; 
    background: #000; 
    border-radius: 6px; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
}
.proj-main-video,
.proj-main-iframe,
.proj-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* פס תמונות/וידאו אופקי */
.media-thumbs-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 6px;
    padding-bottom: 4px;
}
.media-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    transition: 0.2s;
}
.media-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.media-thumb.is-video-thumb {
    background: #1A3B5C;
    color: #fff;
    flex-direction: column;
    padding: 6px 10px;
}
.media-thumb-icon {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 4px;
}
.media-thumb-label {
    font-size: 11px;
}
.media-thumb.is-active,
.media-thumb:hover {
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.map-container-small { 
    height: 200px; background: #eee; border-radius: 8px; overflow: hidden; 
    border: 1px solid #ddd; margin-bottom: 20px; 
}
.no-map-placeholder { display: flex; justify-content: center; align-items: center; height: 100%; color: #999; font-size: 14px; }

.download-button { 
    display: flex; align-items: center; justify-content: center; gap: 10px; 
    background: #fff; border: 2px solid #1A3B5C; color: #1A3B5C; 
    padding: 15px; border-radius: 8px; font-weight: bold; text-decoration: none; 
    transition: 0.3s; font-size: 16px; margin-top: 10px;
}
.download-button:hover { background: #1A3B5C; color: #fff; }

/* כפתור גלריה במסך מלא */
.btn-open-full-gallery {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    color: #1A3B5C;
    border: 1px solid #1A3B5C;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 5;
}
.btn-open-full-gallery:hover {
    background: #1A3B5C;
    color: #fff;
}

/* לייטבוקס – שיפור החיצים */
#lightbox-modal {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
#lightbox-modal.active { display: flex; opacity: 1; pointer-events: auto; }

#lightbox-img {
    max-width: 90%; max-height: 90%;
    border: 4px solid #fff; border-radius: 6px;
    box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

#lightbox-close {
    position: absolute; top: 25px; right: 30px;
    font-size: 40px; color: #fff; cursor: pointer; transition: 0.2s;
}
#lightbox-close:hover { color: #D4AF37; transform: scale(1.05); }

.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: 0.2s;
}
.lightbox-nav:hover {
    background: #D4AF37;
    color: #000;
    opacity: 1;
}
#lightbox-prev { right: 40px; }
#lightbox-next { left: 40px; }

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px; height: 40px;
        font-size: 22px;
    }
    #lightbox-prev { right: 20px; }
    #lightbox-next { left: 20px; }
}

/* מיני-מפה על פנורמת אזור */
.mini-region-map {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 15px;
}
.mini-region-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mini-region-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mini-region-dot {
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.mini-region-icon {
    width: 34px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}


/* --- Lightbox Modal --- */
#lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.9); z-index: 99999; 
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
#lightbox-modal.active { display: flex; opacity: 1; pointer-events: auto; }

#lightbox-img { max-width: 90%; max-height: 90%; border: 5px solid #fff; border-radius: 4px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
#lightbox-close { position: absolute; top: 30px; right: 30px; font-size: 50px; color: #fff; cursor: pointer; transition: 0.2s; }
#lightbox-close:hover { color: #D4AF37; transform: scale(1.1); }


/* Mobile Responsive */
@media (max-width: 900px) {
    .project-grid { grid-template-columns: 1fr; gap: 40px; }
    .media-sidebar { order: -1; }
    .top-bar-strip { padding: 10px 15px; flex-direction: column; gap: 10px; text-align: center; }
    .header-right, .header-left { justify-content: center; }
}