/*
Theme Name: CampHub Portal
Theme URI: https://camphub.co.uk/
Author: CampHub
Description: A clean, lightweight portal theme for CampHub booking installations. Designed for sites using CampHub as a booking portal or iframe host.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: camphub-portal
*/

:root {
  --ch-green: #2daf12;
  --ch-navy: #071929;
  --ch-muted: #5f6b7a;
  --ch-border: #dfe7ef;
  --ch-bg: #f7fafc;
  --ch-white: #ffffff;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ch-navy);
  background: linear-gradient(180deg, #ffffff 0%, var(--ch-bg) 100%);
}

a { color: inherit; }

.ch-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ch-header {
  width: 100%;
  padding: 22px clamp(18px, 4vw, 48px);
  display: flex;
  justify-content: center;
}

.ch-logo {
  display: block;
  width: min(260px, 65vw);
  height: auto;
}

.ch-main {
  flex: 1;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 24px clamp(18px, 4vw, 48px) 48px;
}

.ch-card {
  width: min(920px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--ch-border);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(7,25,41,0.10);
  padding: clamp(26px, 5vw, 56px);
  text-align: center;
}

.ch-kicker {
  color: var(--ch-green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .78rem;
  margin: 0 0 14px;
}

.ch-title {
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -0.045em;
}

.ch-copy {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--ch-muted);
  font-size: clamp(1.03rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.ch-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.ch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ch-button:hover,
.ch-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(7,25,41,0.12);
}

.ch-button-primary {
  background: var(--ch-green);
  color: #fff;
}

.ch-button-secondary {
  background: #fff;
  color: var(--ch-navy);
  border-color: var(--ch-border);
}

.ch-note {
  margin-top: 28px;
  color: var(--ch-muted);
  font-size: .95rem;
}

.ch-footer {
  padding: 22px clamp(18px, 4vw, 48px) 30px;
  text-align: center;
  color: var(--ch-muted);
  font-size: .9rem;
}

.ch-footer a {
  color: var(--ch-navy);
  font-weight: 700;
  text-decoration: none;
}

.site-main,
.entry-content { margin: 0; }

@media (max-width: 620px) {
  .ch-card { border-radius: 22px; }
  .ch-buttons { flex-direction: column; }
  .ch-button { width: 100%; }
}
