/* ------------------------------------------------------------------
   KK All About Pesach Page
   ------------------------------------------------------------------ */

/* ============ HERO ============ */
.kk-ap-hero {
	position: relative;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(135deg, #3a2a1a 0%, #5a4630 50%, #3a2a1a 100%);
	overflow: hidden;
}

.kk-ap-hero__overlay {
	position: absolute;
	inset: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(197,163,85,0.08)"/></svg>') repeat;
	pointer-events: none;
}

.kk-ap-hero__content {
	position: relative;
	z-index: 2;
	padding: 4rem 1.5rem;
}

.kk-ap-hero__kicker {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: #C5A355;
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.kk-ap-hero__title {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 3.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.75rem;
	line-height: 1.15;
}

.kk-ap-hero__sub {
	font-size: 1.15rem;
	color: rgba(255,255,255,0.7);
	margin: 0 0 1.5rem;
}

.kk-ap-hero__date {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(197,163,85,0.15);
	border: 1px solid rgba(197,163,85,0.3);
	color: #C5A355;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.6rem 1.25rem;
	border-radius: 30px;
}

/* ============ SECTIONS ============ */
.kk-ap-section {
	padding: 4rem 0;
	background: #fff;
}

.kk-ap-section--alt {
	background: #faf8f4;
}

.kk-ap-heading {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 2rem;
	color: #3a2a1a;
	margin: 0 0 1.5rem;
	font-weight: 700;
}

.kk-ap-heading em {
	font-style: italic;
}

.kk-ap-heading--center {
	text-align: center;
}

.kk-ap-subheading {
	text-align: center;
	color: #888;
	font-size: 1rem;
	margin: -0.75rem 0 2rem;
}

.kk-ap-intro {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.kk-ap-intro p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #555;
	margin: 0;
}

.kk-ap-content {
	max-width: 800px;
	margin: 0 auto;
}

.kk-ap-content p {
	font-size: 1rem;
	line-height: 1.8;
	color: #555;
	margin: 0 0 1rem;
}

/* ============ SEDER PLATE ============ */
.kk-seder-plate {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	min-height: 500px;
}

.kk-seder-plate__image {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	width: 320px;
	height: 320px;
}

.kk-seder-plate__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
	filter: drop-shadow(0 8px 30px rgba(0,0,0,0.1));
}

.kk-seder-plate__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0ebe3;
	border-radius: 50%;
}

/* ── Hotspots ── */
.kk-seder-plate__hotspot {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem 0.75rem;
	border-radius: 30px;
	transition: background 0.25s, transform 0.25s;
	z-index: 3;
}

.kk-seder-plate__hotspot:hover,
.kk-seder-plate__hotspot.is-active {
	background: rgba(197,163,85,0.12);
	transform: scale(1.05);
}

.kk-seder-plate__hotspot-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #C5A355;
	flex-shrink: 0;
	position: relative;
}

.kk-seder-plate__hotspot-dot::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid rgba(197,163,85,0.3);
	animation: kk-pulse 2s infinite;
}

.kk-seder-plate__hotspot.is-active .kk-seder-plate__hotspot-dot::after {
	animation: none;
	border-color: #C5A355;
}

@keyframes kk-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.4; transform: scale(1.4); }
}

.kk-seder-plate__hotspot-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: #3a2a1a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.kk-seder-plate__hotspot.is-active .kk-seder-plate__hotspot-label {
	color: #C5A355;
}

/* ── Hotspot positioning (desktop) ── */
.kk-seder-plate__hotspot--top-right {
	top: 10%;
	right: 5%;
}
.kk-seder-plate__hotspot--top-left {
	top: 10%;
	left: 5%;
	flex-direction: row-reverse;
}
.kk-seder-plate__hotspot--mid-right {
	top: 42%;
	right: 2%;
}
.kk-seder-plate__hotspot--mid-left {
	top: 42%;
	left: 2%;
	flex-direction: row-reverse;
}
.kk-seder-plate__hotspot--bottom-right {
	bottom: 18%;
	right: 8%;
}
.kk-seder-plate__hotspot--bottom-left {
	bottom: 18%;
	left: 8%;
	flex-direction: row-reverse;
}

/* ── Info panel ── */
.kk-seder-plate__info {
	position: relative;
	margin-top: 2rem;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kk-seder-plate__info-inner {
	max-width: 600px;
	text-align: center;
	padding: 2rem;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	border: 1px solid rgba(197,163,85,0.15);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.35s, transform 0.35s;
}

.kk-seder-plate__info.is-visible .kk-seder-plate__info-inner {
	opacity: 1;
	transform: translateY(0);
}

.kk-seder-plate__info-header {
	margin-bottom: 0.75rem;
}

.kk-seder-plate__info-hebrew {
	font-size: 1.6rem;
	color: #C5A355;
	display: block;
	margin-bottom: 0.25rem;
	line-height: 1;
}

.kk-seder-plate__info-title {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 1.4rem;
	color: #3a2a1a;
	margin: 0 0 0.2rem;
}

.kk-seder-plate__info-subtitle {
	font-size: 0.85rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.kk-seder-plate__info-text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #555;
	margin: 0;
}

/* ── Prompt text (before selection) ── */
.kk-seder-plate__info:not(.is-visible)::after {
	content: 'Tap a seder plate item to learn about it';
	color: #bbb;
	font-size: 0.9rem;
	font-style: italic;
}

/* ============ PILLARS (THE SEDER) ============ */
.kk-ap-pillars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.kk-ap-pillar {
	text-align: center;
	padding: 1.5rem 1rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
	border: 1px solid rgba(197,163,85,0.1);
}

.kk-ap-pillar__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	background: rgba(197,163,85,0.08);
	border-radius: 50%;
	color: #C5A355;
}

.kk-ap-pillar h3 {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 1.05rem;
	color: #3a2a1a;
	margin: 0 0 0.5rem;
}

.kk-ap-pillar p {
	font-size: 0.88rem;
	line-height: 1.6;
	color: #666;
	margin: 0;
}

/* ============ KEY DATES ============ */
.kk-ap-section--dates {
	background: #faf8f4;
}

.kk-ap-dates {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	max-width: 900px;
	margin: 2rem auto 0;
}

.kk-ap-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.25rem 0.75rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(197,163,85,0.1);
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
}

.kk-ap-date:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.kk-ap-date--highlight {
	border-color: #C5A355;
	background: rgba(197,163,85,0.04);
}

.kk-ap-date__day {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #C5A355;
	margin-bottom: 0.25rem;
}

.kk-ap-date__num {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #3a2a1a;
	line-height: 1.2;
}

.kk-ap-date__label {
	font-size: 0.78rem;
	color: #888;
	margin-top: 0.35rem;
	line-height: 1.4;
}

/* ============ CLOSING ============ */
.kk-ap-section--closing {
	background: linear-gradient(135deg, #5a4630 0%, #3a2a1a 100%);
	padding: 4rem 0;
}

.kk-ap-section--closing p {
	color: rgba(255,255,255,0.8);
	max-width: 600px;
	margin: 0 auto 1rem;
}

.kk-ap-closing__sign-off {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 1.4rem !important;
	color: #C5A355 !important;
	margin: 1.5rem auto 2rem !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
	.kk-ap-pillars {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.kk-seder-plate__image {
		width: 250px;
		height: 250px;
	}
}

@media (max-width: 767px) {
	.kk-ap-hero__title {
		font-size: 2.5rem;
	}

	.kk-seder-plate {
		min-height: auto;
	}

	.kk-seder-plate__image {
		width: 200px;
		height: 200px;
		margin-bottom: 1rem;
	}

	/* Stack hotspots as a list on mobile */
	.kk-seder-plate__hotspot {
		position: static !important;
		flex-direction: row !important;
		width: 100%;
		justify-content: flex-start;
		padding: 0.75rem 1rem;
		border-bottom: 1px solid rgba(197,163,85,0.1);
		border-radius: 0;
	}

	.kk-seder-plate__hotspot:last-of-type {
		border-bottom: none;
	}

	.kk-seder-plate__info {
		margin-top: 1rem;
	}

	.kk-seder-plate__info-inner {
		padding: 1.25rem;
	}
}

@media (max-width: 575px) {
	.kk-ap-hero {
		min-height: 40vh;
	}

	.kk-ap-hero__title {
		font-size: 2rem;
	}

	.kk-ap-hero__date {
		font-size: 0.8rem;
		padding: 0.5rem 1rem;
	}

	.kk-ap-section {
		padding: 2.5rem 0;
	}

	.kk-ap-pillars {
		grid-template-columns: 1fr;
	}

	.kk-ap-dates {
		grid-template-columns: 1fr;
	}

	.kk-ap-heading {
		font-size: 1.6rem;
	}
}
