/**
 * Canada Dry Page Template Styles
 *
 * Design System Reference: CBX-DESIGN-SYSTEM.md
 * Colors: #142916 (dark green), #F5D22B (gold), #ffffff (white)
 */

/* ============================================
   HERO SECTION - CANADA DRY
   ============================================ */

.hero-canada-dry {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background-color: #142916;
	background-image: url("../img/CanadaDryBG.jpg");
	background-size: cover;
	background-position: center left 100%;
	background-repeat: no-repeat;
	padding: 0;
}

.hero-canada-dry__content {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 60px;
	width: 100%;
}

.hero-canada-dry__text {
	max-width: 60%;
}

.hero-canada-dry__subheading {
	font-weight: 400;
	font-size: clamp(1.25rem, 3vw, 2.5rem);
	line-height: 1.3;
	letter-spacing: 0;
	color: #ffffff;
	margin: 0 0 0.75rem 0;
}

.hero-canada-dry__title {
	font-weight: 800;
	font-size: clamp(1.9rem, 5vw, 4.5rem);
	line-height: 1.15;
	letter-spacing: 0;
	color: #ffffff;
	margin: 0 0 10% 0;
	text-transform: none;
}

.hero-canada-dry__button {
	display: inline-block;
	padding: 0.875em 1.5em;
	background-color: #f5d22b;
	color: #142916;
	font-weight: 500;
	font-size: clamp(0.875rem, calc(0.5vw + 0.75rem), 1.125rem);
	line-height: 1.5;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 3px solid transparent;
	border-radius: 28.96px;
	border-radius: 0;
	transition: all 0.5s cubic-bezier(0.42, 0, 0, 0.995);
	cursor: pointer;
}

.hero-canada-dry__button:hover {
	background-color: #142916;
	border-color: #f5d22b;
	color: #f5d22b;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-canada-dry__button:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (min-height: 960px) and (max-height: 1200px) and (min-width: 1616px) {
	.hero-canada-dry {
		background-position: center left 70%;
	}
	.hero-canada-dry__text {
		max-width: 60%;
	}
}
@media (max-width: 1850px) {
	.hero-canada-dry {
		background-position: center left 100%;
	}
}
@media (max-width: 1600px) {
	.hero-canada-dry {
		background-position: center left 80%;
	}
}
@media (max-width: 1500px) {
	.hero-canada-dry {
		background-position: center left 70%;
	}
}
@media (max-width: 1300px) {
	.hero-canada-dry {
		background-position: center left 60%;
	}
}
@media (min-height: 980px) {
	.hero-canada-dry {
		background-position: center left 80%;
	}
	.hero-canada-dry__text {
		max-width: 60%;
	}
}
@media (max-width: 1850px) and (min-height: 980px) {
	.hero-canada-dry {
		background-position: center left 60%;
	}
}
@media (max-width: 1240px) {
	.hero-canada-dry {
		background-image: url("../img/CanadarDryMobileBG.jpg");
		min-height: auto;
		padding: 160px 0 80px;
	}
	.hero-canada-dry__text {
		width: 100%;
		max-width: 100%;
	}
	.hero-canada-dry__title {
		font-size: clamp(1.9rem, 9vw, 4.5rem);
	}
	.hero-canada-dry__subheading {
		font-size: clamp(1.25rem, 6vw, 2.8rem);
	}
}
@media (max-width: 768px) {
	.hero-canada-dry .container {
		padding: 0 15px;
	}

	.hero-canada-dry__button {
		padding: 0.75em 1em;
	}
}

@media (min-width: 1600px) {
	.hero-canada-dry .container {
		padding-top: 160px;
		padding-bottom: 100px;
	}
}

/* ============================================
   CONTENT SECTIONS - REUSABLE COMPONENTS
   ============================================ */

.content-section__wrapper {
	max-width: 1205px;
	margin: 0 auto;
}

.content-section {
	padding: 60px 0;
}

.content-section__eyebrow {
	font-weight: 500;
	font-size: 1.6rem;
	line-height: 1.4;
	text-transform: uppercase;
	color: #000000;
	margin-bottom: 0.5rem;
}

.content-section__heading {
	font-weight: 600;
	font-size: 50px;
	line-height: 1.4;
	margin-bottom: 0.6em;
}

.content-section__body {
	font-weight: 300;
	font-size: 24px;
	line-height: 1.4;
	padding-left: 5.5%;
	padding-right: 5%;
}

.content-section__body p {
	margin-bottom: 1.5rem;
}

.content-section__body p:last-child {
	margin-bottom: 0;
}

.content-section__body strong {
	font-weight: 600;
}

.content-section__body em {
	font-style: italic;
	font-weight: 400;
}

@media (max-width: 768px) {
	.content-section {
		padding: 40px 0;
	}
	.content-section__eyebrow {
		font-size: 1.2rem;
		margin-bottom: 0.3rem;
	}
	.content-section__body {
		padding-right: 0;
		padding-left: 0;
	}
	.content-section__heading {
		font-size: 30px;
		margin-bottom: 1rem;
	}
	.content-section__body {
		font-size: 20px;
		padding-left: 0;
		padding-right: 0;
	}
	.content-section__body p {
		margin-bottom: 1rem;
	}
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.video-section__wrapper {
	max-width: 1205px;
	margin: 0 auto;
	padding-bottom: 40px;
}

.video-section--full-bleed .video-section__wrapper {
	max-width: 100%;
	margin: 0;
	padding-bottom: 0;
}

.video-section__container {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background-color: #000000;
}

.video-section__video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background-color: #000000;
	z-index: 1;
}

@media (max-width: 768px) {
	.video-section__wrapper {
		padding-bottom: 20px;
	}
	.video-section--full-bleed .video-section__wrapper {
		padding-bottom: 0;
	}
}

/* ============================================
   2-COLUMN IMAGE SECTION
   ============================================ */

.image-column-section {
	padding-bottom: 40px;
	width: 100%;
}

.image-column-section__wrapper {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
}

.image-column-section__col {
	width: 100%;
}

.image-column-section__image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

@media (max-width: 768px) {
	.image-column-section {
		padding-bottom: 20px;
	}
	.image-column-section__wrapper {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* ============================================
   SINGLE IMAGE SECTION
   ============================================ */

.single-image-section {
	padding-bottom: 40px;
}

.single-image-section .container {
	max-width: 1205px;
	margin: 0 auto;
}

.single-image-section__picture,
.single-image-section__image {
	width: 100%;
	display: block;
}

.single-image-section__image {
	height: auto;
	object-fit: contain;
}

@media (max-width: 768px) {
	.single-image-section {
		padding-bottom: 20px;
	}
}

/* ============================================
   FULL BLEED IMAGE SECTION
   ============================================ */

.full-bleed-image-section {
	padding-bottom: 40px;
	width: 100%;
}

.full-bleed-image-section__picture,
.full-bleed-image-section__image {
	display: block;
	width: 100%;
}

.full-bleed-image-section__image {
	height: auto;
	object-fit: cover;
}

@media (max-width: 768px) {
	.full-bleed-image-section {
		padding-bottom: 20px;
	}
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.hero-canada-dry__button:focus {
	outline: 3px solid #ffffff;
	outline-offset: 4px;
}

.video-section__video:focus {
	outline: 3px solid #f5d22b;
	outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.hero-canada-dry__button {
		transition: none;
	}

	.hero-canada-dry__button:hover {
		transform: none;
	}
}

@media (prefers-contrast: high) {
	.hero-canada-dry__button {
		border: 3px solid #142916;
	}
}

/* ============================================
   SCROLL ARROW
   ============================================ */

.scroll-arrow {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(20, 41, 22, 0.85);
	border: 2px solid #ffffff;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	padding: 0px;
	z-index: 2;
	animation: jump 2s ease-in-out infinite;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	width: 55px;
	height: 55px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.scroll-arrow:hover {
	background: rgba(20, 41, 22, 0.95);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.scroll-arrow:focus {
	outline: none;
}

@keyframes jump {
	0%,
	100% {
		transform: translateX(-50%) translateY(0);
	}
	50% {
		transform: translateX(-50%) translateY(-15px);
	}
}

@media (max-width: 1240px) {
	.scroll-arrow {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scroll-arrow {
		animation: none;
	}
}
