/* =============================
   GLOBAL LAYOUT + STICKY FOOTER
============================= */
html, body {
  margin: 0;
  padding: 0;
  font-family: Georgia, serif;
  background-color: #f4f1ea;
  color: #222;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* =============================
   NAVBAR
============================= */
.navbar {
  background-color: #2c2c2c;
  padding: 15px 60px;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 5000;
}

.logo {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  padding: 8px 6px;
  display: inline-block;
}

/* =============================
   DROPDOWN (stable)
============================= */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 220px;
  z-index: 9999;
}

/* hover bridge */
.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 10px;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: white;
}

.dropdown-menu a:hover {
  background: #666;
}

/* =============================
   UNIVERSAL HERO (SAME HEIGHT)
============================= */
.hero,
.hero-video {
  position: relative;
  height: 500px;      /* SAME SIZE ON EVERY PAGE */
  min-height: 500px;
  max-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* image hero */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* video hero */
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* dark overlay */
.hero::before,
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* text overlay */
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: 48px;
  margin: 0;
}

.hero-overlay p {
  font-size: 20px;
  margin: 10px 0 0;
}

/* =============================
   CONTENT
============================= */
.content {
  padding: 60px 20%;
  line-height: 1.7;
}

.content h2 {
  margin-top: 0;
}

/* =============================
   TEAM (2 across)
============================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.team-card {
  text-align: center;
}

.team-photo {
  padding: 14px;
  background: white;
  border: 6px solid #c4b79f;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  display: inline-block;
}

.team-photo img {
  width: 320px;
  height: 380px;
  object-fit: cover;
  display: block;
}

.team-role {
  font-weight: 700;
  margin-top: 16px;
  font-size: 18px;
}

.team-name {
  margin: 6px 0 0;
  font-size: 16px;
  opacity: 0.9;
}

/* =============================
   FOOTER
============================= */
footer {
  background: #2c2c2c;
  color: white;
  padding: 18px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 52px;
}

.footer-centre p {
  margin: 2px 0;
}

.footer-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

/* =============================
   OPEN DAYS CLOCK + BUTTON
============================= */

.countdown-wrap {
  max-width: 1100px;
  margin: 40px auto 0;
  background: white;
  border: 6px solid #c4b79f;                 /* matches your team frame */
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);  /* matches your team shadow */
  padding: 28px;
}

.countdown-title {
  margin: 0 0 18px;
  font-size: 26px;
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.countdown-box {
  background: #f4f1ea;
  border: 2px solid #c4b79f;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  padding: 20px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: #c4b79f;
}

.countdown-value {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.countdown-sub {
  margin: 18px 0 0;
  text-align: center;
  font-size: 16px;
  opacity: 0.9;
}

.season-closed {
  margin-top: 18px;
  padding: 16px;
  background: #2c2c2c;
  color: white;
  border-left: 8px solid #c4b79f;
  display: none; /* JS toggles */
  text-align: center;
}

.season-closed strong {
  color: #c4b79f;
}

/* Reusable button style */
.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 24px;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;

  background: #c4b79f;
  color: #222;
  border: 2px solid #c4b79f;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: #d8ccb6;
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0);
}

/* Mobile: clock becomes 2x2 */
@media (max-width: 900px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================
   PROFESSIONAL FORM STYLING
============================= */

.form-container {
  max-width: 900px;
  margin: 40px auto 0;
  background: white;
  border: 6px solid #c4b79f;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  padding: 30px;
}

.form-header h2 {
  margin: 0 0 8px;
}

.form-header p {
  margin: 0 0 18px;
  opacity: 0.9;
}

.form-section {
  padding: 22px 0;
  border-top: 1px solid #e3ddcf;
}

.form-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.form-section h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.hint {
  margin: 0 0 14px;
  opacity: 0.85;
}

.req {
  color: #9b1c1c;
  font-weight: bold;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-family: Georgia, serif;
  font-size: 15px;
  border: 2px solid #c4b79f;
  background: #f4f1ea;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #2c2c2c;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  background: #f4f1ea;
  border: 2px solid #c4b79f;
  padding: 12px;
}

.checklist label {
  font-weight: normal;
  margin: 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-weight: bold;
}

.fineprint {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.85;
}

/* Conditional sections hidden by default */
.conditional {
  display: none;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

/* =============================
   MOBILE
============================= */
@media (max-width: 900px) {
  .navbar {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .content {
    padding: 40px 8%;
  }

  .hero,
  .hero-video {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }

  .hero-overlay h1 {
    font-size: 34px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo img {
    width: 260px;
    height: 320px;
  }
}
