/* ================================================
   Heritage Coast Fiji — styles.css
   Mobile-first · Aqua & green palette · Clean
   ================================================ */

/* --- Custom Properties --- */
:root {
  --aqua:        #00B4D8;
  --aqua-light:  #90E0EF;
  --aqua-mid:    #0096C7;
  --aqua-deep:   #005F7A;
  --green:       #52B788;
  --green-light: #95D5B2;
  --green-bright:#2DC653;
  --white:       #FFFFFF;
  --off-white:   #F0F9FF;
  --slate:       #E8F4FA;
  --text:        #1B2B3A;
  --text-mid:    #4A6580;
  --text-light:  #8AABBF;
  --border:      #CCE8F4;
  --warn:        #F97316;
  --warn-light:  #FFF0E6;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    12px;
  --radius-sm:  8px;
  --shadow:    0 2px 16px rgba(0, 80, 120, 0.08);
  --shadow-md: 0 4px 28px rgba(0, 80, 120, 0.12);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
p   { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
em     { font-style: italic; }

/* --- Type Scale --- */
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem,  7vw, 3.75rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1rem,  2.5vw, 1.25rem); font-weight: 700; }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-tint {
  background: var(--off-white);
}

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-mid);
  margin-bottom: 0.75rem;
}

.section-label-inv { color: var(--aqua-light); }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.section-intro.inv {
  color: rgba(255,255,255,0.75);
}

h2 + .section-intro { margin-top: 1rem; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--aqua);
  color: var(--white);
  border-color: var(--aqua);
}
.btn-primary:hover { background: var(--aqua-mid); border-color: var(--aqua-mid); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-nav {
  background: var(--aqua);
  color: var(--white);
  border-color: var(--aqua);
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 16px rgba(0,80,120,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
}

.nav-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.25s ease;
}

.site-header.scrolled .nav-wordmark {
  color: var(--text);
}

/* ================================================
   HERO
   ================================================ */
.section-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../Images/1000107349.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 25, 45, 0.30) 0%,
    rgba(0, 25, 45, 0.52) 50%,
    rgba(0, 25, 45, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 1.5rem 4rem;
  max-width: 780px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua-light);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  z-index: 1;
  animation: bob 2.2s ease-in-out infinite;
  padding: 0.5rem;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ================================================
   STAT GRID (Threat section)
   ================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin: 2.5rem 0;
}

.stat-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--aqua);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--white);
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--aqua-deep);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.4;
}

.img-block {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-md);
}

.img-block img {
  width: 100%;
  object-fit: cover;
}

/* ================================================
   SPLIT LAYOUT (Heritage section)
   ================================================ */
.split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.split-text p {
  color: var(--text-mid);
  line-height: 1.78;
}

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.split-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

/* ================================================
   REASON LIST (Why Not Australia)
   ================================================ */
.reason-list {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.reason-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.reason-item:last-child { border-bottom: none; }

.reason-n {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--aqua-light);
  line-height: 1;
  flex-shrink: 0;
  width: 2.25rem;
  padding-top: 0.1rem;
}

.reason-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.reason-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.65;
}

/* Pull Quote */
.pull-quote {
  margin-top: 2.5rem;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 4px solid var(--aqua);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--off-white);
}

.pull-quote p {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.pull-quote cite {
  font-size: 0.83rem;
  color: var(--text-mid);
  font-style: normal;
}

/* ================================================
   DAMAGE GRID
   ================================================ */
.damage-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.damage-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.damage-head {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid;
}

.env  { color: var(--green);      border-color: var(--green); }
.econ { color: var(--aqua-deep);  border-color: var(--aqua); }
.cult { color: #7C3AED;           border-color: #C4B5FD; }

.damage-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.1rem;
  border-bottom: 1px solid var(--slate);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.damage-list li:last-child { border-bottom: none; }

.damage-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
}

/* ================================================
   CLEAN ENERGY / ALTERNATIVES
   ================================================ */
.dirty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}

.dirty-item {
  background: var(--white);
  padding: 1.4rem 1.25rem;
}

.dirty-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 0.6rem;
}

.dirty-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

.alt-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
  color: var(--text-light);
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.alt-divider::before,
.alt-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.alt-divider span { color: var(--green); white-space: nowrap; }

.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

.alt-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
}

.alt-head {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.alt-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 860px) {
  .dirty-grid { grid-template-columns: repeat(4, 1fr); }
  .alt-grid   { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================
   TIMELINE (Changing Story)
   ================================================ */
.timeline {
  margin: 2.5rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border);
}

.tl-item {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -1.65rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aqua);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--aqua);
}

.tl-dot-warn {
  background: var(--warn);
  box-shadow: 0 0 0 2px var(--warn);
}

.tl-marker {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-mid);
  margin-bottom: 0.4rem;
}

.tl-marker-warn { color: var(--warn); }

.tl-body {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.tl-body strong { color: var(--text); }

.callout {
  background: var(--warn-light);
  border: 1px solid #FED7AA;
  border-left: 4px solid var(--warn);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
}

/* ================================================
   LEGAL LIST
   ================================================ */
.legal-list {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.legal-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.legal-item:last-child { border-bottom: none; }

.legal-n {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--aqua);
  line-height: 1;
  flex-shrink: 0;
  width: 1.75rem;
  padding-top: 0.1rem;
}

.legal-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.legal-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.65;
}

/* ================================================
   COALITION
   ================================================ */
.coalition-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin: 2rem 0;
}

.c-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.c-stat-wide { grid-column: 1 / -1; }

.c-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.c-stat-wide .c-num { font-size: clamp(2.5rem, 9vw, 4.5rem); }

.c-lbl {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.4;
  max-width: 180px;
  display: inline-block;
}

/* Chief's letter */
.chief-block {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chief-quote {
  background: var(--off-white);
  border-left: 4px solid var(--aqua-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
}

.chief-quote p {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.chief-quote cite {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--aqua-deep);
  font-weight: 600;
  line-height: 1.5;
}

.chief-quote cite span {
  display: block;
  font-weight: 400;
  color: var(--text-mid);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.chief-letter {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}

.chief-letter img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.chief-letter:hover img {
  transform: scale(1.01);
}

.chief-letter figcaption {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  padding: 0.6rem 1rem;
  text-align: center;
}

.voices-intro {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.voice-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.voice-list li {
  position: relative;
  padding: 0.65rem 0.5rem 0.65rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
  border-bottom: 1px solid var(--border);
}

.voice-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ================================================
   TAKE ACTION
   ================================================ */
.section-action {
  background: linear-gradient(140deg, #012A3E 0%, #01526A 55%, #017280 100%);
  color: var(--white);
}

.section-action h2.inv { color: var(--white); }

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-top: 2rem;
}

.action-card {
  display: block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  color: var(--white);
  transition: background 0.2s ease, transform 0.15s ease;
}

.action-card:active { transform: scale(0.97); }

@media (hover: hover) {
  .action-card:hover {
    background: rgba(255,255,255,0.13);
    transform: translateY(-2px);
  }
}

.action-arrow {
  display: block;
  font-size: 1.3rem;
  color: var(--aqua-light);
  margin-bottom: 0.6rem;
  line-height: 1;
}

.action-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.action-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}

/* ================================================
   CONTACT FORM
   ================================================ */
.contact-container {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.contact-head {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.contact-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aqua-light);
  background: rgba(255,255,255,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .form-row { flex-direction: row; }
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #061520;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 3rem 1.25rem;
}

.footer-logo {
  height: 175px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.footer-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--aqua-light);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ================================================
   SCROLL FADE-IN
   ================================================ */
.fade-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-init.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE — 640px +
   ================================================ */
@media (min-width: 640px) {
  .section { padding: 5rem 0; }

  .split { flex-direction: row; align-items: center; }
  .split-text { flex: 1; }
  .split-img  { flex: 1; }
  .split-img img { height: 340px; }

  .c-stat-wide { grid-column: auto; }
}

/* ================================================
   RESPONSIVE — 860px +
   ================================================ */
@media (min-width: 860px) {
  .section { padding: 6.5rem 0; }

  .stat-grid    { grid-template-columns: repeat(4, 1fr); }
  .action-grid  { grid-template-columns: repeat(4, 1fr); }
  .damage-grid  { flex-direction: row; }
  .damage-block { flex: 1; }

  .coalition-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .c-stat-wide { grid-column: auto; }
}
