/* ========================================
   Gregorian Choir Website
   Corpus et Sanguis Christi Cathedral
   Port Harcourt
   Colours: Forest Green & Gold
======================================== */

:root {
  --forest-green: #0F3D2E;
  --forest-green-light: #1A5C45;
  --forest-green-dark: #0A2A1F;
  --gold: #C9A227;
  --gold-light: #E0C35A;
  --gold-dark: #A8841B;
  --cream: #F8F5EE;
  --off-white: #FFFEF9;
  --text-dark: #1A1A1A;
  --text-muted: #555555;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(15, 61, 46, 0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Georgia', 'Times New Roman', serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--forest-green);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

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

.logo-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-left img,
.logo-right img {
  height: 95px;
  width: auto;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  object-fit: contain;
}

.logo-right {
  flex-shrink: 0;
}

.logo-right img {
  height: 92px;
}

.header-title-center {
  flex: 1;
  text-align: center;
  padding: 0 0.8rem;
  line-height: 1.3;
}

.header-title-center h1 {
  font-size: 2.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin: 0;
}

.header-title-center span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  margin-top: 0.15rem;
}

.header-title-center .header-tagline {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-top: 0.3rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.site-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-title h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.site-title span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

/* Navigation */
.main-nav {
  background: var(--forest-green-dark);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-nav a {
  display: block;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.05);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  border-radius: 4px;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  background: 
    linear-gradient(rgba(10, 42, 31, 0.30), rgba(15, 61, 46, 0.55)),
    url('../images/group-picture.jpg?v=20261006c') center 8% / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-content {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  z-index: 2;
  width: 100%;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0;
}

.hero-tagline {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-green-dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--forest-green-dark);
}

.btn-green {
  background: var(--forest-green);
  color: var(--white);
  border-color: var(--forest-green);
}

.btn-green:hover {
  background: var(--forest-green-light);
  transform: translateY(-2px);
}

/* ========== MAIN CONTENT ========== */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.section {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 1.9rem;
  color: var(--forest-green);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  transition: var(--transition);
  border-top: 4px solid var(--gold);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15,61,46,0.15);
}

.card h3 {
  color: var(--forest-green);
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* ========== ABOUT PAGE ========== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.2rem;
}

.quote-box {
  background: var(--forest-green);
  color: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  border-left: 5px solid var(--gold);
  margin: 2rem 0;
  font-style: italic;
}

.quote-box cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ========== CALENDAR ========== */
.calendar-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.event-list {
  margin-top: 2rem;
}

.event-item {
  display: flex;
  gap: 1.2rem;
  background: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--gold);
  align-items: center;
}

.event-date {
  background: var(--forest-green);
  color: var(--white);
  min-width: 70px;
  text-align: center;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 700;
}

.event-date .day {
  font-size: 1.5rem;
  display: block;
  line-height: 1.1;
}

.event-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.event-details h4 {
  color: var(--forest-green);
  margin-bottom: 0.25rem;
}

.event-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========== MUSIC ========== */
.repertoire-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.repertoire-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #eee;
}

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

.repertoire-item:hover {
  background: #f9f7f0;
}

.piece-title {
  font-weight: 600;
  color: var(--forest-green);
}

.piece-composer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.piece-tag {
  background: var(--forest-green);
  color: var(--gold);
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-weight: 600;
}

/* ========== JOIN FORM ========== */
.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--forest-green);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 2px dashed #ddd;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info {
  background: var(--forest-green);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.contact-info a {
  color: var(--gold-light);
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ========== MEMBERS AREA ========== */
.members-hero {
  background: var(--forest-green-dark);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.members-hero h2 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.login-card {
  background: var(--white);
  max-width: 420px;
  margin: 2rem auto;
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card h3 {
  text-align: center;
  color: var(--forest-green);
  margin-bottom: 1.5rem;
}

.directory-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.directory-table th {
  background: var(--forest-green);
  color: var(--gold);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.directory-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #eee;
}

.directory-table tr:hover {
  background: #f9f7f0;
}

.voice-badge {
  display: inline-block;
  background: var(--forest-green);
  color: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--forest-green-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: auto;
}

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

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-logos {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

.footer-logos img {
  height: 72px;
  width: auto;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
}

.footer-logo-right {
  text-align: right;
}

.footer-logo-right img {
  height: 80px;
  width: auto;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  margin-left: auto;
  margin-bottom: 0.5rem;
}

.footer-logo-right .motto {
  color: var(--gold);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom-left {
  text-align: left;
}

.footer-bottom-left .gold {
  color: var(--gold);
}

.footer-bottom-right {
  text-align: right;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-bottom-right a {
  color: var(--gold-light);
}

.footer-bottom-right a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-bottom-left,
  .footer-bottom-right {
    text-align: center;
  }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.highlight-box {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-green-light) 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2rem 0;
}

.highlight-box h3 {
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .logo-left img,
  .logo-right img {
    height: 72px;
  }

  .header-title-center {
    order: 3;
    width: 100%;
    padding: 0.4rem 0.5rem 0.6rem;
  }

  .header-title-center h1 {
    font-size: 1.9rem;
  }

  .header-title-center span {
    font-size: 0.8rem;
  }

  .header-title-center .header-tagline {
    font-size: 0.72rem;
  }

  .site-title h1 {
    font-size: 1.1rem;
  }

  .site-title span {
    font-size: 0.7rem;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero {
    min-height: 380px;
    padding: 4rem 1rem;
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  .hero p.tagline {
    font-size: 1.05rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .event-item {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1rem;
    min-height: 340px;
  }

  .logo-left {
    gap: 0.6rem;
  }

  .logo-left img,
  .logo-right img {
    height: 60px;
  }
}
