/* ===============================================
   FORMULARIO DE RESERVA - ESTILOS COMPLETAMENTE NUEVOS
   =============================================== */

/* Contenedor principal del formulario */
#contact .getinTouch {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
}

.contactForm {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	padding: 40px;
	margin: 0 auto;
	max-width: 600px;
	width: 100%;
	position: relative;
	overflow: visible;
}

.contactForm::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #ff6b35, #ff8c5a, #ff6b35);
	border-radius: 14px;
	z-index: -1;
}

/* Layout del formulario - Una sola columna */
.contactForm form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

/* Espaciado entre elementos */
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"] {
	margin-bottom: 20px;
}

#reservationDetails {
	margin-bottom: 20px;
}

#textArea {
	margin-bottom: 20px;
	width: 100%;
}

/* Estilos para todos los inputs */
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"],
.contactForm textarea,
#reservationDetails select {
	width: 100% !important;
	max-width: 100% !important;
	padding: 16px 20px !important;
	border: 2px solid #e8e8e8 !important;
	border-radius: 8px !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 15px !important;
	color: #333 !important;
	background: #ffffff !important;
	transition: all 0.3s ease !important;
	box-sizing: border-box !important;
	margin-bottom: 0 !important;
}

.contactForm input[type="text"]:focus,
.contactForm input[type="email"]:focus,
.contactForm input[type="tel"]:focus,
.contactForm textarea:focus,
#reservationDetails select:focus {
	border-color: #ff6b35 !important;
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
	outline: none !important;
	background: #fefefe !important;
}

/* Altura específica para inputs */
.contactForm input[type="text"],
.contactForm input[type="email"],
.contactForm input[type="tel"] {
	height: 56px !important;
}

/* Textarea específico */
.contactForm textarea {
	height: 120px !important;
	resize: vertical !important;
	font-family: 'Roboto', sans-serif !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Selects de reserva */
#reservationDetails {
	margin: 0;
	width: 100%;
}

#reservationDetails label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
}

#reservationDetails select {
	height: 56px !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='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 16px center;
	background-size: 16px;
	padding-right: 50px !important;
}

/* Cálculo de precios */
#priceCalculation {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border: 2px solid #ff6b35;
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(255, 107, 53, 0.15);
	margin: 10px 0;
}

#priceBreakdown {
	font-size: 16px;
	color: #666;
	margin-bottom: 15px;
	font-family: 'Roboto', sans-serif;
}

#totalPrice {
	font-size: 28px;
	font-weight: 700;
	color: #ff6b35;
	font-family: 'Roboto', sans-serif;
	margin-bottom: 10px;
}

.discount-info {
	background: linear-gradient(135deg, #e8f5e8 0%, #d4f4d4 100%);
	color: #2d5a2d;
	padding: 12px 20px;
	border-radius: 8px;
	margin-top: 15px;
	font-weight: 600;
	font-size: 15px;
	border-left: 4px solid #4CAF50;
	display: inline-block;
}

.price-hidden {
	display: none;
}

/* Botón de envío */
.contactForm input#submit {
	background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%) !important;
	border: none !important;
	color: #ffffff !important;
	padding: 18px 40px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
	margin: 20px auto 0 !important;
	height: auto !important;
	max-width: 300px !important;
	width: 100% !important;
	display: block !important;
}

.contactForm input#submit:hover {
	background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

.contactForm input#submit:active {
	transform: translateY(0) !important;
}

/* Mensajes de éxito y error */
#success, #error {
	text-align: center;
	padding: 15px;
	border-radius: 8px;
	margin-top: 20px;
}

#success {
	background: #d4f4d4;
	border: 1px solid #4CAF50;
	color: #2d5a2d;
}

#error {
	background: #ffe6e6;
	border: 1px solid #f44336;
	color: #c62828;
}

/* Estados de validación */
.contactForm input.error,
.contactForm select.error,
.contactForm textarea.error {
	border-color: #f44336 !important;
	box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1) !important;
}

.contactForm input.success,
.contactForm select.success,
.contactForm textarea.success {
	border-color: #4CAF50 !important;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
}

/* Loading state */
.form-loading {
	opacity: 0.7;
	pointer-events: none;
}

.form-loading input#submit {
	background: linear-gradient(135deg, #ccc 0%, #999 100%) !important;
	cursor: not-allowed !important;
}

/* Mensaje de cupos */
.cupos-message {
	color: #4CAF50 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	margin-top: 5px !important;
	display: block !important;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

/* Tablet */
@media (max-width: 768px) {
	#contact .getinTouch {
		max-width: 700px;
	}
	
	.contactForm {
		padding: 30px 25px;
		margin: 0 auto;
		max-width: 500px;
	}

	.contactForm form {
		gap: 18px;
	}

	.contactForm input[type="text"],
	.contactForm input[type="email"],
	.contactForm input[type="tel"],
	#reservationDetails select {
		height: 52px !important;
		font-size: 16px !important; /* Evita zoom en iOS */
	}

	.contactForm textarea {
		height: 100px !important;
	}

	#totalPrice {
		font-size: 24px;
	}

	#priceCalculation {
		padding: 20px;
	}
}

/* Móvil */
@media (max-width: 480px) {
	#contact .getinTouch {
		padding: 0 15px;
		max-width: 100%;
	}

	.contactForm {
		padding: 25px 20px;
		margin: 0 auto;
		max-width: 100%;
		border-radius: 8px;
	}

	.contactForm::before {
		border-radius: 10px;
	}

	.contactForm form {
		gap: 15px;
	}

	.contactForm input[type="text"],
	.contactForm input[type="email"],
	.contactForm input[type="tel"],
	#reservationDetails select {
		padding: 14px 16px !important;
		height: 48px !important;
	}

	.contactForm textarea {
		padding: 14px 16px !important;
		height: 90px !important;
	}

	#reservationDetails label {
		font-size: 13px;
	}

	#priceCalculation {
		padding: 15px;
	}

	#totalPrice {
		font-size: 22px;
	}

	.discount-info {
		padding: 10px 15px;
		font-size: 14px;
	}

	.contactForm input#submit {
		padding: 16px 30px !important;
		font-size: 15px !important;
	}
}

/* Desktop grande */
@media (min-width: 1200px) {
	#contact .getinTouch {
		max-width: 900px;
	}
	
	.contactForm {
		padding: 50px;
		max-width: 700px;
	}

	.contactForm form {
		gap: 25px;
	}
}

/* ===== ESTILOS ESPECÍFICOS PARA CAMPO DE OBSERVACIONES ===== */
.reservation-form textarea[name="observaciones"] {
	width: 100% !important;
	padding: 16px 20px !important;
	border: 2px solid #e8e8e8 !important;
	border-radius: 8px !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 15px !important;
	color: #333 !important;
	background: #ffffff !important;
	min-height: 120px !important;
	resize: vertical !important;
	transition: all 0.3s ease !important;
	box-sizing: border-box !important;
}

.reservation-form textarea[name="observaciones"]:focus {
	border-color: #ff6b35 !important;
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
	outline: none !important;
	background: #fefefe !important;
}

.reservation-form textarea[name="observaciones"]::placeholder {
	color: #999 !important;
	font-style: italic !important;
}

/* Responsive para observaciones */
@media (max-width: 768px) {
	.reservation-form textarea[name="observaciones"] {
		padding: 14px 16px !important;
		min-height: 100px !important;
		font-size: 16px !important; /* Evita zoom en iOS */
	}
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 10000;
}

.whatsapp-float a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #25D366;
	color: white;
	text-decoration: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

.whatsapp-float a::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
	transform: translateX(-100%);
	transition: transform 0.6s;
}

.whatsapp-float a:hover::before {
	transform: translateX(100%);
}

.whatsapp-float a:hover {
	background: #128C7E;
	transform: scale(1.1);
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float a:active {
	transform: scale(0.95);
}

.whatsapp-icon {
	font-size: 28px;
	z-index: 1;
}

.whatsapp-text {
	display: none;
}

/* Ripple effect */
.whatsapp-float a::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.3s, height 0.3s;
}

.whatsapp-float a:active::after {
	width: 120px;
	height: 120px;
}

/* Floating animation */
@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-8px);
	}
}

.whatsapp-float {
	animation: float 3s ease-in-out infinite;
}

/* WhatsApp button responsive */
@media (max-width: 768px) {
	.whatsapp-float {
		bottom: 20px;
		right: 20px;
	}
	
	.whatsapp-float a {
		width: 56px;
		height: 56px;
	}
	
	.whatsapp-icon {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.whatsapp-float {
		bottom: 20px;
		right: 20px;
	}
	
	.whatsapp-float a {
		width: 52px;
		height: 52px;
	}
	
	.whatsapp-icon {
		font-size: 24px;
	}
}