:root {
  --ink: #14241f;
  --muted: #5a716c;
  --brand: #0d6b5c;
  --brand-dark: #084c41;
  --accent: #c4a35a;
  --surface: #ffffff;
  --line: rgba(255,255,255,0.22);
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: var(--font); color: var(--ink); background: #f3f7f5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.front-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  background: rgba(8, 76, 65, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
}
.front-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.front-brand span { color: var(--accent); }
.front-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
  font-weight: 600;
}
.front-links a { color: rgba(255,255,255,0.9); opacity: 0.92; }
.front-links a:hover { color: #fff; text-decoration: underline; }
.front-login {
  background: var(--accent) !important;
  color: #1a2e2a !important;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  text-decoration: none !important;
}
.front-login:hover { filter: brightness(1.05); }

/* Hero — full-bleed photo banner */
.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 0 1.5rem 4.5rem;
  color: #fff;
  background-color: #084c41;
  background-image:
    linear-gradient(180deg, rgba(8,76,65,0.35) 0%, rgba(8,76,65,0.55) 40%, rgba(8,40,35,0.88) 100%),
    url("images/hero-banner.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  animation: heroIn 0.9s ease-out both;
}
.hero::after {
  content: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-brand {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  animation: rise 0.8s 0.15s ease-out both;
}
.hero-brand span { color: var(--accent); }
.hero-line {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 34ch;
  margin: 0 0 1.5rem;
  opacity: 0.92;
  animation: rise 0.8s 0.28s ease-out both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  animation: rise 0.8s 0.4s ease-out both;
}
.btn-front {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font: inherit;
}
.btn-front-primary {
  background: var(--accent);
  color: #1a2e2a;
}
.btn-front-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.btn-front:hover { filter: brightness(1.06); text-decoration: none; }

.section {
  padding: 3.2rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section h2 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  color: var(--brand-dark);
}
.section .lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 48ch;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}
.event-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #1a2e2a;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 28px rgba(13,107,92,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.event-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13,107,92,0.18);
}
.event-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-item:hover img { transform: scale(1.05); }
.event-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
}
.event-cap strong { display: block; font-size: 1rem; }
.event-cap span { font-size: 0.82rem; opacity: 0.85; }

.about-block {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}
.about-block p { color: var(--muted); line-height: 1.6; margin: 0; }

.front-footer {
  margin-top: 2rem;
  padding: 1.75rem 1.5rem;
  background: var(--brand-dark);
  color: rgba(255,255,255,0.85);
  display: grid;
  gap: 0.55rem;
  text-align: center;
}
.front-footer a { color: var(--accent); font-weight: 600; }
.front-footer .copy { font-size: 0.8rem; opacity: 0.7; }

.empty-note {
  color: var(--muted);
  padding: 1.5rem 0;
}

@keyframes heroIn {
  from { opacity: 0.6; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .front-nav { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 78vh; padding-bottom: 3rem; }
}
