/* Classic City Band - Main Styles */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Merriweather:wght@700&display=swap');

:root {
  --primary-red: #c41e3a;
  --primary-navy: #003366;
  --light-gray: #f4f4f4;
  --dark-gray: #333;
  --white: #ffffff;
  --accent-gold: #d4af37;
}

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

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

h1, h2, h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
}

/* Header */
header {
  background: #7f96d0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

/* Logo */
.logo-link {
  display: block;
}

.header-logo {
  height: 60px;
  width: auto;
  transition: opacity 0.3s;
  margin-right: 2rem;
}

.header-logo:hover {
  opacity: 0.8;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: 0;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-red);
}

/* Hero Section */
.hero {
  background: url('../images/hero.jpg') center 30%/cover no-repeat;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: darken;
  color: var(--white);
  padding: 10rem 2rem 3rem 2rem;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 500px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  max-width: 600px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-caption {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-style: italic;
  color: white;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 10px 16px;
  margin: 0;
  border-radius: 6px;
  text-align: center;
  max-width: 98%;
  width: 1000px;
  line-height: 1.4;
}

/* Carnegie Badge */
.hero .carnegie-badge {
  position: absolute;
  bottom: -40px;
  right: 3rem;
  z-index: 100;
  transition: transform 0.3s;
  display: block;
}

.hero .carnegie-badge:hover {
  transform: scale(1.05);
}

.hero .carnegie-badge img {
  max-width: 350px;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: block;
}

/* Text overlay on Carnegie badge */
.hero .carnegie-badge .badge-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hero .carnegie-badge .badge-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-gold);
  text-align: center;
  padding: 0.5rem 1rem;
  margin: 1rem;
  display: block;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
}

.hero .carnegie-badge .badge-subtitle {
  font-size: 1rem;
  color: var(--accent-gold);
  text-align: center;
  padding: 0.5rem 1rem;
  margin: 1rem;
  display: block;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-gold);
  color: var(--dark-gray);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: #a01828;
}

/* Quick Links Section */
.quick-links {
  background: #925434;
  padding: 3rem 2rem 5rem 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: 500px;
  flex-wrap: wrap;
}

.quick-links .link-btn {
  padding: 1rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  transition: all 0.3s;
  text-align: center;
  color: var(--accent-gold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 266px;
}

.quick-links .link-btn.performances {
  background-image: url('../images/performances-bg.png');
  width: 250px;
  height: 119px;
}

.quick-links .link-btn.support {
  background-image: url('../images/support-bg.png');
  width: 250px;
  height: 119px;
}

.quick-links .link-btn.join {
  background-image: url('../images/join-bg.png');
  width: 250px;
  height: 119px;
}

.quick-links .link-btn.bigband {
  background-image: url('../images/bigband-bg.png');
  width: 200px;
  height: 266px;
}

.quick-links .link-btn.polka {
  background-image: url('../images/polka-bg.png');
  width: 200px;
  height: 200px;
}

.quick-links .link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Content Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Upcoming Events */
.events-section {
  background: var(--light-gray);
  padding: 3rem 2rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-info {
  padding: 1.5rem;
}

.event-date {
  color: var(--primary-red);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.event-info h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

/* Support Section */
.support-section {
  background: var(--primary-navy);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.support-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.support-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-red);
}

/* Page Content */
.page-content {
  padding: 3rem 2rem;
}

.page-content h1 {
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.page-content h2 {
  color: var(--primary-navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Fundraising Progress Bar */
.progress-container {
  background: var(--light-gray);
  border-radius: 10px;
  height: 40px;
  margin: 2rem 0;
  overflow: hidden;
}

.progress-bar {
  background: var(--primary-red);
  height: 100%;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

/* Calendar embed */
.calendar-container {
  margin: 1rem 0;
  min-height: auto;
}

.calendar-container iframe {
  max-width: 600px;
  width: 100%;
  border: none;
  border-radius: 8px;
}

/* Support Grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0 3rem 0;
  background: #7f96d0;
  padding: 2rem;
  border-radius: 10px;
}

.support-card {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  position: relative;
}

.support-card.general {
  background-image: url('../images/genfund.png');
}

.support-card.carnegie {
  background-image: url('../images/carnegiefund.png');
}

.support-card.members {
  background-image: url('../images/memberpay.png');
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.support-card .support-title {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 1rem;
}

.support-card .support-caption {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  line-height: 1.4;
}

  /* Join Page Two-Column Layout */
.join-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.join-text {
  flex: 1;
  min-width: 300px;
}

.join-form {
  flex: 1;
  min-width: 400px;
}

.join-form iframe {
  width: 100%;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Hide hero caption on mobile */
  .hero-caption {
    display: none;
  }

/* Mobile: Stack vertically */
@media (max-width: 800px) {
  .join-container {
    flex-direction: column;
  }
  
  .join-form {
    min-width: 100%;
    width: 100%;
  }
}
  
/* Hide Carnegie badge on mobile */
@media (max-width: 768px) {
  .hero .carnegie-badge {
    display: none !important;
  }
  
  /* Header mobile */
  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 1rem;
  }
  
  /* Navigation mobile - 2 columns */
  nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    margin-left: 0;
  }
  
  nav a {
    font-size: 0.85rem;
    padding: 0.4rem;
  }
  
  /* Hero mobile */
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  /* Quick links mobile */
  .quick-links {
    padding: 2rem 1rem 4rem 1rem;
    min-height: 300px;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  
  .quick-links .link-btn {
    width: 90%;
    max-width: 350px;
  }
  
  .quick-links .link-btn.performances,
  .quick-links .link-btn.support,
  .quick-links .link-btn.join {
    height: 160px;
  }
  
  .quick-links .link-btn.bigband,
  .quick-links .link-btn.polka {
    width: 200px;
    max-width: 200px;
  }
  
  /* Events mobile */
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  /* Support grid mobile */
  .support-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .support-card {
    min-height: 250px;
  }
  
  .support-card .support-title {
    font-size: 1.3rem;
  }
  
  .support-card .support-caption {
    font-size: 0.9rem;
  }
}
