﻿/* ============================= */
/* FIX TRÀN MÀN HÌNH */
/* ============================= */

html, body {
	max-width: 100%;
	overflow-x: hidden;
}

/* ============================= */
/* CONTAINER KHÔNG CHẠM LỀ */
/* ============================= */

.container,
.container-fluid,
section {
	padding-left: 16px !important;
	padding-right: 16px !important;
	box-sizing: border-box;
}

/* ============================= */
/* TEXT KHÔNG TRÀN */
/* ============================= */

h1, h2, h3, h4, h5, h6, p {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* ============================= */
/* IMAGE FIX */
/* ============================= */

img {
	max-width: 100%;
	height: auto;
}

/* ============================= */
/* HEADER LAYOUT */
/* ============================= */

.nav-left {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-left: auto;
}

	.nav-menu a {
		font-size: 15px;
		font-weight: 600;
		color: white;
		text-decoration: none;
	}

.header-contact {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ẨN ICON MENU TRÊN DESKTOP */

.menu-toggle {
	display: none;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media (max-width:768px) {

	/* tránh nội dung chạm lề */
	body {
		padding-left: 10px;
		padding-right: 10px;
	}

	.container,
	.container-fluid {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	/* HEADER */

	.container-header {
		flex-direction: column;
		align-items: stretch;
		padding: 10px 15px;
	}

	.nav-left {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.logo {
		font-size: 26px;
	}

	/* ICON MENU */

	.menu-toggle {
		display: block;
		font-size: 26px;
		color: white;
		cursor: pointer;
	}

	/* MENU MOBILE */

	.nav-menu {
		display: none;
		flex-direction: column;
		width: 100%;
		margin-top: 10px;
		padding: 10px 0;
		background: linear-gradient(135deg,#ff6a00,#ff8c42,#ffb347);
		border-radius: 10px;
	}

		.nav-menu.active {
			display: flex;
		}

		.nav-menu a {
			width: 100%;
			padding: 12px 20px;
			border-bottom: 1px solid rgba(255,255,255,0.2);
		}

			.nav-menu a:last-child {
				border-bottom: none;
			}

	.header-contact {
		padding: 12px 20px;
	}

	/* TEXT */

	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 24px;
	}

	p {
		font-size: 15px;
		line-height: 1.6;
	}

	/* TOPBAR */

	.topbar-left {
		flex-direction: column;
		gap: 3px;
	}

	/* FOOTER */

	.footer-item {
		text-align: left;
	}

	.footer-map {
		height: 200px;
	}

	.footer-galary-img {
		width: 60px;
		height: 60px;
	}
}

@media (max-width:768px) {

	.header-contact {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

		.header-contact p {
			margin: 0;
		}

	.topbar {
		display: none;
	}
}
}
