/*
Theme Name: Facy (Twenty Twenty-Four Child)
Theme URI: https://facy.ai/blog
Description: Child theme of Twenty Twenty-Four with Facy.ai branding — palette, typography, homepage and footer.
Author: Facy.ai
Template: twentytwentyfour
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour-child
*/

/* Ambient glows matching facy.ai app pages (image-to-image et al.) */
body {
	background-image:
		radial-gradient(900px 450px at 50% -10%, rgba(101, 113, 255, 0.14) 0%, transparent 60%),
		radial-gradient(700px 380px at 12% 85%, rgba(139, 92, 246, 0.12) 0%, transparent 62%),
		radial-gradient(650px 420px at 95% 70%, rgba(101, 113, 255, 0.08) 0%, transparent 65%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Cards */
.facy-card {
	border: 1px solid var(--wp--preset--color--contrast-3);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.facy-card:hover {
	transform: translateY(-4px);
	border-color: rgba(30, 58, 95, 1);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Full-width bands (facts strip, CTA) */
.facy-band {
	border-top: 1px solid var(--wp--preset--color--contrast-3);
	border-bottom: 1px solid var(--wp--preset--color--contrast-3);
}

/* Buttons: glow + lift. Gradient itself comes from theme.json. */
.wp-block-button__link {
	box-shadow: 0 10px 28px rgba(101, 113, 255, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(101, 113, 255, 0.32);
}

/* Secondary (ghost) button */
.facy-btn-ghost .wp-block-button__link {
	background: var(--wp--preset--color--base-2);
	border: 1px solid var(--wp--preset--color--contrast-3);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.facy-btn-ghost .wp-block-button__link:hover {
	border-color: rgba(30, 58, 95, 1);
	background: var(--wp--preset--color--accent-4);
}

/* Desktop nav dropdown (core defaults it to white) */
.wp-block-navigation .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--contrast-3);
	border-radius: 12px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--wp--preset--color--contrast);
}

/* Gradient text accent for headings */
.facy-gradient-text {
	background: linear-gradient(135deg, #8f97ff 0%, #8b5cf6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
