/* Excel Ent — project-wide button / CTA hover effects
   Matched to excel-entertainment.html */

:root {
	--ee-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ee-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ee-btn-glow: 0 14px 34px -8px rgba(240, 41, 107, 0.55);
	--ee-btn-grad: linear-gradient(100deg, #ff7a3c, #f0296b);
	--ee-btn-grad-figma: linear-gradient(
		270deg,
		#eb2055 0.48%,
		#eb2454 17.67%,
		#ec2654 26.26%,
		#ec2854 34.86%,
		#ed3951 48.8%,
		#ee4250 55.77%,
		#f1634c 80.29%,
		#f8a742 100%
	);
}

/* ---------- Shared interactive base ---------- */

.btn,
.btn-quote,
.btn-hero,
.newsletter-cta__submit,
.subscribe-popup__submit,
.header-search__submit,
.header-phone,
.header-search__field,
.hero-carousel__btn,
.post-card,
.footer-column__menu a,
.main-navigation .menu > li > a,
.site-logo,
.custom-logo-link,
.magnetic,
button:not(.nav-toggle),
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.wp-element-button {
	transition:
		transform 0.35s var(--ee-ease-spring),
		box-shadow 0.35s var(--ee-ease),
		background 0.35s var(--ee-ease),
		background-position 0.45s var(--ee-ease),
		border-color 0.3s ease,
		color 0.3s ease,
		filter 0.3s ease,
		gap 0.3s ease,
		opacity 0.3s ease;
}

/* Avoid permanent will-change on the search bar — it jitters with Lenis + backdrop-filter */
.btn-quote,
.btn-hero,
.newsletter-cta__submit,
.subscribe-popup__submit,
.header-search__submit,
.header-phone,
.hero-carousel__btn,
.post-card,
.footer-column__menu a,
.main-navigation .menu > li > a,
.site-logo,
.custom-logo-link,
.magnetic,
button:not(.nav-toggle),
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.wp-element-button {
	will-change: transform;
}

.header-search .magnetic,
.header-search__field,
.header-search__submit {
	will-change: auto;
}

.footer-column__menu a,
.footer-column__menu a:hover,
.footer-column__menu a:focus-visible {
	transform: none !important;
	will-change: auto;
}

.header-search__submit:hover,
.header-search__submit:focus-visible {
	will-change: transform;
}

/* ---------- Primary / filled gradient CTAs ---------- */

.btn--primary,
.btn-quote,
.btn-hero--primary,
.header-search__submit,
.newsletter-cta__submit,
.subscribe-popup__submit,
.service-featured__cta,
.blog-card:hover .blog-card__cta,
.blog-card:focus-within .blog-card__cta,
.cta-neon__btn--primary,
.artist-hero__btn--primary,
.package-enquiry__submit,
.package-compare__enquiry,
.package-selected__btn,
	.contact-form__submit,
.artist-media__tabs button.is-active,
input[type="submit"],
.wp-block-button__link,
.wp-element-button {
	background-image: var(--ee-btn-grad-figma);
	background-size: 200% 100%;
	background-position: 0% 50%;
	background-color: transparent;
	box-shadow: 0 4px 4px rgba(155, 77, 255, 0.45);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.btn-quote:hover,
.btn-quote:focus-visible,
.btn-hero--primary:hover,
.btn-hero--primary:focus-visible,
.header-search__submit:hover,
.header-search__submit:focus-visible,
.newsletter-cta__submit:hover,
.newsletter-cta__submit:focus-visible,
.subscribe-popup__submit:hover,
.subscribe-popup__submit:focus-visible,
.service-featured__cta:hover,
.service-featured__cta:focus-visible,
.blog-card:hover .blog-card__cta:hover,
.blog-card:hover .blog-card__cta:focus-visible,
.blog-card:focus-within .blog-card__cta:hover,
.blog-card:focus-within .blog-card__cta:focus-visible,
.artist-hero__btn--primary:hover,
.artist-hero__btn--primary:focus-visible,
.package-enquiry__submit:hover,
.package-enquiry__submit:focus-visible,
.package-compare__enquiry:hover,
.package-compare__enquiry:focus-visible,
.package-selected__btn:hover,
.package-selected__btn:focus-visible,
	.contact-form__submit:hover,
	.contact-form__submit:focus-visible,
.artist-media__tabs button.is-active:hover,
.artist-media__tabs button.is-active:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--ee-btn-glow);
	background-position: 100% 50%;
	filter: none;
	color: #fff;
	text-decoration: none;
}

.btn--primary:active,
.btn-quote:active,
.btn-hero--primary:active,
.header-search__submit:active,
.newsletter-cta__submit:active,
.subscribe-popup__submit:active,
.service-featured__cta:active,
.cta-neon__btn--primary:active,
.artist-hero__btn--primary:active,
.package-enquiry__submit:active,
.package-compare__enquiry:active,
.package-selected__btn:active,
	.contact-form__submit:active,
input[type="submit"]:active,
.wp-block-button__link:active,
.wp-element-button:active {
	transform: scale(0.96);
	box-shadow: 0 6px 18px -8px rgba(240, 41, 107, 0.45);
}

/* ---------- Outline / ghost CTAs ---------- */

.btn--ghost,
.btn-hero--outline,
.btn-outline {
	background: transparent;
	box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible,
.btn-outline:hover,
.btn-outline:focus-visible {
	transform: translateY(-3px);
	background: rgba(244, 239, 228, 0.06);
	border-color: #fff;
	color: #fff;
	text-decoration: none;
	box-shadow: none;
	filter: none;
}

/* Hero outline matches primary filled gradient on hover */
.btn-hero--outline:hover,
.btn-hero--outline:focus-visible {
	transform: translateY(-3px);
	border: 0;
	border-bottom: 2px solid #f89a42;
	background-color: transparent;
	background-image: var(--ee-btn-grad-figma);
	background-size: 200% 100%;
	background-position: 100% 50%;
	box-shadow: var(--ee-btn-glow);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	filter: none;
}

.excel-way-tab:hover,
.excel-way-tab:focus-visible,
.excel-way__cta:hover,
.excel-way__cta:focus-visible {
	transform: translateY(-3px);
	border: 0;
	border-bottom: 2px solid #f89a42;
	background-color: transparent;
	background-image: var(--ee-btn-grad-figma);
	background-size: 200% 100%;
	background-position: 100% 50%;
	box-shadow: var(--ee-btn-glow);
	color: #fff;
	font-weight: 800;
	filter: none;
	text-decoration: none;
}

/* CTA neon — same hover language as hero Book / Register buttons */
.cta-neon__btn--primary:hover,
.cta-neon__btn--primary:focus-visible {
	transform: translateY(-3px);
	border: 0;
	border-bottom: 2px solid #f89a42;
	background-color: transparent;
	background-image: var(--ee-btn-grad-figma);
	background-size: 200% 100%;
	background-position: 100% 50%;
	box-shadow: var(--ee-btn-glow);
	color: #fff;
	text-decoration: none;
	filter: none;
}

.cta-neon__btn--outline:hover,
.cta-neon__btn--outline:focus-visible {
	transform: translateY(-3px);
	border: 0;
	border-bottom: 2px solid #f89a42;
	background-color: transparent;
	background-image: var(--ee-btn-grad-figma);
	background-size: 200% 100%;
	background-position: 100% 50%;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: var(--ee-btn-glow);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	filter: none;
}

.artist-hero__btn--outline:hover,
.artist-hero__btn--outline:focus-visible {
	transform: translateY(-3px);
	color: #fff;
	text-decoration: none;
}

.btn--ghost:active,
.btn-outline:active,
.excel-way-tab:active,
.excel-way__cta:active,
.venue-panel__cta:active,
.artist-hero__btn--outline:active {
	transform: scale(0.96);
}

.btn-hero--outline:active,
.cta-neon__btn--primary:active,
.cta-neon__btn--outline:active {
	transform: scale(0.96);
	box-shadow: 0 6px 18px -8px rgba(240, 41, 107, 0.45);
}

.venue-panel__cta:hover,
.venue-panel__cta:focus-visible {
	transform: translateY(-3px);
	color: #fff;
	text-decoration: none;
	filter: brightness(1.05);
}

/* Generic .btn fallback (when no modifier) */
.btn:hover,
.btn:focus-visible {
	transform: translateY(-3px);
	text-decoration: none;
}

.btn:active {
	transform: scale(0.96);
}

/* ---------- Header phone ---------- */

.header-phone:hover,
.header-phone:focus-visible {
	border-color: #ff7a3c;
	transform: rotate(-8deg);
	background: rgba(255, 122, 60, 0.1);
}

.header-phone:active {
	transform: rotate(-8deg) scale(0.96);
}

/* ---------- Search submit (extra spin like HTML .search-go) ---------- */

.header-search__submit:hover,
.header-search__submit:focus-visible {
	transform: translateY(-3px) scale(1.08) rotate(6deg);
}

.header-search__submit:active {
	transform: scale(0.96) rotate(0deg);
}

/* ---------- Nav links ---------- */

.main-navigation .menu > li > a {
	position: relative;
}

.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a,
.main-navigation .menu > li.current-menu-ancestor > a {
	opacity: 1;
}

/* ---------- Cards / posts ---------- */

.post-card:hover,
.post-card:focus-within {
	transform: translateY(-6px);
	border-color: rgba(244, 239, 228, 0.3);
	box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5);
}

.post-card:hover .post-thumbnail img {
	transform: scale(1.08);
}

.post-card .post-thumbnail img {
	transition: transform 0.8s var(--ee-ease);
}

.post-card .entry-title a {
	transition: transform 0.5s var(--ee-ease), color 0.3s ease;
	display: inline-block;
}

.post-card:hover .entry-title a {
	transform: translateY(-4px);
}

/* ---------- Footer links ---------- */

.footer-column__menu a:hover,
.footer-column__menu a:focus-visible {
	transform: none;
	color: #f89a42;
	text-decoration: underline;
	text-decoration-color: #f89a42;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.28em;
}

/* ---------- Pagination / misc links as buttons ---------- */

.navigation.pagination .page-numbers:hover,
.post-navigation a:hover,
.search-submit:hover {
	transform: translateY(-3px);
	box-shadow: var(--ee-btn-glow);
}

/* ---------- Carousel arrows ---------- */

.hero-carousel__btn:hover,
.hero-carousel__btn:focus-visible {
	transform: scale(1.08);
}

.hero-carousel__btn:active {
	transform: scale(0.96);
}

/* ---------- Comment / form submit already covered; polish ---------- */

.comment-form .form-submit .submit {
	background-image: var(--ee-btn-grad-figma) !important;
	background-size: 200% 100%;
	background-position: 0% 50%;
	border: 0;
	color: #fff;
	transition:
		transform 0.35s var(--ee-ease-spring),
		box-shadow 0.35s var(--ee-ease),
		background-position 0.45s var(--ee-ease);
}

.comment-form .form-submit .submit:hover,
.comment-form .form-submit .submit:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--ee-btn-glow);
	background-position: 100% 50%;
}

.comment-form .form-submit .submit:active {
	transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
	.btn,
	.btn-quote,
	.btn-hero,
	.header-search__submit,
	.header-phone,
	.post-card,
	.footer-column__menu a,
	.main-navigation .menu > li > a,
	.magnetic,
	button,
	input[type="submit"],
	.wp-block-button__link {
		transition: none !important;
	}

	.btn:hover,
	.btn-quote:hover,
	.btn-hero:hover,
	.header-search__submit:hover,
	.header-phone:hover,
	.post-card:hover,
	.footer-column__menu a:hover {
		transform: none !important;
	}
}

/* Keep header CTAs from compositing above Explore Artists filter popovers */
body.is-explore-filter-open .site-header,
body.is-explore-filter-open .site-header .header-search,
body.is-explore-filter-open .site-header .header-search__submit,
body.is-explore-filter-open .site-header .header-search-icon,
body.is-explore-filter-open .site-header .explore-artists-search__cat,
body.is-explore-filter-open .site-header .explore-artists-search__submit,
body.is-explore-filter-open .site-header .explore-artists-search__sort,
body.is-explore-filter-open .site-header button,
body.is-explore-filter-open .site-header .magnetic {
	transform: none !important;
	will-change: auto !important;
	filter: none !important;
	z-index: auto;
}

.site-header.is-panel-open .explore-artists-search__cat,
.site-header.is-panel-open .explore-artists-search__submit,
.site-header.is-panel-open .explore-artists-search__sort,
.site-header:has(.header-search .is-open) .explore-artists-search__cat,
.site-header:has(.header-search .is-open) .explore-artists-search__submit,
.site-header:has(.header-search .is-open) .explore-artists-search__sort {
	transform: none !important;
	will-change: auto !important;
	z-index: 0 !important;
}
