/* === Unity Gospelchor — Modern Responsive Stylesheet === */

:root {
  --color-primary: #a81560;
  --color-primary-light: #d41b7a;
  --color-primary-dark: #7a1045;
  --color-accent: #f0c850;
  --color-accent-light: #f6e08a;
  --color-bg-dark: #1a0a10;
  --color-bg-section: #220413;
  --color-bg-card: #2e0a1c;
  --color-bg-card-hover: #3a0f25;
  --color-text: #f0ece0;
  --color-text-muted: #c0b8a8;
  --color-text-heading: #f6e08a;
  --color-border: rgba(168, 21, 96, 0.3);
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  --max-width: 1100px;
  --nav-height: 70px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --transition: 0.3s ease;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text-heading); line-height: 1.3; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section--alt { background: var(--color-bg-section); }

/* === Navigation === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 10, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}
.nav__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: bold;
  white-space: nowrap;
}
.nav__logo span { color: var(--color-primary-light); }
.nav__links { display: flex; gap: 0.25rem; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.nav__links a {
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}
.nav__links a:hover,
.nav__links a.active {
  background: var(--color-primary);
  color: #fff;
}

/* Hamburger */
.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001;
}
.nav__toggle span {
  display: block; width: 100%; height: 2px; background: var(--color-text);
  position: absolute; left: 0; transition: var(--transition);
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__toggle span:nth-child(3) { bottom: 0; }
.nav__toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* === Hero === */
.hero {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-section) 50%, var(--color-primary-dark) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(168,21,96,0.15) 0%, transparent 70%);
}
.hero__content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-primary-light);
  font-family: var(--font-heading);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.hero p { font-size: 1.1rem; color: var(--color-text-muted); max-width: 550px; margin: 0 auto 2rem; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.8rem 2rem;
  border-radius: var(--radius); font-weight: 600;
  font-size: 1rem; transition: all var(--transition);
  border: 2px solid transparent; cursor: pointer;
}
.btn--primary {
  background: var(--color-primary); color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); color: #fff; }
.btn--outline {
  background: transparent; color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--outline:hover { background: var(--color-accent); color: var(--color-bg-dark); }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === Cards === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), background var(--transition);
}
.card:hover { transform: translateY(-3px); background: var(--color-bg-card-hover); }
.card__icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { color: var(--color-accent); }
.card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* === Page Header === */
.page-header {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-section));
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* === Content Blocks === */
.content-block { margin-bottom: 3rem; }
.content-block p { margin-bottom: 1rem; }
.content-block p:last-child { margin-bottom: 0; }

.text-columns { columns: 2; column-gap: 2rem; }

/* === Event List === */
.event-list { list-style: none; }
.event-item {
  display: flex; gap: 1.5rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.event-item:last-child { border-bottom: none; }
.event-date {
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
  flex-shrink: 0;
}
.event-info h3 { color: var(--color-text); font-size: 1.05rem; }
.event-info p { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* === Repertoire === */
.repertoire-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
  list-style: none;
}
.repertoire-list li {
  padding: 0.5rem 0.75rem;
  background: var(--color-bg-card);
  border-radius: 4px;
  font-size: 0.9rem;
  border-left: 3px solid var(--color-primary);
}

/* === Team / Profile Cards === */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.profile-card { text-align: center; }
.profile-card img {
  width: 180px; height: 180px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 1rem;
  border: 3px solid var(--color-primary);
}
.profile-card h3 { color: var(--color-accent); margin-bottom: 0.25rem; }
.profile-card .role { color: var(--color-primary-light); font-size: 0.9rem; margin-bottom: 0.5rem; }
.profile-card p { color: var(--color-text-muted); font-size: 0.9rem; }

/* === Voice Section Images === */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.voice-card { text-align: center; }
.voice-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
  margin-bottom: 0.75rem;
}
.voice-card h3 { font-size: 1.1rem; }

/* === Contact Grid === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 { color: var(--color-accent); margin-bottom: 1rem; }
.contact-card p { margin-bottom: 0.5rem; }
.contact-card a { font-weight: 600; }

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--color-border);
  margin-top: 2rem;
}
.map-container iframe { width: 100%; height: 350px; border: none; }

/* === Image Gallery (inline) === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
  transition: transform var(--transition);
}
.gallery img:hover { transform: scale(1.02); }

/* === Soloist Grid === */
.soloist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.soloist-card { text-align: center; }
.soloist-card img {
  width: 150px; height: 150px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 0.75rem;
  border: 3px solid var(--color-primary);
}
.soloist-card h3 { font-size: 1rem; color: var(--color-accent); }
.soloist-card p { font-size: 0.85rem; color: var(--color-text-muted); font-style: italic; }

/* === Highlight Box === */
.highlight-box {
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-primary-dark));
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.highlight-box h2 { margin-bottom: 1rem; }
.highlight-box p { max-width: 600px; margin: 0 auto 1.5rem; color: var(--color-text-muted); }

/* === Footer === */
.footer {
  background: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 { color: var(--color-accent); margin-bottom: 1rem; font-size: 1rem; }
.footer p, .footer li { color: var(--color-text-muted); font-size: 0.9rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: var(--color-text-muted); }
.footer ul a:hover { color: var(--color-accent); }
.footer__bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted); font-size: 0.85rem;
}
.footer__social { display: flex; gap: 1rem; margin-top: 0.5rem; }
.footer__social a {
  color: var(--color-text-muted); font-size: 1.4rem;
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--color-accent); }

/* === Collapsible Sections === */
.collapsible { border-bottom: 1px solid var(--color-border); }
.collapsible__toggle {
  width: 100%; background: none; border: none; color: var(--color-text);
  padding: 1rem 0; font-size: 1.1rem; font-family: var(--font-heading);
  text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.collapsible__toggle:hover { color: var(--color-accent); }
.collapsible__toggle::after { content: '+'; font-size: 1.5rem; color: var(--color-primary-light); transition: transform var(--transition); }
.collapsible.open .collapsible__toggle::after { content: '\2212'; }
.collapsible__content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0;
}
.collapsible.open .collapsible__content { max-height: 5000px; padding: 0 0 1.5rem; }

/* === Responsive === */
@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .section { padding: 3rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column; padding: calc(var(--nav-height) + 1rem) 2rem 2rem;
    transition: right var(--transition);
    border-left: 1px solid var(--color-border);
    gap: 0;
  }
  .nav__links.open { right: 0; }
  .nav__links a { padding: 0.75rem 0; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--color-border); }

  .text-columns { columns: 1; }
  .two-col { grid-template-columns: 1fr !important; }
  .event-item { flex-direction: column; gap: 0.5rem; }
  .event-date { align-self: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .profile-grid { grid-template-columns: 1fr; }
  .soloist-grid { grid-template-columns: 1fr 1fr; }
  .repertoire-list { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
