/* ============================================================
   CHI DE GENÈVE 2026 - HOME PAGE STYLES
   Responsive, Mobile-First, Bootstrap 5.3 Compatible
   ============================================================ */

:root {
	--orange:       #dc4f0a;
	--orange-dark:  #b63e07;
	--orange-light: rgba(220,79,10,.08);
	--taupe:        #76685f;
	--taupe-dark:   #3d3630;
	--taupe-light:  #f5f1ee;
	--taupe-border: #ddd5cf;
	--surface:      #fcfbf9;
	--white:        #ffffff;
	--live-red:     #e53935;
	--live-red-dark:  #c62828;
}

/* ── HERO SECTION ─────────────────────────── */
.hero-section.chi-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--taupe-dark);
	margin-top: 82px;
}

.hero-stripe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 8px;
	background: linear-gradient(to right, var(--orange), var(--orange-dark));
	z-index: 10;
}

.hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(61,54,48,.6) 0%, rgba(61,54,48,.4) 50%);
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 3;
	padding: 2rem;
}

.glass-panel {
	background: rgba(255,255,255,.08) !important;
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 16px !important;
}

@media (max-width: 768px) {
	.hero-section.chi-hero {
		min-height: 70vh;
		margin-top: 64px;
	}
	.glass-panel {
		max-width: 100% !important;
	}
}

/* ── VIDEOS SECTION ─────────────────────────── */
.max-container {
	max-width: 1320px;
	margin: 0 auto;
}

.section-padding {
	padding: 80px 0;
}

@media (max-width: 768px) {
	.section-padding {
		padding: 60px 0;
	}
}

.videos-section {
	padding: 80px 0;
	background: var(--white);
}

.videos-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 3rem;
	flex-wrap: wrap;
	gap: 2rem;
}

.videos-eyebrow {
	display: block;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--orange);
	margin-bottom: 0.5rem;
}

.videos-title {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--taupe-dark);
	margin: 0;
}

.videos-all {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--taupe);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color .2s;
}

.videos-all:hover {
	color: var(--orange);
}

.videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.video-card {
	display: block;
	text-decoration: none;
	border-radius: 12px;
	overflow: hidden;
	transition: transform .3s, box-shadow .3s;
}

.video-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(61,54,48,.16);
}

.video-thumb {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #e8e8e8;
}

.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.3);
	color: white;
	font-size: 3rem;
	transition: background .3s;
}

.video-card:hover .video-play {
	background: rgba(0,0,0,.5);
}

.video-duration,
.video-cat {
	position: absolute;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	background: rgba(0,0,0,.7);
	color: white;
	padding: 4px 10px;
	border-radius: 4px;
}

.video-duration {
	bottom: 12px;
	right: 12px;
}

.video-cat {
	top: 12px;
	right: 12px;
	background: var(--orange);
}

.video-meta {
	padding: 1.25rem;
}

.video-name {
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--taupe-dark);
	margin: 0;
	line-height: 1.3;
}

.video-info {
	font-size: 0.85rem;
	color: var(--taupe);
	margin: 0.5rem 0 0;
}

/* ── HERITAGE SECTION ─────────────────────────── */
.chi-heritage {
	background: var(--white);
}

.text-gradient {
	background: linear-gradient(135deg, var(--taupe-dark) 0%, var(--taupe) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-title-line {
	height: 3px;
	width: 60px;
	background: var(--orange);
	margin-top: 1rem !important;
}

.heritage-quote {
	background: var(--orange-light);
	border-left: 4px solid var(--orange);
}

.heritage-quote p {
	color: var(--taupe-dark) !important;
}

/* ── NEWS SECTION ─────────────────────────── */
.chi-news {
	background: var(--taupe-light);
}

.news-card {
	border-radius: 12px;
	overflow: hidden;
	background: white;
	transition: transform .3s, box-shadow .3s;
	border: 1px solid var(--taupe-border);
}

.news-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(61,54,48,.12);
}

.news-card-img {
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: #e8e8e8;
}

.news-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.news-card:hover .news-card-img img {
	transform: scale(1.05);
}

.news-card-placeholder {
	background: linear-gradient(135deg, #ddd5cf 0%, #e8e8e8 100%);
}

/* ── PROMO SECTION ─────────────────────────── */
.chi-promo {
	background: var(--white);
}

.promo-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	height: 400px;
	cursor: pointer;
}

.promo-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.promo-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(61,54,48,.7) 0%, rgba(61,54,48,.5) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2rem;
	color: white;
	transition: background .3s;
	z-index: 2;
}

.promo-card:hover .promo-overlay {
	background: linear-gradient(135deg, rgba(61,54,48,.85) 0%, rgba(61,54,48,.7) 100%);
}

.promo-overlay h2,
.promo-overlay p {
	margin: 0;
	color: white;
}

.promo-overlay h2 {
	margin-bottom: 0.5rem;
}

.promo-overlay p {
	margin-bottom: 1.5rem;
}

.w-fit-content {
	width: fit-content;
}

/* ── NEWSLETTER SECTION ─────────────────────────── */
.section-newsletter {
	background: linear-gradient(135deg, var(--taupe-dark) 0%, #5a5047 100%);
}

.section-newsletter .form-control {
	border: 1px solid rgba(255,255,255,.2);
	background: rgba(255,255,255,.1);
	color: white;
	font-family: 'Barlow Condensed', sans-serif;
}

.section-newsletter .form-control::placeholder {
	color: rgba(255,255,255,.6);
}

.section-newsletter .form-control:focus {
	border-color: var(--orange);
	background: rgba(255,255,255,.15);
	color: white;
	box-shadow: 0 0 0 0.25rem rgba(220,79,10,.25);
}

/* ── SPONSORS SECTION ─────────────────────────── */
.chi-sponsors {
	background: var(--white);
}

.sponsors {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 3rem 2rem;
	align-items: center;
	justify-items: center;
}

.sponsors a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	text-decoration: none;
	transition: opacity .3s, transform .3s;
	filter: grayscale(50%);
}

.sponsors a:hover {
	opacity: 1;
	transform: scale(1.08);
	filter: grayscale(0%);
}

.sponsors img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* ── UTILITY CLASSES ─────────────────────────── */
.rounded-xl {
	border-radius: 12px !important;
}

.ls-wide {
	letter-spacing: .12em;
}

.btn-secondary {
	background: var(--orange);
	color: white;
	border: none;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	transition: background .2s;
}

.btn-secondary:hover {
	background: var(--orange-dark);
	color: white;
}

.btn-outline-light {
	border-color: rgba(255,255,255,.35);
	color: white;
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	transition: all .2s;
}

.btn-outline-light:hover {
	background: rgba(255,255,255,.15);
	border-color: rgba(255,255,255,.5);
	color: white;
}

.text-primary {
	color: var(--taupe) !important;
}

.text-secondary {
	color: var(--orange) !important;
}

.bg-primary {
	background: var(--taupe) !important;
}

.bg-secondary {
	background: var(--orange) !important;
}

.headline {
	font-family: 'Barlow Condensed', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .05em;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 768px) {
	.videos-grid {
		grid-template-columns: 1fr;
	}

	.videos-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.videos-title {
		font-size: 1.75rem;
	}

	.promo-card {
		height: 300px;
	}

	.sponsors {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
		gap: 2rem 1rem;
	}

	.sponsors a {
		height: 80px;
	}

	.section-newsletter .row > div {
		margin-bottom: 1rem;
	}
}
