/* =========================================================
   MOUNT PLACEHOLDER — SHARED SITE STYLES
   One consistent, true-blue identity across all three pages.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
    color-scheme: dark;
    --navy: #091a38;
    --blue: #1454af;
    --blue-bright: #3179df;
    --blue-deep: #0e326c;
    --text: #f3f7ff;
    --muted: #b6c9e5;
    --line: rgba(173, 202, 255, 0.27);
    --surface: rgba(7, 22, 52, 0.80);
}

select{
	display: none;
	background: #FFF;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    min-height: 100vh;
    background: linear-gradient(180deg, #123e82 0%, #0b285a 36%, #071630 100%) fixed;
    color: var(--text);
    font-family: 'Barlow Condensed', sans-serif;
}
a { color: inherit; }
.page {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 60px;
}
.site-header { text-align: center; }
.site-header > a { display: inline-block; max-width: 100%; }
.masthead {
    display: block;
    width: min(720px, 100%);
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    /* Keeps the existing artwork legible even if its background is opaque. */
    background: #fff;
}
.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 28px;
}
.site-nav a {
    display: inline-block;
    padding: 8px 24px;
    background: var(--blue-deep);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: var(--blue);
    border-color: rgba(220, 235, 255, 0.6);
}
.site-nav a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
h1 {
    margin: 0 0 8px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: 0.025em;
    text-align: center;
    text-transform: uppercase;
}
p { line-height: 1.6; }
.subtitle {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 18px;
    text-align: center;
}
.home-content {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 26px 20px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
}
.home-content h1 { margin: 0; }
.site-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 16px;
}
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer p { margin: 0; }

/* TRAIL MAP */


        .map-viewer {
            position: relative;
            width: 100%;
            overflow: hidden;
            background: var(--navy);
            border: 1px solid var(--line);
            border-radius: 12px;
        }

        .map-viewer img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .map-fullscreen {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 10;

            display: grid;
            place-items: center;

            width: 40px;
            height: 40px;
            padding: 0;

            background: rgba(0, 0, 0, 0.7);
            color: #fff;

            border: 1px solid rgba(255, 255, 255, 0.35);
            border-radius: 10px;

            font-size: 22px;
            cursor: pointer;
        }

        .map-fullscreen:hover {
            background: rgba(0, 0, 0, 0.9);
        }

        .map-viewer:fullscreen {
            display: flex;
            align-items: center;
            justify-content: center;

            width: 100vw;
            height: 100vh;
            border: 0;
            border-radius: 0;
            background: #030917;
        }

        .map-viewer:fullscreen img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .map-viewer:fullscreen .map-fullscreen {
            top: 12px;
            right: 12px;
        }

/* WEBCAMS */
.webcam-intro { text-align: center; margin: 16px auto 24px; }
.webcam-intro .eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.webcam-intro p { margin: 6px auto 0; max-width: 740px; font-size: 16px; }

		
		.viewer {
			display: grid;
			grid-template-columns: minmax(0,1fr) 164px;
			gap: 18px;
			align-items: stretch;
			min-height: 0;
			height: clamp(400px,59vw,660px);
			padding: 16px;
			background: var(--surface);
			border: 1px solid var(--line);
			border-radius: 22px;
			box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
		}
		
		.hero {
			position: relative;
			min-width: 0;
			min-height: 0;
			overflow: hidden;
			border: 1px solid #ffffff50;
			border-radius: 10px;
			background: #030609;
			display: flex;
			justify-content: center;
			align-items: center;
		}
		
		.hero>img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
		
		.overlay,.fullscreen {
			position: absolute;
			z-index: 2;
			color: #fff;
			background: #000a;
			border: 1px solid #ffffff65;
			text-shadow: 0 1px 3px #000;
			border-radius: 999px;
		}
		
		.label {
			left: 13px;
			top: 13px;
			padding: 8px 13px;
			font-size: 12px;
			font-weight: 700;
			letter-spacing: .03em;
			max-width: calc(100% - 80px);
		}
		
		.credit {
			right: 13px;
			bottom: 13px;
			padding: 7px 12px;
			font-size: 11px;
		}
		
		.credit a {
			text-underline-offset: 3px;
		}
		
		.fullscreen {
			right: 13px;
			top: 13px;
			width: 34px;
			height: 34px;
			display: grid;
			place-items: center;
			cursor: pointer;
		}
		
		.fullscreen svg {
			width: 17px;
			height: 17px;
		}
		
		.fullscreen:hover {
			background: #000;
		}
		
		.hero:fullscreen {
			border: 0;
			border-radius: 0;
			background: #000;
		}
		
		.hero:fullscreen>img {
			object-fit: contain;
		}
		
		.hero:fullscreen .fullscreen {
			transform: translateY(-4px);
		}
		
		.thumbs {
			min-width: 0;
			min-height: 0;
			overflow-y: auto;
			overscroll-behavior: contain;
			display: flex;
			flex-direction: column;
			gap: 12px;
			padding: 2px 4px 2px 2px;
		}
		
		.thumb {
			border: 2px solid transparent;
			border-radius: 9px;
			overflow: hidden;
			color: white;
			background: rgba(34, 95, 176, 0.27);
			padding: 0;
			text-align: center;
			cursor: pointer;
			flex: 0 0 auto;
			opacity: .65;
			transition: opacity .15s,border-color .15s;
		}
		
		.thumb:hover {
			opacity: .9;
		}
		
		.thumb.active {
			opacity: 1;
			border-color: #8cbcff;
		}
		
		.thumb:focus-visible {
			outline: 2px solid white;
			outline-offset: 2px;
		}
		
		.thumb img {
			width: 100%;
			aspect-ratio: 16/9;
			object-fit: cover;
			display: block;
		}
		
		.thumb span {
			display: block;
			padding: 7px 3px;
			font-size: 10px;
			font-weight: bold;
			line-height: 1.3;
		}
@media(max-width:760px) {
			.viewer {
				grid-template-columns: 1fr;
				grid-template-rows: minmax(0,1fr) auto;
				height: clamp(340px,80vh,720px);
				gap: 9px;
				padding: 10px;
				border-radius: 15px;
			}
			.thumbs {
				flex-direction: row;
				overflow-x: auto;
				overflow-y: hidden;
				padding: 3px;
				gap: 9px;
			}
			.thumb {
				width: 125px;
			}
			.webcam-intro {
				margin: 25px 0 17px;
			}
			.credit {
				font-size: 10px;
			}
		}
@media (max-width: 760px) {
    .page { padding-top: 16px; }
    .site-nav { gap: 8px; }
    .site-nav a { padding: 8px 14px; font-size: 15px; }
    .site-footer { justify-content: center; text-align: center; }
}
