/* Base layout */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f5f5f7;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 26, 15, 0.96);
  backdrop-filter: blur(12px);
  color: #f9fafb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo-block {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font-size: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background-color: rgba(249, 250, 251, 0.08);
}

.main-nav .nav-cta {
  background-color: #e5b455;
  color: #111827;
  font-weight: 600;
}

.main-nav .nav-cta:hover {
  background-color: #f0c66b;
}

/* Hero */

.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  color: #f9fafb;
  background:
    linear-gradient(135deg, rgba(6, 68, 32, 0.85), rgba(15, 23, 42, 0.92)),
    url("hero.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(244, 244, 245, 0.12), transparent 50%);
}

.hero-content {
  position: relative;
  padding: 4rem 0 3rem;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.02rem;
  max-width: 36rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero logo – back to a normal, modest size */
.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #ffffff;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #4b5563;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.25rem;
  align-items: flex-start;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Cards / blocks */

.card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.4rem 1.55rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.about-highlight {
  background: radial-gradient(circle at top left, #fef3c7, #fff7ed);
}

.highlight-box {
  background: radial-gradient(circle at top left, #ecfdf3, #ffffff);
}

/* Lists & tables */

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.96rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0.15rem;
  top: 0.02rem;
  color: #15803d;
  font-weight: 900;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rate-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.rate-table tr:last-child td {
  border-bottom: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.08s ease;
}

.btn-primary {
  background-color: #e5b455;
  color: #111827;
}

.btn-primary:hover {
  background-color: #f0c66b;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #f9fafb;
  border-color: rgba(249, 250, 251, 0.6);
}

.btn-outline:hover {
  background-color: rgba(249, 250, 251, 0.1);
}

.btn-outline.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}

.full-width {
  width: 100%;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* Each tile: same height for clean rows; images crop slightly if needed */
.gallery-item {
  border-radius: 0.9rem;
  overflow: hidden;
  background: #e5e7eb;
  height: 230px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Sponsors */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.sponsor-card {
  border-radius: 0.9rem;
  border: 1px dashed #d1d5db;
  padding: 1.2rem 0.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
  background-color: #f9fafb;
}

/* Map */

.map-card {
  background-color: #ffffff;
  border-radius: 0.9rem;
  padding: 1.2rem 1.3rem 1rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.map-card h3 {
  margin-top: 0;
}

.map-embed {
  margin-top: 0.75rem;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* Footer */

.site-footer {
  background-color: #0b1120;
  color: #e5e7eb;
  padding: 1.5rem 0 1.2rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-right {
  text-align: right;
}

.footer-copy {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.4rem;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Photo-rich background sections (optional extra images) */

#events {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(6, 78, 59, 0.9)),
    url("bg-events.jpg") center/cover fixed no-repeat;
  color: #f9fafb;
}

#events .card {
  background-color: rgba(15, 23, 42, 0.82);
}

#weekly {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 64, 175, 0.8)),
    url("bg-weekly.jpg") center/cover fixed no-repeat;
  color: #f9fafb;
}

/* Make the intro text in weekly section white for better readability */
#weekly .section-intro {
  color: #f9fafb;
}

#weekly .card {
  background-color: rgba(15, 23, 42, 0.82);
}

#visit {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(8, 47, 73, 0.9)),
    url("bg-visit.jpg") center/cover fixed no-repeat;
  color: #f9fafb;
}

#visit .map-card {
  background-color: rgba(15, 23, 42, 0.82);
}

/* Helpers */

.small-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

.centered {
  text-align: center;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 60vh;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
  }
}