/* Worcestershire Pauper League - Swan Theme */

@font-face {
  font-family: 'Luminari';
  src: url('fonts/Luminari-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --navy: #1E3A5A;
  --dark-navy: #0F1D2D;
  --cream: #F5F5DC;
  --off-white: #FAFAF5;
  --light-blue: #DBEAFE;
}

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

body {
  font-family: 'Questrial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--off-white);
  color: var(--dark-navy);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Luminari', 'Quattrocento', Georgia, serif;
  font-weight: normal;
}

/* Navigation */
nav {
  background-color: var(--off-white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--navy);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  font-family: 'Luminari', 'Quattrocento', Georgia, serif;
  color: var(--navy);
  text-decoration: none;
  font-weight: normal;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover,
nav a.active {
  border-bottom: 2px solid var(--navy);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 100%);
  color: var(--off-white);
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero .established {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1rem;
}

/* Main Content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin: 4rem 0;
}

section:first-child {
  margin-top: 0;
}

h2 {
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--navy);
}

h3 {
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* Info Cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--navy);
}

.info-card h3 {
  margin-top: 0;
  color: var(--navy);
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* QR Code Section */
.qr-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.qr-section h2 {
  border-bottom: none;
  margin-bottom: 1rem;
}

.qr-section img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.qr-section p {
  color: var(--navy);
  margin-bottom: 0;
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-table th,
.schedule-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--light-blue);
}

.schedule-table th {
  background-color: var(--navy);
  color: var(--off-white);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover {
  background-color: var(--light-blue);
}

.schedule-table .finals {
  background-color: var(--light-blue);
  font-weight: 600;
}

/* Rules List */
.rules-list {
  background: white;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

.rules-list li {
  margin-bottom: 0.75rem;
}

/* Links */
a {
  color: var(--navy);
}

a:hover {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--navy);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: var(--navy);
  color: white;
}

/* Footer */
footer {
  background-color: var(--dark-navy);
  color: var(--off-white);
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

footer a {
  color: var(--light-blue);
}

footer p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

/* About Page - People */
.organisers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.organiser-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.organiser-card h3 {
  margin: 0;
}

.organiser-card p {
  color: var(--navy);
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero .tagline {
    font-size: 1rem;
  }
  
  nav ul {
    gap: 0.5rem;
  }
  
  nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  main {
    padding: 1rem;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
}
