/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* --- Keyframes for Dynamic Background --- */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #121212; /* Very dark grey background */
    color: #f0f0f0; /* Off-white text */
}

/* --- Dynamic Background for Subpages --- */
body.dynamic-bg {
    background: linear-gradient(-45deg, #1a1a1a, #2b2b2b, #121212, #000000);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* --- Navigation (Floating Left Menu) --- */
nav {
    position: fixed; /* Stays on top */
    top: 0;
    left: 0;
    width: 250px; /* Fixed width for left menu */
    height: 100vh; /* Full viewport height */
    background-color: #0a0a0a; /* Solid black */
    padding: 30px 0;
    z-index: 100;
    border-right: 2px solid #333; /* Dark grey border */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Erstattede den gamle nav .logo-tekst-styling med dette */
nav .logo-link {
    display: block;
    padding: 0 20px; /* Beholder polstring på link-containeren */
    margin-bottom: 30px;
    text-decoration: none;
}

nav .logo-img {
    width: 100%; /* Gør billedet responsivt ift. containeren */
    max-width: 200px; /* Juster efter behov */
    height: auto; /* Bevar billedformat */
    transition: transform 0.3s ease;
}

nav .logo-link:hover .logo-img {
    transform: scale(1.05); /* Let zoom-effekt ved hover */
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; /* Full width of nav */
}

nav ul li {
    display: block; /* Stack items vertically */
    margin: 0;
}

nav ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 700; /* Bold */
    padding: 20px 10px; /* Taller click area */
    transition: all 0.3s ease;
    border-left: 4px solid transparent; /* Placeholder for hover */
    display: block; /* Make link fill width */
    border-bottom: 1px solid #222; /* Separator */
}

nav ul li:first-child a {
    border-top: 1px solid #222;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffffff; /* Bright white on hover/active */
    background-color: #1a1a1a;
    border-left: 4px solid #ffffff; /* White indicator */
}

/* --- Homepage: Video Background --- */
.video-container {
    position: fixed; /* Covers the whole screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Sits behind everything */
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the screen */
}

/* Dark overlay on top of the video */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark filter */
    z-index: -1;
}

/* Homepage Hero Content */
.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    margin-left: 250px; /* Offset for new left nav */
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 6em;
    color: #fff;
    text-shadow: 4px 4px 8px #000;
    letter-spacing: 5px;
}

/* --- General Container for Subpages --- */
.container {
    padding-top: 50px; /* Reduced top padding */
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
    margin-left: 300px; /* Offset for nav (250px) + some extra space (50px) */
    padding-right: 50px; /* Ensure content doesn't hit edge */
}

.container h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 3em;
    color: #ffffff; /* White headline */
    border-bottom: 2px solid #555; /* Grey underline */
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* --- Event Calendar --- */
.event-list {
    list-style: none;
    padding: 0;
}

.event-list li {
    background-color: #1a1a1a; /* Dark grey card background */
    border-left: 5px solid #999; /* Light grey accent border */
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-list .date {
    font-size: 1.5em;
    font-weight: 700;
    color: #f0f0f0;
}

.event-list .venue {
    font-size: 1.3em;
    color: #ccc;
}

.event-list .location {
    font-size: 1.1em;
    color: #999;
}

.ticket-link {
    background-color: #f0f0f0;
    color: #121212;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent "BUY TICKETS" from wrapping */
}

.ticket-link:hover {
    background-color: #999; /* Grey hover */
}

.sold-out {
    font-weight: 700;
    color: #999;
    font-size: 1.1em;
}

/* --- Past Events Styling --- */
.event-list.past-events li {
    background-color: #111; /* Even darker background */
    border-left-color: #444; /* Darker grey border */
    opacity: 0.7;
}

.event-list.past-events .date,
.event-list.past-events .venue,
.event-list.past-events .location {
    color: #777; /* Greyed-out text */
}


/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border: 3px solid #333; /* Dark grey border */
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    border-color: #ffffff; /* White border on hover */
    transform: scale(1.05);
}

/* --- The Band (Bio) --- */
.band-bio {
    font-size: 1.1em;
    line-height: 1.6;
}

.band-bio img {
    width: 100%;
    max-width: 500px;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    border: 3px solid #333;
}

/* --- Gemini AI Features & Modal --- */
.gemini-btn {
    background-color: #f0f0f0;
    color: #121212;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
}

.gemini-btn:hover {
    background-color: #999;
}

.gemini-btn:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: #1a1a1a;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    z-index: 1001;
    color: #f0f0f0;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.modal-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #ffffff;
    margin-top: 0;
}

.modal-content pre {
    white-space: pre-wrap; /* Wrap text */
    word-wrap: break-word;
    background-color: #111;
    padding: 15px;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 1.6;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: #fff;
}