/* ==========================================================================
   BOOK IT LANDING PAGE
   Uses the theme's existing .container / .button classes for width,
   spacing, fonts, and colors — only new section-specific rules live here.
   Update the placeholder colors marked below to match your exact brand hex values.
   ========================================================================== */

/* ---- HERO ---- */
#book-it-hero {
	position: relative;
	height: 400px;
	margin-top: 100px;
}

#book-it-hero .background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#book-it-hero .image-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#book-it-hero .foreground {
	position: relative;
	height: 100%;
	z-index: 2;
}

#book-it-hero .inner.v-align {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

#book-it-hero .stamp-lockup img {
	width: 530px;
	height: auto;
	display: block;
	image-rendering: crisp-edges;
}

#book-it-hero .torn-edge {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px; /* match your torn-paper PNG's actual height */
	background-image: url('https://bardenay.com/wp-content/uploads/2026/07/torn-paper-edge-01.png');
	background-repeat: repeat-x;
	background-position: bottom center;
	background-size: auto 100%;
	z-index: 3;
	pointer-events: none;
}

/* ---- SAVE YOUR SEAT ---- */
#book-it-intro {
	background-color: #CBC0AE;
	background-image: url('https://bardenay.com/wp-content/uploads/2026/07/Bardenay-paper-background-texture.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 160px 0 0 0;
	position: relative;
}

#book-it-intro .inner.v-align {
	display: flex;
	align-items: end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

#book-it-intro .text {
	flex: 1 1 auto;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

#book-it-intro .text h1 {
	margin-bottom: 8px;
	font-size: 60px;
	font-weight:600;
	letter-spacing:-2px;
}

#book-it-intro .text .subtext {
	margin-bottom: 32px;
	font-family: Fraunces, serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 34px;
	letter-spacing: -0.5px;
}

#book-it-intro .badge {
	flex: 0 0 auto;
	width: 160px;
	position: absolute;
	top: 67%;
	right: 40px;
	transform: translateY(-50%);
	z-index: 2;
}

#book-it-intro .badge img {
	width: 100%;
	height: auto;
	display: block;
	image-rendering: crisp-edges;
}

/* ---- CONTENT WITH IMAGE (shared by both content sections) ---- */
.book-it-content-with-image {
	position: relative;
	margin: 0;
}

.book-it-content-with-image .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.book-it-content-with-image .image {
	padding: 0;
	width: 50%;
}

.book-it-content-with-image .image img {
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
	display: block;
}

.book-it-content-with-image .content {
	display: flex;
	align-items: center;
	width: 50%;
}

.book-it-content-with-image h2 {
	font-weight: 600;
	font-size: 26px;
	line-height: 30px;
}

.book-it-content-with-image .content .inner {
	padding: 60px 8%;
	max-width: 600px;
	margin: 0 auto;
}

.book-it-content-with-image.reverse .row {
	flex-direction: row-reverse;
}

/* ---- CTA ---- */
#book-it-cta-band {
	background-color: #606060;
	padding: 100px 0;
	text-align: center;
	position: relative;
	margin: -7px 0 0 0;
}

#book-it-cta-band h2 {
	color: #ffffff;
	margin-bottom: 24px;
	font-weight: 600;
	font-size: 36px;
	line-height: 38px;
}

#book-it-cta-band .button.white {
	border: 2px solid transparent; /* reserves space so the hover border doesn't shift the button's size */
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
 
#book-it-cta-band .button.white:hover {
	background-color: transparent;
	border-color: #ffffff;
	color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE
   Matches the same breakpoint pattern used across the theme's other
   .css/parts files — adjust the max-width value if yours differs.
   ========================================================================== */
@media (max-width: 767px) {

	#book-it-hero {
		height: 200px;
	}

	#book-it-hero .stamp-lockup img {
		width: 320px;
	}

	#book-it-intro {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 50px 20px;
	}

	#book-it-intro .container {
		width: 100%;
		padding: 125px 0 0 0;
	}

	#book-it-intro h1 {
		font-size: 50px!important;
		line-height: 52px;
		letter-spacing: -1px;
		margin-bottom: 12px;
	}

	#book-it-intro .text .subtext {
		font-size: 26px;
		line-height: 32px;
	}

	#book-it-intro .badge {
		position: static;
		transform: none;
		width: 150px;
		margin-top: -80px;
		margin-bottom: -15px;
	}

	#book-it-intro .inner.v-align {
		text-align: center;
	}

	.book-it-content-with-image .row {
		flex-direction: column !important;
	}

		.book-it-content-with-image .image {
		order: 1;
	}
 
	.book-it-content-with-image .content {
		order: 2;
	}

		.book-it-content-with-image .image,
	.book-it-content-with-image .content {
		width: 100%;
	}
 
	.book-it-content-with-image .image img {
		min-height: 260px;
	}


	.book-it-content-with-image .content .inner {
		padding: 40px 20px;
		max-width: 100%;
	}

	#book-it-cta-band {
		padding: 40px 20px 50px 20px;
	}
}
