/*
Theme Name: Voyera Alpine Landing
Author: Mark
Version: 1.0
*/

:root {
  --bg: #0b0f14;

  --card:   rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.20);

  --text:  rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);

  --shadow: 0 24px 60px rgba(0,0,0,0.45);
  --radius: 18px;

  --header-h:    68px; /* logical header height reference */
  --max:         520px;

  --header-float: 22px; /* how far down the logo floats */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.35;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: 0.9; }

/* =========================
   FLOATING LOGO HEADER
   ========================= */

.site-header {
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  pointer-events: none;
}

.site-logo {
  pointer-events: auto;
}

.site-logo,
.site-logo a,
.site-logo a:hover,
.site-logo a:focus {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.site-logo a {
  display: inline-block;
  line-height: 0;
}

.site-logo-svg {
  display: block;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.40));
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
  .site-logo-svg {
    width: 160px;
  }
}

/* =========================
   HERO
   ========================= */

.hero {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: calc(var(--header-h) + 54px) 18px 84px;
}

body.admin-bar .hero {
  padding-top: calc(var(--header-h) + 54px + 32px);
}
@media (max-width: 782px) {
  body.admin-bar .hero {
    padding-top: calc(var(--header-h) + 54px + 46px);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(
      1200px 800px at 50% 35%,
      rgba(0,0,0,0.10),
      rgba(0,0,0,0.35)
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.35) 35%,
      rgba(0,0,0,0.42) 100%
    );
}

/* Mobile: bring the form closer to the floating logo */
@media (max-width: 520px) {
  .hero {
    padding-top: calc(var(--header-h) + 26px);
  }
  body.admin-bar .hero {
    padding-top: calc(var(--header-h) + 26px + 46px);
  }
}

.hero-inner {
  z-index: 2;
  width: 100%;
  max-width: 1020px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
}



/* =========================
   HERO CARD (FORM)
   ========================= */

.hero-card {
  width: 100%;
  max-width: var(--max);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(12px);
}

.hero-title {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.hero-sub {
  color: var(--muted);
  margin-bottom: 14px;
}

.notice {
  border: 1px solid rgba(182,255,214,0.35);
  background: rgba(32,120,70,0.18);
  padding: 12px;
  border-radius: 12px;
  margin: 10px 0 14px;
  color: rgba(235,255,244,0.95);
}

.error {
  border: 1px solid rgba(255,170,170,0.35);
  background: rgba(180,35,35,0.18);
  padding: 12px;
  border-radius: 12px;
  margin: 10px 0 14px;
  color: rgba(255,235,235,0.95);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 2px 0 6px;
}

input, select, button, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(12,16,22,0.42);
  color: var(--text);
  padding: 12px;
  outline: none;
}

input::placeholder { color: rgba(255,255,255,0.45); }

input:focus, select:focus, textarea:focus {
  border-color: rgba(255,255,255,0.40);
  background: rgba(12,16,22,0.55);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .row-2 { grid-template-columns: 1fr; }
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 6px;
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent .small {
  font-size: 12px;
  color: rgba(255,255,255,0.66);
}

button {
  margin-top: 10px;
  cursor: pointer;
  font-weight: 600;
  background: rgba(255,255,255,0.92);
  color: rgba(0,0,0,0.88);
  border: 0;
}

button:hover { opacity: 0.95; }

/* =========================
   GENERIC PAGE (index.php)
   ========================= */

.page-content {
  padding: 110px 18px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.page-title {
  font-size: 34px;
  margin-bottom: 12px;
}

.page-body {
  color: rgba(255,255,255,0.82);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  padding: 18px;
  background: rgba(0,0,0,0.72);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-tag {
  opacity: 0.85;
}
