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

body {
  font-family: Georgia, "Times New Roman", serif;
  background:
    linear-gradient(rgba(245, 238, 224, 0.88), rgba(245, 238, 224, 0.88)),
    url("/images/church-1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #2f2a22;
  line-height: 1.6;
}

.site-header {
  background: rgba(246, 238, 222, 0.95);
  border-bottom: 4px solid #8a6a3f;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid #8a6a3f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.brand h1 {
  font-size: 2rem;
  color: #4b3621;
}

.brand p {
  color: #6d5434;
  font-weight: bold;
}

.domain-line {
  font-size: 0.95rem;
}

.navbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar a {
  text-decoration: none;
  color: #4b3621;
  background: #ead9bd;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid #b99b69;
  font-weight: bold;
}

.navbar a:hover {
  background: #6d5434;
  color: white;
}

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 8%;
  text-align: center;
}

.hero-content {
  max-width: 850px;
  background: rgba(255, 248, 235, 0.92);
  padding: 55px;
  border-radius: 28px;
  border: 3px solid #b99b69;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-sunday-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #8a6a3f;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero-content h2 {
  font-size: 3rem;
  color: #4b3621;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: #6d5434;
  color: white;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 30px;
  border: none;
  font-weight: bold;
  margin: 8px;
  cursor: pointer;
}

.btn:hover {
  background: #4b3621;
}

.btn.secondary {
  background: #6b7b42;
}

.page-section,
.welcome-section {
  margin: 40px auto;
  width: 86%;
  background: rgba(255, 248, 235, 0.94);
  padding: 40px;
  border-radius: 24px;
  border-left: 8px solid #8a6a3f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-section h2,
.welcome-section h2 {
  color: #4b3621;
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.media-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 25px;
}

.media-card,
.stat-card,
.role-box {
  background: #fffaf1;
  padding: 24px;
  border-radius: 18px;
  border-top: 6px solid #8a6a3f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card h3 {
  font-size: 2.4rem;
  color: #4b3621;
}

.admin-form {
  max-width: 650px;
  margin-top: 24px;
}

.admin-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #b99b69;
  border-radius: 10px;
  margin-top: 6px;
}

.admin-form textarea {
  min-height: 120px;
}

.error-message {
  color: darkred;
  font-weight: bold;
}

.bio-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.bio-photo-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  border: 5px solid #8a6a3f;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fffaf1;
}

.admin-table th,
.admin-table td {
  border: 1px solid #b99b69;
  padding: 12px;
  text-align: left;
}

.admin-table th {
  background: #ead9bd;
  color: #4b3621;
}

.site-footer {
  background: #4b3621;
  color: #f6eedd;
  text-align: center;
  padding: 22px;
  margin-top: 40px;
}

.creator-credit a {
  color: #f3d8a5;
  text-decoration: none;
  font-weight: bold;
}

.creator-credit a:hover {
  color: white;
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    text-align: center;
  }

  .brand,
  .bio-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    justify-content: center;
  }

  .hero-content {
    padding: 35px 24px;
  }

  .hero-content h2 {
    font-size: 2.1rem;
  }
}
