/* ==========================================================================
   weddings.php: the wedding landing page. Loaded instead of the site theme
   (style.css / responsive.css), on top of Bootstrap 5.3, so nothing here leaks
   into other pages and nothing from the theme leaks in. The look: cream and
   dark bands, spaced capital headings, thin outline buttons, square-cornered
   photos, overlapping photo pairs. Colours are from the Harmels brand sheet.
   ========================================================================== */

:root {
	--wed-cream: #f6f1e8;
	--wed-sand: #ede4d5;
	--wed-ink: #464337;       /* brand dark */
	--wed-ink-deep: #34332a;  /* footer */
	--wed-tan: #e6d0ab;       /* brand tan */
	--wed-gold: #a88352;      /* thin rules and quote marks on cream */
	--wed-sage: #8aada1;      /* brand sage */
	--wed-display: 'Marcellus SC', Georgia, 'Times New Roman', serif;
	--wed-body: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
	--wed-pad: clamp(64px, 8vw, 128px);
}

body.wed {
	margin: 0;
	background: var(--wed-cream);
	color: var(--wed-ink);
	font-family: var(--wed-body);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

.wed h1, .wed h2, .wed h3 {
	font-family: var(--wed-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .06em;
	line-height: 1.25;
	margin: 0 0 .6em;
	text-wrap: balance;
}
.wed h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); letter-spacing: .05em; }
.wed h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.wed h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.wed p { margin: 0 0 1.4em; text-wrap: pretty; }
.wed img { display: block; max-width: 100%; height: auto; }
.wed a { color: inherit; }

.wed-eyebrow {
	font-family: var(--wed-body);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: .28em;
	text-transform: uppercase;
}
.wed-lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.7; text-wrap: balance; }
.wed-rule { display: block; width: 64px; height: 1px; margin: 0 auto 28px; background: var(--wed-gold); border: 0; opacity: 1; }
.wed-dark .wed-rule { background: var(--wed-tan); }

/* ---------- Buttons: tall, thin outline, faint tint on hover ---------- */
.wed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	min-height: 62px;
	padding: 0 34px;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font-family: var(--wed-body);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: .24em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.wed-btn:hover, .wed-btn:focus-visible { background: rgba(70, 67, 55, .09); color: inherit; }
.wed-dark .wed-btn:hover, .wed-dark .wed-btn:focus-visible { background: rgba(246, 241, 232, .12); }
.wed-btn:focus-visible, .wed-strip-btn:focus-visible, .wed-scroll:focus-visible, .wed-pause:focus-visible,
.wed-strip-track:focus-visible, .wed-strip-item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
.wed-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.wed-btns-center { justify-content: center; }

/* ---------- Bands ---------- */
.wed-band { padding: var(--wed-pad) 0; }
.wed-sand { background: var(--wed-sand); }
.wed-dark { background: var(--wed-ink); color: var(--wed-cream); }
.wed-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.wed-head .wed-lede { margin-bottom: 0; }

/* ---------- Hero: river video (Vimeo background) over its first frame ---------- */
.wed-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
	background: #25302a;
	color: var(--wed-cream);
}
.wed .wed-hero-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
/* includes/banner_video.php: fills the hero, video fades in over the poster once playing */
.wed-hero .banner-video { position: absolute; inset: 0; }
.wed-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(30, 30, 24, .30) 0%, rgba(30, 30, 24, .36) 55%, rgba(30, 30, 24, .55) 100%);
	pointer-events: none;
}
.wed-hero-text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 24px;
	text-align: center;
	text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}
.wed-hero-text h1 { max-width: 15em; margin-bottom: .45em; }
.wed-hero-text .wed-lede { max-width: 32em; margin: 0; font-weight: 400; }
.wed-hero-text .wed-eyebrow {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 22px;
	white-space: nowrap;
	text-shadow: 0 0 4px rgba(0, 0, 0, .6), 0 1px 12px rgba(0, 0, 0, .35);
}
.wed-hero-text .wed-eyebrow::before, .wed-hero-text .wed-eyebrow::after {
	content: "";
	width: 48px;
	height: 1px;
	background: currentColor;
	opacity: .8;
}
.wed-scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-left: -24px;
	color: var(--wed-cream);
	animation: wed-nudge 2.4s ease-in-out infinite;
}
.wed-scroll svg { width: 28px; height: 28px; }
.wed-pause {
	position: absolute;
	right: 20px;
	bottom: 28px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(246, 241, 232, .7);
	border-radius: 50%;
	background: rgba(30, 30, 24, .35);
	color: var(--wed-cream);
	cursor: pointer;
}
.wed-pause[hidden] { display: none; }
.wed-pause svg { width: 18px; height: 18px; }
.wed-pause .wed-play-icon, .wed-pause.is-paused .wed-pause-icon { display: none; }
.wed-pause.is-paused .wed-play-icon { display: block; }
@keyframes wed-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Photos ---------- */
.wed-photo { max-width: 500px; }
.wed-photo img { width: 100%; }
.wed-collage { position: relative; padding-bottom: 16%; }
.wed-collage .wed-collage-main { width: 80%; }
.wed-collage .wed-collage-inset {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 44%;
	border: 10px solid var(--wed-sand);
}
.wed-collage-flip .wed-collage-main { margin-left: auto; }
.wed-collage-flip .wed-collage-inset { right: auto; left: 0; }
.wed-venue + .wed-venue { margin-top: clamp(56px, 7vw, 112px); }
.wed-venue-text { max-width: 470px; }
.wed-venue-text h3::after {
	content: "";
	display: block;
	width: 48px;
	height: 1px;
	margin-top: 18px;
	background: var(--wed-gold);
}

/* Full-width aerial between sections: no text, no tint */
.wed-separator img {
	width: 100%;
	height: clamp(300px, 46vw, 760px);
	object-fit: cover;
	object-position: 50% 55%;
}

/* Accommodations / Activities / Amenities */
.wed-feature { margin: 0; text-align: center; }
.wed-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wed-feature figcaption { margin-top: 22px; }
.wed-feature h3 { margin: 0; color: var(--wed-tan); }

/* ---------- Gallery: a swipeable strip, each photo opens full screen ---------- */
.wed-strip-track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 max(16px, calc((100vw - 1296px) / 2));
	padding: 6px max(16px, calc((100vw - 1296px) / 2));
	scrollbar-width: none;
}
.wed-strip-track::-webkit-scrollbar { display: none; }
.wed-strip-item {
	flex: 0 0 auto;
	height: clamp(320px, 34vw, 480px);
	scroll-snap-align: start;
}
.wed-strip-item img { height: 100%; width: auto; max-width: none; }
.wed-strip-nav { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.wed-strip-btn {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wed-sage);
	color: var(--wed-ink);
	cursor: pointer;
	transition: opacity .2s ease, background-color .2s ease;
}
.wed-strip-btn:hover { background: #7a9e92; }
.wed-strip-btn[disabled] { opacity: .35; cursor: default; }
.wed-strip-btn svg { width: 22px; height: 22px; }

/* ---------- Love Notes ---------- */
.wed-note { margin: 0; height: 100%; display: flex; flex-direction: column; }
.wed-note blockquote { margin: 0 0 22px; font-weight: 300; font-size: 16px; line-height: 1.85; text-wrap: pretty; }
.wed-note blockquote::before {
	content: "\201C";
	display: block;
	height: 56px;
	font-family: var(--wed-display);
	font-size: 96px;
	line-height: 1;
	color: var(--wed-tan);
}
.wed-note figcaption { margin-top: auto; color: var(--wed-tan); }

/* ---------- Come see it for yourself ---------- */
.wed-closing h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }

/* ---------- Footer: the only links back to the resort ---------- */
.wed-footer { padding: clamp(56px, 7vw, 96px) 0 32px; background: var(--wed-ink-deep); color: var(--wed-cream); text-align: center; }
.wed-footer-logo { display: inline-block; width: 190px; margin-bottom: 30px; }
.wed-footer address { margin-bottom: 26px; font-style: normal; line-height: 2; }
.wed-footer a { text-decoration: none; }
.wed-footer a:hover, .wed-footer a:focus-visible { color: var(--wed-tan); text-decoration: underline; text-underline-offset: 4px; }
.wed-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 0 0 26px; padding: 0; list-style: none; }
.wed-footer-social { display: flex; justify-content: center; gap: 18px; margin-bottom: 36px; }
.wed-footer-social svg { width: 22px; height: 22px; }
.wed-footer-meta { font-size: 13px; color: rgba(246, 241, 232, .6); }
.wed-footer-meta a { color: inherit; }

/* ---------- Small screens ---------- */
@media (max-width: 991.98px) {
	.wed-venue-text { max-width: none; }
	.wed-collage { max-width: 560px; margin: 0 auto; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	.wed-feature h3 { font-size: 1.2rem; }
}
@media (max-width: 575.98px) {
	body.wed { font-size: 16px; }
	.wed-btn { min-width: 0; width: 100%; max-width: 300px; }
	.wed-btns { flex-direction: column; align-items: center; }
	.wed-hero-text .wed-eyebrow::before, .wed-hero-text .wed-eyebrow::after { width: 28px; }
	.wed-collage .wed-collage-inset { border-width: 6px; }
}

@media (max-height: 500px) and (orientation: landscape) {
	.wed-hero { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.wed-scroll { animation: none; }
	.wed-btn, .wed-strip-btn { transition: none; }
}
