/* =========================================================
   ROOT + BASE (CRITICAL)
   ========================================================= */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #003366;
}

/* =========================================================
   HERO WRAPPER (owns viewport)
   ========================================================= */
.hero-wrapper {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* =========================================================
   SIDE PANELS
   ========================================================= */
.hero-panel {
  flex: 0 0 14%;
  padding: 2rem 1.5rem;
  background: linear-gradient(
    to bottom,
    #8bbce8 0%,
    #cfe6fb 35%,
    #ffffff 75%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================================================
   HERO (CENTRE IMAGE)
   ========================================================= */
.hero {
  flex: 1;
  background: url("clubhouse.jpg") center / cover no-repeat;
  position: relative;
}

/* =========================================================
   HERO OVERLAY
   ========================================================= */
.hero-overlay {
  position: relative;
  height: 100%;
}

/* =========================================================
   TITLE
   ========================================================= */
.hero-title {
  position: absolute;
  top: 1.8rem;
  left: 2rem;
  font-size: 64px;
  font-weight: 700;
  color: #001f4d;
  text-shadow: 2px 2px 6px rgba(255,255,255,0.6);
}

/* =========================================================
   ACTION STACK (HOMEPAGE ONLY)
   ========================================================= */
.action-stack {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}

/* Prevent any non-home elements affecting layout */
.action-stack > * {
  flex-shrink: 0;
}

/* =========================================================
   ACCESS GATE
   ========================================================= */
#access-gate {
  display: none;
  background: #eef4fb;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  text-align: center;
}

.access-input-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* =========================================================
   HOMEPAGE BUTTONS ONLY
   ========================================================= */
.action-stack .hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.action-stack .hero-button {
  padding: 0.7rem 1.8rem;
  background: #8b5a2b;
  color: white;
  border-radius: 999px;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.action-stack .hero-button:hover {
  background: #a06830;
  opacity: 0.85;
  transform: translateY(-1px);
}

/* =========================================================
   MENU / INNER PAGES (explicitly isolated)
   ========================================================= */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2rem;
}

.menu-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.menu-row .hero-button {
  width: auto;
  min-width: 160px;
}

.menu-note {
  font-size: 0.9rem;
  color: #003366;
  max-width: 28rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #003366;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero-panel {
    display: none;
  }
}
