/* static/style.css */
:root {
    --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --text-dark: #2d3436;
    --bg-light: #f8f9fa;
    --accent: #0984e3;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body, html { margin: 0; padding: 0; background-color: #ffffff; color: var(--text-dark); font-family: var(--font-stack); }

/* Navigation / Header */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee; z-index: 2000;
    display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-sizing: border-box;
}
.nav-logo img { height: 40px; width: auto; filter: invert(0.8); }
.nav-links a { text-decoration: none; color: #636e72; font-weight: 600; margin-left: 20px; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--text-dark); }

/* Content Container für Textseiten */
.content-wrapper {
    max-width: 800px; margin: 100px auto 40px; padding: 0 20px;
    line-height: 1.6; color: #444;
}
h1 { margin-bottom: 30px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
h2 { margin-top: 40px; color: var(--text-dark); }
p { margin-bottom: 15px; }

/* Karte spezifisch */
#map { height: 100vh; width: 100%; background: #e6e6e6; z-index: 0; position: absolute; top:0; left:0; }

/* UI Elemente auf der Karte */
.ui-container { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 1000; }
.ctrl-btn { 
    background: #ffffff; color: #333; border: 1px solid #ddd; padding: 14px 30px; 
    border-radius: 50px; cursor: pointer; font-weight: 700; font-size: 15px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); transition: all 0.2s ease; display: flex; align-items: center; gap: 8px;
}
.ctrl-btn:hover { transform: translateX(-50%) scale(1.05); border-color: var(--accent); color: var(--accent); }

/* Info Box & Cards */
#info-box { position: absolute; top: 80px; right: 20px; width: 320px; display: none; z-index: 1000; flex-direction: column; gap: 15px; pointer-events: none; }
.mood-card { background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #f0f0f0; animation: slideIn 0.5s ease forwards; opacity: 0; transform: translateY(-20px); pointer-events: auto; }
.mood-card:nth-child(2) { animation-delay: 0.1s; }
.sky-preview { height: 100px; position: relative; width: 100%; }
.card-content { padding: 20px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.card-title { font-size: 12px; font-weight: 800; color: #b2bec3; text-transform: uppercase; letter-spacing: 1px; }
.card-time { font-size: 13px; font-weight: 600; color: #2d3436; background: #f1f2f6; padding: 4px 10px; border-radius: 8px; }
.score-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 10px; }
.card-score { font-size: 42px; font-weight: 800; color: #2d3436; line-height:1; }
.score-label { font-size: 14px; color: #b2bec3; font-weight: 600; }
.card-details { font-size: 14px; color: #636e72; line-height: 1.4; }

/* Themes */
.theme-gray .sky-preview { background: linear-gradient(to bottom, #bdc3c7, #ecf0f1); }
.theme-gold .sky-preview { background: linear-gradient(to bottom, #74b9ff, #dfe6e9); }
.theme-gold .sun { background: #fdcb6e; width:35px; height:35px; border-radius:50%; position:absolute; bottom:15px; right:20px; box-shadow:0 0 15px rgba(253,203,110,0.6);}
.theme-burn .sky-preview { background: linear-gradient(135deg, #a29bfe 0%, #fab1a0 100%); }
.theme-burn .sun { background:#fff; width:50px; height:50px; border-radius:50%; position:absolute; bottom:-10px; left:50%; transform:translateX(-50%); opacity:0.6; filter:blur(8px);}

/* Loader & Modal */
#loader { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 15px 30px; border-radius: 30px; font-weight: 700; z-index: 2000; display:none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee; }
#modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.85); backdrop-filter: blur(5px); z-index: 3000; display: none; justify-content: center; align-items: center; }
.modal-box { background: #fff; padding: 40px; border-radius: 24px; max-width: 400px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border: 1px solid #eee; }
.modal-btn { background: #2d3436; color: #fff; border: none; padding: 12px 30px; border-radius: 30px; margin-top: 20px; cursor: pointer; font-weight: 700; }

@keyframes slideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }