/* ============================================================
   Kerry's Bench page styles
   ============================================================ */

/* Hero banner — bleed out of the layout's .container to go full-width */
.beach-hero {
	background: linear-gradient(160deg, var(--nature-deep) 0%, var(--nature-teal) 55%, #1a6b6b 100%);
	min-height: 320px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	position: relative;
	overflow: hidden;
	/* escape the parent .container padding/max-width */
	margin-left:  calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
}

/* Kerry's Bench specific hero overrides */
.beach-hero-overlay .kerry-name {
	color: var(--nature-sand) !important;
	text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Pull quote */
.beach-blockquote {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: linear-gradient(135deg, rgba(77,182,172,0.1) 0%, rgba(42,127,127,0.08) 100%);
	border-left: 5px solid var(--nature-foam);
	border-radius: 0 0.75rem 0.75rem 0;
	padding: 1.75rem 1.5rem;
}

.beach-blockquote p {
	flex: 1;
	font-size: 1.25rem;
	font-style: italic;
	color: var(--nature-deep);
	margin: 0;
	line-height: 1.7;
	text-align: center;
}

.beach-quote-icon {
	flex-shrink: 0;
	font-size: 2rem;
	color: var(--nature-foam);
	opacity: 0.6;
	line-height: 1;
}

.beach-quote-icon-close {
	transform: rotate(180deg);
}

/* Story items */
.beach-story {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.beach-story-item {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}

.beach-story-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--nature-teal), var(--nature-foam));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: #fff;
	box-shadow: 0 3px 10px rgba(42,127,127,0.3);
	margin-top: 0.2rem;
}

.beach-story-body p {
	font-size: 1.05rem;
	color: var(--nature-deep);
	line-height: 1.85;
	margin: 0;
	font-family: 'Georgia', serif;
}

/* Directions button */
.btn-directions {
	background-color: var(--nature-sand);
	color: var(--nature-deep);
	border: none;
	font-weight: 600;
	white-space: nowrap;
}

.btn-directions:hover,
.btn-directions:focus {
	background-color: var(--nature-foam);
	color: #fff;
}

/* Map card body */
.beach-map-card-body {
    border-radius: 0 0 0.75rem 0.75rem;
}

.beach-map {
    height: 420px;
    width: 100%;
}

/* Map interaction overlay */
#map-overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 60, 77, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 0 0 0.75rem 0.75rem;
	transition: opacity 0.3s ease;
	z-index: 1000;
}

#map-overlay.hidden {
	opacity: 0;
	pointer-events: none;
}

.map-overlay-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--nature-sand);
	font-size: 1rem;
	font-family: 'Georgia', serif;
	text-shadow: 0 1px 4px rgba(0,0,0,0.4);
	gap: 0.25rem;
}

/* Bench photo carousel section */
.bench-carousel-section {
	border-top: 1px solid rgba(77,182,172,0.2);
	padding-top: 2rem;
}

.bench-carousel-title {
	font-family: var(--font-serif);
	color: var(--nature-teal);
	font-size: 1.15rem;
	letter-spacing: 0.03em;
}

.bench-carousel-subtitle {
	font-size: 0.95rem;
	color: var(--nature-deep);
	opacity: 0.8;
	font-style: italic;
	max-width: 640px;
}

/* Main carousel image */
.bench-carousel {
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(42,127,127,0.15);
}

.bench-carousel-inner {
	background: var(--nature-deep);
}

.bench-carousel-img {
	height: 440px;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.bench-carousel-ctrl {
	width: 2.75rem;
	height: 2.75rem;
	background: rgba(42,127,127,0.5);
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 0.4rem;
}

/* Thumbnail strip */
.bench-thumbs {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: center;
}

.bench-thumb {
	position: relative;
	width: 110px;
	height: 110px;
	flex: 0 0 110px;
	padding: 0;
	border: 3px solid transparent;
	border-radius: 0.6rem;
	overflow: hidden;
	cursor: pointer;
	background: none;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(42,127,127,0.12);
}

.bench-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.bench-thumb-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(42,127,127,0);
	color: #fff;
	font-size: 1.4rem;
	opacity: 0;
	transition: background 0.2s, opacity 0.2s;
}

.bench-thumb:hover {
	border-color: var(--nature-teal);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(42,127,127,0.25);
}

.bench-thumb:hover .bench-thumb-overlay {
	background: rgba(42,127,127,0.45);
	opacity: 1;
}

/* Lightbox */
.bench-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1080;
	align-items: center;
	justify-content: center;
}

.bench-lightbox.open {
	display: flex;
}

.bench-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10,30,30,0.88);
	cursor: pointer;
}

.bench-lightbox-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 92vw;
	max-height: 90vh;
}

.bench-lightbox-img {
	max-width: 88vw;
	max-height: 84vh;
	border-radius: 0.75rem;
	box-shadow: 0 8px 40px rgba(0,0,0,0.6);
	display: block;
	object-fit: contain;
}

.bench-lightbox-close {
	position: fixed;
	top: 1.1rem;
	right: 1.2rem;
	background: rgba(42,127,127,0.75);
	border: none;
	color: #fff;
	font-size: 1.3rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 2;
}

.bench-lightbox-close:hover {
	background: var(--nature-teal);
}

.bench-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(42,127,127,0.6);
	border: none;
	color: #fff;
	font-size: 1.4rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 2;
}

.bench-lightbox-nav:hover {
	background: var(--nature-teal);
}

.bench-lightbox-prev {
	left: -3.5rem;
}

.bench-lightbox-next {
	right: -3.5rem;
}

.bench-lightbox-counter {
	position: fixed;
	bottom: 1.2rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.75);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}
