/* Modern, accessible, responsive theme with light/dark support */
:root {
  --bg: #2a2e35;
  --text: #c8d0d9;
  --muted: #8a95a3;
  --brand: #47b3ff;
  --brand-2: #00d8b6;
  --card: #33373e;
  --surface: #2e3239;
  --border: #3d424a;
  color-scheme: dark light;
}

:root.light {
  --bg: #ffffff;
  --text: #121417;
  --muted: #5b6b7a;
  --brand: #0a84ff;
  --brand-2: #0ac5a8;
  --card: #f6f8fb;
  --surface: #f9fafb;
  --border: #e6e8eb;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, Noto Sans, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* Links - visible in both themes */
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: color-mix(in oklab, var(--brand) 85%, var(--brand-2) 15%); }

.container { width: min(1100px, 92%); margin-inline: auto; }
.flow > * + * { margin-top: clamp(1rem, 1.5vw, 1.25rem); }

.skip { position: absolute; left: -9999px; top: auto; }
.skip:focus { left: 1rem; top: 1rem; background: var(--brand); color: white; padding: .5rem .75rem; border-radius: .5rem; }

.site-header {
  position: sticky; top: 0; inset-inline: 0; z-index: 50;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { display: flex; gap: .6rem; align-items: center; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .2px; }
.brand img { filter: drop-shadow(0 1px 0 rgba(0,0,0,.2)); }

.primary-nav ul { display: flex; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--muted); text-decoration: none; padding: .5rem .6rem; border-radius: .4rem; }
.primary-nav a:hover, .primary-nav a:focus { color: var(--text); background: color-mix(in oklab, var(--card) 50%, transparent); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); padding: .4rem .6rem; border-radius: .4rem; }
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--text); padding: .4rem .6rem; border-radius: .6rem; }

@media (max-width: 880px) {
  .primary-nav ul { display: none; position: absolute; right: 1rem; top: 60px; flex-direction: column; background: var(--surface); border: 1px solid var(--border); padding: .5rem; border-radius: .6rem; }
  .primary-nav ul.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

.hero { position: relative; isolation: isolate; }
.hero picture { display: block; max-height: 70vh; overflow: clip; }
.hero img { width: 100%; height: 70vh; object-fit: cover; filter: saturate(1.05) contrast(1.05) brightness(.9); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--bg) 70%, transparent), transparent 60%); z-index: 1; }
.hero-content { position: absolute; inset: 0; display: grid; place-items: end start; padding: 2.5rem 0; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0; }
.hero p { max-width: 42ch; margin: .5rem 0 1rem; color: var(--muted); }

.btn { display: inline-block; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: white; padding: .7rem 1rem; border-radius: .6rem; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.btn:hover { translate: 0 -1px; }

h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0 0 .25rem; }
h3 { margin: 0 0 .25rem; }

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 880px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

.cards article { background: var(--card); border: 1px solid var(--border); padding: 1rem; border-radius: .8rem; }
.cards.compact article ul { margin: .25rem 0 0; }

.columns { columns: 2; gap: 2rem; }
@media (max-width: 700px) { .columns { columns: 1; } }

section { scroll-margin-top: 80px; margin-bottom: 3rem; padding: 2rem 0; }
section h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-size: 1.15rem; }
section h4 { margin-top: 1rem; margin-bottom: .4rem; font-size: 1rem; font-weight: 600; }
.note { color: var(--muted); font-size: .95rem; }
details { margin: 1rem 0; }
details summary { cursor: pointer; font-weight: 600; padding: .5rem; background: var(--card); border-radius: .4rem; }

/* Section moods */
#visit { 
  background: linear-gradient(135deg, rgba(71, 179, 255, 0.05), rgba(0, 216, 182, 0.05));
  border-radius: 1rem;
  padding: 2rem;
}

#wildlife { 
  background: linear-gradient(to right, rgba(34, 139, 34, 0.08), transparent);
  border-left: 3px solid rgba(0, 216, 182, 0.4);
  padding-left: 1.5rem;
}

#activities {
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
}

#stays {
  background: linear-gradient(to bottom, transparent, rgba(71, 179, 255, 0.03));
  padding: 2rem 0;
}

#dog {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 152, 0, 0.05));
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 193, 7, 0.1);
}

#unusual {
  background: linear-gradient(to right, rgba(156, 39, 176, 0.06), rgba(103, 58, 183, 0.06));
  border-radius: 1rem;
  padding: 2rem;
}

#getting {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

#tips {
  background: linear-gradient(to bottom right, rgba(0, 216, 182, 0.05), transparent);
  padding: 2rem;
  border-radius: 1rem;
}

.cta { text-align: center; padding: 2rem 0 3rem; }
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; background: var(--surface); }
.site-footer .container { padding: 2rem 0 1.25rem; color: var(--muted); font-size: .95rem; }
.footer-links { margin-bottom: 1.5rem; }
.footer-links h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 .75rem; color: var(--text); }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .5rem 0; }
.footer-links a { color: var(--brand); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Utility */
ul { margin: .25rem 0 0; }
ul li { margin: .15rem 0; }

/* Content area links within cards/sections */
.cards a:not(.btn), section a:not(.btn) { 
  color: var(--brand); 
  font-weight: 500;
}
.cards a:not(.btn):hover, section a:not(.btn):hover { 
  color: var(--brand-2);
  text-decoration: underline;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Focus visible for accessibility */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: .25rem; }

/* Print styles */
@media print {
  .site-header, .hero, .cta, .site-footer, .theme-toggle, .nav-toggle { display: none; }
  body { background: white; color: black; }
  a { text-decoration: underline; }
}
