/* Destination Outdoors RV Park — Rustic Timber Lodge theme */

@font-face {
	font-family: "Bitter";
	src: url("/fonts/bitter.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Karla";
	src: url("/fonts/karla.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--color-ridge: #1e3328;
	--color-ridge-deep: #142219;
	--color-bark: #3a2a1e;
	--color-bark-deep: #2a1e15;
	--color-ember: #c1502e;
	--color-ember-deep: #a03f22;
	--color-brass: #a98544;
	--color-canvas: #ede3ce;
	--color-canvas-hi: #f5efe0;
	--color-ink: #20201c;
	--color-ink-soft: #4a4238;

	--font-heading: "Bitter", Georgia, serif;
	--font-body: "Karla", "Segoe UI", Roboto, sans-serif;

	--max-width: 1140px;
	--radius: 3px;
	--shadow: 0 10px 26px rgba(20, 34, 25, 0.16);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-canvas);
	line-height: 1.65;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: 1.2;
	text-wrap: balance;
	margin: 0 0 0.6em;
	color: var(--color-ridge);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--color-ember-deep);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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

.container {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* Buttons */

.btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	border: 2px solid transparent;
	transition:
		transform 0.12s ease,
		box-shadow 0.12s ease,
		background-color 0.15s ease,
		color 0.15s ease;
}

.btn:hover {
	text-decoration: none;
}

.btn-primary {
	background: var(--color-ember);
	color: var(--color-canvas-hi);
	box-shadow: 0 4px 0 var(--color-ember-deep);
}

.btn-primary:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--color-ember-deep);
	color: var(--color-canvas-hi);
}

.btn-outline {
	background: transparent;
	border-color: var(--color-canvas-hi);
	color: var(--color-canvas-hi);
}

.btn-outline:hover {
	background: var(--color-canvas-hi);
	color: var(--color-ridge-deep);
}

.btn-outline-dark {
	background: transparent;
	border-color: var(--color-ridge);
	color: var(--color-ridge);
}

.btn-outline-dark:hover {
	background: var(--color-ridge);
	color: var(--color-canvas-hi);
}

/* Header / Nav */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-ridge);
	border-bottom: 3px solid var(--color-brass);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.2s ease;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 32px;
	padding: 8px 0;
}

.nav-book-now {
	flex-shrink: 0;
}

.site-logo {
	height: 155px;
	width: auto;
	display: block;
	flex-shrink: 0;
}

.site-logo-sm {
	height: 100px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	color: var(--color-canvas-hi);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.98rem;
	opacity: 0.92;
}

.nav-links a:hover {
	opacity: 1;
	color: var(--color-brass);
	text-decoration: none;
}

.nav-links a.is-active {
	color: var(--color-brass);
	opacity: 1;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle-label {
	color: var(--color-canvas-hi);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	opacity: 0.92;
}

.nav-toggle-icon {
	display: flex;
	flex-direction: column;
	padding-left: 10px;
}

.nav-toggle-icon span {
	display: block;
	width: 26px;
	height: 3px;
	margin: 5px 0;
	background: var(--color-canvas-hi);
	border-radius: 2px;
}

/* Hero */

.hero {
	position: relative;
	color: var(--color-canvas-hi);
	background:
		linear-gradient(180deg, rgba(20, 34, 25, 0.55) 0%, rgba(20, 34, 25, 0.74) 55%, rgba(14, 24, 17, 0.92) 100%),
		url("/images/headers/traveling-rv-hero.jpg") center 45% / cover no-repeat;
	overflow: hidden;
	padding: 15px 0 55px;
}

.hero-contours {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.55;
}

.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 32px;
}

.hero-photo {
	position: relative;
	height: 380px;
	aspect-ratio: 3 / 2;
	flex-shrink: 0;
}

.hero-photo-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: 10px solid var(--color-canvas-hi);
	outline: 1px solid #d8cdb6;
	box-shadow: var(--shadow);
	border-radius: 2px;
	overflow: hidden;
}

.hero-photo-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-photo-frame::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 32%;
	background: linear-gradient(180deg, rgba(20, 20, 17, 0) 0%, rgba(20, 20, 17, 0.6) 100%);
}

.hero-photo-logo {
	position: absolute;
	z-index: 1;
	left: 15%;
	bottom: 0;
	transform: translate(-50%, -90%);
	width: 360px;
	height: auto;
	filter: drop-shadow(0 8px 16px rgba(10, 16, 11, 0.5));
}

.hero-text {
	max-width: 475px;
	padding-top:30px;
}

.hero-eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--color-brass);
	margin-bottom: 16px;
}

.hero h1 {
	color: var(--color-canvas-hi);
	font-size: clamp(2.1rem, 5vw, 3.2rem);
	margin-bottom: 0.4em;
}

.hero p {
	font-size: 1.15rem;
	color: #d9d0bd;
	max-width: 520px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 30px;
}

/* Page header (non-home pages) */

.page-header {
	background: linear-gradient(160deg, var(--color-ridge) 0%, var(--color-ridge-deep) 100%);
	color: var(--color-canvas-hi);
	padding: 15px 0 25px;
	text-align: center;
	border-bottom: 3px solid var(--color-brass);
}

.page-header-photo {
	position: relative;
	background:
		linear-gradient(180deg, rgba(20, 34, 25, 0.55) 0%, rgba(20, 34, 25, 0.74) 55%, rgba(14, 24, 17, 0.92) 100%),
		var(--page-photo) center var(--page-photo-position, 45%) / cover no-repeat;
	overflow: hidden;
}

.page-header-split {
	text-align: left;
}

.page-header-split .hero-text p {
	margin: 0;
}

.page-header h1 {
	color: var(--color-canvas-hi);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin-bottom: 0.3em;
}

.page-header p {
	color: #d9d0bd;
	max-width: 560px;
	margin: 0 auto;
}

/* Sections */

.section {
	padding: 76px 0;
}

.section-alt {
	background: var(--color-bark);
}

.section-alt .section-header .eyebrow {
	color: var(--color-brass);
}

.section-alt .section-header h2 {
	color: var(--color-canvas-hi);
}

.section-alt .section-header p {
	color: #d9cdbd;
}

/* Park map */

.park-map {
	max-width: 1080px;
	margin: 0 auto;
	border: 10px solid var(--color-canvas-hi);
	border-radius: 2px;
	box-shadow: var(--shadow);
	overflow: hidden;
	cursor: zoom-in;
}

.park-map:focus-visible {
	outline: 3px solid var(--color-brass);
	outline-offset: 3px;
}

.park-map img {
	width: 100%;
	height: auto;
	display: block;
}

/* Lightbox (used for the full-size park map) */

.lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(20, 20, 17, 0.88);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease;
	cursor: zoom-out;
}

.lightbox-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox-overlay img {
	max-width: 92vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	cursor: default;
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--color-canvas-hi);
	color: var(--color-ink);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-close:hover {
	background: var(--color-brass);
}

/* Map key */

.map-key-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.map-key-grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
	color: var(--color-canvas-hi);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.92rem;
}

.map-key-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--color-canvas-hi);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: var(--shadow);
	flex-shrink: 0;
}

.map-key-icon img {
	width: 60%;
	height: 60%;
	object-fit: contain;
}

.map-key-empty {
	text-align: center;
	color: #d9cdbd;
	border: 1px dashed #5a4d40;
	border-radius: var(--radius);
	padding: 32px;
	max-width: 480px;
	margin: 0 auto;
}

.map-key-empty p {
	margin: 0;
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.8rem;
	color: var(--color-ember-deep);
	font-weight: 700;
	margin-bottom: 10px;
}

/* Welcome / photo frame section */

.welcome-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 52px;
	align-items: center;
}

.welcome-grid .section-header {
	text-align: left;
	margin: 0 0 20px;
}

.frame-photo {
	position: relative;
	width: 450px;
	border: 10px solid var(--color-canvas-hi);
	outline: 1px solid #d8cdb6;
	box-shadow: var(--shadow);
	aspect-ratio: 1 / 1; /* fallback until js/main.js sets the real ratio per photo */
	border-radius: 2px;
	overflow: hidden;
	background: linear-gradient(160deg, #2c4436 0%, #1e3328 55%, #16261c 100%);
	transition: aspect-ratio 0.3s ease;
}

.frame-photo svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.frame-photo .frame-label {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
	background: rgba(20, 20, 17, 0.55);
	color: var(--color-canvas-hi);
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 8px 12px;
	border-radius: 2px;
	text-align: center;
}

.gallery-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.gallery-slide.is-active {
	opacity: 1;
	z-index: 1;
}

/* TEMP: manual gallery review controls, see js/main.js */
.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: rgba(20, 20, 17, 0.55);
	color: var(--color-canvas-hi);
	font-size: 0.9rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-nav:hover {
	background: rgba(20, 20, 17, 0.8);
}

.gallery-nav-prev {
	left: 12px;
}

.gallery-nav-next {
	right: 12px;
}

/* Cards / grids */

.grid {
	display: grid;
	gap: 28px;
}

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

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

.card {
	background: var(--color-canvas-hi);
	border: 1px solid #ddd0b4;
	border-radius: var(--radius);
	padding: 32px 26px;
	box-shadow: var(--shadow);
	text-align: center;
}

.card .icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--color-brass);
	display: flex;
	align-items: center;
	justify-content: center;
}

.card .icon svg {
	width: 28px;
	height: 28px;
	stroke: var(--color-canvas-hi);
}

.card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.4em;
}

.card p {
	color: var(--color-ink-soft);
	margin-bottom: 0;
}

/* Amenity list */

.amenity-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.amenity-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: var(--color-canvas-hi);
	border: 1px solid #ddd0b4;
	border-radius: var(--radius);
	padding: 18px 20px;
	box-shadow: var(--shadow);
}

.amenity-list .icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--color-brass);
	display: flex;
	align-items: center;
	justify-content: center;
}

.amenity-list .icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--color-canvas-hi);
}

.amenity-list strong {
	display: block;
	font-family: var(--font-heading);
	color: var(--color-ridge);
	margin-bottom: 2px;
}

.amenity-list span {
	color: var(--color-ink-soft);
	font-size: 0.95rem;
}

/* Callout / CTA band */

.callout {
	background: var(--color-ember);
	color: var(--color-canvas-hi);
	border-radius: var(--radius);
	padding: 52px 48px;
	text-align: center;
}

.callout h2 {
	color: var(--color-canvas-hi);
}

.callout p {
	color: #f4e2d7;
	max-width: 560px;
	margin: 0 auto 26px;
}

.callout-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.qr-scan {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 34px;
}

.qr-scan img {
	width: 130px;
	height: 130px;
	border-radius: 6px;
	background: var(--color-canvas-hi);
	padding: 8px;
	box-shadow: var(--shadow);
}

.qr-scan span {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-canvas-hi);
}

/* Placeholder note (visible marker for content the client still needs to supply) */

.todo-note {
	display: inline-block;
	background: #fff3cd;
	border: 1px dashed #c99a2e;
	color: #6b5217;
	font-size: 0.85rem;
	padding: 4px 10px;
	border-radius: 6px;
	margin-top: 6px;
}

/* Contact page */

.contact-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: start;
}

.contact-info-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.contact-info-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 22px;
}

.contact-info-list .icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--color-brass);
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-info-list .icon svg {
	width: 22px;
	height: 22px;
	stroke: var(--color-canvas-hi);
}

.contact-info-list strong {
	display: block;
	font-family: var(--font-heading);
	color: var(--color-ridge);
}

.map-frame {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: none;
}

.social-links {
	display: flex;
	gap: 14px;
	margin-top: 8px;
}

.social-links a {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-ridge);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease;
}

.social-links a:hover {
	background: var(--color-ember);
}

.social-links svg {
	width: 20px;
	height: 20px;
	stroke: var(--color-canvas-hi);
}

/* Footer */

.site-footer {
	background: var(--color-ridge-deep);
	color: #b9c4bb;
	padding: 48px 0 24px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.site-footer h4 {
	color: var(--color-canvas-hi);
	font-family: var(--font-body);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 14px;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin-bottom: 10px;
}

.site-footer a {
	color: #b9c4bb;
}

.site-footer a:hover {
	color: var(--color-brass);
}

.footer-bottom {
	border-top: 1px solid #2a3d31;
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 1125px) {
	.hero-photo {
		height: 200px;
	}

	.hero-photo-logo {
		width: 190px;
	}
}

@media (max-width: 860px) {
	.hero-photo {
		height: 170px;
	}

	.hero-photo-logo {
		width: 190px;
	}

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

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

	.welcome-grid .frame-photo {
		max-width: 420px;
		margin: 0 auto;
	}

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

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

	.map-key-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 809px) {
	.hero,
	.page-header-split {
		text-align: center;
	}

	.hero-content {
		justify-content: center;
	}

	.hero-text {
		max-width: 100%;
	}

	.hero p {
		margin-left: auto;
		margin-right: auto;
	}

	.hero-actions {
		justify-content: center;
	}
}

@media (max-width: 720px) {
	.map-key-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.nav {
		justify-content: space-between;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-ridge);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 24px 20px;
		display: none;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	}

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

	.nav-links li {
		width: 100%;
	}

	.nav-links a {
		display: block;
		padding: 12px 0;
		width: 100%;
	}

	.nav-toggle {
		display: flex;
	}

	.grid-3,
	.grid-2,
	.amenity-list {
		grid-template-columns: 1fr;
	}

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

	.hero {
		padding: 5px 0 10px;
		text-align: center;
	}

	.page-header-split {
		text-align: center;
	}

	.hero-content {
		flex-direction: column;
		max-width: 100%;
		margin: 0 auto;
	}

	.hero-photo {
		height: 280px;
		margin: 0 auto;
	}

	.hero-photo-logo {
		width: 160px;
	}

	.hero-text {
		max-width: 100%;
		padding-top: 20px;
	}

	.hero p {
		margin-left: auto;
		margin-right: auto;
	}

	.hero-actions {
		justify-content: center;
	}

	.welcome-grid .section-header {
		text-align: center;
	}

	.section {
		padding: 52px 0;
	}
}
