/*
Theme Name: Canvas Club
Theme URI: https://canvasclubkids.com
Description: Child theme for Canvas Club Kids, built on Twenty Twenty-Five.
Author: Canvas Club Kids
Author URI: https://canvasclubkids.com
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: canvasclub
Tags: full-site-editing, block-patterns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, translation-ready
*/

/*
.cc-font-fredoka
.cc-font-baloo-bold
.cc-font-pacifico
.cc-font-playlist
*/
/* Add custom styles below. Parent styles are loaded via functions.php. */

:root {
	/* Font families */
	
	--cc-font-fredoka: 'Fredoka', system-ui, sans-serif;
	--cc-font-baloo: 'Baloo 2', var(--cc-font-fredoka);
	--cc-font-baloo-bold: var(--cc-font-baloo);
	--cc-font-pacifico: 'Pacifico', 'Brush Script MT', cursive;
	--cc-font-playlist: 'Playlist Script', 'Pacifico', cursive;
	--cc-font-family: var(--cc-font-fredoka);
	/* Font weights */
	--cc-font-weight-regular: 400;
	--cc-font-weight-medium: 500;
	--cc-font-weight-semibold: 600;
	--cc-font-weight-bold: 700;
	--cc-font-weight-baloo-bold: 700;

	--cc-light-gray: #f8f8f8;
	--cc-black: #111;
	--cc-navy: #1a2238;
	--cc-purple: #43248d;
	--cc-purple-hover: #642f80;
	--cc-pink: #e85a9a;
	--cc-green: #5cb85c;
	--cc-blue: #4a8fd4;
	--cc-yellow: #e8b82e;
	--cc-white: #fff;
	--cc-max-width: 1440px;
	--cc-pad-x: clamp(1rem, 4vw, 3rem);
    --font-size-small: 0.875rem;
    --font-size-medium: 1rem;
    --font-size-large: 16px;
    --font-size-x-large: 18px;
    --font-size-xx-large: 1.5rem;
    --font-size-xxx-large: 1.75rem;
    --font-size-xxxx-large: 2rem;
    --font-size-xxxxx-large: 2.25rem;
	--cc-header-scroll-offset: 7.5rem;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

#about,
#weekly-themes,
#schedule,
#faq,
#pricing {
	scroll-margin-top: calc(var(--cc-header-scroll-offset) + 1rem);
}

.cc-main {
	overflow-x: hidden;
}

.main-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.admin-bar .cc-site-header {
	padding-top: 32px;
}

.btn {
	position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12.5rem;
    padding: 10px;
    border: 0;
    background: transparent;
    font-family: var(--cc-font-baloo-bold);
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.btn .btn-shape {
	position: absolute;
    inset: -0.35rem -1.5rem -0.35rem -0.65rem;
    z-index: -1;
	background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.btn.yellow-brush .btn-shape {
    background-image: url(./assets/images/btn-bg.webp);
}

.btn.purple-brush .btn-shape {
    background-image: url(./assets/images/btn-bg-purple.webp);
}

.btn.purple-brush .btn-label {
	color: #ffffff;
}

.btn.pink-brush .btn-shape {
    background-image: url(./assets/images/btn-bg-pink.webp);
}
.btn.pink-brush .btn-label {
	color: #ffffff;
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-2px);
	outline: none;
	transition: transform 0.2s ease;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.btn:hover .btn-shape,
.btn:focus-visible .btn .btn-shape {
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
}

.btn:focus-visible .btn-label {
	outline: 2px solid #1a2238;
	outline-offset: 4px;
}



.section-heading {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 1.25rem;
    padding: 10px 0px 10px 10px;
	min-width: 6.5rem;
    font-family: var(--cc-font-baloo-bold);
    font-size: var(--font-size-xxx-large);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cc-navy, #1a2238);
	min-height: 2rem;
}

.section-heading::before {
	position: absolute;
	content: '';
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: fill;
    background-repeat: no-repeat;
	z-index: -1;
}

.section-heading.green-underline::before {
    inset: unset;
    bottom: 0;
    height: 10px;
	z-index: 1;
    background-image: url(./assets/images/decor/heading-brush-green.svg);
}

.section-heading.yellow-underline::before {
    inset: unset;
    bottom: 0;
    height: 10px;
    background-image: url(./assets/images/decor/heading-brush-yellow.svg);
}

.section-heading.yellow-brush::before {
    background-image: url(./assets/images/decor/badge-about.svg);
}

.section-heading.green-brush::before {
	background-image: url(./assets/images/decor/heading-brush-green.svg);
}

.cc-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1rem;
	padding: 0.75rem 1.75rem;
	border: 2px solid var(--cc-purple);
	border-radius: 0.35rem;
	background: var(--cc-white, #fff);
	color: var(--cc-purple);
	font-family: var(--cc-font-family);
	font-size: clamp(0.8rem, 1.2vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cc-cta-button:hover,
.cc-cta-button:focus-visible {
	background: var(--cc-purple);
	color: var(--cc-white, #fff);
	transform: translateY(-1px);
	outline: none;
}


.cc-about__label-text {
	position: relative;
	z-index: 1;
	font-family: var(--cc-font-family);
	font-size: var(--font-size-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

p {
    margin: 0;
}
.mb-1 {
    margin-bottom: 0.5rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
.mb-4 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}
.mb-0 {
    margin-bottom: 0;
}

.m-0 {
    margin: 0;
}

.cc-text {
	font-family: var(--cc-font-family);
	font-size: var(--font-size-x-large);
	font-weight: 400;
	line-height: 1.6;
}

.cc-text.small {
	font-size: var(--font-size-large);
}

.cc-text.bold {
	font-weight: 500;
}

/* Font utility classes */
.cc-font-fredoka {
	font-family: var(--cc-font-fredoka);
}

.cc-font-baloo-bold {
	font-family: var(--cc-font-baloo-bold);
	font-weight: var(--cc-font-weight-baloo-bold);
}

.cc-font-pacifico {
	font-family: var(--cc-font-pacifico);
	font-weight: var(--cc-font-weight-regular);
}

.cc-font-playlist {
	font-family: var(--cc-font-playlist);
	font-weight: var(--cc-font-weight-regular);
}

@media (max-width: 540px) {
	.section-heading {
		font-size: var(--font-size-xx-large);
	}
}
