/* Marquee Gallery Pro — Styles */

.mgp-wrapper {
	width: 100%;
}

.mgp-section {
	background-color: #faf6ef;
	padding: 70px 0;
	box-sizing: border-box;
	overflow: hidden;
}

/* ---------------- Marquee mechanics (pure CSS, no JS needed) ---------------- */
.mgp-marquee {
	width: 100%;
	overflow: hidden;
}

.mgp-track {
	display: flex;
	align-items: center;
	gap: 24px;
	width: max-content;
	animation-name: mgp-scroll;
	animation-duration: var(--mgp-computed-duration, 40s);
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-direction: var(--mgp-direction, normal);
	will-change: transform;
}

@keyframes mgp-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.mgp-marquee.mgp-pauseable:hover .mgp-track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.mgp-track {
		animation: none;
	}
}

/* ---------------- Image items ---------------- */
.mgp-item {
	position: relative;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 10px;
	border-style: solid;
	border-width: 0;
	border-color: #e5d9c8;
	box-shadow: 0 14px 30px -6px rgba(37, 28, 18, 0.28);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.mgp-item-vertical {
	height: 420px;
	aspect-ratio: 3/4;
}

.mgp-item-horizontal {
	height: 280px;
	aspect-ratio: 4/3;
}

.mgp-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mgp-track.mgp-zoom-inner .mgp-item:hover img {
	transform: scale(1.08);
}

/* ---------------- Entrance animation ---------------- */
.mgp-wrapper[data-entrance="true"] .mgp-entrance-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.mgp-wrapper[data-entrance="true"] .mgp-entrance-item.mgp-in-view {
	opacity: 1;
	transform: translateY(0);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 767px) {
	.mgp-section { padding: 44px 0; }
	.mgp-track { gap: 14px; }
}
