/* ============================================================
   Kangaroo Island — "Unfiltered"  ·  Portal design system
   Coastal / earthy palette to match tourkangarooisland.com.au
   ============================================================ */

:root {
    /* Brand palette — matched to tourkangarooisland.com.au
       (olive green + terracotta on soft cream; teal is a secondary link accent) */
    --ink:        #232323;   /* near-black — primary text */
    --teal:       #546f4e;   /* olive green — primary brand (their CTA colour) */
    --teal-deep:  #3f5539;   /* deep olive — gradients / hovers */
    --teal-soft:  #d9e5db;   /* pale green — tints / borders */
    --coral:      #b7704e;   /* terracotta / clay — accent + call-to-action */
    --coral-deep: #9c5c3d;
    --sand:       #f5fff7;   /* page background — pale eucalyptus (TKI brand) */
    --sand-2:     #dce8de;   /* dividers — soft eucalyptus tint */
    --cream:      #faf6f2;   /* card surfaces */
    --stone:      #6f6359;   /* muted earthy text */
    --white:      #ffffff;
    --link-teal:  #52939c;   /* their secondary teal — links only */

    --shadow-sm: 0 2px 8px rgba(28, 42, 40, 0.08);
    --shadow-md: 0 10px 30px rgba(28, 42, 40, 0.12);
    --shadow-lg: 0 24px 60px rgba(28, 42, 40, 0.22);
    --radius:    18px;
    --radius-sm: 12px;
    --maxw:      720px;

    --font-display: 'Unfiltered Worn Small', 'Unfiltered Worn Large', Georgia, serif;
    --font-head:    'Unfiltered Clean', 'Unfiltered Worn Small', Helvetica, sans-serif;
    --font-body: 'Gopher Light', 'gopher', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--sand);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; }

/* ---------- Layout shell ---------- */
.page { max-width: var(--maxw); margin: 0 auto; padding: 0 18px 56px; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    text-align: center;
}
.brand-logo { display: block; }
.brand-logo img {
    width: 300px;
    max-width: 82vw;
    height: auto;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--teal-deep);
    color: var(--white);
    margin-bottom: 26px;
}
.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 45%;
    opacity: 1;
    z-index: 0;
}
/* Scrim so the headline stays legible over the photo (lets the image show through) */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(31,40,28,0.28) 0%, rgba(31,40,28,0.62) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 48px 28px 40px;
    text-align: center;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.02;
    letter-spacing: 0;
}
.hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 12px;
}
.hero p { font-size: 17px; opacity: 0.95; margin-top: 12px; }

/* ---------- Cards ---------- */
.card {
    background: var(--cream);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 26px;
    margin-bottom: 18px;
}

/* Arrival choice cards */
.choice-grid { display: grid; gap: 16px; }
.choice {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px 24px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}
.choice:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}
.choice-icon {
    flex: 0 0 auto;
    width: 66px; height: 66px;
    display: grid; place-items: center;
    font-size: 30px;
    background: var(--teal-soft);
    border-radius: 50%;
}
.choice-body h3 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    color: var(--teal-deep);
}
.choice-body p { color: var(--stone); font-size: 14.5px; margin-top: 2px; }
.choice-arrow { margin-left: auto; color: var(--teal); font-size: 22px; }

/* ---------- Content sections ---------- */
.section { margin-bottom: 16px; }
.section h2 {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    color: var(--teal-deep);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 12px;
}
.section h2 .ico { font-size: 22px; }

/* Brand SVG icons (from the sprite) — single colour, inherit surrounding text colour */
.icon { width: 1.45em; height: 1.45em; display: inline-block; vertical-align: -0.28em; fill: currentColor; flex: 0 0 auto; }
/* Feature icons — large + terracotta, echoing the client's decorative icons */
.choice-icon .icon { width: 46px; height: 46px; color: var(--coral); }
.section h2 .icon, h2 .icon { width: 1.7em; height: 1.7em; color: var(--coral); }
.acc summary .icon, .ico .icon, .ico.icon { width: 1.7em; height: 1.7em; color: var(--coral); }
.arrival .icon { width: 40px; height: 40px; color: var(--coral); }
.section p { color: var(--ink); margin-bottom: 10px; }
.section ul { margin: 6px 0 4px 20px; color: var(--ink); }
.section li { margin-bottom: 4px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill {
    background: var(--teal-soft);
    color: var(--teal-deep);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
}

.note {
    background: #fff5ec;
    border-left: 4px solid var(--coral);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--ink);
    font-size: 14.5px;
}
.note strong { color: var(--coral-deep); }

.placeholder {
    border: 2px dashed var(--sand-2);
    border-radius: var(--radius-sm);
    padding: 22px;
    text-align: center;
    color: var(--stone);
    font-size: 13.5px;
    background: rgba(255,255,255,0.4);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-align: center;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--teal); color: var(--white); }
.btn-secondary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--teal-deep); border: 2px solid var(--teal); }
.btn-ghost:hover { background: var(--teal-soft); }

.btn-row { margin-top: 20px; }

/* Sticky "Get online" bar — floats at the foot of the journey while browsing */
.cta-bar {
    position: sticky; bottom: 0; z-index: 5;
    background: linear-gradient(to top, var(--sand) 72%, rgba(241,232,228,0));
    padding: 14px 0 10px;
    margin-top: 8px;
}

/* ---------- Form ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--sand-2);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-body);
    background: var(--white);
    transition: border-color 0.2s;
}
.field input[type="email"]:focus { outline: none; border-color: var(--teal); }

/* ---------- Back link / footer ---------- */
.backlink {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--stone); font-size: 14px; font-weight: 600;
    margin-bottom: 14px;
}
.foot {
    text-align: center;
    color: var(--stone);
    font-size: 12.5px;
    padding: 26px 10px 8px;
    border-top: 1px solid var(--sand-2);
    margin-top: 26px;
}
.foot .tagline { font-family: var(--font-head); color: var(--coral); }

.center { text-align: center; }
.muted { color: var(--stone); }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; }
