/* — LOAD AMELINDA FROM LOCAL FILES — */
@font-face {
	font-family: "Amelinda";
	src:
		url("fonts/amelinda.regular-webfont.woff2") format("woff2"),
		url("fonts/amelinda.regular-webfont.woff") format("woff"),
		url("fonts/amelinda.regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* — VARIABLES — */
:root {
	--bg-color: #ffe6f0;
	--font-color: #1d4357;
	--accent-color: #a7c6b2;
}

/* — GLOBAL RESET — */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--bg-color);
	color: var(--font-color);
	font-family: "Comfortaa", sans-serif;
	line-height: 1.8;
	text-align: center;
}

/* — CONTAINER — */
.container {
	width: min(90%, 800px);
	margin: 0 auto;
	padding: 60px 0;
}

/* — HERO — */
.hero {
	padding-top: 40px;
}

.logo {
	max-width: 350px;
	height: auto;
	margin-bottom: 20px;
}

.hero h1 {
	font-family: "Amelinda", sans-serif;
	font-size: 3rem;
	margin-bottom: 20px;
}

/* — BUTTONS — */
.btn {
	display: inline-block;
	background-color: var(--font-color);
	color: #fff;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	transition: transform 0.2s ease;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
}

.btn:hover {
	transform: scale(1.05);
}

/* — INTRO + VIDEO — */
.intro-text {
	font-size: 1.1rem;
	margin-bottom: 30px;
}

.video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
}

.video-wrapper iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	border: 0;
	border-radius: 10px;
}

/* — CLASSES — */
#classes h2,
#benefits h2,
#info h2,
#gallery h2 {
	font-size: 2rem;
	margin-bottom: 30px;
}

.class-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.class-card {
	border: 2px solid var(--font-color);
	border-radius: 10px;
	padding: 20px;
	flex: 1 1 280px;
	max-width: 300px;
}

.class-card h3 {
	font-family: "Amelinda", sans-serif;
	font-size: 1.5rem;
	margin-bottom: 10px;
}

/* — CLASSES CARD LAYOUT — */
#classes {
	background-color: #fff;
	padding: 60px 20px;
}

#classes h2 {
	font-size: 2.5rem;
	margin-bottom: 40px;
}

.class-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.class-card {
	background-color: #fdfdfd;
	border: 2px solid var(--font-color);
	border-radius: 12px;
	padding: 30px 20px;
	flex: 1 1 300px;
	max-width: 320px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.class-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.class-icon {
	font-size: 60px;
	color: var(--font-color);
	margin-bottom: 20px;
	display: block;
}

.class-card h3 {
	font-family: "Amelinda", sans-serif;
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.class-features {
	list-style: none;
	padding: 0;
	margin-top: 20px;
	text-align: left;
}

.class-features li {
	margin-bottom: 8px;
	position: relative;
	padding-left: 20px;
}

.class-features li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--font-color);
}

/* — RESPONSIVE — */
@media (max-width: 768px) {
	.class-card {
		max-width: 90%;
	}
}

/* — BENEFITS — */
.benefits-list {
	list-style: none;
	padding: 0;
}

.benefits-list li {
	font-size: 1.1rem;
}

/* — BENEFITS TWO-COLUMN LAYOUT — */
.benefits-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	align-items: start;
	margin-top: 20px;
}

.benefits-text p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
	text-align: left;
	color: #333;
}

.benefits-list {
	list-style: none;
	padding: 0;
	text-align: left;
}

.benefits-list li {
	margin-bottom: 1.25rem;
	line-height: 1.6;
}

/* — MOBILE ADJUSTMENTS — */
@media (max-width: 600px) {
	.benefits-content {
		grid-template-columns: 1fr;
	}

	.benefits-text p,
	.benefits-list {
		text-align: center;
	}
}

/* — GALLERY PLACEHOLDER — */
.image-placeholder {
	width: 100%;
	max-width: 400px;
	height: 200px;
	margin: 20px auto;
	background-color: rgba(255, 255, 255, 0.6);
	border: 2px dashed var(--font-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--font-color);
	font-style: italic;
}

/* — GALLERY GRID — */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 20px;
}

.gallery-item {
	overflow: hidden;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	aspect-ratio: 1 / 1;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-actions {
	margin-top: 30px;
	text-align: center;
}

#loadMoreBtn.hidden {
	display: none;
}

/* — RESPONSIVE ADJUST — */
@media (max-width: 500px) {
	.gallery-grid {
		gap: 12px;
	}
}

/* — JOIN US / INFO GRID — */
#info {
	background-color: #fff;
	padding: 60px 20px;
}

#info h2 {
	font-size: 2.5rem;
	margin-bottom: 40px;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.info-item {
	background-color: var(--accent-color);
	border-radius: 12px;
	padding: 25px 20px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.info-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
	font-size: 40px;
	color: var(--font-color);
	margin-bottom: 15px;
	display: block;
}

.info-item h3 {
	font-family: "Amelinda", sans-serif;
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.info-item p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--font-color);
}

/* — adjust call-to-action spacing — */
.download-btn {
	margin-top: 20px;
}

/* — MOBILE ADJUSTMENTS — */
@media (max-width: 600px) {
	#info {
		padding: 40px 20px;
	}

	.info-grid {
		gap: 20px;
	}
}

/* — FOOTER — */
footer {
	background-color: #fff;
	border-top: 3px solid var(--accent-color);
	padding: 40px 0;
}

.footer-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	align-items: center;
}

.footer-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--font-color);
}

.footer-item a {
	color: var(--font-color);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-item a:hover {
	color: var(--font-color);
	text-decoration: underline;
}

.footer-copy {
	flex-basis: 100%;
	justify-content: center;
	text-align: center;
	margin-top: 10px;
	font-style: italic;
}

.footer-item i {
	font-size: 1.2rem;
}

/* Responsive tweaks */
@media (max-width: 480px) {
	.footer-grid {
		gap: 20px;
	}

	.footer-item {
		font-size: 0.9rem;
	}
}

/* — RESPONSIVE — */
@media (max-width: 600px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	.btn {
		padding: 10px 20px;
	}
}
