/*
Theme Name:   All About Kids (Child of Hello Elementor)
Theme URI:    https://allaboutkidslasvegas.com/
Description:  Child theme for the All About Kids Day Care website. Header/footer,
              brand colors and base polish. All pages are built and edited with
              Elementor; the "Aakd" sticker design system lives in
              aakd-design-system.css (loaded right after this file).
Author:       All About Kids Day Care
Template:     hello-elementor
Version:      1.0.0
*/

/* ================= Brand variables ================= */
:root {
	--aak-orange: #C85D12;
	--aak-orange-dark: #A34B0E;
	--aak-ink: #2E2A28;
	--aak-cream: #FFF8F0;
	--aak-mint: #D5F0E2;
	--aak-sky: #D9EBF7;
	--aak-sunny: #FBBF24;
	--aak-bg: #FFF8F0;
}

html { background: var(--aak-cream); }

body {
	background-color: var(--aak-bg);
	color: var(--aak-ink);
	font-family: "Nunito", sans-serif;
	font-size: 17px;
	line-height: 1.65;
}

/* Never let line-clamped hero/sub titles sneak in from old styles */
h1, h2, h3.elementor-heading-title {
	-webkit-line-clamp: unset;
	display: block;
}

/* Simple animated house icon in the browser tab title? No — keep it static. */

/* ================= Site header ================= */
.aak-site-header {
	background: #fff;
	border-bottom: 3px solid var(--aak-ink);
	position: sticky;
	top: 0;
	z-index: 900;
}

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

.aak-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 10px 24px;
}

.aak-header-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.aak-header-brand img {
	height: 54px;
	width: auto;
	display: block;
}

.aak-header-brand .aak-site-name {
	font-family: "Baloo 2", sans-serif;
	font-weight: 800;
	font-size: 26px;
	line-height: 1.05;
	color: var(--aak-ink);
}

.aak-header-brand .aak-site-tagline {
	display: block;
	font-family: "Nunito", sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	color: var(--aak-orange);
	letter-spacing: 0.02em;
}

/* --- Header navigation --- */
.aak-header-nav ul.menu,
.aak-header-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aak-header-nav ul.menu li { margin: 0; padding: 0; position: relative; }

.aak-header-nav ul.menu li a {
	display: block;
	padding: 10px 14px;
	font-family: "Baloo 2", sans-serif;
	font-weight: 600;
	font-size: 17px;
	color: var(--aak-ink);
	text-decoration: none;
	border-radius: 10px;
	transition: color .15s ease, background-color .15s ease;
}

.aak-header-nav ul.menu li a:hover,
.aak-header-nav ul.menu li.current-menu-item > a {
	color: var(--aak-orange);
}

/* The prominent "Start enrollment" button in the menu */
.aak-header-nav ul.menu li.aak-header-cta a {
	background: var(--aak-orange);
	color: #fff;
	padding: 10px 22px;
	border: 3px solid var(--aak-ink);
	border-radius: 40px 46px 42px 48px / 48px 40px 46px 42px;
	box-shadow: 4px 4px 0 rgba(46, 42, 40, 0.18);
	margin-left: 10px;
	transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.aak-header-nav ul.menu li.aak-header-cta a:hover {
	background: var(--aak-orange-dark);
	color: #fff;
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 rgba(46, 42, 40, 0.18);
}

/* Mobile menu button */
.aak-nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--aak-ink);
	font-family: "Baloo 2", sans-serif;
	font-size: 34px;
	line-height: 1;
}

@media (max-width: 940px) {
	.aak-nav-toggle { display: block; }

	.aak-header-nav nav {
		display: none;
		width: 100%;
	}

	.aak-header-inner { flex-wrap: wrap; }

	.aak-header-nav { order: 3; width: 100%; }

	.aak-header-nav.open nav { display: block; }

	.aak-header-nav ul.menu {
		flex-direction: column;
		align-items: stretch;
		padding: 10px 0 18px;
	}

	.aak-header-nav ul.menu li a { padding: 12px 16px; font-size: 18px; }

	.aak-header-nav ul.menu li.aak-header-cta a {
		margin: 8px 16px 0;
		text-align: center;
	}
}

/* ================= Site footer ================= */
.aak-footer-band {
	height: 6px;
	background: linear-gradient(90deg, var(--aak-orange) 0 20%, var(--aak-sunny) 20% 40%, #77BFA3 40% 60%, #5B8DEF 60% 80%, #ED6C74 80% 100%);
}

.aak-site-footer {
	background: var(--aak-ink);
	color: #F3EBE3;
}

.aak-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px 30px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
}

.aak-site-footer img { height: 60px; width: auto; }

.aak-footer-brand p { color: #D8CFC6; font-size: 15px; max-width: 34ch; }

.aak-site-footer h4 {
	font-family: "Baloo 2", sans-serif;
	font-size: 18px;
	color: #fff;
	margin: 0 0 14px;
}

.aak-site-footer ul { list-style: none; margin: 0; padding: 0; }

.aak-site-footer ul li { margin-bottom: 9px; }

.aak-site-footer a { color: #EDE3D8; text-decoration: none; }

.aak-site-footer a:hover { color: var(--aak-sunny); }

.aak-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px 34px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: #C7BDB2;
}

.aak-footer-bottom a { color: #C7BDB2; }

@media (max-width: 880px) {
	.aak-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
	.aak-footer-inner { grid-template-columns: 1fr; }
}

/* ================= Content width ================= */
.page-content, .entry-content { margin: 0; width: 100%; }

.elementor-section-boxed > .elementor-container {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

/* ================= Plugin polish ================= */
.wpforms-container .wpforms-field-label {
	font-family: "Baloo 2", sans-serif;
	font-weight: 600;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select,
.wpforms-container textarea {
	border: 2px solid #E8DCCF !important;
	border-radius: 999px;
	padding: 12px 18px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.wpforms-container textarea { border-radius: 22px; }

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
	border-color: var(--aak-orange) !important;
	box-shadow: 0 0 0 3px rgba(200, 93, 18, 0.15);
	outline: none;
}

/* ================= Gallery helper (used on the Gallery page) ================= */
.aak-gallery-grid .elementor-image img { border-radius: 14px; }

/* ================= Elementor canvas for footer template ================= */
.elementor-location-footer { display: contents; }

/* ================= Gallery page grid alignment fix ================= */
/* Keep every card in a gallery row the same height and keep image
   aspect ratios tidy when the images differ in size. */
.aak-gallery-grid .elementor-widget-image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 14px;
}

@media (max-width: 768px) {
	.aak-gallery-grid .elementor-widget-image img { height: 220px; }
}

/* ================= Footer social buttons (Elementor icon widget fallback) ================= */
.aak-footer-social .elementor-icon {
	border: 2px solid #5c544f;
	border-radius: 50%;
}
.aak-footer-social .elementor-icon:hover {
	border-color: var(--aak-sunny);
}

/* ================= Fix: keep the footer bar on the bottom of short pages ================= */
body { display: flex; flex-direction: column; min-height: 100vh; }
#content, .page-content { flex: 1 0 auto; }
