/* ==========================================================================
   Hero Section
   ========================================================================== */
section.hero-section {
	padding-top: 0px;
	margin-top: 79px;
	position: relative;
	width: 100%;
	max-height: 472px;
	overflow: hidden;
}

.hero-image {
	width: 100%;
	max-width: 1390px;
	height: 472px;
	position: relative;
	margin: 0 auto;
	z-index: 2;
}

.hero-image picture {
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
}

.hero-image picture img.hero-car-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1390/472;
	position: relative;
	z-index: 2;
}

.hero-image picture::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%) scale(1.1);
	width: 100vw;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: blur(10px) brightness(0.8);
	z-index: 1;
}

.hero-image picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	aspect-ratio: 1390/472;
}

.hero-image picture img.hero-car-image::after {
	content: '';
	position: absolute;
	inset: 0;
	width: 100vw;
	height: 100%;
	background: inherit;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	filter: blur(10px) brightness(0.8);
	z-index: 1;
	transform: scale(1.1);
	left: 50%;
	transform: translateX(-50%) scale(1.1);
}

.hero-text {
	padding: 60px 0;
}

.hero-text h1 {
	font-size: clamp(1.5rem, 3.5vw, 2.5rem);
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
}

/* ==========================================================================
   Event Info Section
   ========================================================================== */

.event-info-section {
	padding: 0;
}

.event-info {
	position: relative;
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;

	border-radius: 16px;
	border: 3px solid #969696;
	background: #FFF;
	box-shadow: 0px 4px 16px 0px #B2B2B2;
}

.event-info-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.event-info-content > div {
	width: 100%;
	height: 100%;
}

.event-info-content .event-info-image {
	width: 40%;
	background-color: #DADADA;
	padding: 20px;
}

.event-info-content .event-info-text {
	width: 60%;
	padding: 0px 20px;
}

.event-info-content .event-info-text ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.event-info-content .event-info-text ul li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.event-info-content .event-info-text ul li i {
	width: 28px;
	height: 28px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.event-info-content .event-info-text ul li i.date-icon {
	background-image: url('../../images/svg/event-test-drive-date.svg');
}

.event-info-content .event-info-text ul li i.location-icon {
	background-image: url('../../images/svg/event-test-drive-location.svg');
}

.event-info-content .event-info-text ul li i.time-icon {
	background-image: url('../../images/svg/event-test-drive-time.svg');
}

.event-info-content .event-info-text ul li span {
	font-size: clamp(1rem, 2vw, 1.625rem);
	color: #666;
	font-weight: 500;
	line-height: 2;
}



.event-info-deco-red {
	height: 11px;
	width: 100%;
	background: #E40521;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    min-height: 500px;
}

.contact .container.contact-form {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* Contact Text */

.event-form-title {
	font-size: clamp(1.25rem, 3vw, 1.625rem);
	font-style: normal;
	font-weight: 500;
	margin-bottom: 20px;
	text-align: center;
	width: 100%;
}

.contact .contact-subtitle {
    margin-bottom: 20px;
}

.contact .contact-subtitle,
.contact .contact-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.contact .contact-description b {
    font-weight: 700;
}

/* Contact Form */
.contact .contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 25px;
    margin: 5px auto;
    width: 100%;
}

/* Form Rows */
.contact .contact-form .row-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 23px;
    width: 100%;
}

.contact .contact-form .row-form.schedule {
    justify-content: center;
    margin-top: 20px;
    align-items: center;
}

.row-form p {
    color: #666666;
    margin-bottom: 5px;
}

/* Form Inputs */
.contact .contact-form .row-form .input {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid #666;
    padding: 16px;
    background: transparent;
    color: var(--text-grey);
	font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.contact .contact-form .row-form select {
	font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.contact .contact-form .input::placeholder {
    color: #666;
}

.contact .contact-form .input[required]::placeholder {
    position: relative;
}

.contact .contact-form .input[required]::placeholder::after {
    content: " *";
    color: red;
}

/* Input Containers */
.contact .contact-form .row-form .input-container {
    position: relative;
}

.contact .contact-form .row-form .input-container .input-error {
    position: absolute;
    bottom: -22px;
    left: 0;
    color: red;
    font-size: clamp(0.625rem, 1vw, 0.75rem);
}

.contact .contact-form .row-form .input-container.large {
    flex: 1;
}

.contact .contact-form .row-form .input-container.small {
    flex: 0.5;
}

/* Terms Checkbox */
.terms-checkbox-container {
    display: flex;
	flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.terms-checkbox-container label {
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 500;
	color: #666;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
}

.terms-checkbox-container label a {
	color: var(--chery-red);
	transition: all 0.3s ease;
	text-decoration: none;
}

.terms-checkbox-container label a:hover {
	text-decoration: underline;
}

.terms-checkbox-container input[type="checkbox"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: relative;
	width: 20px;
	height: 20px;
	border: 1px solid #666;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.terms-checkbox-container input[type="checkbox"]:hover {
	border-color: var(--chery-red);
	transform: scale(1.2);
}

.terms-checkbox-container input[type="checkbox"]:checked {
	background: var(--chery-red);
	border: 1px solid var(--chery-red);
	transform: scale(1.2);
}

.terms-checkbox-container input[type="checkbox"]:checked:before {
	content: "✓";
	color: white;
	font-size: clamp(0.875rem, 1.5vw, 1rem);
	font-weight: 700;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.terms-checkbox-container .input-error {
	color: red;
    font-size: clamp(0.625rem, 1vw, 0.75rem);
}



/* Submit Button */
.contact .contact-form .btn-submit {
    background: var(--chery-red);
    color: white;
    border: none;
    padding: 12px 100px;
    border-radius: 30px;
    cursor: pointer;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact .contact-form .btn-submit:hover {
    background: #C9433F;
    color: white;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (width <= 768px) {
    /* Hero Section */
    section.hero-section {
        max-height: 400px;
    }

    .hero-image {
        height: 400px;
    }

    .hero-text {
        padding: 30px 0;
    }

    .hero-image picture img.hero-car-image {
        aspect-ratio: 768/400;
    }

    /* Contact Section */
    .contact .contact-form .row-form {
        flex-direction: column;
    }

    .contact .contact-form .row-form .input-container.large,
    .contact .contact-form .row-form .input-container.small {
        width: 100%;
    }
}

@media screen and (width <= 650px) {
	.event-info {
		max-width: 400px;
	}

	.event-info-content {
		flex-direction: column;
	}

	.event-info-content > div {
		width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.event-info-content .event-info-image {
		width: 100%;
		padding-bottom: 0;
	}

	.event-info-content .event-info-image img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: center;
		margin-bottom: -35px;
	}

	.event-info-content .event-info-text {
		padding-top: 35px;
		padding-bottom: 25px;
		width: 100%;
	}
}

@media screen and (width <= 599px) {
    /* Contact Section */
    .contact .contact-form .row-form {
        flex-direction: column;
    }

    .contact .contact-form .row-form .input-container.large,
    .contact .contact-form .row-form .input-container.small {
        width: 100%;
    }
}

@media screen and (width <= 480px) {
    /* Hero Section */
    section.hero-section {
        max-height: 300px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-text {
        padding: 20px 0;
    }

    .hero-text h1 {
        margin-bottom: 15px;
        font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    }

    .hero-image picture img.hero-car-image {
        aspect-ratio: 480/300;
    }
}

@media screen and (width <= 359px) {
    /* Contact Section */
    .contact .contact-form .row-form {
        flex-direction: column;
    }

    .contact .contact-form .row-form .input-container.large,
    .contact .contact-form .row-form .input-container.small {
        width: 100%;
    }
}




