/* ==========================================================================
   Booking Page — "Book Your Shoot"
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Montserrat:ital,wght@0,600;0,700;0,800;0,900&display=swap');

:root {
	--booking-red: #e11d1d;
	--booking-red-dark: #b91414;
	--booking-black: #14100f;
	--booking-ink: #1a1a1a;
	--booking-muted: #6b6b6b;
	--booking-border: #e4e2e0;
	--booking-radius-lg: 28px;
	--booking-radius-md: 14px;
}

html.deepak-booking-page,
body.deepak-booking-page {
	margin: 0;
	padding: 0;
	background: #efece9;
	font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
	color: var(--booking-ink);
	-webkit-font-smoothing: antialiased;
}

body.deepak-booking-page * {
	box-sizing: border-box;
}

body.deepak-booking-page img {
	max-width: 100%;
	display: block;
}

.booking-page-wrap {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
}

.booking-card {
	position: relative;
	width: 100%;
	max-width: 1000px;
	background: #ffffff;
	border-radius: var(--booking-radius-lg);
	box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.06);
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.booking-back-link {
	position: absolute;
	top: 18px;
	right: 20px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--booking-ink);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.85);
	padding: 8px 14px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: background 0.2s ease, color 0.2s ease;
}

.booking-back-link:hover {
	background: var(--booking-red);
	color: #fff;
}

/* ---- Left brand panel ---- */

.booking-card__brand {
	padding: 44px 40px 36px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.booking-brand__logo img {
	width: 150px;
	height: auto;
	margin-bottom: 18px;
}

.booking-brand__headline {
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1.05;
	letter-spacing: -0.5px;
	color: var(--booking-black);
	margin: 0 0 6px;
	text-transform: uppercase;
}

.booking-brand__headline span {
	color: var(--booking-red);
}

.booking-brand__script {
	font-family: 'Caveat', cursive;
	font-size: 32px;
	font-weight: 700;
	color: var(--booking-ink);
	margin: 0;
	line-height: 1;
}

.booking-brand__highlight {
	margin: 6px 0 20px;
}

.booking-brand__highlight span {
	display: inline-block;
	background: linear-gradient(100deg, var(--booking-red) 0%, var(--booking-red-dark) 100%);
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.5px;
	padding: 6px 14px;
	border-radius: 4px 14px 4px 14px;
	transform: rotate(-1.5deg);
}

.booking-brand__visual {
	position: relative;
	width: 100%;
	border-radius: 20px;
	background-image: url('../images/booking-camera-photo.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #100d0c;
	overflow: hidden;
	flex: 1;
	min-height: 190px;
}

.booking-brand__features {
	list-style: none;
	margin: 20px 0 0;
	padding: 14px 6px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	width: 100%;
	background: var(--booking-black);
	border-radius: 14px;
}

.booking-brand__features li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	padding: 6px 4px;
}

.booking-brand__features .feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(225, 29, 29, 0.18);
	color: var(--booking-red);
}

/* ---- Right form panel ---- */

.booking-card__form {
	padding: 44px 40px 36px;
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.booking-form__heading {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: clamp(22px, 3vw, 27px);
	line-height: 1.25;
	margin: 0 0 12px;
	color: var(--booking-black);
	text-transform: uppercase;
}

.booking-form__heading span {
	color: var(--booking-red);
}

.booking-form__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.booking-form__divider span {
	flex: 1;
	height: 1px;
	background: var(--booking-border);
}

.booking-form__intro {
	color: var(--booking-muted);
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0 0 26px;
}

/* ---- Contact Form 7 styling ---- */

.booking-form__cf7 .wpcf7-form {
	display: block;
}

/* CF7 auto-wraps every tag in a <p> (wpautop); reset its default browser
   margin so it doesn't add extra height on top of .booking-field's own
   spacing (that stray margin was also throwing off the absolutely
   positioned field icons, which anchor to this wrapper's height). */
.booking-form__cf7 .wpcf7-form p {
	margin: 0;
}

.booking-field {
	margin-bottom: 20px;
}

.booking-field label,
.booking-field .booking-field__label {
	display: block;
	font-weight: 700;
	font-size: 13.5px;
	color: var(--booking-ink);
	margin-bottom: 8px;
}

.booking-field label .req-star {
	color: var(--booking-red);
}

.booking-input-wrap {
	position: relative;
}

.booking-input-wrap .field-icon {
	position: absolute;
	left: 15px;
	/* Fixed to half the input's own 52px height (not 50% of the wrapper),
	   so the icon stays centered on the input itself instead of drifting
	   down when CF7 appends a "Please fill out this field" tip below it
	   and grows the wrapper's total height. */
	top: 26px;
	transform: translateY(-50%);
	display: inline-flex;
	color: #9a9a9a;
	pointer-events: none;
	z-index: 2;
}

.booking-input-wrap .field-icon.whatsapp-icon {
	color: #25d366;
}

.booking-form__cf7 input.wpcf7-form-control[type="text"],
.booking-form__cf7 input.wpcf7-form-control[type="tel"],
.booking-form__cf7 input.wpcf7-form-control[type="email"],
.booking-form__cf7 select.wpcf7-form-control {
	width: 100%;
	height: 52px;
	border: 1.5px solid var(--booking-border);
	border-radius: var(--booking-radius-md);
	background: #fff;
	/* !important: CF7 injects its own inline "input.wpcf7-form-control" rule
	   with matching specificity, so plain cascade order isn't reliable here
	   and the icon layout depends on this exact left padding. */
	padding: 0 16px 0 46px !important;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--booking-ink);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.booking-form__cf7 input[type="text"]:focus,
.booking-form__cf7 input[type="tel"]:focus,
.booking-form__cf7 select:focus {
	border-color: var(--booking-red);
	box-shadow: 0 0 0 4px rgba(225, 29, 29, 0.12);
}

.booking-form__cf7 input::placeholder {
	color: #a3a3a3;
}

/* Native select kept accessible + functional; visually replaced by custom dropdown once JS enhances it */
.booking-occasion-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
}

/* CF7 wraps the native select (and its validation tip) in a <p>; push it
   after the custom button so the error message lines up under the field
   like the other inputs. */
.booking-occasion-wrap > p {
	order: 2;
	margin: 0;
}

.booking-occasion__button {
	order: 1;
}

.booking-form__cf7 select#occasion {
	padding-left: 16px;
	padding-right: 40px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}

.booking-occasion-wrap.js-enhanced select#occasion {
	display: none;
}

.booking-occasion__button {
	display: none;
	width: 100%;
	height: 52px;
	align-items: center;
	justify-content: space-between;
	border: 1.5px solid var(--booking-border);
	border-radius: var(--booking-radius-md);
	background: #fff;
	padding: 0 16px;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--booking-ink);
	cursor: pointer;
}

.booking-occasion-wrap.js-enhanced .booking-occasion__button {
	display: flex;
}

.booking-occasion__button.is-open,
.booking-occasion__button:focus-visible {
	border-color: var(--booking-red);
	box-shadow: 0 0 0 4px rgba(225, 29, 29, 0.12);
	outline: none;
}

/* The theme applies a global dark background + white text to every
   <button> on hover/focus; override it here so the field stays white
   with a red border like the rest of the inputs. */
.booking-occasion__button:hover,
.booking-occasion__button:focus,
.booking-occasion__button.is-open {
	background: #fff !important;
	color: var(--booking-ink) !important;
	border-color: var(--booking-red);
}

.booking-occasion__button:hover .booking-occasion__button-label,
.booking-occasion__button:focus .booking-occasion__button-label {
	color: var(--booking-ink);
}

.booking-occasion__button:hover .booking-occasion__button-label.is-placeholder,
.booking-occasion__button:focus .booking-occasion__button-label.is-placeholder {
	color: #a3a3a3;
}

.booking-occasion__button-label {
	color: var(--booking-ink);
	display: flex;
	align-items: center;
	gap: 10px;
}

.booking-occasion__button-label.is-placeholder {
	color: #a3a3a3;
}

.booking-occasion__button svg {
	flex-shrink: 0;
	transition: transform 0.2s ease;
	color: #555;
}

.booking-occasion__button.is-open svg {
	transform: rotate(180deg);
}

.booking-occasion__list {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	margin: 0;
	padding: 0;
	list-style: none;
	width: auto;
	background: #fff;
	border: 1px solid var(--booking-border);
	border-radius: var(--booking-radius-md);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
	overflow: hidden;
	z-index: 20;
	max-height: 260px;
	overflow-y: auto;
}

.booking-occasion__option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 12px 16px;
	font-size: 14.5px;
	cursor: pointer;
	color: var(--booking-ink);
}

.option-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(225, 29, 29, 0.1);
	color: var(--booking-red);
}

.option-icon svg {
	width: 15px;
	height: 15px;
}

.booking-occasion__button-label .option-icon {
	width: 22px;
	height: 22px;
}

.booking-occasion__button-label .option-icon svg {
	width: 13px;
	height: 13px;
}

.booking-occasion__option:hover,
.booking-occasion__option.is-active {
	background: #fbeaea;
}

/* Submit button */

.booking-form__cf7 input[type="submit"] {
	width: 100%;
	height: 54px;
	border: 0;
	border-radius: 999px;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'%3E%3C/rect%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3Cline x1='8' y1='3' x2='8' y2='7'%3E%3C/line%3E%3Cline x1='16' y1='3' x2='16' y2='7'%3E%3C/line%3E%3C/svg%3E"),
		linear-gradient(100deg, var(--booking-red) 0%, var(--booking-red-dark) 100%);
	background-repeat: no-repeat;
	background-position: center left 28px, 0 0;
	background-size: 18px, auto;
	text-indent: 14px;
	color: #fff;
	font-family: inherit;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.4px;
	cursor: pointer;
	margin-top: 4px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	box-shadow: 0 10px 24px -6px rgba(225, 29, 29, 0.55);
}

.booking-form__cf7 input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -6px rgba(225, 29, 29, 0.6);
}

.booking-form__cf7 input[type="submit"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.booking-form__cf7 .wpcf7-spinner {
	display: block;
	margin: 10px auto 0;
}

.booking-form__cf7 .wpcf7-not-valid-tip {
	color: var(--booking-red);
	font-size: 12.5px;
	font-weight: 600;
	margin-top: 6px;
}

.booking-form__cf7 .wpcf7-response-output {
	border-radius: var(--booking-radius-md) !important;
	font-size: 13.5px;
	margin: 18px 0 0 !important;
}

.booking-form__safe {
	display: flex;
	align-items: center;
	gap: 7px;
	justify-content: center;
	margin: 18px 0 0;
	color: var(--booking-muted);
	font-size: 12.5px;
}

.booking-form__missing {
	background: #fbeaea;
	color: var(--booking-red-dark);
	border-radius: var(--booking-radius-md);
	padding: 16px;
	font-size: 14px;
}

/* WhatsApp follow-up call to action, injected after a successful submission */

.booking-whatsapp-cta {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
	padding: 14px 18px;
	border-radius: var(--booking-radius-md);
	background: #e9fbf1;
	border: 1px solid #bdeccf;
	color: #128a3e;
	font-weight: 700;
	font-size: 13.5px;
	text-decoration: none;
}

.booking-whatsapp-cta.is-visible {
	display: inline-flex;
}

.booking-whatsapp-cta svg {
	flex-shrink: 0;
}

/* ---- Responsive ---- */

@media (max-width: 860px) {
	.booking-card {
		grid-template-columns: 1fr;
		max-width: 460px;
	}

	.booking-card__brand {
		padding: 60px 28px 30px;
	}

	.booking-card__form {
		padding: 30px 28px 34px;
	}

	.booking-brand__visual {
		min-height: 150px;
	}
}

@media (max-width: 480px) {
	.booking-page-wrap {
		padding: 0;
	}

	.booking-card {
		max-width: 100%;
		border-radius: 0;
		min-height: 100vh;
	}

	.booking-card__brand {
		padding: 56px 20px 24px;
	}

	.booking-card__form {
		padding: 24px 20px 30px;
	}

	.booking-brand__features {
		grid-template-columns: repeat(2, 1fr);
	}
}
