/* ==========================================================================
   ZCFA THEME STYLES
   Zanzibar Crown Football Academy
   ========================================================================== */

:root {
	--zcfa-primary: #facc15;
	--zcfa-primary-dark: #eab308;

	--zcfa-dark: #020617;
	--zcfa-text: #0f172a;
	--zcfa-muted: #64748b;

	--zcfa-bg: #f8f6ef;
	--zcfa-bg-alt: #ffffff;
}

/* Base */
html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
	background: #f8f6ef;
	font-family: 'Inter', sans-serif;
}

.zcfa-section {
	background: #f8f6ef;
}

.zcfa-section-alt {
	background: #ffffff;
}

.font-oswald {
	font-family: 'Oswald', sans-serif;
}

.font-inter {
	font-family: 'Inter', sans-serif;
}

/* Header */
#site-header {
	transition:
		background-color .35s ease,
		backdrop-filter .35s ease,
		box-shadow .35s ease;
}

#site-header.scrolled {
	background: rgba(2, 6, 23, .96);
	backdrop-filter: blur(18px);
	box-shadow: 0 12px 35px rgba(0,0,0,.28);
}

#site-header.scrolled nav {
	background: transparent;
}

/* Hide top bar on scroll */
#site-header .zcfa-top-bar {
	transition:
		opacity .3s ease,
		transform .3s ease,
		max-height .3s ease;
	max-height: 40px;
	overflow: hidden;
}

#site-header.scrolled .zcfa-top-bar {
	opacity: 0;
	transform: translateY(-100%);
	max-height: 0;
	border-bottom: 0;
}

#site-header.zcfa-header-transparent {
	background: transparent;
}

#site-header.zcfa-header-solid {
	background: rgba(2, 6, 23, .96);
	backdrop-filter: blur(18px);
	box-shadow: 0 12px 35px rgba(0,0,0,.28);
}

#site-header.zcfa-header-solid nav {
	background: transparent;
}

.zcfa-header-transparent{
	background:linear-gradient(
		to bottom,
		rgba(2,6,23,.65),
		rgba(2,6,23,.15),
		transparent
	);
}

.zcfa-header-solid{
	background:rgba(15,23,42,.96);
	backdrop-filter:blur(18px);
	-webkit-backdrop-filter:blur(18px);
	box-shadow:0 4px 25px rgba(0,0,0,.15);
}

.custom-logo {
	max-height: 95px;
	width: auto;
	object-fit: contain;
	transition: transform .3s ease;
}

.custom-logo:hover {
	transform: scale(1.03);
}

@media (max-width: 1023px) {
	.custom-logo {
		max-height: 56px;
	}
}

/* Desktop Menu */
.zcfa-main-menu {
	display: flex;
	align-items: center;
}

.zcfa-main-menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.zcfa-main-menu > li:not(:last-child)::after {
	content: "";
	width: 1px;
	height: 18px;
	background: rgba(255,255,255,.22);
	margin-left: 1.5rem;
	margin-right: 1.5rem;
}

.zcfa-main-menu > li > a {
	display: flex;
	align-items: center;
	gap: .55rem;
	transition:
		color .25s ease,
		transform .25s ease;
}

.zcfa-main-menu > li > a:hover {
	color: var(--zcfa-primary);
	transform: translateY(-1px);
}

.zcfa-main-menu > li > a i {
	font-size: 14px;
	width: 16px;
	text-align: center;
	opacity: .95;
}

/* Mobile Menu */
#mobile-menu {
	z-index: 9999;
}

#mobile-overlay {
	z-index: 9998;
}

#mobile-menu a {
	transition:
		background-color .25s ease,
		color .25s ease;
}

#mobile-menu a:hover {
	color: var(--zcfa-primary);
}

#mobile-menu i {
	width: 20px;
	text-align: center;
}

/* Hero Slider */
.zcfa-hero-slider {
	height: 100svh;
	min-height: 680px;
}

.zcfa-hero-slider .swiper-slide {
	height: 100svh;
	min-height: 680px;
	overflow: hidden;
}

.zcfa-slide-video {
	background: #020617;
}

.zcfa-hero-content {
	padding-top: 140px;
}

@media (max-width: 1023px) {
	.zcfa-hero-content {
		padding-top: 90px;
	}
}

.zcfa-hero-slider .swiper-button-prev,
.zcfa-hero-slider .swiper-button-next {
	color: #ffffff;
	transition: all .25s ease;
}

.zcfa-hero-slider .swiper-button-prev:hover,
.zcfa-hero-slider .swiper-button-next:hover {
	color: var(--zcfa-primary);
	transform: scale(1.1);
}

/* Hero Text */
.hero-title {
	text-shadow:
		0 4px 20px rgba(0,0,0,.55),
		0 10px 40px rgba(0,0,0,.45);
}

.hero-subtitle {
	text-shadow:
		0 2px 12px rgba(0,0,0,.45);
}

/* Hero Progress Bar */
.zcfa-slider-progress {
	box-shadow: 0 0 18px rgba(250,204,21,.9);
}

/* ==========================================================================
   KEN BURNS EFFECT
   ========================================================================== */

@keyframes zcfaKenBurns {

	0% {
		transform: scale(1.15);
	}

	100% {
		transform: scale(1);
	}

}

.zcfa-kenburns {
	transform: scale(1.15);
	will-change: transform;
}

.zcfa-kenburns-active {
	animation: zcfaKenBurns 9s linear forwards;
	transform-origin: center center;
}

/* Cards */
.zcfa-card,
.zcfa-news-card {
	transition:
		transform .35s ease,
		box-shadow .35s ease;
}

.zcfa-card:hover,
.zcfa-news-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 45px rgba(15,23,42,.15);
}

/* Gallery */
.zcfa-gallery img {
	transition:
		transform .4s ease,
		filter .4s ease;
}

.zcfa-gallery img:hover {
	transform: scale(1.04);
	filter: saturate(1.08);
}

/* Footer */
.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widget li {
	margin-bottom: .75rem;
}

.footer-widget a {
	color: inherit;
	transition: color .25s ease;
}

.footer-widget a:hover {
	color: var(--zcfa-primary);
}

/* Forms */
input,
textarea,
select {
	transition:
		border-color .3s ease,
		box-shadow .3s ease;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(250,204,21,.25);
}

/* Accessibility */
:focus-visible {
	outline: 2px solid var(--zcfa-primary);
	outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767px) {
	.zcfa-hero-slider,
	.zcfa-hero-slider .swiper-slide {
		min-height: 720px;
	}

	.zcfa-hero-slider .swiper-button-prev,
	.zcfa-hero-slider .swiper-button-next {
		display: none;
	}

	.hero-title {
		font-size: 3rem !important;
		line-height: .95 !important;
	}

	.hero-subtitle {
		font-size: 1rem !important;
		line-height: 1.65 !important;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
/* Button alignment fix */
/* Fix vertical alignment for badges and buttons inside WordPress page content */

main a,
main button,
main .inline-block,
main .inline-flex {
	line-height: 1;
}

main .rounded-full,
main .rounded-xl,
main button,
main [type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* ==========================================================
   ZCFA Navigation Enhancement
========================================================== */

#site-header nav {
	background: rgba(15, 23, 42, 0.60);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: all .35s ease;
}

#site-header.scrolled nav {
	background: rgba(15, 23, 42, 0.92);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

/* Desktop Menu */

.zcfa-main-menu {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.zcfa-main-menu li {
	position: relative;
}

.zcfa-main-menu a {
	position: relative;
	display: flex;
	align-items: center;
	gap: .55rem;

	padding: .9rem .95rem;

	color: #fff;

	text-decoration: none;

	text-shadow:
		0 1px 2px rgba(0, 0, 0, .65);

	transition:
		color .25s ease,
		transform .25s ease;
}

.zcfa-main-menu a i {
	text-shadow:
		0 1px 2px rgba(0,0,0,.65);
}

.zcfa-main-menu a:hover {
	color: var(--zcfa-primary);
	transform: translateY(-1px);
}

/* Animated underline */

.zcfa-main-menu a::after {

	content: "";

	position: absolute;

	left: .95rem;
	right: .95rem;
	bottom: -.15rem;

	height: 2px;

	background: var(--zcfa-primary);

	transform: scaleX(0);

	transform-origin: center;

	transition: transform .28s ease;

}

.zcfa-main-menu a:hover::after,
.zcfa-main-menu .current-menu-item>a::after,
.zcfa-main-menu .current_page_item>a::after,
.zcfa-main-menu .current-menu-ancestor>a::after {

	transform: scaleX(1);

}

/* Active page */

.zcfa-main-menu .current-menu-item>a,
.zcfa-main-menu .current_page_item>a,
.zcfa-main-menu .current-menu-ancestor>a {

	color: var(--zcfa-primary);

}