/* Custom Styles for Herath IT Trading */

/* Map and Form Side-by-Side Layout */
.map-above {
	display: flex;
	align-items: stretch;
	height: 600px;
	overflow: hidden;
}

.map-above-map {
	flex: 1;
	height: 600px;
	z-index: 1;
	overflow: hidden !important;
}

.map-above-content {
	flex: 0 0 40%;
	width: 40%;
	height: 600px;
	position: relative;
	z-index: 100;
	background: transparent;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.map-above-content .container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.map-above-content .row {
	flex: 0 0 auto;
}

.map-above-content .col-md-8 {
	max-width: 100%;
	flex-basis: 100%;
	padding: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.map-above-content .bg-dark {
	height: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 15px !important;
}

.map-above-content .d-flex {
	margin-bottom: 6px !important;
	flex-shrink: 0;
}

.map-above-content .d-flex:first-child {
	margin-top: 0 !important;
}

.map-above-content p {
	margin-bottom: 0 !important;
	font-size: 12px;
}

.map-above-content .contact-form {
	margin-top: 8px !important;
	margin-bottom: 0 !important;
}

.map-above-content .form-group {
	margin-bottom: 4px !important;
}

.map-above-content .form-control {
	padding: 6px 10px !important;
	font-size: 12px !important;
	height: auto !important;
}

.map-above-content textarea {
	resize: none !important;
	height: 50px !important;
}

.map-above-content button[type="submit"] {
	margin-top: auto;
	padding: 6px 15px !important;
	font-size: 12px !important;
}

/* Responsive Layout */
@media (max-width: 768px) {
	.map-above {
		flex-direction: column;
		height: auto;
	}
	
	.map-above-map {
		flex: none;
		width: 100%;
		height: 400px;
	}
	
	.map-above-content {
		flex: none;
		width: 100% !important;
		height: auto;
	}
}

/* Leaflet popup styling */
.leaflet-popup-content {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	line-height: 1.6;
}

.leaflet-popup-content a {
	color: #ef6603 !important;
	text-decoration: none;
	font-weight: 600;
}

.leaflet-popup-content a:hover {
	text-decoration: underline;
}

/* Prevent Leaflet scrolling */
.leaflet-container {
	overflow: hidden !important;
}

#googlemaps {
	overflow: hidden !important;
}
