/**
 * Schedule Section Block Styles
 * This CSS file is automatically loaded only when the schedule-section block is present on the page.
 */

.schedule-section {
	display: flex;
	width: 100%;
}

/* Left Column */
.schedule-section__left {
	flex: 1;
	background-image: url('/wp-content/uploads/2026/01/Frame-1000002081.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 60px;
}

.gform_title{
	display: none !important;
}

.schedule-section__left-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
}

.schedule-section__image img {
	max-width: 100%;
	height: auto;
}

.schedule-section__title {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 400;
	color: #E4E5E5;
	margin: 0;
}

.schedule-section__subtitle {
	background-color: var(--primary-blue);
	border-radius: 7px;
	padding: 16px 78px;
	font-family: var(--font-heading);
	font-size: 36px;
	font-weight: 400;
	color: var(--primary-white);
}

/* Right Column */
.schedule-section__right {
	flex: 1;
	background-color: var(--primary-white);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 60px;
}

.schedule-section__right-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	max-width: 600px;
}

.schedule-section__form-title {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 400;
	color: var(--primary-blue);
	margin: 0;
}

.schedule-section__form-subtitle {
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: 400;
	color: var(--primary-black);
}

.schedule-section__form-subtitle p {
	margin: 0;
}

.schedule-section__form-subtitle a {
	color: var(--primary-red);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.schedule-section__form-subtitle a:hover {
	color: var(--primary-blue);
}

/* Gravity Forms Styles */
.schedule-section__form .gform_wrapper label,
.schedule-section__form .gform_wrapper .gfield_label {
	font-family: var(--font-content) !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #000 !important;
}

.schedule-section__form .gform_wrapper input[type="text"],
.schedule-section__form .gform_wrapper input[type="email"],
.schedule-section__form .gform_wrapper input[type="tel"],
.schedule-section__form .gform_wrapper input[type="number"],
.schedule-section__form .gform_wrapper input[type="url"],
.schedule-section__form .gform_wrapper textarea,
.schedule-section__form .gform_wrapper select {
	border-radius: 4px !important;
	border: 1.5px solid var(--primary-blue) !important;
	background: rgba(19, 110, 186, 0.05) !important;
	font-family: var(--font-content) !important;
	padding: 12px 16px !important;
}

.schedule-section__form .gform_wrapper input::placeholder,
.schedule-section__form .gform_wrapper textarea::placeholder {
	font-family: var(--font-content) !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: #818181 !important;
}

.schedule-section__form .gform_wrapper input[type="submit"],
.schedule-section__form .gform_wrapper .gform_button,
.schedule-section__form .gform_wrapper button[type="submit"] {
	display: inline-block !important;
	background-color: var(--primary-red) !important;
	border-radius: 7px !important;
	font-family: var(--font-heading) !important;
	color: var(--primary-white) !important;
	padding: 14px 24px !important;
	text-decoration: none !important;
	border: none !important;
	cursor: pointer !important;
	transition: background-color 0.3s ease !important;
	width: 100% !important;
}

.schedule-section__form .gform_wrapper input[type="submit"]:hover,
.schedule-section__form .gform_wrapper .gform_button:hover,
.schedule-section__form .gform_wrapper button[type="submit"]:hover {
	background-color: var(--primary-blue) !important;
	color: var(--primary-white) !important;
}

/* Mobile Button - Hidden on desktop */
.schedule-section__mobile-btn {
	display: none;
	background-color: var(--primary-blue);
	border-radius: 7px;
	font-family: var(--font-heading);
	font-size: 24px;
	color: var(--primary-white);
	padding: 14px 48px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.schedule-section__mobile-btn:hover {
	background-color: var(--primary-red);
}

/* Modal Styles */
.schedule-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.schedule-modal.is-open {
	display: flex;
}

.schedule-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.schedule-modal__content {
	position: relative;
	background-color: var(--primary-white);
	border-radius: 12px;
	max-width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 1;
}

.schedule-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--primary-black);
	padding: 8px;
	transition: opacity 0.3s ease;
}

.schedule-modal__close:hover {
	opacity: 0.7;
}

.schedule-modal__inner {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	border: 2px solid var(--primary-red);
	box-shadow: 0 1.111px 3.333px 0 rgba(0, 0, 0, 0.20);
}

/* Responsive */
@media (max-width: 992px) {
	.schedule-section {
		flex-direction: column;
	}

	.schedule-section__left {
		padding: 60px 0;
	}

	.schedule-section__left-content {
		width: 100%;
	}

	/* Hide right column on mobile */
	.schedule-section__right {
		display: none;
	}

	/* Show mobile button */
	.schedule-section__mobile-btn {
		display: inline-block;
	}

	.schedule-section__title {
		font-size: 36px;
		padding: 0 40px;
	}

	.schedule-section__subtitle {
		font-size: 28px;
		padding: 12px 40px;
		border-radius: 0;
		width: 100%;
		box-sizing: border-box;
	}

	.schedule-section__image {
		padding: 0 40px;
	}

	/* Modal form styles */
	.schedule-modal .schedule-section__form-title {
		font-size: 36px;
	}

	.schedule-modal .schedule-section__form-subtitle {
		font-size: 22px;
	}
}

@media (max-width: 576px) {
	.schedule-section__left {
		padding: 40px 0;
	}

	.schedule-section__title {
		font-size: 28px;
		padding: 0 20px;
	}

	.schedule-section__subtitle {
		font-size: 20px;
		padding: 12px 20px;
	}

	.schedule-section__image {
		padding: 0 20px;
	}

	.schedule-section__mobile-btn {
		font-size: 20px;
		padding: 12px 32px;
	}

	.schedule-modal__inner {
		padding: 30px 20px;
	}

	.schedule-modal .schedule-section__form-title {
		font-size: 28px;
	}

	.schedule-modal .schedule-section__form-subtitle {
		font-size: 18px;
	}

	.schedule-section__form .gform_wrapper label,
	.schedule-section__form .gform_wrapper .gfield_label {
		font-size: 18px !important;
	}
}
