/*
Theme Name:   Asata Child
Theme URI:    https://asata.local
Description:  Asata Group — car dealership, business, and investment. Based on Neve.
Author:       Asata
Author URI:   https://asata.local
Template:     neve
Version:      1.8.6
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  neve-child
*/

/* Add custom styles below this line. */

/* =========================================================
   BOOKING PAGE
   ========================================================= */

/* Hero */
.asata-book-hero {
	position: relative;
	background: #050e1c;
	padding: 120px 24px 72px;
	text-align: center;
	overflow: hidden;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
}
.asata-book-hero__cover {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
}
.asata-book-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		110deg,
		rgba(5, 14, 28, 0.88) 0%,
		rgba(5, 14, 28, 0.72) 55%,
		rgba(5, 14, 28, 0.55) 100%
	);
	pointer-events: none;
}
.asata-book-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
}
.asata-book-hero__eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #00c6d7;
	margin-bottom: 16px;
}
.asata-book-hero__title {
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.05;
	color: #fff;
	margin: 0 0 20px;
}
.asata-book-hero__sub {
	font-size: 18px;
	line-height: 1.7;
	color: #b0c0d4;
	margin: 0;
}

/* Body layout */
.asata-book-body {
	background: #f8fafc;
	padding: 64px 24px 80px;
}
.asata-book-body__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 860px) {
	.asata-book-body__inner {
		grid-template-columns: 1fr;
	}
}

/* Sidebar info card */
.asata-book-info__card {
	background: #050e1c;
	border-radius: 16px;
	padding: 36px 28px;
	color: #b0c0d4;
	position: sticky;
	top: 100px;
}
.asata-book-info__heading {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 24px;
}
.asata-book-info__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.6;
}
.asata-book-info__item svg {
	flex-shrink: 0;
	color: #00c6d7;
	margin-top: 2px;
}
.asata-book-info__item a {
	color: #00c6d7;
	text-decoration: none;
}
.asata-book-info__item a:hover { text-decoration: underline; }
.asata-book-info__brands {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 13px;
}
.asata-book-info__brands p {
	color: #7899b4;
	margin: 0 0 10px;
}
.asata-book-info__brands ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.asata-book-info__brands li {
	color: #fff;
	font-weight: 600;
	font-size: 13px;
}
.asata-book-info__brands li::after { content: '·'; margin-left: 10px; color: #2a4a6b; }
.asata-book-info__brands li:last-child::after { display: none; }

/* Form card */
.asata-book-form-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 44px 40px;
}
@media (max-width: 600px) {
	.asata-book-form-card { padding: 28px 20px; }
}
.asata-book-form-card__title {
	font-size: 24px;
	font-weight: 800;
	color: #050e1c;
	margin: 0 0 6px;
}
.asata-book-form-card__sub {
	font-size: 14px;
	color: #94a3b8;
	margin: 0 0 32px;
}

/* Form elements */
.asata-book-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
@media (max-width: 600px) {
	.asata-book-form__row { grid-template-columns: 1fr; }
}
.asata-book-form__group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 22px;
}
.asata-book-form__group label,
.asata-book-form__fieldset legend {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	letter-spacing: .3px;
}
.asata-book-form__group label span,
.asata-book-form__fieldset legend span {
	color: #e53e3e;
	margin-left: 2px;
}
.asata-book-form input[type="text"],
.asata-book-form input[type="email"],
.asata-book-form input[type="tel"],
.asata-book-form input[type="date"],
.asata-book-form select,
.asata-book-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	color: #0f172a;
	background: #f8fafc;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}
.asata-book-form input:focus,
.asata-book-form select:focus,
.asata-book-form textarea:focus {
	border-color: #00c6d7;
	box-shadow: 0 0 0 3px rgba(0,198,215,.15);
	outline: none;
	background: #fff;
}
.asata-book-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}
.asata-book-form textarea { resize: vertical; min-height: 110px; }

.asata-book-form__vehicle-section {
	margin-bottom: 6px;
	padding-top: 4px;
	border-top: 1px solid #e2e8f0;
}

.asata-book-form__hint {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.6;
	color: #64748b;
}

.asata-book-form__checkbox-wrap {
	margin-top: -6px;
}

.asata-book-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #334155;
	cursor: pointer;
}

.asata-book-form__checkbox input {
	margin-top: 3px;
	accent-color: #00c6d7;
}

.asata-book-vehicle-manual,
.asata-book-vehicle-meeting {
	margin-top: 8px;
	padding: 18px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}

.asata-book-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.asata-book-form__captcha-row {
	display: grid;
	grid-template-columns: 1fr 160px;
	gap: 12px;
	align-items: center;
}

@media (max-width: 600px) {
	.asata-book-form__captcha-row {
		grid-template-columns: 1fr;
	}
}

.asata-book-form__captcha-question {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #050e1c;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.asata-book-form input[type="number"] {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	color: #0f172a;
	background: #f8fafc;
	box-sizing: border-box;
}

/* Booking type radio cards */
.asata-book-form__fieldset {
	border: none;
	padding: 0;
	margin: 0 0 22px;
}
.asata-book-form__fieldset legend {
	margin-bottom: 12px;
}
.asata-book-form__radio-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (max-width: 500px) {
	.asata-book-form__radio-grid { grid-template-columns: 1fr; }
}
.asata-book-form__radio-card {
	cursor: pointer;
}
.asata-book-form__radio-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
}
.asata-book-form__radio-card-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.asata-book-form__radio-card-inner svg {
	color: #94a3b8;
	margin-bottom: 4px;
	transition: color .15s;
}
.asata-book-form__radio-card-inner strong {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	display: block;
}
.asata-book-form__radio-card-inner small {
	font-size: 12px;
	color: #64748b;
}
.asata-book-form__radio-card input:checked + .asata-book-form__radio-card-inner {
	border-color: #00c6d7;
	background: #f0fdff;
	box-shadow: 0 0 0 3px rgba(0,198,215,.12);
}
.asata-book-form__radio-card input:checked + .asata-book-form__radio-card-inner svg {
	color: #00c6d7;
}
.asata-book-form__radio-card:hover .asata-book-form__radio-card-inner {
	border-color: #00c6d7;
}

/* Submit button */
.asata-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	background: #050e1c;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, transform .1s;
}
.asata-btn:hover { background: #00c6d7; color: #050e1c !important; }
.asata-btn:active { transform: scale(.98); }
.asata-btn--full { width: 100%; }
.asata-book-form__privacy {
	font-size: 12px;
	color: #94a3b8;
	margin-top: 14px;
	text-align: center;
}

/* Success / error states */
.asata-book-success,
.asata-book-error {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 60px 40px;
	text-align: center;
	margin-bottom: 24px;
}
.asata-book-success { border-color: #00c6d7; }
.asata-book-error   { border-color: #e53e3e; }
.asata-book-success__icon { margin-bottom: 20px; }
.asata-book-success h2 {
	font-size: 24px;
	font-weight: 800;
	color: #050e1c;
	margin: 0 0 12px;
}
.asata-book-success__ref {
	background: #f0fdff;
	display: inline-block;
	padding: 8px 20px;
	border-radius: 6px;
	font-size: 15px;
	color: #0f172a;
	margin: 0 0 16px;
}
.asata-book-success p,
.asata-book-error p {
	font-size: 15px;
	line-height: 1.7;
	color: #64748b;
	margin: 0 0 24px;
}
.asata-book-success .asata-btn { margin-top: 8px; }

/* =========================================================
   Ensure dark Asata buttons always show white legible text */
.wp-block-button__link.has-link-color[style*="background-color:#050e1c"],
.wp-block-button__link[style*="background-color:#050e1c"] {
	color: #ffffff !important;
}
.wp-block-button__link.has-link-color[style*="background-color:#050e1c"]:hover,
.wp-block-button__link[style*="background-color:#050e1c"]:hover {
	color: #00c6d7 !important;
}

/* Book page uses a custom hero — hide Neve's default cover header */
.page-id-110 .nv-post-cover {
	display: none !important;
}
