@font-face {
    font-family: 'Kulachat HC';
    src: url('fonts/KulachatHc/Kulachat-HC-Thin.eot');
    src: url('fonts/KulachatHc/Kulachat-HC-Thin.eot?#iefix') format('embedded-opentype'),
        url('fonts/KulachatHc/Kulachat-HC-Thin.woff2') format('woff2'),
        url('fonts/KulachatHc/Kulachat-HC-Thin.woff') format('woff'),
        url('fonts/KulachatHc/Kulachat-HC-Thin.ttf') format('truetype'),
        url('fonts/KulachatHc/Kulachat-HC-Thin.svg#Kulachat-HC-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
  font-family: "Anakotmai";
  src: url('fonts/Anakotmai/anakotmai-light.eot');
  src: url('fonts/Anakotmai/anakotmai-light.eot?#iefix') format('embedded-opentype'), url('fonts/Anakotmai/anakotmai-light.woff2') format('woff2'), url('fonts/Anakotmai/anakotmai-light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Anakotmai";
  src: url('fonts/Anakotmai/anakotmai-medium.eot');
  src: url('fonts/Anakotmai/anakotmai-medium.eot?#iefix') format('embedded-opentype'), url('fonts/Anakotmai/anakotmai-medium.woff2') format('woff2'), url('fonts/Anakotmai/anakotmai-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Anakotmai";
  src: url('fonts/Anakotmai/anakotmai-bold.eot');
  src: url('fonts/Anakotmai/anakotmai-bold.eot?#iefix') format('embedded-opentype'), url('fonts/Anakotmai/anakotmai-bold.woff2') format('woff2'), url('fonts/Anakotmai/anakotmai-bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

:root {
    /* กำหนดตัวแปรสำหรับ Border Radius */
	--custom-radius: 8px;
    --bs-border-radius: var(--custom-radius);      /* ค่าเริ่มต้นใหม่สำหรับ rounded */
    --bs-border-radius-sm: var(--custom-radius);  /* สำหรับ rounded-sm */
    --bs-border-radius-md: var(--custom-radius);  /* สำหรับ rounded-md (ถ้า Bootstrap มี) หรือสร้างเอง */
    --bs-border-radius-lg: var(--custom-radius);     /* สำหรับ rounded-lg */
    --bs-border-radius-xl: var(--custom-radius);   /* สำหรับ rounded-xl */
    --bs-border-radius-xxl: var(--custom-radius);    /* สำหรับ rounded-xxl */
}
.navbar-nav {
	/* Navbar */
	--bs-navbar-nav-link-padding-x: 15px;
	--bs-nav-link-font-size: 16px;
	--bs-nav-link-color: #fff;
	--bs-nav-link-hover-color: #fff;
}

body {
    font-family: 'Anakotmai', sans-serif;
	font-size: 18px;
	color: #6d685f;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Tenor Sans", 'Anakotmai', sans-serif;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 1.3;
}

p {
	letter-spacing: 2px;
	line-height: 1.9;
}

h1 {
	font-size: 46px;
}

h2 {
	font-size: 38px;
}

h3 {
	font-size: 30px;
}

h4 {
	font-size: 26px;
}

a {
	color: #6d685f;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

.lead {
	font-family: "Tenor Sans", 'Anakotmai', sans-serif;
	font-size: 24px;
	line-height: inherit;
	color: #a59f87;
}
.lead-th {
	font-family: "Anakotmai";
	color: #a59f87;
	font-weight: normal;
}
.lead-footer {
	font-family: "Tenor Sans";
	font-size: 96px;
	font-weight: bold;
	letter-spacing: -2px;
	line-height: 1;
}
.nobr {
	white-space: nowrap;
}

.bg-warm {
	background-color: #f9f9f1;
}
.bg-smoke {
	background-color: #f5f4f3;
}
.bg-dark-yellow {
	background-color: #a59f87;
}
.bg-smoke .lead {
	color: #6d685f;
}
/* START MENUS */
nav {
	font-family: "Playfair Display";
	background-color: rgba(0, 0, 0, 0.5);
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
	color: #fff;
}

.navbar-brand img {
    max-height: 60px;
}
.navbar-toggler {
	background-color: #fff;
}
.navbar-toggler:focus {
	box-shadow: none;
}
.language-item {
	color: var(--bs-nav-link-color);
	font-size: var(--bs-nav-link-font-size);
}
.language-link {
	display: inline-block;
	padding: var(--bs-nav-link-padding-y) 0.5rem;
	font-size: var(--bs-nav-link-font-size);
	font-weight: var(--bs-nav-link-font-weight);
	color: var(--bs-nav-link-color);
	text-decoration: none;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.language-link.active {
	text-decoration: underline;
}
/* END MENUS */


/* CUSTOM */
.hero-title {
	font-size: 60px;
	text-transform: uppercase;
	color: #a59f87;
}

.hero-section {
    height: 90vh;
    text-align: center;
}

.section-padding {
    padding: 60px 0;
}

.video-bg {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;/* Aspect ratio */
    position: absolute;
	background-color: #ccc;
}

.video-bg iframe {
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-we-create {
	background-image: URL("../images/what-we-create-background.jpg");
	background-size: cover;
	background-position: center;
	background-blend-mode: lighten;
	background-color: rgba(223,217,205,0.6);
}


.section-shadow {
	  box-shadow: inset 0 4px 16px -5px rgba(0, 0, 0, 0.10);
}

.bullet {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  background-color: currentColor;
  border-radius: 50%;
}

.form-contact {
	background-color: #dfd9cd;
}

.image-with-top-text {
	position: relative;
}

.image-with-top-text  > div {
	position: absolute;
	top: 0px;
	width: 100%;
	text-align: center;
	padding: 20px 10px;
	color: #FFF;
	font-weight: 700;
	text-shadow: 0 0 5px #000;
	font-size: 24px;
}

.text-red {
	color: #ff5757;
}

.btn-submit-contact {
	color: #fff;
	background-color: #a59f87;
	border: 1px solid #a59f87;
}
.btn-submit-contact:hover {
	color: #fff;
	background-color: #a59f87;
	border-color: #fff;
}

.footer-logo {
	max-height: 75px;
}

.section-footer {
	background-image: URL("../images/hero-banner.jpg");
	background-size: cover;
	background-position: center;
	background-blend-mode: exclusion;
	background-color: rgba(109,104,95,0.9);
	padding: 100px 0 50px 0;
}


@media (max-width: 991.98px) {
	h1 { font-size: 32px; }
	h2 { font-size: 26px; }
	h3 { font-size: 22px; }
	h4 { font-size: 16px; }
}


.slider-partner-item {
	margin: 15px;
	width: 200px;
	height: 200px;
	padding: 15px;
}

.slider-partner .slick-slide {
    display: flex;
	align-items: center;
	border-radius: var(--custom-radius);
}
.slider-partner-item img {
	/* filter: grayscale(1); */
	max-height: 100%;
	margin: 0 auto;
}

.slider-materials-item {
	text-align: center;
	padding: 0.5em;
}
.slider-materials-item .materials-image img {
	position: absolute;
	width: 75%;
	height: 75%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.2s ease-in;
	cursor: pointer;
}
.slick-center .slider-materials-item .materials-image img {
	width: 100%;
	height: 100%;
}

.slider-materials-item .materials-title,
.slider-materials-item .materials-description {
	margin: 0 -50%;
	opacity: 0;
	transition: all 0.5s ease-in;
}
.slick-center .slider-materials-item .materials-title,
.slick-center .slider-materials-item .materials-description {
	opacity: 1;
}
@media (max-width: 767.98px) {
	.slider-materials-item .materials-title,
	.slider-materials-item .materials-description {
		margin: 0 -40px;
	}
}

.slick-dots {
	bottom: unset;
}

/* ในไฟล์ assets/style.css หรือในส่วน <style> ของคุณ */
.hero-section {
    width: 100%; /* ความกว้างเต็ม viewport */
    height: calc(100vw * 9 / 21); /* ปรับความสูงตามอัตราส่วน 9/21 ของความกว้าง */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .carousel {
    width: 100%;
    height: 100%;
}

.hero-section .carousel-inner {
    height: 100%;
}

.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-item img {
    object-fit: cover; /* ครอบคลุมพื้นที่ (รูปภาพอาจถูกครอป) */
    height: 100%;
    width: 100%;
}

/* สำหรับ viewport ที่มีความสูงมากกว่าความกว้าง (เช่น มือถือแนวตั้ง) */
@media (max-aspect-ratio: 1/1) {
    .hero-section {
        height: calc(100vh * 9 / 21); /* ปรับความสูงตามอัตราส่วน 9/21 ของความสูง */
        width: 100vw;
    }
}