/**
 * CHF Theme — Homepage-only Styles
 * Hero slider, photo reel, stats, YouTube, partners, newsletter
 */

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.hero {
	position: relative;
	width: 100%;
	height: 90vh;
	min-height: 540px;
	overflow: hidden;
}

.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transition: opacity 1.2s ease;
}

.slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.slide-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.slide-ov {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		110deg,
		rgba(10, 40, 12, 0.86) 0%,
		rgba(10, 40, 12, 0.5) 55%,
		rgba(10, 40, 12, 0.08) 100%
	);
}

.slide-c {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 3rem 5rem;
}

.slide-c h1 {
	font-family: var(--serif);
	font-size: clamp(2rem, 4vw, 3.6rem);
	color: var(--white);
	line-height: 1.13;
	max-width: 680px;
	font-weight: 700;
	margin-bottom: 14px;
}

.slide-c p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.05rem;
	max-width: 500px;
	line-height: 1.65;
	margin-bottom: 26px;
	font-weight: 300;
}

/* ==========================================================================
   HERO CONTROLS
   ========================================================================== */

.hdots {
	position: absolute;
	bottom: 1.8rem;
	right: 3rem;
	display: flex;
	gap: 8px;
}

.hdot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.38);
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.hdot.active {
	background: var(--gold);
	width: 26px;
	border-radius: 4px;
}

.harr {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ha {
	width: 38px;
	height: 38px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 3px;
	color: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	font-size: 14px;
}

.ha:hover {
	background: var(--gold);
	color: var(--g);
}

.hprog {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--gold);
	transition: width 0.1s linear;
}

/* ==========================================================================
   PHOTO REEL
   ========================================================================== */

.reel {
	background: var(--dark);
	overflow: hidden;
	position: relative;
}

.reel::before,
.reel::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 70px;
	z-index: 8;
	pointer-events: none;
}

.reel::before {
	left: 0;
	background: linear-gradient(to right, var(--dark), transparent);
}

.reel::after {
	right: 0;
	background: linear-gradient(to left, var(--dark), transparent);
}

.reel-t {
	display: flex;
	animation: reel 44s linear infinite;
}

.reel-t:hover {
	animation-play-state: paused;
}

.ri {
	flex-shrink: 0;
	width: 250px;
	cursor: pointer;
	overflow: hidden;
}

.ri img {
	width: 100%;
	height: 172px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}

.ri:hover img {
	transform: scale(1.07);
}

.rc {
	background: rgba(10, 30, 12, 0.96);
	padding: 9px 13px 11px;
	border-top: 2px solid transparent;
	transition: all 0.3s;
}

.ri:hover .rc {
	border-top-color: var(--gold);
}

.rc p {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.4;
	margin-bottom: 3px;
	transition: color 0.3s;
}

.ri:hover .rc p {
	color: var(--gold);
}

.rc a {
	color: var(--gold);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	opacity: 0.8;
}

@keyframes reel {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-sec {
	background: var(--g);
	padding: 4.5rem 0;
}

.stats-line {
	display: none;
}

.sg {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
}

.si {
	text-align: center;
	padding: 1.5rem 0.8rem;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.si:last-child {
	border-right: none;
}

.sico {
	width: 44px;
	height: 44px;
	background: var(--gold);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.8rem;
	color: var(--white);
}

.sico i,
.sico svg {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: var(--white);
}

.sn {
	font-family: var(--serif);
	font-size: 2.2rem;
	color: var(--white);
	font-weight: 700;
	line-height: 1;
	display: block;
	margin-bottom: 6px;
}

.snl {
	font-size: 12px;
	color: var(--glite);
	letter-spacing: 0.6px;
	text-transform: uppercase;
	line-height: 1.4;
}

/* ==========================================================================
   YOUTUBE SECTION
   ========================================================================== */

.yg {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 1.4rem;
}

.yf {
	border-radius: 6px;
	overflow: hidden;
	background: var(--dark);
	position: relative;
	cursor: pointer;
	min-height: 280px;
}

.yf img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.85;
	transition: opacity 0.3s;
}

.yf:hover img {
	opacity: 0.95;
}

.ypo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ypb {
	width: 62px;
	height: 62px;
	background: rgba(255, 0, 0, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s;
}

.yf:hover .ypb {
	transform: scale(1.1);
}

.yi {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.3rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.yi h3 {
	font-family: var(--serif);
	color: var(--white);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 5px;
}

.yi span {
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
}

.yl {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.yli {
	display: flex;
	gap: 10px;
	cursor: pointer;
	background: var(--white);
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid var(--border);
	transition: box-shadow 0.2s;
}

.yli:hover {
	box-shadow: 0 4px 14px rgba(27, 94, 32, 0.1);
}

.yt {
	position: relative;
	flex-shrink: 0;
	width: 112px;
}

.yt img {
	width: 100%;
	height: 72px;
	object-fit: cover;
	display: block;
}

.ytp {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.28);
}

.ytp svg {
	width: 22px;
	height: 22px;
	fill: rgba(255, 255, 255, 0.9);
}

.yli-i {
	padding: 8px 10px;
	flex: 1;
}

.yli-i h4 {
	font-family: var(--serif);
	font-size: 0.84rem;
	color: var(--dark);
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 3px;
}

.yli-i span {
	font-size: 10px;
	color: var(--muted);
}

.ycta {
	text-align: center;
	margin-top: 2.2rem;
}

.ytbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #FF0000;
	color: var(--white);
	padding: 12px 24px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s;
	border: none;
	font-family: var(--sans);
}

.ytbtn:hover {
	background: #CC0000;
}

/* ==========================================================================
   PARTNERS CAROUSEL
   ========================================================================== */

.pwrap {
	overflow: hidden;
	position: relative;
	margin-top: 2rem;
}

.pwrap::before,
.pwrap::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 80px;
	z-index: 2;
	pointer-events: none;
}

.pwrap::before {
	left: 0;
	background: linear-gradient(to right, var(--cream), transparent);
}

.pwrap::after {
	right: 0;
	background: linear-gradient(to left, var(--cream), transparent);
}

.pt {
	display: flex;
	animation: pscroll 32s linear infinite;
}

.pt:hover {
	animation-play-state: paused;
}

.pi {
	flex-shrink: 0;
	width: 160px;
	padding: 0 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.pi img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	transition: all 0.3s;
}

.pi:hover img {
	transform: scale(1.05);
}

.pi span {
	font-size: 10px;
	color: var(--muted);
	font-weight: 500;
	text-align: center;
}

@keyframes pscroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */

.nls {
	background: var(--gold);
	padding: 4rem 0;
}

.nli {
	max-width: 660px;
	margin: 0 auto;
	text-align: center;
	padding: 0 1.5rem;
}

.npre {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--g);
	margin-bottom: 10px;
}

.nli h2 {
	font-family: var(--serif);
	font-size: 1.9rem;
	color: var(--g);
	font-weight: 700;
	margin-bottom: 10px;
}

.ndesc {
	color: rgba(27, 94, 32, 0.72);
	font-size: 16px;
	margin-bottom: 1.8rem;
}

.nf {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.nf input {
	flex: 1;
	min-width: 180px;
	padding: 12px 16px;
	border: none;
	border-radius: 3px;
	font-size: 16px;
	outline: none;
	background: var(--white);
	color: var(--text);
	font-family: var(--sans);
}

.nf input::placeholder {
	color: #aaa;
}

.nf button {
	background: var(--g);
	color: var(--white);
	border: none;
	padding: 12px 24px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	font-family: var(--sans);
	white-space: nowrap;
}

.nf button:hover {
	background: var(--gm);
}

.nf button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.nl-consent {
	margin-top: 10px;
	text-align: center;
}

.nl-consent label {
	font-size: 13px;
	color: rgba(27, 94, 32, 0.65);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.nl-consent input[type="checkbox"] {
	flex-shrink: 0;
	accent-color: var(--g);
}

.nnote {
	margin-top: 10px;
	font-size: 14px;
	color: rgba(27, 94, 32, 0.6);
}
