@import url("css-template.css");

main {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	flex: 1;
	margin: auto;
	flex-direction: column;
	width: 100vw;
	box-sizing: border-box;
}

.content {
	display: flex;
	flex-direction: column;
	width: min(80%, 100vw - 4rem);
	margin-top: 50px;
	max-width: 100%;
}

.section {
	margin-top: 50px;
}

.scroll-container {
	width: 100%;
	padding: 15px 5px;
	overflow-x: auto;
	overflow-y: visible;
	-ms-overflow-style: none;
	scrollbar-width: none;
	cursor: grab;
	user-select: none;
	contain: layout style;
	box-sizing: border-box;
}

.scroll-container:active {
	cursor: grabbing;
}

.scroll-container.dragging {
	cursor: grabbing;
}

.cards {
	display: flex;
	gap: 10px;
}

.cards {
	display: flex;
	gap: 10px;
	min-width: min-content;
}

.call-to-action {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
	padding: 60px 20px;
	background: linear-gradient(180deg, transparent, rgba(111, 171, 49, 0.05));
	border-radius: 20px;
	position: relative;
	animation: fadeInUp 0.8s ease-out;
}

/* Optional: Add a subtle pattern or decoration */
.call-to-action::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%236fab31" opacity="0.1"/></svg>');
	pointer-events: none;
}

.call-to-action h1 {
	text-align: center;
	font-size: clamp(1.5rem, 4vw, 2.5rem); /* Responsive sizing */
	line-height: 1.3;
	margin-bottom: 2rem; /* More space before button */
	max-width: 600px; /* Prevent text from being too wide */
}

.button {
	display: inline-block;
	padding: 1rem 2.5rem; /* Larger, more clickable */
	background: linear-gradient(135deg, #6fab31, #86ca41); /* Gradient */
	color: #fff;
	text-decoration: none;
	border-radius: 12px; /* Slightly more rounded */
	font-weight: 600;
	font-size: 1.1rem;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(111, 171, 49, 0.3); /* Subtle shadow */
	border: none;
	cursor: pointer;
}

.button:hover {
	transform: translateY(-2px); /* Lift effect */
	box-shadow: 0 8px 25px rgba(111, 171, 49, 0.4);
	background: linear-gradient(135deg, #86ca41, #9ed952);
}

.button:active {
	transform: translateY(0);
}

.card {
	flex: 0 0 auto;
	width: 270px;
	background: linear-gradient(135deg, var(--color-brown) 0%, var(--color-jasper) 100%);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: pointer;
	position: relative;
	border: 2px solid transparent;
	z-index: 1;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-melon) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 2;
}

.card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 12px 30px rgba(209, 91, 70, 0.3);
	border-color: var(--color-gold);
}

.card:hover::before {
	opacity: 0.1;
}

.card-image-container {
	width: 100%;
	height: 170px;
	position: relative;
	background: linear-gradient(45deg, var(--color-jasper), var(--color-red));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	z-index: 2;
}

.card-date {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--color-beige);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 5px;
	transition: all 0.3s ease;
	z-index: 3;
	position: relative;
}

.card-month {
	font-size: 1.1rem;
	color: var(--color-gold);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: normal;
	transition: all 0.3s ease;
	z-index: 3;
	position: relative;
}

.card-status {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--color-gold);
	color: var(--color-black);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 3;
	transition: all 0.3s ease;
}

.card:hover .card-date {
	transform: scale(1.1);
	color: var(--color-gold);
}

.card:hover .card-month {
	transform: translateY(-3px);
	color: var(--color-beige);
}

.card:hover .card-status {
	background: var(--color-beige);
	color: var(--color-jasper);
	transform: scale(1.05);
}

.card h3 {
	padding: 20px 15px;
	margin: 0;
	font-size: 1.3rem;
	color: var(--color-beige);
	text-align: center;
	background: rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
}

.card:hover h3 {
	color: var(--color-gold);
	transform: translateY(-2px);
}

.card-image-container img {
	width: 40%;
}

.card-image-container::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: repeating-linear-gradient(
	45deg,
	transparent,
	transparent 10px,
	rgba(255, 227, 199, 0.05) 10px,
	rgba(255, 227, 199, 0.05) 20px
	);
	animation: slidePattern 10s linear infinite;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.card:hover .card-image-container::before {
	opacity: 1;
}

@keyframes slidePattern {
	0% { transform: translateX(-20px) translateY(-20px); }
	100% { transform: translateX(20px) translateY(20px); }
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

.card-status.coming-soon {
	animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
	.card {
		width: 200px;
		flex: 0 0 200px;
	}

	.card-image-container {
		height: 125px;
	}

	.card-image-container img {
		width: 40%;
	}

	.card-date {
		font-size: 2rem;
	}

	.card-month {
		font-size: 0.9rem;
	}

	.card h3 {
		font-size: 1.1rem;
		padding: 15px 10px;
	}
}

@media (max-width: 480px) {
	.card {
		width: 160px;
		flex: 0 0 160px;
	}

	.card-image-container {
		height: 100px;
	}

	.card-image-container img {
		width: 40%;
	}

	.card-date {
		font-size: 1.7rem;
	}

	.card-month {
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	main {
		padding: 1rem;
	}

	.content {
		width: 95%;
		margin-top: 0;
	}

	.motto-box h1,
	.call-to-action h1 {
		font-size: 1.5rem;
		line-height: 1.4;
	}

	.motto-box h2 {
		font-size: 1.2rem;
	}

	.section h2 {
		font-size: 1.8rem;
	}

	.card {
		width: 200px;
	}

	.card h3 {
		font-size: 1rem;
	}

	.cards {
		gap: 8px;
	}

	.call-to-action {
		margin: 40px 0;
		padding: 40px 15px;
	}

	.button {
		padding: 0.875rem 2rem;
		font-size: 1rem;
		width: 100%;
		max-width: 280px;
	}
}

@media (max-width: 480px) {
	main {
		padding: 0.5rem;
	}

	.content {
		width: 98%;
		margin-top: 0;
	}

	.motto-box h1,
	.call-to-action h1 {
		font-size: 1.2rem;
	}

	.motto-box h2 {
		font-size: 1rem;
	}

	.section h2 {
		font-size: 1.45rem;
	}

	.card {
		width: 160px;
	}

	.section {
		margin-top: 30px;
	}
}
