/* =============================================
   대한예수교장로회 개혁총회 - Conservative Theme
   Color: Navy #1a2744, Gold #c5a44e, White, Gray
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}
a { color: #1a2744; text-decoration: none; transition: color 0.3s; }
a:hover { color: #c5a44e; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Noto Serif KR', serif; color: #1a2744; line-height: 1.4; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-gray { background: #f5f5f3; }
.section-navy { background: #1a2744; color: #fff; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #c5a44e; }
.text-center { text-align: center; }
.text-gold { color: #c5a44e; }

/* === TOP BAR === */
.top-bar {
  background: #111b2e;
  color: #aab5c7;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #c5a44e; }
.top-bar a:hover { color: #e0c06e; }

/* === HEADER / NAV === */
.site-header {
  background: #fff;
  border-bottom: 3px solid #c5a44e;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a2744;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-sub {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  display: block;
}
.logo .cross {
  color: #c5a44e;
  font-size: 28px;
  font-weight: 700;
}

/* Navigation */
.main-nav { display: flex; gap: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 28px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #1a2744;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}
.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: #c5a44e;
  border-bottom-color: #c5a44e;
}

/* Dropdown */
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border-top: 3px solid #c5a44e;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s;
  z-index: 100;
}
.main-nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}
.dropdown li a:hover {
  background: #f8f6f0;
  color: #c5a44e;
  padding-left: 24px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #1a2744;
  cursor: pointer;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 560px;
  background: linear-gradient(135deg, #1a2744 0%, #2a3d5f 50%, #1a2744 100%);
  background-size: 200% 200%;
  animation: heroGradient 8s ease infinite;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><rect fill="none" stroke="rgba(197,164,78,0.06)" stroke-width="1" width="80" height="80"/></svg>');
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, #fff);
  z-index: 2;
}
/* Decorative light beams */
.hero-decor {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-decor .beam {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(transparent, rgba(197,164,78,0.15), transparent);
  animation: beamMove 6s ease-in-out infinite;
}
.hero-decor .beam:nth-child(1) { left: 15%; animation-delay: 0s; }
.hero-decor .beam:nth-child(2) { left: 35%; animation-delay: 1.5s; }
.hero-decor .beam:nth-child(3) { left: 60%; animation-delay: 3s; }
.hero-decor .beam:nth-child(4) { left: 80%; animation-delay: 4.5s; }
@keyframes beamMove {
  0%, 100% { opacity: 0; transform: translateY(-100%); }
  50% { opacity: 1; transform: translateY(0); }
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-subtitle {
  font-size: 14px;
  letter-spacing: 4px;
  color: #c5a44e;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.hero h1 {
  font-size: 42px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero .btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: #c5a44e;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: all 0.3s;
}
.hero .btn-gold:hover {
  background: #b3923e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197,164,78,0.4);
}
.hero-cross {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 240px;
  color: rgba(197,164,78,0.08);
  font-family: 'Noto Serif KR', serif;
  z-index: 1;
  user-select: none;
}

/* === PAGE HEADER (Sub pages) === */
.page-header-section {
  background: linear-gradient(135deg, #1a2744, #2a3d5f);
  padding: 50px 0;
  position: relative;
}
.page-header-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #c5a44e;
}
.page-header-section h1 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #c5a44e; }
.breadcrumb span { color: #c5a44e; }

/* === SECTION TITLE === */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.section-title .divider {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: #c5a44e;
  margin-bottom: 16px;
}
.section-title p {
  color: #777;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* === GREETING / ABOUT === */
.greeting-section { padding: 80px 0; }
.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.greeting-text h2 { font-size: 28px; margin-bottom: 8px; }
.greeting-text .lead {
  font-size: 18px;
  color: #c5a44e;
  margin-bottom: 20px;
  font-weight: 500;
}
.greeting-text p { margin-bottom: 16px; color: #555; line-height: 1.9; }
.greeting-quote {
  background: #f8f6f0;
  border-left: 4px solid #c5a44e;
  padding: 20px 24px;
  margin-top: 24px;
  font-style: italic;
  color: #555;
}
.greeting-quote .author {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  color: #1a2744;
}
.greeting-image {
  text-align: center;
}
.greeting-image img {
  max-width: 350px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 4px solid #fff;
}

/* === INFO CARDS === */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.info-card {
  background: #fff;
  border: 1px solid #e8e4db;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: #c5a44e;
}
.info-card .icon {
  font-size: 40px;
  color: #c5a44e;
  margin-bottom: 20px;
}
.info-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.info-card p {
  color: #777;
  font-size: 14px;
  margin-bottom: 16px;
}
.info-card .card-link {
  color: #c5a44e;
  font-weight: 600;
  font-size: 14px;
}

/* === SCRIPTURE BANNER === */
.scripture-banner {
  background: linear-gradient(135deg, #1a2744, #0f1a30);
  padding: 70px 0;
  text-align: center;
  position: relative;
}
.scripture-banner::before {
  content: '\u2020';
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  font-size: 40px;
  color: #c5a44e;
  background: #1a2744;
  padding: 0 20px;
}
.scripture-banner blockquote {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.7;
}
.scripture-banner cite {
  color: #c5a44e;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

/* === TIMELINE === */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #c5a44e;
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(odd) { justify-content: flex-start; padding-right: 52%; }
.timeline-item:nth-child(even) { justify-content: flex-end; padding-left: 52%; }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: #c5a44e;
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px #c5a44e;
  z-index: 2;
}
.timeline-content {
  background: #fff;
  border: 1px solid #e8e4db;
  padding: 24px 28px;
  position: relative;
}
.timeline-content h3 {
  font-size: 18px;
  color: #c5a44e;
  margin-bottom: 12px;
}
.timeline-content p { color: #555; font-size: 14px; line-height: 2; }
.timeline-content strong { color: #1a2744; }

/* === CONTACT === */
.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.contact-info-item {
  padding: 30px;
  text-align: center;
  color: #fff;
}
.contact-info-item:nth-child(1) { background: #1a2744; }
.contact-info-item:nth-child(2) { background: #243456; }
.contact-info-item:nth-child(3) { background: #c5a44e; }
.contact-info-item .ci-icon { font-size: 28px; margin-bottom: 10px; }
.contact-info-item h4 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; opacity: 0.85; }

.contact-form {
  background: #f8f6f0;
  padding: 40px;
  border: 1px solid #e8e4db;
}
.contact-form h3 { margin-bottom: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #1a2744;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d4d0c7;
  background: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c5a44e;
}
.form-group textarea { height: 140px; resize: vertical; }
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: #1a2744;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans KR', sans-serif;
}
.btn-primary:hover { background: #c5a44e; }

/* === MEMBER CARDS === */
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.member-card {
  text-align: center;
  background: #fff;
  border: 1px solid #e8e4db;
  padding: 30px 20px;
  transition: all 0.3s;
}
.member-card:hover {
  border-color: #c5a44e;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.member-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e8e4db;
  margin-bottom: 16px;
}
.member-card h4 { font-size: 18px; margin-bottom: 4px; }
.member-card .role { color: #c5a44e; font-size: 14px; font-weight: 500; }

/* === ORG GRID (교단현황) === */
.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.org-item {
  background: #fff;
  border: 1px solid #e8e4db;
  overflow: hidden;
  transition: all 0.3s;
}
.org-item:hover { border-color: #c5a44e; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.org-item img { width: 100%; height: 180px; object-fit: cover; }
.org-item .org-body { padding: 20px; }
.org-item h3 { font-size: 18px; margin-bottom: 6px; }
.org-item p { font-size: 14px; color: #777; }

/* === NEWS LIST === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #e8e4db;
  padding: 20px;
  transition: all 0.3s;
}
.news-item:hover { border-color: #c5a44e; }
.news-item .news-thumb {
  width: 120px;
  height: 90px;
  background: #e8e4db;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 24px;
}
.news-item h4 { font-size: 16px; margin-bottom: 6px; }
.news-item .news-date { font-size: 13px; color: #999; }
.news-item p { font-size: 14px; color: #666; margin-top: 6px; }

/* === PRESBYTERY LIST (노회) === */
.presbytery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.presbytery-card {
  background: #fff;
  border: 1px solid #e8e4db;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.presbytery-card:hover { border-color: #c5a44e; box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.presbytery-card .p-icon {
  width: 60px;
  height: 60px;
  background: #f8f6f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #c5a44e;
}
.presbytery-card h3 { font-size: 18px; margin-bottom: 6px; }
.presbytery-card p { font-size: 14px; color: #777; }

/* === INSTITUTION LIST (소속기관) === */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.inst-card {
  background: #f8f6f0;
  border: 1px solid #e8e4db;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.inst-card:hover { border-color: #c5a44e; }
.inst-card h3 { font-size: 20px; margin-bottom: 8px; }
.inst-card p { font-size: 14px; color: #666; margin-bottom: 12px; }
.inst-card a { color: #c5a44e; font-weight: 500; font-size: 14px; }

/* === ALBUM GRID === */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.album-item {
  position: relative;
  overflow: hidden;
  background: #e8e4db;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.album-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.album-item:hover img { transform: scale(1.05); }
.album-item .album-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26,39,68,0.85));
  padding: 20px;
  color: #fff;
}
.album-item .album-overlay h4 { color: #fff; font-size: 16px; }

/* === DATA TABLE === */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background: #1a2744;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e4db;
  font-size: 14px;
}
.data-table tr:hover td { background: #f8f6f0; }

/* === CONSTITUTION (헌법) === */
.constitution-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #e8e4db;
  line-height: 2;
}
.constitution-content h2 { font-size: 24px; margin: 30px 0 16px; border-bottom: 2px solid #c5a44e; padding-bottom: 8px; }
.constitution-content h3 { font-size: 20px; margin: 24px 0 12px; }
.constitution-content p { margin-bottom: 12px; }

/* === FOOTER === */
.site-footer {
  background: #111b2e;
  color: #aab5c7;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h3 {
  color: #c5a44e;
  font-size: 18px;
  margin-bottom: 20px;
}
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aab5c7; font-size: 14px; }
.footer-col ul li a:hover { color: #c5a44e; }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #667;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .info-cards, .member-grid, .org-grid { grid-template-columns: repeat(2, 1fr); }
  .greeting-grid { grid-template-columns: 1fr; }
  .greeting-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) { padding: 0 0 0 40px; justify-content: flex-start; }
  .timeline::before { left: 12px; }
  .timeline-dot { left: 12px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav > li > a { padding: 14px 20px; border-bottom: 1px solid #f0f0f0; }
  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: #f8f6f0;
  }
  .hero { height: 400px; }
  .hero h1 { font-size: 28px; }
  .info-cards, .presbytery-grid, .inst-grid, .news-grid, .album-grid { grid-template-columns: 1fr; }
  .member-grid, .org-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-bar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
  .hero-cross { display: none; }
}

@media (max-width: 480px) {
  .member-grid, .org-grid { grid-template-columns: 1fr; }
  .logo { font-size: 16px; }
}

/* =============================================
   ANIMATIONS
   ============================================= */

/* Fade up on scroll */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes crossGlow {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.15; }
}

/* Scroll-triggered animation classes */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.9); transition: opacity 0.6s ease, transform 0.6s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Stagger delays for grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hero animations */
.hero-content { animation: fadeUp 1s ease 0.3s both; }
.hero-subtitle { animation: fadeIn 1s ease 0.5s both; }
.hero h1 { animation: fadeUp 1s ease 0.7s both; }
.hero p { animation: fadeUp 1s ease 0.9s both; }
.hero .btn-gold { animation: fadeUp 1s ease 1.1s both; }
.hero-cross { animation: crossGlow 4s ease-in-out infinite, float 6s ease-in-out infinite; }

/* Page header animation */
.page-header-section h1 { animation: slideDown 0.8s ease 0.2s both; }
.page-header-section .breadcrumb { animation: fadeIn 0.8s ease 0.5s both; }

/* Card hover effects enhanced */
.info-card { position: relative; overflow: hidden; }
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197,164,78,0.06), transparent);
  transition: left 0.6s;
}
.info-card:hover::before { left: 100%; }

.info-card .icon {
  transition: transform 0.4s ease, color 0.3s;
}
.info-card:hover .icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Timeline animation */
.timeline-item { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-dot { transition: transform 0.3s ease, box-shadow 0.3s; }
.timeline-item:hover .timeline-dot { transform: translateX(-50%) scale(1.4); box-shadow: 0 0 0 6px rgba(197,164,78,0.3); }

/* Presbytery card hover */
.presbytery-card .p-icon { transition: transform 0.4s ease, background 0.3s; }
.presbytery-card:hover .p-icon { transform: scale(1.1) rotate(5deg); background: #c5a44e; color: #fff; }

/* Member card hover */
.member-card .avatar { transition: transform 0.4s ease, border-color 0.3s; }
.member-card:hover .avatar { transform: scale(1.08); border-color: #c5a44e; }

/* Org item image zoom */
.org-item img { transition: transform 0.5s ease; }
.org-item:hover img { transform: scale(1.08); }

/* Scripture banner animation */
.scripture-banner blockquote { animation: fadeIn 1.5s ease both; }
.scripture-banner cite { animation: fadeUp 1s ease 0.5s both; }

/* Section title animation */
.section-title .divider { transition: width 0.6s ease; width: 30px; }
.section-title.visible .divider { width: 60px; }
.section-title h2 { animation: fadeUp 0.8s ease 0.2s both; }

/* Button ripple effect */
.btn-gold, .btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-gold::after, .btn-primary::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-gold:hover::after, .btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* Table row animation */
.data-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeLeft 0.5s ease forwards;
}
.data-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.data-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.data-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.data-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.data-table tbody tr:nth-child(5) { animation-delay: 0.3s; }
.data-table tbody tr:nth-child(6) { animation-delay: 0.35s; }
.data-table tbody tr:nth-child(7) { animation-delay: 0.4s; }
.data-table tbody tr:nth-child(8) { animation-delay: 0.45s; }

/* Footer animation */
.footer-col { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.footer-col.visible { opacity: 1; transform: translateY(0); }

/* Greeting section */
.greeting-text { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease; }
.greeting-text.visible { opacity: 1; transform: translateX(0); }
.greeting-image { opacity: 0; transform: translateX(30px); transition: all 0.8s ease 0.2s; }
.greeting-image.visible { opacity: 1; transform: translateX(0); }

/* Contact info bar */
.contact-info-item { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; }
.contact-info-item:nth-child(1) { animation-delay: 0.2s; }
.contact-info-item:nth-child(2) { animation-delay: 0.4s; }
.contact-info-item:nth-child(3) { animation-delay: 0.6s; }

/* Smooth hover for all interactive elements */
* { -webkit-tap-highlight-color: transparent; }

/* Album hover enhanced */
.album-item .album-overlay {
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}
.album-item:hover .album-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Constitution content animation */
.constitution-content { animation: fadeUp 0.8s ease both; }

/* Inst card icon animation */
.inst-card:hover div:first-child {
  animation: pulse 0.6s ease;
}

/* Loading placeholder for images */
.img-placeholder {
  background: linear-gradient(110deg, #e8e4db 30%, #f5f3ef 50%, #e8e4db 70%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
