/* 
   Church of Christ Odogunyan - Visual Identity System v2.0 (2026)
   CSS Stylesheet
*/

:root {
  /* Core Colors */
  --gold: #D5B048;
  --charcoal: #221C15;
  --white: #FFFFFF;
  --midnight: #000B31;
  
  /* Supporting Neutrals & Tints */
  --brass: #8A6A1E;
  --light-gold: #E6DB86;
  --warm-grey: #6E665A;
  --sand: #EFE7D6;
  --cream: #F7F2E8;
  
  /* Functional Colors */
  --text-dark: #221C15;
  --text-light: #F7F2E8;
  --text-muted: #6E665A;
  --border-light: #E5DFC9;
  --card-bg: #FFFFFF;
  --success: #2E7D32;
  --error: #C62828;

  /* Typography */
  --font-heading: 'Spectral', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(34, 28, 21, 0.05);
  --shadow-md: 0 4px 12px rgba(34, 28, 21, 0.08);
  --shadow-lg: 0 8px 24px rgba(34, 28, 21, 0.12);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: #FAFAFA;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.15rem;
  color: var(--warm-grey);
}

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

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

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-dark {
  background-color: var(--charcoal);
  color: var(--text-light);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: #D6D0C7;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-header .tagline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}

.section-dark .section-header .tagline {
  color: var(--gold);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--charcoal);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  border-bottom: 2px solid var(--gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 44px;
  height: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #E2DDD5;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--gold);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background-color: var(--charcoal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(213, 176, 72, 0.2);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
}

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

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #D6D0C7;
  font-size: 0.9rem;
}

.dropdown-item a:hover {
  background-color: rgba(213, 176, 72, 0.1);
  color: var(--gold);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--charcoal);
}

.btn-gold:hover {
  background-color: #C29F3A;
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 176, 72, 0.3);
}

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

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #332B22;
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-roster {
  background: linear-gradient(135deg, var(--gold) 0%, var(--brass) 100%);
  color: var(--white) !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(138, 106, 30, 0.25);
}

.btn-roster:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 106, 30, 0.4);
}

/* Hero Section */
.hero {
  background-color: var(--charcoal);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 7rem 0;
  color: var(--text-light);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(213, 176, 72, 0.08) 0%, rgba(34, 28, 21, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(213, 176, 72, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #D6D0C7;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(213, 176, 72, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(5px);
}

.hero-card-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hero-card-author {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #A59E94;
}

/* Feature & Grid Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--cream);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* Brand Story / Mission Vision Promise */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.mvp-box {
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--text-dark);
}

.mvp-box.dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.mvp-box.dark h3 {
  color: var(--gold);
}

.mvp-box.sand {
  background-color: var(--sand);
}

.mvp-box.cream {
  background-color: var(--cream);
  border: 1px solid var(--border-light);
}

.mvp-box .box-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.mvp-box.dark .box-label {
  color: var(--gold);
}

/* Project Anthill Spotlight */
.anthill-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, #15110D 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: var(--white);
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.anthill-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.anthill-tag {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.anthill-stats {
  background: rgba(213, 176, 72, 0.08);
  border: 1px solid rgba(213, 176, 72, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: #D6D0C7;
}

/* Timeline component */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-light);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 2.5rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 2.5rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -9px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -9px;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.timeline-date {
  font-weight: 700;
  color: var(--brass);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Contact Page Form & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #FAFAFA;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(213, 176, 72, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-top: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Event Cards */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.event-date-badge {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 2px solid var(--gold);
}

.event-day {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.event-month-time {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-body p {
  color: var(--text-muted);
  flex-grow: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--brass);
  margin-top: 1rem;
  font-weight: 600;
}

/* Ministry Unit Cards */
.ministry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ministry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--gold);
}

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

.ministry-title {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.ministry-lead {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brass);
  margin-bottom: 1rem;
  display: block;
}

/* Roster Banner Component */
.roster-banner {
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.roster-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--charcoal);
  color: #D6D0C7;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;

  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #D6D0C7;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #999;
}

/* Alerts / Form response */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
}

.alert-error {
  background-color: #FFEBEE;
  color: #B71C1C;
  border: 1px solid #FFCDD2;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .anthill-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mvp-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .hero-title { font-size: 2.5rem; }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: none;
    border-bottom: 3px solid var(--gold);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(255,255,255,0.05);
    width: 100%;
    margin-top: 0.5rem;
    display: none;
  }
  
  .nav-item.dropdown-active .dropdown-menu {
    display: block;
  }
  
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 3rem !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 2rem;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 11px !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
