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

body {
    font-family: 'Roboto', sans-serif;
    background: #111;
    color: #f5f5f5;
}

/* NAVBAR */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

nav h1 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

/* MENU */
nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    transition: 0.2s;
}

nav a:hover {
    color: #f39c12;
}

/* CLOSE BUTTON (default = skjult) */
.close-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: #f39c12;
}

/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px;
    transition: 0.3s;
}

/* Kontakt */
.contact-box {
    background: #1c1c1c;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #c0392b;
    transition: 0.2s;
}

.contact-box:hover {
    border-color: #f39c12;
    transform: translateY(-3px);
}

.contact-box a {
    color: #f39c12;
    text-decoration: none;
    font-size: 18px;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    height: 100vh;

    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
        url('img/ddh-bg.jpg') center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(243,156,18,0.4), transparent 60%);
    z-index: 1;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    letter-spacing: 3px;
    text-shadow: 0 0 25px rgba(243,156,18,0.5);
}

.hero p {
    font-size: 18px;
    color: #ddd;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #c0392b;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.2s;
}

.btn:hover {
    background: #f39c12;
}
/* CONTENT SECTION */
#content {
    padding: 100px 20px 60px;
    max-width: 1100px;
    margin: auto;
}

#content-inner {
    background: #1c1c1c;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#content-inner h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

#content-inner p,
#content-inner label {
    color: #ccc;
    line-height: 1.6;
    font-size: 15px;
}

#content-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #c0392b, #f39c12);
}

#content-inner:hover {
    border-color: #f39c12;
    transition: 0.3s;
}
#content-inner input,
#content-inner textarea,
#content-inner select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid #333;
    color: #f5f5f5;
    outline: none;
    transition: 0.2s;
    font-size: 14px;
}
#content-inner input:focus,
#content-inner textarea:focus,
#content-inner select:focus {
    border-color: #f39c12;
    box-shadow: 0 0 6px rgba(243,156,18,0.4);
}
#content-inner button,
#content-inner input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #333;
    border: none;
    color: #f5f5f5;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
#content-inner button:hover,
#content-inner input[type="submit"]:hover {
    background: #f39c12;
    color: #000;
}
#content-inner a {
    color: #f39c12;
    text-decoration: none;
    transition: 0.2s;
}

#content-inner a:hover {
    text-decoration: underline;
}

#content-inner .form-group {
    margin-bottom: 15px;
}
#content-inner small {
    color: #888;
    font-size: 12px;
}
.info_error,
.info_success,
.info_note {
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 6px;
    font-size: 14px;
    position: relative;
    border-left: 5px solid;
    background: #1c1c1c;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* ERROR */
.info_error {
    border-color: #e74c3c;
    color: #f5b7b1;
}

/* SUCCESS */
.info_success {
    border-color: #2ecc71;
    color: #a9dfbf;
}

/* NOTE */
.info_note {
    border-color: #f39c12;
    color: #f9e79f;
}
/* SECTIONS */
section {
    padding: 80px 40px;
    max-width: 1100px;
    margin: auto;
}

h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    margin-bottom: 20px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #1c1c1c;
    padding: 20px;
    border-left: 4px solid #c0392b;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #f39c12;
}
/* HEADER FLEX */
.ture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* BUTTON */
.add-event-btn {
    background: #333;
    color: #f5f5f5;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.2s;
}

.opret_event_knap{
	display: inline-grid;
    margin: 0 0 10px 0;
}

/* hover */
.add-event-btn:hover {
    background: #f39c12;
    color: #000;
}
/* EVENTS */
.event-card {
    position: relative;
}

.event-date {
    font-size: 14px;
    color: #f39c12;
    margin-bottom: 10px;
}

.event-owner {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
}

.event-desc {
    margin-bottom: 15px;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.event-actions a {
    font-size: 13px;
    color: #f5f5f5;
    text-decoration: none;
    background: #333;
    padding: 5px 10px;
    border-radius: 4px;
}

.event-actions a:hover {
    background: #f39c12;
    color: #000;
}

.join-btn {
    width: 100%;
    padding: 10px;
    background: #c0392b;
    border: none;
    color: white;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s;
}

.join-btn:hover {
    background: #f39c12;
    color: #000;
}

.participants {
    margin-top: 10px;
    font-size: 13px;
    color: #ccc;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}
#galleri {
    margin-top: 20px;
}

.elfsight-app-XXXXXXXX {
    margin-top: 20px;
}

/* MEDLEMMER */
#medlemmer {
    margin-top: 40px;
}

/* GRID */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* CARD */
.member-card {
    background: #1c1c1c;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* hover */
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,0,0,0.7);
}

/* navn */
.member-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
}

/* nickname */
.member-nick {
    margin-top: 5px;
    color: #f39c12;
    font-size: 14px;
}
.member-img {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #333;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #000;
    margin-top: 40px;
}

/* MOBILE */
@media (max-width: 768px) {

    .burger {
        display: flex;
    }

    #content {
        padding: 80px 15px 40px;
    }

    #content-inner {
        padding: 25px;
    }

    #content-inner h3 {
        font-size: 32px;
    }
	
	.ture-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .add-event-btn {
        width: 100%;
        text-align: center;
    }
	nav ul {
		position: fixed;
		top: 0;
		right: -100%;
		height: 100vh;
		width: 250px;
		background: #000;
		flex-direction: column;
		padding-top: 80px;
		transition: 0.3s;
	}

    nav ul li {
        margin: 20px 0;
        text-align: center;
    }

    nav ul.active {
        right: 0;
    }
	.close-btn {
		display: block;
	}
}