/* Calendar navigation buttons */
.calendar-nav-btn {
	background: linear-gradient(120deg, #3a7bd5 60%, #f7c873 100%);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 6px 16px;
	font-size: 1rem;
	font-family: 'Montserrat', Arial, sans-serif;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 2px 8px #3a7bd522;
	margin: 0 8px;
	transition: background 0.2s, transform 0.2s;
}
.calendar-nav-btn:hover {
	background: linear-gradient(120deg, #f7c873 60%, #3a7bd5 100%);
	color: #3a7bd5;
	transform: scale(1.08);
}
/* Dulcimer overlay in banner */
.dulcimer-overlay {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(1.1) rotate(-8deg);
	width: 300px;
	max-width: 60vw;
	opacity: 0.55;
	pointer-events: none;
	z-index: 2;
	filter: drop-shadow(0 6px 24px #3a7bd555);
	animation: fadeIn 2.2s;
}
@media (max-width: 768px) {
	.dulcimer-overlay {
		width: 100px;
		top: 52%;
	}
}
/* Gallery styles */
.image-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	margin-top: 18px;
}
.gallery-img {
	width: 320px;
	max-width: 90vw;
	height: 200px;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 2px 16px #3a7bd522;
	border: 3px solid #f7c873;
	transition: transform 0.3s, box-shadow 0.3s;
	animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1);
}
.gallery-img:hover {
	transform: scale(1.04) rotate(-1deg);
	box-shadow: 0 6px 32px #3a7bd544;
	border-color: #3a7bd5;
}
@media (max-width: 768px) {
	.gallery-img {
		width: 100%;
		max-width: 100%;
		height: 140px;
		margin: 0 auto;
	}
}
/* Larger circle images for banner */
.large-circle {
	width: 130px !important;
	height: 130px !important;
}
@media (max-width: 768px) {
	.large-circle {
		width: 60px !important;
		height: 60px !important;
	}
}
/* Full calendar styles */
.full-calendar-container {
	margin-top: 36px;
	background: #f7fafc;
	border-radius: 12px;
	box-shadow: 0 2px 12px #3a7bd511;
	padding: 18px 12px 12px 12px;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
	animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1);
}
.full-calendar-container h3 {
	text-align: center;
	color: #3a7bd5;
	margin: 0 0 10px 0;
	font-size: 1.3rem;
}
.full-calendar {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.calendar-row {
	display: flex;
}
.calendar-header div {
	font-weight: bold;
	color: #3a7bd5;
	background: #e0b973;
	border-radius: 4px 4px 0 0;
	padding: 4px 0;
	text-align: center;
}
.full-calendar .calendar-row div {
	flex: 1;
	min-width: 32px;
	min-height: 32px;
	text-align: center;
	padding: 6px 0;
	border: 1px solid #e0b97344;
	background: #fff;
	font-size: 1rem;
	position: relative;
}
.full-calendar .calendar-row .empty {
	background: transparent;
	border: none;
}
.event-day {
	background: linear-gradient(120deg, rgba(58,123,213,0.32) 60%, rgba(247,200,115,0.32) 100%);
	color: #3a7bd5;
	font-weight: bold;
	border-radius: 50%;
	box-shadow: 0 4px 16px #3a7bd533, 0 0 0 3px #fff8, 0 0 0 6px #3a7bd522;
	border: 3px solid #f7c87388;
	animation: popIn 1.2s cubic-bezier(.77,0,.18,1);
	font-size: 1.2em;
	z-index: 3;
	position: relative;
	transition: transform 0.2s, box-shadow 0.2s;
	backdrop-filter: blur(1px);
}
.event-day:hover {
	transform: scale(1.15);
	box-shadow: 0 8px 32px #3a7bd577, 0 0 0 3px #fff, 0 0 0 6px #f7c873cc;
}
.calendar-legend {
	margin-top: 10px;
	font-size: 0.95rem;
	color: #3a2d1a;
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}
.event-day-legend {
	display: inline-block;
	width: 18px;
	height: 18px;
	background: linear-gradient(120deg, #3a7bd5 60%, #f7c873 100%);
	border-radius: 6px;
	margin-right: 4px;
	vertical-align: middle;
}
@media (max-width: 768px) {
	.full-calendar-container {
		padding: 12px 8px 8px 8px;
		max-width: 100%;
		margin-top: 24px;
	}
	.full-calendar .calendar-row div {
		min-width: 28px;
		min-height: 28px;
		font-size: 0.9rem;
		padding: 4px 0;
	}
}
/* Banner images styling */
.banner-images {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin-bottom: 10px;
}
.main-dulcimer {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 4px solid #f7c873;
	background: #fff;
	object-fit: cover;
	box-shadow: 0 2px 12px rgba(58, 123, 213, 0.18);
	animation: popIn 1.2s cubic-bezier(.77,0,.18,1);
}
.bluebonnet-img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	border: 4px solid #3a7bd5;
	background: #fff;
	object-fit: cover;
	box-shadow: 0 2px 12px #3a7bd522;
	animation: popIn 1.2s 0.2s cubic-bezier(.77,0,.18,1) backwards;
}

/* Calendar images styling */
.calendar-images {
	display: flex;
	gap: 18px;
	margin-top: 18px;
	justify-content: center;
	align-items: center;
}
.calendar-dulcimer, .calendar-bluebonnet {
	width: 90px;
	height: 60px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 2px 8px #3a7bd522;
	border: 2px solid #f7c873;
	animation: fadeIn 1.2s;
}

/* Community gallery styling */
.community-gallery {
	display: flex;
	gap: 18px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}
.community-gallery .community-img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid #3a7bd5;
	box-shadow: 0 2px 8px #3a7bd522;
	animation: fadeIn 1.2s;
}
@media (max-width: 768px) {
	.banner-images {
		gap: 12px;
		margin-bottom: 8px;
	}
	.main-dulcimer, .bluebonnet-img {
		width: 50px;
		height: 50px;
	}
	.calendar-dulcimer, .calendar-bluebonnet {
		width: 70px;
		height: 45px;
	}
	.community-gallery .community-img {
		width: 90px;
		height: 60px;
	}
}
/* Fonts */
body {
	font-family: 'Roboto', Arial, sans-serif;
	margin: 0;
	background: #fff8dc;
	color: #2d2d2d;
}

header.hero {
	position: relative;
	height: 320px;
	background: linear-gradient(120deg, #3a7bd5 0%, #00d2ff 100%);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(58, 123, 213, 0.15);
}
.hero-bg {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0.35;
	z-index: 1;
	animation: fadeIn 2s;
}
.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
	animation: slideDown 1.2s cubic-bezier(.77,0,.18,1);
}
.dulcimer-img {
	width: 90px;
	border-radius: 50%;
	border: 4px solid #f7c873;
	box-shadow: 0 2px 12px rgba(58, 123, 213, 0.18);
	margin-bottom: 12px;
	background: #fff;
	animation: popIn 1.2s cubic-bezier(.77,0,.18,1);
}
h1 {
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 2.5rem;
	margin: 0 0 8px 0;
	letter-spacing: 2px;
	color: #2d2d2d;
	/* Multi-color outline using text-shadow */
	text-shadow:
		2px 2px 0 #3a7bd5,
		-2px 2px 0 #f7c873,
		2px -2px 0 #a67c52,
		-2px -2px 0 #fff,
		0 2px 8px #fff7;
}
.subtitle {
	font-size: 1.1rem;
	color: #f7c873;
	letter-spacing: 1px;
	margin-bottom: 0;
	/* Outline for subtitle */
	text-shadow:
		1px 1px 0 #3a7bd5,
		-1px 1px 0 #fff,
		1px -1px 0 #a67c52,
		-1px -1px 0 #fff;
}

nav.main-nav {
	display: flex;
	justify-content: center;
	gap: 32px;
	background: #3a7bd5;
	padding: 12px 0;
	box-shadow: 0 2px 8px #3a7bd522;
	position: sticky;
	top: 0;
	z-index: 10;
}
nav.main-nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.1rem;
	transition: color 0.2s;
	padding: 4px 12px;
	border-radius: 4px;
}
nav.main-nav a:hover {
	background: #f7c873;
	color: #3a7bd5;
}

main {
	max-width: 900px;
	margin: 32px auto;
	padding: 0 16px;
}
.section {
	margin-bottom: 48px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 16px #3a7bd511;
	padding: 32px 24px;
	animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1);
}
h2 {
	color: #3a7bd5;
	font-family: 'Montserrat', Arial, sans-serif;
	margin-top: 0;
	margin-bottom: 18px;
	font-size: 2rem;
}
.calendar {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.event {
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, #f7c873 0%, #e0b973 100%);
	color: #3a2d1a;
	border-radius: 8px;
	padding: 12px 18px;
	box-shadow: 0 1px 6px #3a2d1a22;
	font-size: 1.1rem;
	animation: popIn 0.8s cubic-bezier(.77,0,.18,1);
}
.event .date {
	font-weight: bold;
	margin-right: 18px;
	color: #3a7bd5;
}
.event .desc {
	flex: 1;
}

.community-info {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
}
.community-img {
	width: 180px;
	border-radius: 12px;
	box-shadow: 0 2px 12px #3a7bd522;
	flex-shrink: 0;
	animation: fadeIn 1.2s;
}
.info-text {
	flex: 1;
	min-width: 220px;
}
.info-text ul {
	padding-left: 18px;
	margin: 12px 0 0 0;
}
.info-text li {
	margin-bottom: 6px;
	color: #3a2d1a;
}
.info-text a {
	color: #3a7bd5;
	text-decoration: underline;
}

footer {
	text-align: center;
	padding: 18px 0 12px 0;
	background: #3a7bd5;
	color: #fff;
	font-size: 1rem;
	border-top: 4px solid #f7c873;
	margin-top: 32px;
}

/* Animations */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes slideDown {
	from { transform: translateY(-40px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
	from { transform: translateY(40px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
@keyframes popIn {
	0% { transform: scale(0.7); opacity: 0; }
	80% { transform: scale(1.05); opacity: 1; }
	100% { transform: scale(1); }
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
	/* Prevent horizontal overflow */
	html, body {
		overflow-x: hidden;
		max-width: 100vw;
	}
	
	/* Mobile container constraints */
	main {
		max-width: 100%;
		margin: 16px auto;
		padding: 0 8px;
		box-sizing: border-box;
	}
	
	.section {
		margin-bottom: 24px;
		padding: 16px 12px;
		border-radius: 12px;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}
	
	/* Mobile gallery fixes */
	.image-gallery {
		gap: 12px;
		margin-top: 12px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.community-info {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	
	.community-gallery {
		gap: 12px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}
	
	.community-img {
		width: 100%;
		max-width: 180px;
		flex-shrink: 1;
		box-sizing: border-box;
	}
	
	.info-text {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	/* Hero section improvements */
	header.hero {
		height: 180px;
		padding: 0 8px;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}
	.hero-content {
		padding: 0 8px;
	}
	.dulcimer-img {
		width: 50px;
		height: 50px;
	}
	h1 {
		font-size: 1.4rem;
		letter-spacing: 1px;
		margin-bottom: 4px;
	}
	.subtitle {
		font-size: 0.9rem;
		letter-spacing: 0.5px;
	}
	
	/* Navigation improvements */
	nav.main-nav {
		padding: 8px 0;
		gap: 16px;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}
	nav.main-nav a {
		font-size: 1rem;
		padding: 8px 14px;
		min-height: 44px;
		display: flex;
		align-items: center;
	}
	
	/* Main content improvements */
	main {
		padding: 0 8px;
		margin: 16px auto;
	}
	.section {
		padding: 16px 12px;
		margin-bottom: 24px;
		border-radius: 12px;
	}
	h2 {
		font-size: 1.6rem;
		margin-bottom: 12px;
	}
	
	/* Calendar improvements */
	.event {
		flex-direction: column;
		align-items: flex-start;
		padding: 12px 14px;
		gap: 6px;
		min-height: 44px;
	}
	.event .date {
		margin-right: 0;
		font-size: 1rem;
	}
	.event .desc {
		font-size: 1rem;
	}
	
	/* Community section improvements */
	.community-info {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}
	.community-gallery {
		justify-content: center;
		gap: 12px;
	}
	.community-img {
		width: 100%;
		max-width: 280px;
		height: auto;
		margin-bottom: 0;
	}
	.info-text {
		min-width: auto;
		text-align: center;
	}
	.info-text ul {
		padding-left: 16px;
	}
	
	/* Footer improvements */
	footer {
		padding: 12px 8px 8px 8px;
		font-size: 0.9rem;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}
}

@media (max-width: 480px) {
	/* Extra small screens */
	header.hero {
		height: 160px;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}
	h1 {
		font-size: 1.2rem;
	}
	.subtitle {
		font-size: 0.8rem;
	}
	nav.main-nav {
		gap: 12px;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
	}
	nav.main-nav a {
		font-size: 0.9rem;
		padding: 6px 10px;
		min-height: 44px;
		display: flex;
		align-items: center;
	}
	.section {
		padding: 12px 8px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	h2 {
		font-size: 1.4rem;
	}
	.event {
		padding: 10px 12px;
		min-height: 44px;
	}
	.event .date, .event .desc {
		font-size: 0.9rem;
	}
	
	/* Touch-friendly calendar navigation */
	.calendar-nav-btn {
		padding: 10px 18px;
		min-height: 44px;
		font-size: 1rem;
		margin: 0 6px;
		border-radius: 8px;
	}
	
	/* Touch-friendly calendar cells */
	.full-calendar .calendar-row div {
		min-width: 32px;
		min-height: 32px;
		font-size: 0.9rem;
		padding: 6px 0;
	}
	
	/* Gallery improvements for very small screens */
	.gallery-img {
		height: 120px;
		border-radius: 8px;
	}
}
