/*
 * Global styles for the Lynchburg Live Music website.
 * The design draws from modern aesthetics popular with tech‑savvy audiences: dark
 * backgrounds, vibrant accents and clean typography. Sections are clearly
 * delineated and responsive so the site looks good on desktops, tablets and
 * mobile devices.  
 */

/* Reset a few default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Roboto", sans-serif;
  line-height: 1.6;
  background-color: #0e172c;
  color: #e6e9f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-image: url('header.png');
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
  text-align: center;
  color: #fff;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

nav {
  background-color: #1e2746;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #a0c5ff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover, nav a.active {
  background-color: #294080;
  color: #fff;
}

main {
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #97c1ff;
  border-bottom: 2px solid #294080;
  padding-bottom: 0.5rem;
}

/* Event cards */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background-color: #1e2746;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.event-card h3 {
  font-size: 1.3rem;
  color: #d7e3ff;
  margin-bottom: 0.5rem;
}

.event-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #c9d2e1;
}

.event-card .date {
  font-weight: bold;
  color: #ffa500;
}

.event-card a {
  margin-top: auto;
  text-decoration: none;
  background-color: #294080;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.event-card a:hover {
  background-color: #3e59a7;
}

/* Venue list & resources */
.list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.list li {
  background-color: #1e2746;
  border-radius: 8px;
  padding: 1rem;
}

.list li h3 {
  color: #d7e3ff;
  margin-bottom: 0.5rem;
}

.list li p {
  color: #c9d2e1;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.list li a {
  color: #a0c5ff;
  text-decoration: none;
  word-break: break-word;
}

.list li a:hover {
  text-decoration: underline;
}

footer {
  background-color: #1e2746;
  color: #7489b6;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}