/* Base styles */
:root {
  --accent: #b22234;
  --accent-dark: #8b1a28;
  --dark: #1a1a1a;
  --light: #fff;
  --gray: #666;
  --gray-light: #f5f5f5;
}

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

body {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.7;
  color: #333;
  background: var(--light);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--dark);
  color: var(--light);
  padding: 25px 0;
  text-align: center;
}

.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--light);
  display: block;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-tagline {
  display: none;
}

/* Navigation */
.main-nav {
  margin-top: 15px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Main content */
main {
  padding: 60px 0;
  min-height: 60vh;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--dark);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--dark);
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 30px 0 15px;
}

p {
  margin-bottom: 20px;
}

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

a:hover {
  color: var(--accent-dark);
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--gray-light) 0%, #fff 100%);
  padding: 80px 0;
  margin-bottom: 40px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.headshot {
  width: 340px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  border: 4px solid var(--light);
}

.hero-text {
  text-align: left;
  max-width: 480px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .hero {
    padding: 60px 0;
  }
  .hero-content {
    flex-direction: column;
    gap: 40px;
  }
  .hero-text {
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .headshot {
    width: 280px;
  }
}

/* Home intro text */
.hero + section {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero + section p {
  margin-bottom: 25px;
}

/* List items */
.list-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item time {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: 30px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gray-light);
  color: var(--dark);
}

tr:hover {
  background: #fafafa;
}

@media (max-width: 600px) {
  table {
    font-size: 0.9rem;
  }
  th, td {
    padding: 10px 8px;
  }
}

/* Performance page image */
.container img[alt*="Lyric Opera"] {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto 40px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Media page / Carousel */
.media-page {
  max-width: 1000px;
}

.carousel {
  margin-top: 40px;
}

.carousel-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.carousel-track-container {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gray-light);
}

.carousel-slide img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.carousel-btn {
  background: var(--dark);
  color: var(--light);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--accent);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--accent);
}

@media (max-width: 600px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

/* About page */
.about-page {
  max-width: 800px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.about-headshot {
  width: 250px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.about-header h1 {
  margin-bottom: 0;
}

.about-content p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* Content images (about, writing, schedule, etc.) */
article.container img,
section.container img,
.about-content img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  margin: 30px auto;
  display: block;
}

@media (max-width: 600px) {
  .about-header {
    flex-direction: column;
    text-align: center;
  }
  .about-headshot {
    width: 200px;
  }
}

/* Contact form */
.contact-form {
  max-width: 500px;
  margin-top: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  font-family: 'Montserrat', sans-serif;
  background: var(--accent);
  color: var(--light);
  border: none;
  padding: 14px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--accent-dark);
}

/* Responsive */
@media (max-width: 600px) {
  .site-title {
    font-size: 1.2rem;
  }

  .main-nav ul {
    gap: 20px;
  }

  .main-nav a {
    font-size: 0.75rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}
