/*
 * LP Candidate Theme - Custom Styles
 * Beyond what theme.json handles
 */

/* ====== GENERAL ====== */
body {
	overflow-x: hidden;
}

/* ====== SITE LOGO IN NAV ====== */
.site-logo-nav img {
	max-height: 50px;
	width: auto;
}

/* ====== NAV DONATE BUTTON ====== */
.nav-donate-btn a,
.nav-donate-btn .wp-block-navigation-item__content {
	background: var(--wp--preset--color--donate-bg) !important;
	color: var(--wp--preset--color--donate-text) !important;
	padding: 10px 26px !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
	transition: background 0.2s ease !important;
}

.nav-donate-btn a:hover,
.nav-donate-btn .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--primary-hover) !important;
}

/* ====== HERO CARDS ====== */
.hero-card {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	cursor: pointer;
}

.hero-card .hero-card-inner {
	position: relative;
	z-index: 2;
	background: linear-gradient(160deg, var(--wp--preset--color--secondary), #888);
}

.hero-card:nth-child(2) .hero-card-inner {
	background: linear-gradient(160deg, #777, var(--wp--preset--color--secondary));
}

.hero-card:nth-child(3) .hero-card-inner {
	background: linear-gradient(160deg, var(--wp--preset--color--secondary), #666);
}

.hero-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	transition: background 0.5s ease;
	z-index: 3;
	border-radius: 6px;
	pointer-events: none;
}

.hero-card:hover::after {
	background: rgba(0, 0, 0, 0.15);
}

.hero-card .hero-card-inner {
	transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-card .wp-block-group {
	position: relative;
	z-index: 4;
}

.hero-card-title {
	transition: transform 0.4s ease;
}

.hero-card:hover .hero-card-title {
	transform: translateY(-6px);
}

.hero-card-line {
	width: 40px !important;
	max-width: 40px;
	transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), max-width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	border: none !important;
	height: 3px !important;
}

.hero-card:hover .hero-card-line {
	width: 80px !important;
	max-width: 80px;
}

/* ====== INFO CARDS (Vision Section) ====== */
.info-card {
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

/* ====== PLAY BUTTON CIRCLES ====== */
.play-btn-circle {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	margin: 0 auto;
}

.play-btn-circle svg {
	margin-left: 3px;
}

.play-btn-circle:hover {
	transform: scale(1.12);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ====== INVOLVED CARD ICONS ====== */
.icard-icon-circle {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}

/* ====== SOCIAL ICONS ====== */
.social-icons-row .wp-social-link {
	transition: transform 0.2s ease, background 0.2s ease;
}

.social-icons-row .wp-social-link:hover {
	transform: translateY(-4px);
	background: var(--wp--preset--color--primary-hover) !important;
}

/* ====== FOOTER LINKS ====== */
.footer-links {
	list-style: none !important;
	padding-left: 0 !important;
}

.footer-links li {
	margin-bottom: 7px;
}

.footer-links a {
	color: inherit !important;
	text-decoration: none;
	opacity: 0.65;
	transition: opacity 0.2s ease;
}

.footer-links a:hover {
	opacity: 1;
}

/* ====== BUTTONS ====== */
.wp-block-button__link {
	transition: all 0.25s ease;
}

/* ====== GENERAL TRANSITIONS ====== */
.has-background {
	transition: background-color 0.4s ease;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
	.hero-section .wp-block-columns {
		flex-direction: column;
	}

	.hero-cards-row {
		flex-direction: row !important;
	}

	.hero-section h1 {
		font-size: 42px !important;
	}
}

@media (max-width: 768px) {
	.hero-section {
		padding: 40px 20px !important;
	}

	.hero-section h1 {
		font-size: 32px !important;
	}

	.hero-cards-row {
		flex-direction: column !important;
	}

	.hero-card .hero-card-inner {
		min-height: 200px !important;
	}

	.vision-section {
		padding: 40px 20px !important;
	}

	.vision-section > .wp-block-columns {
		flex-direction: column !important;
	}

	.about-section .wp-block-columns {
		flex-direction: column !important;
	}

	.about-text {
		padding: 30px 20px !important;
	}

	.zigzag-item .wp-block-columns {
		flex-direction: column !important;
	}

	.involved-card {
		padding: 40px 20px !important;
	}

	.footer-grid .wp-block-columns {
		flex-direction: column !important;
	}
}
