/* Modern Design System for SSWPA */

:root {
  /* Steinway-Inspired Color Palette */
  --primary-color: #000000;        /* Pure black - Steinway sophistication */
  --secondary-color: #1a1a1a;      /* Near black */
  --accent-color: #8B4513;         /* Warm brown - piano wood */
  --accent-light: #D2B48C;         /* Tan - warm wood tone */
  --accent-gold: #CD853F;          /* Muted gold - elegant accent */
  --ivory: #FFFEF7;               /* Pure ivory white */
  --pearl: #F5F5F0;               /* Subtle off-white */
  --text-primary: #000000;        /* Pure black text */
  --text-secondary: #4A4A4A;      /* Charcoal gray */
  --text-light: #6B6B6B;          /* Medium gray */
  --background-light: #FAFAF8;    /* Warm white background */
  --background-white: #FFFFFF;    /* Pure white */
  --border-light: #E8E8E6;        /* Subtle warm borders */
  --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-elegant: 0 4px 20px rgba(139, 69, 19, 0.15);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
  font-weight: 400;
  margin: 0;
}

.main-content {
  margin-top: 0; /* Will be set dynamically by JavaScript */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', 'Georgia', serif;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Layout System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--background-white);
}

.section-hero {
  padding: 8rem 0;
}

/* Header & Navigation */
.header {
  background: var(--background-white);
  box-shadow: var(--shadow-subtle);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.logo-section {
  background: var(--background-white);
  padding: 0.75rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.logo {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  height: 120px;
  width: auto;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 6rem 1rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 60px;
  position: relative;
  transition: all 0.3s ease;
}

/* Small logo for scrolled state */
.nav-logo {
  position: absolute;
  left: 2rem;
  height: 40px;
  width: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Alternative inverted logo using CSS background */
.nav-logo-alt {
  display: none;
  position: absolute;
  left: 2rem;
  height: 40px;
  width: 40px;
  transition: all 0.3s ease;
  background: var(--primary-color);
  border-radius: 6px;
  padding: 0.5rem;
}

.nav-logo-alt::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-image: url('https://www.sswpa.org/uploads/2/2/8/5/22850408/1384530296.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1) brightness(2);
}

/* SVG-based inverted logo */
.nav-logo-svg {
  position: absolute;
  left: 2rem;
  height: 40px;
  width: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Scrolled state */
.header.scrolled .logo-section {
  max-height: 0;
  padding: 0;
  border-bottom: none;
  overflow: hidden;
}

.header.scrolled .nav-container {
  justify-content: center;
  min-height: 70px;
}

.header.scrolled .nav-logo {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.15s;
}

.header.scrolled .nav-logo-svg {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.15s;
}

.header.scrolled .nav-menu {
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--accent-color);
  background-color: var(--accent-light);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--background-white);
  box-shadow: var(--shadow-medium);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  margin: 0;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  background-color: var(--accent-light);
  color: var(--primary-color);
}

/* Hide main dropdown links on desktop (they're redundant with main menu) */
@media (min-width: 769px) {
  .dropdown-main-link {
    display: none;
  }
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  font-weight: 500;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Hero Section */
.hero {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('/static/images/Steinway_Onstage_at_Bass_Concert_Hall.jpg') center 70%/cover no-repeat;
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary, .btn-outline, .btn-member {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: white;
  backdrop-filter: blur(2px);
}

.btn-primary:hover, .btn-outline:hover, .btn-member:hover {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(3px);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

/* Light background variants (reversed colors) */
.btn-primary-light, .btn-outline-light {
  background: rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 0, 0, 0.7);
  color: var(--text-dark);
  backdrop-filter: blur(2px);
}

.btn-primary-light:hover, .btn-outline-light:hover {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

/* Cards */
.card {
  background: var(--background-white);
  border-radius: 0;
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

/* Piano Key Accent */
.piano-accent {
  background: linear-gradient(90deg, 
    var(--ivory) 0%, 
    var(--ivory) 85%, 
    var(--primary-color) 85%, 
    var(--primary-color) 100%);
  padding: 0.5rem;
}


/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
  
  .logo-img {
    height: 100px;
  }
  
  .logo-section {
    padding: 0.5rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 1rem 4rem 1rem 4rem;
    flex-wrap: wrap;
    position: relative;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 1rem 2rem;
    display: block;
    border-radius: 0;
  }
  
  .dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    background: var(--background-white);
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
  }
  
  .nav-item.active .dropdown {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 0.5rem 0;
    background: var(--pearl);
    border-left: 3px solid var(--accent-color);
  }
  
  .dropdown-link {
    padding: 0.75rem 3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: none;
  }
  
  .dropdown-link:hover {
    background-color: var(--accent-light);
    color: var(--primary-color);
    padding-left: 3.5rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-logo {
    left: 1rem;
    height: 35px;
  }
  
  
  .logo-img {
    height: 80px;
  }
  
  .logo-section {
    padding: 0.5rem 0;
  }
  
  
  .hero {
    padding: 4rem 0;
    min-height: 400px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .grid {
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Page Layout Styles */
.page-header {
  padding: 6rem 0 4rem;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-wrapper p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.content-wrapper h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.content-wrapper a {
  color: var(--accent-color);
  font-weight: 500;
}

.content-wrapper a:hover {
  color: var(--primary-color);
}

/* Active navigation link styling */
.nav-link.active {
  color: var(--accent-color) !important;
  font-weight: 500;
}

/* Page links styling */
.page-links {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Board member list styling */
.board-list {
  margin-bottom: 3rem;
}

.board-member {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.board-member:last-child {
  border-bottom: none;
}

.board-member strong {
  color: var(--primary-color);
}

/* TODO section styling */
.todo-section {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.todo-section p {
  margin-bottom: 0.5rem;
  color: #856404;
}

.todo-section p:last-child {
  margin-bottom: 0;
}

/* Performance schedule styling */
.performance-schedule {
  margin-top: 2rem;
}

.performance-date {
  background-color: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-subtle);
}

.performance-date:last-child {
  margin-bottom: 0;
}

.date-header {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.performers {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.4;
}

/* Audition info card styling */
.audition-info-card, .contact-info-card {
  background-color: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.audition-info-card:last-child, .contact-info-card:last-child {
  margin-bottom: 0;
}

.audition-info-card h3, .contact-info-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.audition-info-card ul, .contact-info-card ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.audition-info-card li, .contact-info-card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-info-card {
  background-color: var(--background-light);
  border-color: var(--accent-light);
}

/* Honors recital styling */
.recital-dates {
  margin: 2rem 0;
  background-color: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.recital-date {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--accent-color);
  font-size: 1.1rem;
}

.recital-date:last-child {
  border-bottom: none;
}

.recital-info-card {
  background-color: var(--accent-light);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.recital-info-card p {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.recital-info-card p:last-child {
  margin-bottom: 0;
}

.guidelines-card {
  background-color: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.guidelines-card ul {
  margin-left: 1.5rem;
}

.guidelines-card li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.guidelines-card ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Membership page styling */
.membership-application-card {
  background-color: var(--accent-light);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.membership-application-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.form-filename {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

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

.membership-level {
  background-color: var(--background-white);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-level:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elegant);
}

.membership-price {
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent-color);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.membership-type {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.membership-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

.donation-info-card {
  background-color: var(--background-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0 0 0;
  border-left: 4px solid var(--accent-color);
}

.donation-info-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Support page styling */
.donation-address-card {
  background-color: var(--accent-color);
  color: var(--ivory);
  border-radius: 12px;
  padding: 3rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: var(--shadow-elegant);
}

.donation-address-card h3 {
  color: var(--ivory);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.address {
  font-size: 1.2rem;
  line-height: 1.8;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.recognition-card {
  background-color: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-subtle);
  border-left: 4px solid var(--accent-gold);
}

.recognition-card h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.recognition-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact page styling */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info h2, .contact-form-section h2 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--background-white);
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.contact-icon {
  background-color: var(--accent-color);
  color: var(--ivory);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-text strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-text a {
  color: var(--accent-color);
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--primary-color);
}

/* Contact form styling */
.contact-form {
  background-color: var(--background-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.1);
}

.privacy-note {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--background-light);
  border-radius: 4px;
  text-align: center;
}

.privacy-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Related organizations */
.related-organizations {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-light);
}

.related-organizations h2 {
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.org-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Concert Cards Styling */
.concerts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Design 2: Split Layout Card */
.concert-card {
  background: var(--background-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 350px;
  max-width: 800px;
  margin: 0 auto;
}

.concert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.artist-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}

.artist-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.content-section {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
}

.date-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent-color);
  color: var(--ivory);
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.date-badge .month-day {
  font-size: 1.1rem;
  font-weight: 700;
}

.date-badge .year {
  font-size: 0.8rem;
  opacity: 0.9;
}

.artist-info {
  margin-top: 20px;
}

.artist-name {
  font-size: 1.8rem;
  margin: 0 0 8px 0;
  color: var(--primary-color);
}

.artist-role {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.meta-item i {
  width: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.pricing-section {
  margin-bottom: 24px;
}

.pricing-info .price-range {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.pricing-info .free-note {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.button-section {
  margin-top: auto;
}

/* Ticket Detail Page Styling */
.ticket-detail-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  margin-top: 2rem;
}

.event-details-card,
.ticket-purchase-card {
  background-color: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.event-header {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.event-date-large {
  background-color: var(--accent-color);
  color: var(--ivory);
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  margin-right: 2rem;
  min-width: 100px;
  flex-shrink: 0;
}

.event-date-large .month {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date-large .day {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin: 0.5rem 0;
}

.event-date-large .year {
  font-size: 1rem;
  opacity: 0.9;
}

.event-title-info h2 {
  margin: 0 0 0.5rem 0;
  color: var(--primary-color);
  font-size: 2rem;
}

.event-type {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.event-metadata {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  color: var(--text-secondary);
}

.meta-item i {
  margin-right: 0.75rem;
  color: var(--accent-color);
  width: 16px;
  margin-top: 0.25rem;
}

.event-description h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.event-description p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ticket-purchase-card h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 0.5rem;
}

.ticket-options {
  margin-bottom: 2rem;
}

.ticket-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.ticket-option:hover {
  border-color: var(--accent-color);
  background-color: var(--background-light);
}

.ticket-info h4 {
  margin: 0 0 0.25rem 0;
  color: var(--primary-color);
}

.ticket-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.ticket-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-color);
  min-width: 60px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  background-color: var(--background-white);
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.qty-btn:hover {
  background-color: var(--accent-light);
}

.qty-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-selector input {
  border: none;
  padding: 0.5rem;
  width: 50px;
  text-align: center;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.ticket-summary {
  background-color: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.summary-line.total {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  border-top: 1px solid var(--border-light);
  padding-top: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.important-notes {
  background-color: var(--accent-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--accent-color);
  margin-top: 2rem;
}

.important-notes h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.important-notes ul {
  margin: 0;
  padding-left: 1.5rem;
}

.important-notes li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Responsive design for ticket detail page */
@media (max-width: 768px) {
  .ticket-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .event-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .event-date-large {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .ticket-option {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .ticket-controls {
    justify-content: space-between;
  }
}

/* Responsive design for contact page */
@media (max-width: 768px) {
  .concerts-grid {
    grid-template-columns: 1fr;
  }
  
  .concert-card {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .artist-image {
    height: 300px;
  }
  
  .content-section {
    padding: 24px;
  }
  
  .date-badge {
    position: static;
    margin-bottom: 16px;
    border-radius: 12px;
    display: inline-block;
  }
  
  .event-meta {
    gap: 8px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin: 0 0 1rem 0;
    align-self: center;
  }
  
  .org-links {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 4rem 0 2rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .content-wrapper p {
    font-size: 1rem;
  }
}