.section {
	position: relative;
	height: 100vh;
}
.section .section-center {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px; /* Ajouter du padding pour un peu d'espace autour */
}

.form-image {
    max-width: 50%; /* L'image occupera toute la largeur disponible */
    height: auto; /* Maintenir le ratio de l'image */
    margin-bottom: 20px; /* Espace entre l'image et les champs de formulaire */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#booking {
	padding-top: 30px;
	font-family: 'Montserrat', sans-serif;
	background-image: url('../image/radissonblue.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#booking::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: rgba(17, 13, 247, 0.384);
}

.booking-form {
	background-color: #fff;
	padding: 50px 20px;
	-webkit-box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
}

.booking-form .form-group {
	position: relative;
	margin-bottom: 30px;
}

.booking-form .form-control {
	background-color: #ebecee;
	border-radius: 4px;
	border: none;
	height: 40px;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #441306;
	font-size: 14px;
}

.booking-form .form-control::-webkit-input-placeholder {
	color: #441306;
}

.booking-form .form-control:-ms-input-placeholder {
	color: #441306;
}

.booking-form .form-control::placeholder {
	color: #441306;
}

.booking-form input[type="date"].form-control:invalid {
	color: #441306;
}

.booking-form select.form-control {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.booking-form select.form-control+.select-arrow {
	position: absolute;
	right: 0px;
	bottom: 4px;
	width: 32px;
	line-height: 32px;
	height: 32px;
	text-align: center;
	pointer-events: none;
	color: #441306;
	font-size: 14px;
}

.booking-form select.form-control+.select-arrow:after {
	content: '\279C';
	display: block;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.booking-form .form-label {
	display: inline-block;
	color: #441306;
	font-weight: 700;
	margin-bottom: 6px;
	margin-left: 7px;
}

.booking-form .submit-btn {
	display: inline-block;
	color: #fff;
	background-color: #1b1ff5;
	font-weight: 700;
	padding: 14px 30px;
	border-radius: 4px;
	border: none;
	-webkit-transition: 0.2s all;
	transition: 0.2s all;
}

.booking-form .submit-btn:hover,
.booking-form .submit-btn:focus {
	opacity: 0.9;
}

.booking-cta {
	margin-top: 80px;
	margin-bottom: 30px;
}

.booking-cta h1 {
	font-size: 52px;
	text-transform: uppercase;
	color: #fff;
	font-weight: 700;
}

.booking-cta p {
	font-size: 16px;
	color:#fff;
}

.booking-cta, .booking-form {
    width: 100%; /* Prendre toute la largeur disponible */
    max-width: 600px; /* Limiter la largeur maximum pour éviter une trop grande extension sur les grands écrans */
}



/* Loader CSS */
.loader {
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3498db;
	width: 120px;
	height: 120px;
	animation: spin 2s linear infinite;
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
  }
  
  @keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
  }
  
  /* Message CSS */
  .message {
	display: none;
	text-align: center;
	margin-top: 20px;
	font-size: 18px;
	color: #333;
  }
  
  /* style.css */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
}

  /* Styles par défaut (desktop) */

/* Styles pour les tablettes */
@media (max-width: 768px) {
    .booking-cta h1 {
        font-size: 36px;
    }

    .booking-cta p {
        font-size: 14px;
    }

    .booking-form {
        padding: 5px 10px;
    }

    .form-group {
        margin-bottom: 20px;
    }
}

/* Styles pour les téléphones */
@media (max-width: 576px) {
    .booking-cta h1 {
        font-size: 28px;
    }

    .booking-cta p {
        font-size: 12px;
    }

    .booking-form {
        padding: 5px 10px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .submit-btn {
        padding: 10px 20px;
    }
}
