
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}


.hero-content{
    color:white;
    padding: 20px;
}

/* ---------- DASHBOARD STYLES ---------- */
.dashboard-header-simple { padding: 20px 0 10px 0; color: #111; }
.dashboard-header-simple h1 { margin: 0; font-size: 36px; color: #111; }
.dashboard-header-simple .muted { color: rgba(0,0,0,0.6); margin-top: 6px; }
.dashboard-actions-container { display:flex; gap:12px; justify-content:flex-start; padding: 10px 0 18px 0; align-items:center; }
.dashboard-actions-container .btn-primary { margin-left: 6px; }
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dashboard-actions { display: flex; gap: 12px; align-items: center; }
.muted { color: rgba(255,255,255,0.75); }

.dashboard-main { padding: 32px 0 80px 0; }
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.event-card {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    padding: 12px;
    border-radius: 12px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.06);
}
.event-thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; }
.event-body { flex: 1; }
.event-body h3 { margin-bottom: 6px; }
.event-actions { display:flex; gap:8px; margin-top: 8px; }

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 22px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 30;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -1px;
    color: #F1F97E;
}

.nav-left ul {
    list-style: none;
    display: flex;
    gap: 26px;
}

.nav-left a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

/* ---------- BUTTONS ---------- */
.btn-primary,
.btn-outline {
    padding: 11px 22px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
}

.small {
    padding: 9px 18px;
}

.big {
    padding: 13px 32px;
    font-size: 18px;
}

.btn-primary {
    background: #F1F97E;
    color: black;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.65);
    color: white;
    backdrop-filter: blur(2px);
}

.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 110px;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* ---------- LOGIN MODAL (MATCHER DESIGNET) ---------- */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* soft mørk overlay */
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: rgba(255, 255, 255, 0.08); /* transparent glas */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 32px;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;

    color: white;
    font-family: "Inter", sans-serif;

    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;

    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.modal h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #F1F97E; /* samme gul som logo */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.modal input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 15px;
   
}

.modal input:focus {
    outline: none;
    border-color: #F1F97E;
}

.modal button[type="submit"] {
    width: 100%;
    border: none;
    background: #F1F97E;
    color: black;
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s ease;
    padding-top: 10px;
    margin-top: 20px;
}

.modal button[type="submit"]:hover {
    background: #d7e05b;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.15s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.22);
}

.nav-link-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: white;
  cursor: pointer;
}
