/*
Theme Name: Jerusalem Projects Theme
Author: MITAAR
Description: תבנית ייעודית למערכת עטרת כהנים
Version: 1.0
*/

/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Heebo', 'Assistant', sans-serif; background: #1a1a1a; color: #fff; overflow-x: hidden; direction: rtl; }
a { text-decoration: none; color: inherit; }

/* --- Login Screen --- */
.login-screen {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('assets/images/login-bg.jpg'); /* נתיב לתמונה */
    background-size: cover;
    background-position: center;
    position: relative;
}

.login-overlay {
    position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.6); /* שכבה כהה מעל התמונה */
}

.login-box {
    position: relative; z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.site-logo { font-size: 24px; font-weight: bold; margin-bottom: 30px; display: block; letter-spacing: 2px; text-transform: uppercase; color: #d4af37; /* זהב */ }

/* Form Styles */
.login-form p { margin-bottom: 20px; }
.login-form label { display: block; text-align: right; margin-bottom: 5px; font-size: 14px; color: #ccc; }
.login-form input[type="text"], 
.login-form input[type="password"] {
    width: 100%; padding: 12px;
    background: rgba(0,0,0,0.3); border: 1px solid #444;
    color: #fff; border-radius: 5px; outline: none;
    transition: 0.3s;
}
.login-form input:focus { border-color: #d4af37; }
.login-form input[type="submit"] {
    background: #d4af37; color: #000; font-weight: bold;
    border: none; padding: 12px 30px; border-radius: 5px;
    cursor: pointer; width: 100%; margin-top: 10px;
    transition: 0.3s;
}
.login-form input[type="submit"]:hover { background: #b5952f; }

/* --- Main Map Dashboard --- */
.dashboard-container {
    position: relative; height: 100vh; width: 100vw; overflow: hidden;
    background: #000;
}

/* Header / Nav */
.main-header {
    position: absolute; top: 0; left: 0; right: 0;
    padding: 20px 40px; z-index: 10;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}
.nav-menu ul { list-style: none; display: flex; gap: 30px; }
.nav-menu a { font-weight: 500; font-size: 18px; text-transform: uppercase; opacity: 0.8; transition: 0.3s; }
.nav-menu a:hover { opacity: 1; color: #d4af37; }
.nav-menu a.logout { color: #ff6b6b; }

/* The Map Image */
.main-map-image {
    width: 100%; height: 100%;
    object-fit: cover; /* מוודא שהתמונה מכסה את כל המסך */
    object-position: center;
}

/* Region Hotspots */
.region-spot {
    position: absolute;
    transform: translate(-50%, -50%); /* מרכוז הנקודה */
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}
.region-spot:hover { transform: translate(-50%, -50%) scale(1.1); z-index: 5; }

.spot-dot {
    width: 20px; height: 20px;
    background: #d4af37;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.3);
    animation: pulse 2s infinite;
}
.spot-label {
    background: rgba(0,0,0,0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Compass Decoration */
.compass-decor {
    position: absolute; bottom: 30px; left: 30px;
    width: 80px; opacity: 0.6; pointer-events: none;
}