@charset "UTF-8";
/* CSS Document */


/*Desktop / Global View*/

body {
	font-family: 'Open Sans', sans-serif;
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	background-color: #DDDDDD;
}

.col {
	float: left;
	padding: 1%;
}

.col-lg {
	width: 31.3%;
}

/* ปรับปรุง: ใช้ .gallery-img สำหรับรูปภาพที่ต้องการให้คลิกได้ */
.col-lg img {
	width: 100%;
	height: auto;
	display: block;
}

.slicknav_menu {
	display: none;
}

#menu {
	float: right;
}

#menu li {
	display: inline-block;
}

#menu li a {
	text-decoration: none;
	color: #4e4e4e;
	padding: 8px;
	font-size: 18px;
}

header {
	padding: 10px 20px 20px 20px;
}


.hero {
	background-image: url(images/hero-background.jpg);
	padding: 52px 638px 72px 72px;
	background-size: cover;
}


.subheading {
	color: #fff;
	font-weight: 1200;
	font-size:60px;
	margin-bottom: -40px;
}

h1 {
	color: #fff;
	font-weight: 55000;
	font-size: 100px;
	margin-bottom: -30px;
}

h2 {
	color: #fff;
	font-weight: 55000;
	font-size: 60px;
	margin-bottom: -5px;
}


.heading-body-copy {
	color: #fff;
	margin-right: 20%;
}

.lets-talk {
	background-color: #D92A2A;
	padding: 8px 30px;
	text-decoration: none;
	color: #FFF;
}

/* ----------------------------------------------------- */
/* --- ส่วนเพิ่มเติมสำหรับ Image Viewer และ Gallery --- */
/* ----------------------------------------------------- */

/* จัด Style ให้รูปใน Grid ดูคลิกได้ */
.gallery-img {
	cursor: pointer;
	transition: 0.3s;
	width: 100%; /* ให้รูปเต็ม col */
	height: auto;
}

.gallery-img:hover {
	opacity: 0.7; /* เมื่อเอาเมาส์ชี้ให้จางลงนิดนึง */
}

/* ส่วนของ Image Viewer (หน้าจอดำๆ) */
#image-viewer {
	display: none; /* ซ่อนไว้ก่อน */
	position: fixed;
	z-index: 9999; /* ให้อยู่บนสุดเสมอ */
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.9); /* สีพื้นหลังดำโปร่งแสง */
	
	/* เตรียมทำ Fade Effect */
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

/* คลาสนี้จะถูกเติมด้วย JS เพื่อแสดงผล */
#image-viewer.visible {
	opacity: 1;
}

/* รูป Full Screen ตรงกลาง */
.modal-content {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 800px;
	max-height: 80vh; /* ไม่ให้สูงเกินหน้าจอ */
	object-fit: contain;
}

/* ปุ่มปิด (x) */
.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
	cursor: pointer;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* ----------------------------------------------------- */
/* ----------------------------------------------------- */



/*Tablet View*/

@media (max-width: 768px) {

#menu li {
	display: block;
	text-align: right;
}

	.col-md {
		width: 48%;
	}
	

}

/* ----------------------------------------------------- */
/* Mobile View */
/* ----------------------------------------------------- */

@media (max-width: 768px) {


	.slicknav_menu {
		display: block;
	}

	#menu {
		display: none;
	}
	
	.col-sm {
		width: 100%;
	}

	.col {
		padding: 0%;
	}
	
}