/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: hsl(221, 83%, 53%);
  --primary-foreground: hsl(210, 40%, 98%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 3.9%);
  --muted: hsl(0, 0%, 96.1%);
  --muted-foreground: hsl(0, 0%, 45.1%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 3.9%);
  --border: hsl(0, 0%, 89.8%);
  --deep-blue: hsl(221, 83%, 53%);
  --dark-gray: hsl(210, 11%, 15%);
  --light-gray: hsl(210, 20%, 96%);
  --black-color: hsl(0, 0, 0);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button Styles */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(221, 83%, 45%);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* Navigation */
.nav-header {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.church-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.church-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--foreground);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.common-section {
  border-bottom: 1px solid #cccccc;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1438032005730-c779502df39b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&h=1080");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-verse {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Welcome Section */
.welcome-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.welcome-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.welcome-text {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 3rem;
  line-height: 1.75;
}

.service-cards {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--muted);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-details p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--muted);
}

.about-content {
  max-width: 96rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-img {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
}

.about-heading {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.belief-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.belief-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.belief-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.belief-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.belief-desc {
  color: var(--muted-foreground);
}

/* Bible Section */
.bible-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.bible-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.daily-verse {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 3rem;
}

.verse-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.verse-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.verse-reference {
  font-size: 1.125rem;
  opacity: 0.9;
}

.bible-cards {
  display: grid;
  gap: 2rem;
}

.bible-card {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
}

.bible-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bible-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.bible-card-desc {
  color: var(--muted-foreground);
}

/* Gospel Section */
.gospel-section {
  padding: 5rem 0;
}

.gospel-content {
  max-width: 96rem;
  margin: 0 auto;
}

.gospel-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.gospel-heading {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.salvation-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-1 {
  background-color: #ef4444;
}
.step-2 {
  background-color: #dc2626;
}
.step-3 {
  background-color: #22c55e;
}
.step-4 {
  background-color: #16a34a;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--muted-foreground);
}

.gospel-img {
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.salvation-prayer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem;
  border-radius: 0.75rem;
}

.prayer-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.prayer-text {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Study Section */
.study-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.study-content {
  max-width: 96rem;
  margin: 0 auto;
}

.study-programs {
  display: grid;
  gap: 2rem;
}

.program-card {
  background: var(--muted);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.program-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.program-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.program-desc {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.program-schedule {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Prayer Section */
.prayer-section {
  padding: 5rem 0;
  /* background-color: var(--muted); */
}

.prayer-content {
  max-width: 64rem;
  margin: 0 auto;
}

.prayer-grid {
  display: grid;
  gap: 3rem;
}

.prayer-form-card {
  background: var(--background);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.prayer-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: none;
}

.monthly-prayers {
  /* Styles already covered in prayer-form-card */
}

.monthly-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.prayer-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.prayer-item {
  background: var(--background);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.prayer-item h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.prayer-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.prayer-schedule {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.prayer-schedule h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.schedule-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.schedule-items p {
  font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--muted);
}

.contact-content {
  max-width: 96rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-item h4 {
  font-weight: 600;
  color: var(--foreground);
}

.contact-item p {
  color: var(--muted-foreground);
}

.parking-info {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.parking-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.parking-info p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.parking-note {
  font-size: 0.875rem;
}

.map-container {
  /* Container for map */
}

.map-placeholder {
  background: var(--muted);
  border-radius: 0.75rem;
  height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  text-align: center;
}

.map-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.map-content p {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background-color: #fdfbf7;
  border-top: 1px solid #000;
  color: #999;
  text-align: center;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer-logo h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-desc {
  /* color: #9ca3af; */
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links button {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.footer-links button:hover {
  color: white;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid #fff;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-title {
    font-size: 4rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .bible-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 4.5rem;
  }

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

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

  .study-programs {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .study-programs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 게시판 */
.sound_only {
  display: none;
}
.tbl_wrap {
  width: 100%;
}
.tbl_wrap table {
  width: 100%;
}
.tbl_wrap thead {
  border-top: 1px solid #ccc;
}
