/* =========================================================
   Wild British Tourists in Florida 2026
   Florida blues · sunset oranges · warm yellows · tropical
   ========================================================= */

:root {
  --blue:        #0098c9;
  --blue-deep:   #006f9a;
  --sky:         #7fd5ef;
  --orange:      #ff7a30;
  --sunset:      #ff5252;
  --yellow:      #ffd23f;
  --teal:        #1fc8a9;
  --ink:         #143642;
  --ink-soft:    #2c5560;
  --cream:       #fff8ec;
  --white:       #ffffff;
  --shadow:      0 10px 30px rgba(0, 78, 110, 0.16);
  --shadow-lg:   0 18px 50px rgba(0, 78, 110, 0.22);
  --radius:      18px;
  --radius-sm:   12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;

  /* Layered tropical background — sunshine gradient + faint palm/icon pattern.
     Never a flat colour; pattern kept at very low opacity for readability. */
  background-color: #eaf7fc;
  background-image:
    /* warm sun glow top */
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 210, 63, 0.45), rgba(255, 210, 63, 0) 60%),
    /* sunset wash */
    radial-gradient(900px 500px at -10% 0%, rgba(255, 122, 48, 0.20), rgba(255, 122, 48, 0) 55%),
    /* subtle travel/palm icon texture */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg fill='none' stroke='%230098c9' stroke-width='2' stroke-linecap='round' opacity='0.5'%3E%3C!-- palm --%3E%3Cpath d='M60 240 q4 -55 0 -100'/%3E%3Cpath d='M60 140 q-30 -20 -55 -12'/%3E%3Cpath d='M60 140 q-18 -28 -40 -34'/%3E%3Cpath d='M60 140 q30 -20 55 -12'/%3E%3Cpath d='M60 140 q18 -28 40 -34'/%3E%3Cpath d='M60 140 q2 -32 0 -40'/%3E%3C!-- sun --%3E%3Ccircle cx='235' cy='70' r='20'/%3E%3Cpath d='M235 36 v-12 M235 116 v12 M201 70 h-12 M281 70 h-12 M211 46 l-9 -9 M268 103 l-9 -9 M259 46 l9 -9 M202 103 l9 -9'/%3E%3C!-- plane --%3E%3Cpath d='M40 60 l40 -14 8 8 -22 14 6 22 -8 4 -14 -18 -16 8 -2 10 -8 2 1 -14 -10 -10 5 -3'/%3E%3C!-- flip-flop / wave --%3E%3Cpath d='M150 235 q15 -18 30 0 q15 18 30 0 q15 -18 30 0'/%3E%3C!-- cocktail --%3E%3Cpath d='M205 175 l24 0 -12 16 z M217 191 v22 M209 213 h16'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 300px 300px;
  background-attachment: fixed, fixed, fixed;
}

/* lower the pattern's presence even further behind content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.55));
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 680px; }

.section { padding: 48px 0; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--sunset));
  color: var(--white);
  padding: 14px 28px;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.btn--primary:hover { box-shadow: var(--shadow-lg); }

.btn--block { width: 100%; margin-top: 8px; }

.btn--huge {
  background: linear-gradient(135deg, var(--sunset), var(--orange) 60%, var(--yellow));
  color: var(--white);
  padding: 20px 34px;
  font-size: clamp(1.1rem, 4.5vw, 1.6rem);
  letter-spacing: 0.5px;
  box-shadow: 0 12px 0 rgba(180, 50, 20, 0.45), var(--shadow-lg);
  animation: pulse 2s ease-in-out infinite;
}
.btn--huge:hover { box-shadow: 0 12px 0 rgba(180, 50, 20, 0.45), var(--shadow-lg); }
.btn--huge:active { transform: translateY(6px); box-shadow: 0 6px 0 rgba(180, 50, 20, 0.45); }

@keyframes pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 82, 82, 0)); }
  50% { filter: drop-shadow(0 0 14px rgba(255, 82, 82, 0.5)); }
}

/* ============================ LANDING ============================ */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 60px;
  position: relative;
}
.landing__inner {
  max-width: 620px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--yellow);
}
.landing__hero {
  width: min(560px, 92vw);
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 12px 24px rgba(0, 78, 110, 0.25));
}
.warning-title {
  font-family: 'Baloo 2', sans-serif;
  color: var(--sunset);
  font-size: clamp(2rem, 9vw, 3rem);
  margin: 4px 0 6px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 var(--yellow);
}
.warning-sub {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 4.5vw, 1.5rem);
  color: var(--ink);
  margin: 0 0 18px;
  text-transform: uppercase;
  line-height: 1.2;
}
.behaviours {
  text-align: left;
  background: var(--cream);
  border: 2px dashed var(--orange);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 0 auto 18px;
}
.behaviours__label { font-weight: 800; margin: 0 0 8px; color: var(--ink-soft); }
.behaviours ul { margin: 0; padding-left: 20px; }
.behaviours li { margin: 4px 0; }
.risk-line {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 1.15rem;
  margin: 0 0 20px;
}
.panic-link {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: underline;
  opacity: 0.8;
}
.panic-link:hover { opacity: 1; }

.ridiculous-note {
  margin: 18px auto 0;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  line-height: 1.5;
  color: var(--blue-deep);
  max-width: 460px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================ HEADER ============================ */
.site-header {
  text-align: center;
  padding: 26px 20px 6px;
}
.brand-logo {
  width: min(380px, 80vw);
  margin: 0 auto;
  filter: drop-shadow(0 8px 18px rgba(0, 78, 110, 0.25));
}

/* ============================ INTRO ============================ */
.intro { text-align: center; padding-top: 18px; }
.headline {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.6rem, 6.5vw, 2.8rem);
  line-height: 1.05;
  color: var(--blue-deep);
  margin: 0 0 16px;
  text-shadow: 2px 2px 0 rgba(255, 210, 63, 0.7);
}
.lead { font-size: 1.15rem; margin: 0 auto 10px; max-width: 560px; }
.lead--cta { font-weight: 800; color: var(--orange); }
.arrow { display: inline-block; animation: bounce 1.6s infinite; }

/* ============================ SECTION TITLES ============================ */
.section-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  color: var(--blue-deep);
  text-align: center;
  margin: 0 0 8px;
}
.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--ink-soft);
}

/* ============================ STATUS CARDS ============================ */
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.status-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}
.status-card:nth-child(2) { border-top-color: var(--orange); }
.status-card:nth-child(3) { border-top-color: var(--teal); }
.status-card:nth-child(4) { border-top-color: var(--sunset); }
.status-card__icon { font-size: 2rem; display: block; margin-bottom: 6px; }
.status-card h3 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.status-card p { margin: 0; font-weight: 800; font-size: 1.1rem; color: var(--ink); }

/* ============================ COUNTERS ============================ */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.counter {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.counter:nth-child(1) { background: linear-gradient(135deg, var(--orange), var(--sunset)); }
.counter:nth-child(3) { background: linear-gradient(135deg, var(--teal), #0f9e86); }
.counter:nth-child(4) { background: linear-gradient(135deg, var(--yellow), var(--orange)); color: var(--ink); }
.counter__num {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
}
.counter__label {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

/* ============================ CARD / FORM ============================ */
.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 22px;
}
.form-card { border-top: 6px solid var(--orange); }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}
.req { color: var(--sunset); }
.opt { color: var(--ink-soft); font-weight: 600; font-size: 0.85em; }
.hint { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 0.82rem; }

.field input[type="text"],
.field textarea,
.field input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d7e7ee;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input[type="text"]:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 152, 201, 0.18);
}
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 10px; background: var(--cream); }

/* Hidden native file inputs — triggered by the photo buttons below. */
.visually-hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Photo capture / upload buttons */
.photo-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 520px) {
  .photo-buttons { grid-template-columns: 1fr 1fr; }
}
.btn--photo {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  padding: 16px 18px;
  font-size: 1rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  line-height: 1.25;
}
.btn--photo:hover { box-shadow: var(--shadow-lg); }
.btn--photo-alt { background: linear-gradient(135deg, var(--teal), #0f9e86); }
.photo-status {
  margin: 12px 0 0;
  font-weight: 800;
  color: var(--blue-deep);
  min-height: 1.2em;
}
.photo-status:empty { margin: 0; }

/* honeypot — visually hidden but available to bots */
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ============================ FEATURED SIGHTINGS (MODERATED) ============================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.featured-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--yellow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.featured__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.featured-card__body { padding: 18px; }
.featured-card .sighting__msg { margin: 0 0 12px; font-style: italic; color: var(--ink); }
.featured-card .sighting__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-size: 0.85rem;
}
.featured-empty {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed var(--orange);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 700;
}

/* ============================ SIGHTINGS WALL ============================ */
.sightings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.sighting {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--teal);
}
.sighting__msg { margin: 0 0 12px; font-style: italic; color: var(--ink); }
.sighting__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-size: 0.85rem;
}
.sighting__who { font-weight: 800; color: var(--blue-deep); }
.sighting__loc { color: var(--ink-soft); }
.sightings-note {
  text-align: center;
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ============================ FIELD GUIDE ============================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.guide-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}
.guide-card__if { margin: 0 0 8px; font-weight: 700; color: var(--ink-soft); }
.guide-card__then {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.guide-card--safe   { border-bottom: 5px solid var(--teal); }
.guide-card--safe   .guide-card__then { color: #0f9e86; }
.guide-card--warn   { border-bottom: 5px solid var(--yellow); }
.guide-card--warn   .guide-card__then { color: var(--orange); }
.guide-card--danger { border-bottom: 5px solid var(--sunset); }
.guide-card--danger .guide-card__then { color: var(--sunset); }

/* ============================ FOOTER ============================ */
.site-footer {
  margin-top: 30px;
  padding: 40px 20px 50px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 152, 201, 0.10), rgba(0, 111, 154, 0.20));
}
.footer-logo { width: min(200px, 60vw); margin: 0 auto 14px; }
.footer-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin: 0;
}
.footer-sub { font-weight: 700; margin: 4px 0 10px; color: var(--ink); }
.footer-fine { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ============================ FLOATING REPORT BUTTON ============================ */
.floating-report {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 4vw, 1.15rem);
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--sunset));
  padding: 15px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(180, 50, 20, 0.45);
  white-space: nowrap;
  animation: pulse 2s ease-in-out infinite;
}
.floating-report:active { transform: translateX(-50%) translateY(2px); }
.floating-report[hidden] { display: none; }

/* ============================ THANK YOU ============================ */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.thankyou__card {
  text-align: center;
  border-top: 6px solid var(--teal);
  position: relative;
  overflow: hidden;
}
.confetti { font-size: 2.5rem; animation: bounce 1.6s infinite; }
.thankyou__logo { width: min(320px, 70vw); margin: 8px auto 16px; }
.thankyou__title {
  font-family: 'Baloo 2', sans-serif;
  color: var(--orange);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  margin: 0 0 14px;
  text-shadow: 2px 2px 0 var(--yellow);
}
.thankyou__lead { font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; }
.thankyou__note { color: var(--ink-soft); margin: 0 0 24px; }

/* ============================ RESPONSIVE ============================ */
@media (min-width: 760px) {
  .status-grid { grid-template-columns: repeat(4, 1fr); }
  .counter-grid { grid-template-columns: repeat(4, 1fr); }
  .guide-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
