/* styles.css */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f1ebdf;
  color: #3f3428;
  scroll-behavior: smooth;
}

.hero-carousel {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #2e1f14;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite ease-in-out;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 16, 8, 0.82) 0%, rgba(28, 16, 8, 0.48) 45%, rgba(28, 16, 8, 0.2) 100%);
}

.slide-1 {
  background-image: url('pic/pic1.jpg');
  animation-delay: 0s;
}

.slide-2 {
  background-image: url('pic/pic2.jpg');
  animation-delay: 4s;
}

.slide-3 {
  background-image: url('pic/pic3.jpg');
  animation-delay: 8s;
}

.slide-4 {
  background-image: url('pic/pic4.jpg');
  animation-delay: 12s;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  color: #fffdf9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-overlay h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both;
}

.hero-overlay p {
  margin: 0;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-overlay .eyebrow {
  color: #f3dfc3;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  margin: 0;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-overlay .button {
  animation: fadeUp 0.8s ease 0.2s both;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  background: #5c3d24;
  color: #f8efe4;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #bfa086;
  color: #5c3d24;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: #e8dccf;
  font-size:  1rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: #f8efe4;
  font-weight: 600;
}

.hero {
  display: flex;
  gap: 26px;
  align-items: center;
  background: #f8f1e8;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: 22px;
}

.headshot {
  width: 340px;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  border: 6px solid #d9c5b3;
}

.head-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.head-name {
  margin: 0;
  text-align: center;
  color: #4a3a2d;
  font-weight: 700;
  font-size: 0.98rem;
}

.welcome-text {
  max-width: 720px;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #8a6f54;
}

.brand-mark-img {
  width:   50px;
  height:   50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9c5b3;
}

.welcome-text p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.75;
  color: #4e4238;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(92, 61, 36, 0.18);
}

.button.primary {
  background: #5c3d24;
  color: #f8efe4;
}

.button.secondary {
  background: #e6d4bf;
  color: #5c3d24;
}

.section-title {
  margin: 0 0 12px;
  font-size: 1.65rem;
  color: #5c3d24;
}

.section-panel {
  background: #fff8f1;
  border-left: 4px solid #bfa086;
  padding: 24px;
  border-radius: 14px;
  margin-top: 24px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* News thumbnail */
.news-thumb {
  width: 180px;
  max-width: 40%;
  height: auto;
  display: block;
  margin: 0 0 12px 0;
  border-radius: 8px;
  border: 1px solid #dcc6b2;
}

.section-alt {
  background: #f4ece4;
}

.news-events-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 24px;
}

.events-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-list {
  margin: 0;
  padding-left: 18px;
  color: #4f4033;
  line-height: 1.7;
}

.event-highlight {
  background: #fff8f1;
  border: 1px solid #dcc6b2;
  border-radius: 10px;
  padding: 12px 14px;
  color: #5c3d24;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.info-card {
  background: #ffffff;
  border: 1px solid #dcc6b2;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(101, 74, 54, 0.09);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(101, 74, 54, 0.16);
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5c3d24, #bfa086);
  color: #fffdf9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(92, 61, 36, 0.2);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #5c3d24;
}

.info-card p {
  margin: 0;
  color: #4f4033;
  line-height: 1.75;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer {
  margin-top: 32px;
  padding: 18px 0;
  background: #5c3d24;
  color: #f8efe4;
}

.footer p {
  margin: 0;
  text-align: center;
  font-size: 0.94rem;
}

@keyframes heroFade {
  0%, 100% {
    opacity: 0;
  }
  5%, 22% {
    opacity: 1;
  }
  27%, 100% {
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .welcome-text {
    text-align: left;
  }

  .hero-actions {
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .news-events-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: 74vh;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .overview-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-panel,
  .info-card {
    padding: 20px;
  }
}
