/* ==========================================================================
   MAWATOUR - Main Stylesheet
   ==========================================================================
   This stylesheet is intended for the new layout with:
   - #mapHeader
   - #headerLeft
   - #headerCenter
   - #headerRight

   NOTE:
   This is the user's existing stylesheet reorganized as a clean base.
   Replace or extend sections as needed while migrating remaining absolute
   positioning to the new header layout.
   ========================================================================== */

body{
    margin:0;
    height:100vh;
    overflow:hidden;
    font-family:Arial,sans-serif;
}

input,
select{
    width:100%;
    margin:10px 0;
    padding:8px;
    font-size:16px;
}

.imgot{width:20px;}

#map-container{
    position:fixed;
    inset:0;
    overflow:hidden;
    background:#111;
}

#monumentBackground{
    position:absolute;
    inset:0;
    z-index:1;
    background:center center/cover no-repeat;
    background-image:url("../images/monuments/default.jpg");
    animation:kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns{
    from{transform:scale(1);}
    to{transform:scale(1.08);}
}

/* ========================= HEADER ========================= */

#mapHeader{
    position:absolute;
    top:0;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding:20px;
    z-index:2000;
    pointer-events:none;
}

#headerLeft{
    width:360px;
    pointer-events:auto;
}

#headerCenter{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
}

#headerRight{
    width:90px;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:12px;
}

#map{
    width:340px;
    height:220px;
    border:4px solid rgba(255,255,255,.9);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
}

#floatingMP,
#floatingWappen,
#floatingSponsor{
    width:70px;
    height:70px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
}

.city-banner{
    width:170px;
    pointer-events:none;
}

.city-banner img{
    display:block;
    width:100%;
    border-radius:12px;
}

.banner-text{
    position:relative;
    margin-top:-38px;
    text-align:center;
    font:700 20px Georgia,serif;
}

#floatingMessage{
    width:min(800px,90%);
    min-height:140px;
    padding:10px;
    background:rgba(255,255,255,.95);
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
    font-size:26px;
    text-align:center;
    opacity:0;
    transition:opacity .6s ease;
}

#floatingMessage.visible{opacity:1;}

.overlay,
.balloon-overlay{
    display:none;
    position:absolute;
    inset:0;
    pointer-events:none;
}

#councilPhoto{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%) translateY(100%);
    transition:transform .6s;
}

#menuToggle{
    position:fixed;
    top:14px;
    left:14px;
    width:52px;
    height:52px;
    z-index:10001;
}

#controls{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:360px;
    max-width:88vw;
    padding:20px;
    overflow-y:auto;
    overflow-x:hidden;
    background:#f4f4f4;
    transform:translateX(-100%);
    transition:.3s;
    z-index:9999;
    box-sizing:border-box;
}

body.nav-open #controls{
    transform:translateX(0);
}
