/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold-light: #f6e27a;
  --gold: #FFD700;
  --gold-dark: #b8860b;
  --background: #000;
  --card: #111;
  --border: #222;
  --text-muted: #888;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus {
  outline: 2px dashed var(--gold);
  outline-offset: 4px;
}

/* Header */
header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 300px;
  background-color: #000;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}

.logo {
  position: relative;
  z-index: 1;
}

.logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
}


.header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

header > *:not(.header-overlay) {
  position: relative;
  z-index: 1;
}

/* Navigation */
nav {
  background-color: #000;
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 99;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

nav a {
  font-weight: 600;
  position: relative;
  padding: 5px;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  left: 0;
  bottom: -4px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a:hover {
  background: none;
  color: var(--gold);
}

nav a.active {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Nav */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* Headings */
h1, h2 {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* Fallback for browsers without -webkit */
  display: inline-block;
  margin-bottom: 20px;
}

h1 {
  text-align: center;
  font-size: 2.75rem;
  margin: 50px 0 20px;
}

h2 {
  font-size: 1.3rem;
}

/* Buttons */
.buy-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
  min-height: 44px;
  font-size: 1rem;
}

.buy-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.buy-btn:focus {
  outline: 2px dashed var(--gold-dark);
  outline-offset: 4px;
}

/* Sold Out Button */
.buy-btn.sold-out {
  background: #444;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
  transform: none;
}


/* Event Grid & Containers */
.events-grid,
.gallery,
.opportunities-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px;
}

.event-card {
  background: url('images/BassfyldMassacre.png') center center no-repeat;
  background-size: cover;
  background-color: #000;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 300px;
  position: relative;
}

.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  z-index: 0;
}

.event-card > * {
  position: relative;
  z-index: 1;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.event-card img {
  display: none;
}

/* Ticket & Opportunity Cards */
.ticket-item,
.opportunity-card {
  background-color: var(--card);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ticket-item:hover,
.opportunity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Footer */
footer {
  background-color: var(--background);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* === Bassfyld Forms === */
form.form-card {
  max-width: 700px;
  margin: 40px auto;
  background-color: #111;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #222;
}

form.form-card label {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold);
}

form.form-card input,
form.form-card textarea,
form.form-card select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #000;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

form.form-card fieldset {
  border: 1px solid #444;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  background-color: #111;
}

form.form-card legend {
  font-weight: bold;
  color: var(--gold);
  padding: 0 10px;
}

form.form-card p {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 10px;
}

form.form-card .buy-btn {
  align-self: flex-start;
  padding: 12px 24px;
}

/* Checkbox & Row Layout */
form.form-card .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
}

form.form-card .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

form.form-card .checkbox-item input[type="checkbox"] {
  transform: scale(1.2);
}

form.form-card .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

/* Responsive Form Layout */
@media (max-width: 600px) {
  form.form-card {
    padding: 20px;
  }

  .checkbox-group {
    flex-direction: column;
  }
}
