/* ============================================================
   Don Chepe — Homepage / Front Page
   ============================================================ */

/* -------------------------------------------------------
   Hero Section
   ------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

/* Background — video or image fills the section */
.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Overlay — darken/tint the background for text readability
   Adjust color and opacity to match the design */
.hero-overlay {
	position: absolute;
	inset: 0;
	background-color: var(--color-navy-deep);
	opacity: 0.5;
	/* Add: change color to --color-black-pure, --color-copper-44, etc. */
}

/* Hero Content — sits above background and overlay */
.hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: center;
}

.hero-text {
	max-width: 540px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-title-img {
	width: 100%;
	height: auto;
	display: block;
}

.hero-subtitle-img {
	width: 75%;
	height: auto;
	display: block;
	margin-block-start: -30px;
}

/* Accessibility — pause video for users with Reduce Motion enabled.
   The poster image shows as a static background instead. */
@media (prefers-reduced-motion: reduce) {
	.hero-bg--video {
		animation-play-state: paused;
	}
}

/* -------------------------------------------------------
   Hero Strip — decorative repeating band between hero and intro
   ------------------------------------------------------- */
.hero-strip {
	width: 100%;
	height: clamp(30px, 4vw, 40px);
	background-repeat: repeat-x;
	background-position: center;
	background-size: auto 100%;
}

/* -------------------------------------------------------
   Shared: section background image
   <img> instead of CSS background-image → srcset + lazy loading
   ------------------------------------------------------- */
.section-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	display: block;
}

/* -------------------------------------------------------
   Intro Section
   No overflow:hidden — allows alternate-row badge to overlap from below
   ------------------------------------------------------- */
.intro-section {
	position: relative;
	padding-block: clamp(30px, 4vw, 60px);
	text-align: center;
}

.intro-section > .container {
	position: relative;
	z-index: 1;
}

.intro-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 2.75rem);
	text-transform: uppercase;
	color: var(--color-red);
	text-shadow: -2px 2px 0px var(--color-gold);
	line-height: 1.1;
	margin-block-end: clamp(0.75rem, 2vw, 1.25rem);
}

.intro-description {
	font-family: var(--font-heading);
	font-size: clamp(0.9rem, 1.3vw, 1.1rem);
	text-transform: uppercase;
	color: var(--color-navy-deep);
	letter-spacing: 0;
	line-height: 1.6;
	max-width: 1200px;
	margin-inline: auto;
}

/* -------------------------------------------------------
   Alternate Rows
   No overflow:hidden at section level — badge from the next row
   must be able to overlap into this section from below
   ------------------------------------------------------- */
.alternate-row {
	position: relative;
}

.alternate-row__inner {
	display: flex;
	flex-direction: column;
}

/* Photo column */
.alternate-row__image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.ar-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Content column */
.alternate-row__content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
}

/* Background image wrapper — overflow:hidden clips bg image to column bounds.
   Does NOT affect sibling .content-badge */
.content-bg-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
}

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

/* Badge — top:0 + translateY(-50%) puts half above the content column */
.content-badge {
	position: absolute;
	top: 0;
	transform: translateY(-50%);
	z-index: 10;
}

.content-badge img {
	width: clamp(100px, 12vw, 150px);
	height: clamp(100px, 12vw, 150px);
	object-fit: contain;
	display: block;
}

/* Badge sits at the outer edge of its content column */
.alternate-row--img-left .content-badge {
	right: 30px;
}

.alternate-row--img-right .content-badge {
	left: 30px;
}

/* Text content */
.content-inner {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 5vw, 3.5rem);
	width: 100%;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(0.625rem, 1.5vw, 1rem);
	text-align: center;
}

.ar-subtitle {
	font-family: var(--font-heading);
	font-size: clamp(0.75rem, 1vw, 0.875rem);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-red);
}

.ar-title {
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	text-transform: uppercase;
	color: var(--color-navy-deep);
	text-shadow: -2px 2px 0px #FFFFFF;
	line-height: 1.1;
}

.ar-description {
	font-family: var(--font-body);
	font-size: clamp(0.875rem, 1.2vw, 1rem);
	color: var(--color-navy-deep);
	line-height: 1.65;
}

.ar-cta {
	margin-block-start: 0.25rem;
}

/* Desktop: side by side, both columns square and equal height */
@media (min-width: 769px) {
	.alternate-row__inner {
		flex-direction: row;
	}

	.alternate-row--img-right .alternate-row__inner {
		flex-direction: row-reverse;
	}

	.alternate-row__image,
	.alternate-row__content {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* -------------------------------------------------------
   Upcoming Events Section
   ------------------------------------------------------- */
.events-section {
	position: relative;
	padding-block: clamp(30px, 4vw, 60px);
	text-align: center;
}

.events-section > .container {
	position: relative;
	z-index: 1;
}

.events-section .content-badge {
	right: 30px;
}

.events-section__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3.5vw, 3rem);
	text-transform: uppercase;
	color: var(--color-red);
	text-shadow: -2px 2px 0px var(--color-gold);
	margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

.events-swiper {
	overflow: hidden;
	padding-block-end: 2.5rem;
}

.event-card {
	display: block;
	overflow: hidden;
}

.event-card .event-img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}

.event-card:hover .event-img {
	transform: scale(1.04);
}

.events-swiper .swiper-pagination-bullet {
	background-color: rgba(255, 255, 255, 0.40);
	opacity: 1;
}

.events-swiper .swiper-pagination-bullet-active {
	background-color: var(--color-gold);
}

/* -------------------------------------------------------
   Social Media Section
   ------------------------------------------------------- */
.social-section {
	position: relative;
	overflow: hidden;
	padding-block: clamp(30px, 4vw, 60px);
	text-align: center;
}

.social-section > .container {
	position: relative;
	z-index: 1;
}

.social-section__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3.5vw, 3rem);
	text-transform: uppercase;
	color: var(--color-navy-deep);
	text-shadow: -2px 2px 0px #FFFFFF;
	margin-block-end: 0.5rem;
}

.social-section__subtitle {
	font-family: var(--font-heading);
	font-size: clamp(0.875rem, 1.3vw, 1rem);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.80);
	margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

/* GLightbox — description overlay hidden until content is ready */
.gdesc-inner {
	display: none;
}

/* GLightbox — circular nav arrows, transparent close button */
.glightbox-clean .gnext,
.glightbox-clean .gprev {
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background-color: rgba(0, 0, 0, 0.35) !important;
	box-shadow: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg {
	width: 16px !important;
	height: 16px !important;
}

.glightbox-clean .gclose {
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Swiper — circular nav arrows to match GLightbox style */
.events-swiper .swiper-button-prev,
.events-swiper .swiper-button-next {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.35);
	--swiper-navigation-color: #FFFFFF;
}

.events-swiper .swiper-button-prev::after,
.events-swiper .swiper-button-next::after {
	font-size: 14px;
	font-weight: 600;
}
