/* ============================================
   ELEMENTS/CONTACT - CUSTOM STYLES
   ============================================ */

/* Logo positioning - Integrado con el header */
#header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 10000 !important;
	display: flex !important;
	align-items: center !important;
}

#logo {
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	transform: none !important;
	margin: 0 2rem !important;
	z-index: 10001 !important;
	display: flex !important;
	align-items: center !important;
}

#logo a {
	display: flex !important;
	align-items: center !important;
	height: 100%;
}

#logo img {
	display: block !important;
	max-height: 40px !important;
	width: auto !important;
	filter: brightness(1);
	transition: all 0.3s ease;
}

#logo img:hover {
	filter: brightness(1.1);
	transform: scale(1.05);
}

/* Ajustar navegación para que no se solape con el logo */
#nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

/* Contact Form Styles */
.contact-form .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}
 
.contact-form .col-6 {
	display: flex;
	flex-direction: column;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	margin-bottom: 1rem;
	padding: 0.75rem;
	border: 1px solid #555;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: #2c2c2e !important;
	color: #ffffff !important;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
	color: #888 !important;
}

.contact-form .col-6 input {
	height: auto;
	min-height: 44px;
}

/* Asegurar que todos los campos tengan la misma altura */
.contact-form .gtr-uniform > * {
	margin-bottom: 1rem;
}

/* Hacer que ambos botones tengan el mismo tamaño */
.contact-form .actions input[type="submit"],
.contact-form .actions input[type="reset"] {
	width: 100% !important;
	padding: 12px 24px !important;
	font-size: 14px !important;
	height: 48px !important;
	min-width: 180px !important;
	box-sizing: border-box !important;
	text-align: center !important;
	display: inline-block !important;
	line-height: 24px !important;
	vertical-align: middle !important;
	border-radius: 6px !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
}

.contact-form .actions input[type="submit"] {
	background: #4da5f5 !important;
	color: white !important;
	border: 2px solid #4da5f5 !important;
}

.contact-form .actions input[type="reset"] {
	background: transparent !important;
	color: #ffffff !important;
	border: 2px solid #555 !important;
}

.contact-form .actions input[type="submit"]:hover {
	background: #3d8fd9 !important;
	border-color: #3d8fd9 !important;
}

.contact-form .actions input[type="reset"]:hover {
	background: #555 !important;
	border-color: #777 !important;
}

.contact-form .actions li {
	flex: 1 !important;
	margin-right: 1rem !important;
}

.contact-form .actions li:last-child {
	margin-right: 0 !important;
}

.contact-form .actions {
	display: flex !important;
	gap: 1rem !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* CSS específico para móviles */
@media screen and (max-width: 768px) {
	/* Ocultar botón "Cotizar Proyecto" en móviles */
	#header .button.primary {
		display: none !important;
	}

	/* Ajustar padding del contenedor */
	.container {
		padding: 0 1rem !important;
	}

	/* Ajustar header major */
	.major {
		padding: 2rem 1rem !important;
	}

	.major h2 {
		font-size: 1.8rem !important;
	}

	.major p {
		font-size: 1rem !important;
	}

	/* Ajustar formulario de contacto */
	.contact-form input,
	.contact-form textarea,
	.contact-form select {
		font-size: 1rem !important;
	}

	/* Ajustar cards de contacto */
	.contact-card {
		margin-bottom: 1rem !important;
	}

	/* Limpiar overflow */
	body, html {
		overflow-x: hidden !important;
	}
}

/* Ajustes para el header en móviles y tablets */
@media screen and (max-width: 980px) {
	/* Ocultar logo en móviles */
	#logo {
		display: none !important;
	}

	/* Ocultar todos los enlaces del menú en la barra superior */
	#nav > ul > li {
		display: none !important;
	}

	/* Centrar el header */
	#header {
		justify-content: center !important;
		padding: 1rem 1.5rem !important;
	}
}
