:root {
    --secondary-footer: #00280F;
}
/* Map & Overlay */
.map-section { position: relative; height: 550px; }
.map-overlay { position: absolute; top: 50px; right: 0; left: 0; pointer-events: none; z-index: 5; }
.contact-box { width: 350px; pointer-events: all; }
.overlay-card {
    background: var(--white);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-flow: column;
}
.overlay-card i { color: var(--primary); font-size: 1.3rem; margin-top: 5px; }
.overlay-card strong { display: block; color: var(--primary); font-size: 1.1rem; margin-bottom: 5px; }


/* Footer */
.main-footer {
    background-color: var(--secondary-footer);
    color: var(--white);
    padding: 40px;
    margin-top: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-biu-logo {
    height: 50px;
    /*filter: brightness(0) invert(1);*/
}
.footer-logos{
    display: flex;
    gap: 2rem;
}
.footer-links{
    display: flex;
    gap:2.5rem;
}
.footer-links a{
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
}

.footer-links ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3.5rem;
}
.footer-bottom{
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}


.footer-social .v-btn--icon {
    width: 36px !important;  /* גודל העיגול הלבן */
    height: 36px !important;
    min-width: 36px !important;
}

.footer-social .v-btn:hover {
    transform: translateY(-3px); /* אפקט קפיצה קטן */
    transition: transform 0.2s ease;
}

/* --- Map & Footer Responsive Strategy --- */

/* טאבלטים ומסכים בינוניים (1024px ומטה) */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column; /* הופך את הלוגואים והקישורים לטור */
        /* gap: 40px; */
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-links ul {
        gap: 2rem;
        flex-wrap: wrap; /* מאפשר ללינקים לרדת שורה אם אין מקום */
        justify-content: center;
    }
}

/* סמארטפונים (768px ומטה) */
@media (max-width: 768px) {
    /* Map Section Adjustment */
    .map-section {
        height: auto; /* מאפשר למקטע לגדול לפי התוכן */
        display: flex;
        flex-direction: column;
    }

    .map-overlay {
        position: relative; /* הכרטיסיות כבר לא צפות על המפה */
        top: 0;
        padding: 20px;
        pointer-events: all; /* מאפשר לחיצה רגילה */
    }

    .contact-box {
        width: 100%; /* רוחב מלא למניעת צפיפות */
    }

    /* Footer Adjustment */
    .main-footer {
        padding: 40px 20px;
    }

    .footer-logos {
        flex-direction: row; /* לוגואים אחד מעל השני */
        gap: 3.5rem;
    }

    .footer-links ul {
        flex-direction: column; /* רשימת לינקים אנכית */
        gap: 1.5rem;
        align-items: center;
    }

    .footer-links a {
        font-size: 16px; /* הגדלה לטובת נגישות לחיצה (Touch Target) */
    }

    .footer-bottom {
        flex-direction: column; /* זכויות יוצרים וסושיאל אחד מעל השני */
        gap: 20px;
        text-align: center;
    }
}

/* התאמה למסכים קטנים מאוד */
@media (max-width: 480px) {
    .overlay-card {
        padding: 20px;
        gap: 8px;
    }

    .footer-biu-logo {
        height: 40px; /* הקטנה קלה של הלוגו */
    }
}

.footer-links {
    display: flex;
    gap: 15px; /* המרווח בין הקישורים */
    justify-content: center;
    align-items: center;
}

.footer-links li{
    list-style-type: none;
}

.footer-links a {
    color: inherit; /* יורש מהצבע של הפוטר */
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}