/* ======================================================================================================
   VisitSplit — Main Stylesheet
   Fonts: Playfair Display (headings) + Raleway (body/nav)
   Palette: Navy #03045E · Ocean #0077B6 · Sky #0096C7 · Mist #90E0EF
   Using same palette accross the pages, additionaly added css for each page style in separetaded files
   ====================================================================================================== */
/* Reset the browser and setting up styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    color: #1a2a3a;
    background: #f5f7fa;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* CSS main Variables */
:root {
    --navy: #03045E;
    --ocean: #0077B6;
    --sky: #0096C7;
    --mist: #90E0EF;
    --pale: #CAF0F8;
    --light: #E8F4FD;
    --white: #ffffff;
    --bg: #f5f7fa;
    --border: #dce8f2;
    --text: #1a2a3a;
    --muted: #556677;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(3,4,94,.08);
}

/* Accessibility Bar */
.a11y-bar {
    background: var(--navy);
    padding: 7px 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #1a2a6e;
}

.a11y-bar-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.a11y-skip {
    color: #fff;
    font-size: 0.69rem;

    /* 11px */
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    letter-spacing: .3px;
    white-space: nowrap;
    transition: color .15s;
}

.a11y-skip:hover {
    color: var(--mist);
}

.a11y-controls {
    display: flex;
    align-items: center;
}

.a11y-label {
    color: #aad4e8;
    font-size: 0.69rem;

    /* 11px */
    font-weight: 600;
    margin-right: 10px;
    white-space: nowrap;
}

.a11y-btn {
    display: inline-block;
    color: #fff;
    font-size: 0.75rem;

    /* 12px */
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    padding: 5px 14px;
    border-right: 1px solid #3a5080;
    background: transparent;
    border-top: none;
    border-bottom: none;
    border-left: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
    text-decoration: none;
}

.a11y-btn:last-child {
    border-right: none;
}

.a11y-btn:hover {
    background: rgba(255,255,255,.12);
    color: var(--mist);
}

/* - Navigation bar */
header {
    position: sticky;
    top: 0;
    z-index: 1000;

    /* Higher z-index to stay above gallery images */
}

.nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;

    /* position: sticky; */
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(3,4,94,.06);
}

.nav-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;

    /* 22px */
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    letter-spacing: -.3px;
}

.nav-logo span {
    color: var(--sky);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.nav-links a {
    color: #445566;

    /* 12.5px */
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0 13px;
    height: 56px;
    display: flex;
    align-items: center;
    border-bottom: 2.5px solid transparent;
    transition: color .2s, border-color .2s;
}

.nav-links a:hover {
    color: var(--ocean);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.nav-links a.active {
    color: var(--ocean);
    border-bottom-color: var(--sky);
}

.nav-links a[aria-current="page"] {
    pointer-events: none;
    cursor: default;
}

.nav-contact {
    background: var(--ocean);
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    height: auto !important;
    border-bottom: none !important;
    border-radius: var(--radius) !important;
    margin-left: 8px;
    transition: background .2s !important;
}

.nav-contact:hover {
    background: var(--navy) !important;
}

/* Hamburger (for mobile and small displays) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .3s;
}

/* ── Hero */
.hero {
    background: var(--navy);
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;

    /* back image for hero */
    background: url('../images/webp/hero-bg.webp') center/cover no-repeat;
    opacity: .30;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}

.hero-eyebrow {
    color: var(--mist);

    /* 11px */
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--mist);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--white);

    /* 46px */
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 em {
    color: var(--mist);
    font-style: italic;
}

.hero-sub {
    color: rgba(255,255,255,.68);

    /* 15px */
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-sub-note {
    color: #90E0EF;

    /* smaller than sub */
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.8;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius);
    transition: background .2s, color .2s;
    font-family: 'Raleway', sans-serif;
    border: none;
}

.btn-white:hover {
    background: var(--pale);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,.45);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius);
    transition: border-color .2s, background .2s;
    font-family: 'Raleway', sans-serif;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.08);
}

.hero-stats {
    display: flex;
    gap: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.12);
}

.stat {
    flex: 1;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,.12);
}

.stat:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.stat-n {
    color: var(--white);

    /* 26px */
    font-size: 1.63rem;
    font-weight: 700;
}

.stat-l {
    color: rgba(255,255,255,.5);

    /* 11px */
    font-size: 0.69rem;
    margin-top: 2px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

/* - Max-width container to limit width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ── Section Shared accross */
.section {
    padding: 3rem 2rem;
}

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

.section.bg-light {
    background: var(--bg);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.eyebrow {
    color: var(--sky);

    /* 10.5px */
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 1.5px;
    background: var(--sky);
}

.sec-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);

    /* 28px */
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.sec-sub {
    color: var(--muted);

    /* 14px */
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 2rem;
}

/* - Image Placeholders shared */
.img-ph {
    width: 100%;

    /* background: linear-gradient(145deg, #daeef9 0%, #b8dcf0 100%); added inside html where needed */
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px dashed #90c8df;
    position: relative;
    overflow: hidden;
    color: #2a6f8f;
}

.img-ph::before {
    content: '';
    position: absolute;
    inset: 0;

    /* stripes for pic in backrground background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.18) 20px,
    rgba(255,255,255,.18) 40px
  ); only for testing pictures on preload */
}

.img-ph-icon {
    font-size: 28px;
    position: relative;
    z-index: 1;
    opacity: .7;
}

.img-ph-label {
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    color: #1a5570;
}

.img-ph-sub {
    font-size: 10px;
    opacity: .65;
    position: relative;
    z-index: 1;
}

/* aspect ratios declared for imsges */
.img-ph.r-16-9 {
    aspect-ratio: 16/9;
}

.img-ph.r-4-3 {
    aspect-ratio: 4/3;
}

.img-ph.r-3-2 {
    aspect-ratio: 3/2;
}

.img-ph.r-1-1 {
    aspect-ratio: 1/1;
}

.img-ph.r-hero {
    height: 420px;
}

.img-ph.r-card {
    height: 170px;
}

.img-ph.r-thumb {
    height: 110px;
}

/* ── Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    background: var(--light);
}

.card-img-placeholder {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.card-body {
    padding: 14px 15px;
}

.card-cat {
    /* 10px */
    font-size: 0.63rem;
    color: var(--sky);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-title {
    font-family: 'Playfair Display', serif;

    /* 15px */
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 5px;
}

.card-desc {
    /* 12.5px */
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.6;
}

.card-foot {
    padding: 9px 15px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-more {
    /* 12px */
    font-size: 0.75rem;
    color: var(--ocean);
    font-weight: 600;
}

.card-pill {
    /* 10px */
    font-size: 0.63rem;
    background: var(--light);
    color: var(--ocean);
    padding: 2px 9px;
    border-radius: 20px;
    font-weight: 600;
}

.card-pill.green {
    background: #e8f5e9;
    color: #2e7d32;
}

.card-pill.amber {
    background: #fff8e1;
    color: #e65100;
}

/* - Island Cards main page */
.islands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.island-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 16px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    transition: transform .2s, box-shadow .2s;
}

.island-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.island-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.island-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.88rem;

    /* 14px */
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 3px;
}

.island-desc {
    font-size: 0.75rem;

    /* 12px */
    color: var(--muted);
    line-height: 1.55;
}

.island-meta {
    font-size: 0.69rem;

    /* 11px */
    color: var(--sky);
    font-weight: 600;
    margin-top: 5px;
}

/* - Activities */
.act-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.act-card {
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    transition: transform .2s;
}

.act-card:hover {
    transform: translateY(-2px);
}

.act-card.dark {
    background: var(--navy);
    color: var(--white);
}

.act-card.light {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--navy);
}

.act-icon {
    /* 26px */
    font-size: 1.63rem;
    margin-bottom: 9px;
}

.act-name {
    /* 13px */
    font-size: 0.81rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.act-desc {
    /* 11.5px */
    font-size: 0.72rem;
    line-height: 1.5;
    opacity: .7;
}

.act-tag {
    display: inline-block;

    /* 10px */
    font-size: 0.63rem;
    padding: 3px 9px;
    border-radius: 20px;
    margin-top: 7px;
    font-weight: 600;
}

.act-card.dark .act-tag {
    background: rgba(144,224,239,.15);
    color: var(--mist);
}

.act-card.light .act-tag {
    background: var(--light);
    color: var(--ocean);
}

/* - Day Trips */
.trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.trip-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.trip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.trip-header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--border);
}

.trip-place {
    font-family: 'Playfair Display', serif;
    font-size: 0.94rem;

    /* 15px */
    font-weight: 600;
    color: var(--navy);
}

.trip-dist {
    font-size: 0.69rem;

    /* 11px */
    color: var(--sky);
    font-weight: 600;
    margin-top: 2px;
}

.trip-body {
    padding: 11px 16px 14px;
}

.trip-desc {
    font-size: 0.78rem;

    /* 12.5px */
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 9px;
}

.trip-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.trip-tag {
    font-size: 0.63rem;

    /* 10px */
    background: var(--bg);
    color: #445;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

/* - Practical Info */
.prac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.prac-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.prac-icon {
    font-size: 1.38rem;

    /* 22px */
    margin-bottom: 7px;
}

.prac-label {
    font-size: 0.63rem;

    /* 10px */
    color: #888;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 4px;
}

.prac-val {
    font-size: 0.88rem;

    /* 14px */
    font-weight: 700;
    color: var(--navy);
}

.prac-sub {
    font-size: 0.69rem;

    /* 11px */
    color: var(--sky);
    margin-top: 2px;
}

/* - Visa Banner */
.visa-banner {
    background: var(--light);
    border-left: 3.5px solid var(--ocean);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.visa-icon {
    font-size: 1.5rem;

    /* 24px */
    flex-shrink: 0;
}

.visa-title {
    font-size: 0.84rem;

    /* 13.5px */
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 3px;
}

.visa-desc {
    font-size: 0.78rem;

    /* 12.5px */
    color: var(--muted);
    line-height: 1.6;
}

/* - Accessibility Section */
.a11y-section-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.wcag-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: .75rem;
}

.wcag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.75rem;

    /* 12px */
    font-weight: 700;
}

.wcag-badge.green {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.wcag-badge.blue {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    color: #1565c0;
}

.wcag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.wcag-dot.green {
    background: #2e7d32;
}

.wcag-dot.blue {
    background: #1565c0;
}

.a11y-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.a11y-info-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px;
    text-align: center;
}

.a11y-info-icon {
    font-size: 1.25rem;

    /* 20px */
    margin-bottom: 6px;
}

.a11y-info-label {
    font-size: 0.72rem;

    /* 11.5px */
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.a11y-info-val {
    font-size: 0.69rem;

    /* 11px */
    color: var(--ocean);
}

/* - Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-info-box {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: var(--white);
}

.contact-info-label {
    font-size: 0.75rem;

    /* 12px */
    color: var(--mist);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-info-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 9px;
}

.contact-info-row span:first-child {
    font-size: 1rem;

    /* 16px */
    flex-shrink: 0;
}

.contact-info-row span:last-child {
    font-size: 0.78rem;

    /* 12.5px */
    color: rgba(255,255,255,.65);
}

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

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.06rem;

    /* 17px */
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: .75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.69rem;

    /* 11px */
    font-weight: 700;
    color: #556;
}

.form-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 9px 11px;
    font-size: 0.81rem;

    /* 13px */
    font-family: 'Raleway', sans-serif;
    color: var(--navy);
    background: var(--bg);
    transition: border-color .2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--ocean);
    background: var(--white);
}

textarea.form-input {
    resize: none;
    height: 80px;
}

.form-submit {
    width: 100%;
    background: var(--ocean);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 12px;
    font-size: 0.84rem;

    /* 13.5px */
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    margin-top: .5rem;
    transition: background .2s;
}

.form-submit:hover {
    background: var(--navy);
}

.form-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 14px 18px;
    color: #2e7d32;
    font-size: 0.81rem;

    /* 13px */
    font-weight: 600;
    margin-top: .75rem;
    text-align: center;
}

/* - Footer */
.footer {
    background: var(--navy);
    padding: 2.5rem 2rem 1.5rem;
}

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

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;

    /* 20px */
    font-weight: 700;
    color: var(--white);
    margin-bottom: .6rem;
}

.footer-logo span {
    color: var(--mist);
}

.footer-tagline {
    color: rgba(255,255,255,.4);
    font-size: 0.75rem;

    /* 12px */
    line-height: 1.7;
    max-width: 220px;
}

.footer-col h5 {
    color: var(--mist);
    font-size: 0.66rem;

    /* 10.5px */
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: .85rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,.45);
    font-size: 0.78rem;

    /* 12.5px */
    margin-bottom: 7px;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    color: rgba(255,255,255,.3);
    font-size: 0.72rem;

    /* 11.5px */
}

.footer-wcag {
    background: rgba(46,125,50,.2);
    color: #a5d6a7;
    font-size: 0.66rem;

    /* 10.5px */
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* - Responsive */
@media (max-width: 1024px) {
    .nav-links a {
        padding: 0 9px;
        font-size: 0.75rem;

        /* 12px */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .act-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .a11y-bar {
        padding: 6px 1rem;
    }

    .nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0,0,0,.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        height: auto;
        padding: 10px 1.5rem;
        border-bottom: none;
        border-top: 1px solid var(--border);
        width: 100%;
    }

    .nav-links a:first-child {
        border-top: none;
    }

    .nav-contact {
        margin: .5rem 1.5rem;
        width: calc(100% - 3rem);
        text-align: center;
        border-radius: var(--radius) !important;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 3rem 1rem 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;

        /* 32px */
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stat {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        flex: 0 0 45%;
    }

    .section {
        padding: 2rem 1rem;
    }

    .sec-title {
        font-size: 1.38rem;

        /* 22px */
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .act-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .islands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .prac-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .a11y-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.63rem;

        /* 26px */
    }

    .stat {
        flex: 0 0 100%;
        text-align: center;

        /* looks better on small phones */
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-white,
    .btn-outline {
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .act-grid {
        grid-template-columns: 1fr;
    }

    .islands-grid {
        grid-template-columns: 1fr;
    }

    .trips-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .prac-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .a11y-controls {
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* text scroll for events no stoping, i dont need links for events */
.ticker {
    position: relative;
    overflow: hidden;
    width: 100%;
    color: #90E0EF;
    font-size: 0.75rem;
    font-family: system-ui, sans-serif;
    white-space: nowrap;
}

.ticker__track {
    display: inline-block;
    padding-left: 100%;

    /* start off-screen on the right */
    animation: ticker-scroll 65s linear infinite;
}

.ticker__track span {
    display: inline-block;
    padding: 0 2rem;
}

/* Animation: right to left */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* end of animation */
/* Gallery zoom in pictures */
/* 1. Hide the lightbox initially */
/* --- Gallery Grid Styling --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.thumbnail-link img {
    width: 100%;
    height: 200px;

    /* Fixed height for consistency */
    object-fit: cover;

    /* Crop to fit */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

.thumbnail-link img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* turnstyle */
.cf-turnstile {
    transform: scale(0.85);

    /* Slightly shrink the widget on tiny phones */
    transform-origin: left;
}
