@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --dark-color: #000000;
  --soft-gray-color: #00000080;
  --soft-gray-color-01: #828282;
  --soft-gray-color-02: #cccccc;

  --white-color: #ffffff;
  --white-color-01: #f8f9f8;

  --font-Hanken: "Hanken Grotesk", sans-serif;

  --font-size-h2: clamp(2.5rem, 3.5vw, 5rem);
  --font-size-h2-01: clamp(1.875rem, 3.5vw, 3.75rem);
  --font-size-h2-02: clamp(1.5rem, 3.5vw, 2.5rem);
  --font-size-h3: clamp(1.1255rem, 3.5vw, 2.5rem);
  --font-size-h4: clamp(0.875rem, 3.5vw, 1rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
figure {
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5rem;
  color: var(--dark-color);
}

/*----------Aritcal---------*/
.box-article-01 {
  margin-top: 40px;
  text-align: center;
  transition: 0.3s all linear;
}

.box-article-01:hover {
  color: var(--soft-gray-color);
}

.box-article-01 .title {
  font-size: var(--font-size-h4);
  font-weight: 700;
}

/*----------Text Color---------*/
.text-gray-01 {
  color: var(--soft-gray-color-01);
}

.text-gray-02 {
  color: var(--soft-gray-color-02);
}

/*----------Header----------*/
header {
  background-color: var(--white-color);
  min-height: 45px;

  position: sticky;
  top: 0;
  z-index: 9999;
}

header .main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 40px);
  margin: auto;
}

.sticky {
  transition: 0.3s all ease-in-out;
  transition-duration: 1.2s;
  z-index: 9999;
}

/*Lang*/
.box-lang {
  position: relative;
  width: 80px;
  font-family: sans-serif;
}

/* ช่องที่เลือก */
.lang-selected {
  padding: 10px;
  cursor: pointer;
  position: relative;
}

/* ลูกศร */
.lang-selected::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

/* รายการ dropdown */
.lang-options {
  list-style: none;
  margin: 0;
  padding: 5px 0;
  background: var(--white-color);
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  display: none;
}

.lang-options li {
  padding: 10px;
  cursor: pointer;
}

.lang-options li:hover {
  background: #f2f2f2;
}

/* เปิด dropdown */
.box-lang.open .lang-options {
  display: block;
}

/*Menu*/
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  gap: 40px;
}

nav ul li a {
  color: var(--dark-color);
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 10px 0;

  transition: all 0.3s linear;
}

nav ul li a:hover {
  transform: scale(1.3);
  font-weight: 700;
}

/*Mega Meun*/
.mega-box {
  visibility: hidden;
  position: fixed;
  opacity: 0;
  transition: all 0.3s ease-out;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--dark-color);
  color: var(--white-color);
  z-index: 9;
}

nav ul li .mega-box ul li a {
  color: var(--white-color);
}

.mega-box .mega-content .mega-title {
  text-align: center;
  padding: 10px 0;
  transform: scale(1.3);
}

.mega-box .mega-content ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5px;
}

/* ตอนเปิด */
.mega-box.active {
  visibility: visible;
  opacity: 1;
}

/* ปุ่ม close */
.mega-close {
  position: absolute;
  top: 5px;
  right: 30px;
  background: none;
  border: none;
  color: var(--white-color);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: 0.3s;
}

.mega-close:hover {
  transform: scale(1.2);
}

/* content */
.mega-box .mega-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

/*Mobile Meun*/

.menu-toggle {
  width: 20px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* เส้น */
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}


/*Mobile Menu*/
.menu-toggle {
  display: none;
}

/* เส้นบน */
.menu-toggle span:nth-child(1) {
  top: 6px;
}

/* เส้นล่าง */
.menu-toggle span:nth-child(2) {
  bottom: 6px;
}

/* ตอน active → เป็นกากบาท */
.menu-toggle.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  bottom: 11px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}


/*Signin Shpping Bag*/
.box-signin-cart {
  display: flex;
  gap: 20px;
}

.box-signin-cart a {
  color: var(--dark-color);
  text-decoration: none;
  text-transform: uppercase;

  transition: all 0.3s linear;
}

.box-signin-cart a:hover {
  color: var(--soft-gray-color);
}

/*----------Logo----------*/
.box-logo {
  top: 100px;
  position: fixed;
  z-index: 8888;
  mix-blend-mode: difference;

  transition: 0.3s all ease-in-out;
  transition-duration: 1s;

  text-align: center;
  width: 100%;
}

.box-logo .title {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
}

.box-logo svg {
  width: 100%;
  transition: 0.3s all ease-in-out;
  transition-duration: 1s;
}

.sticky-logo {
  top: 20px;
  transition: 0.3s all ease-in-out;
  transition-duration: 1s;
}

.sticky-logo svg {
  width: 15%;
  transition: 0.3s all ease-in-out;
  transition-duration: 1s;
}

/*----------Video Hero----------*/
.box-video-hero {
  overflow: hidden;
  position: relative;
  height: 100vh;
}

#background-video-hero {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/*----------Secton 01---------*/
#section01 {
  padding: 100px 0;
  overflow: hidden;
}

.parallax-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 572px;
}

.parallax-item h2 {
  font-family: var(--font-Hanken);
  font-size: var(--font-size-h2);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white-color);
}

.parallax-item:first-child {
  background: url("../images/bg-secion-01.webp");
  background-size: cover;
  background-position: top;
  background-attachment: scroll;
}

/*----------Secton 02---------*/
#section02 {
  padding: 0 0 100px 0;
  overflow: hidden;
}

.parallax-section {
  position: relative;
  height: 760px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* video background */
.parallax-video {
  position: absolute;
  top: -75%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  z-index: 1;
  transform: translateY(0);
  will-change: transform;
}

/* overlay content */
.parallax-content-vedio {
  position: relative;
  z-index: 2;
  text-align: center;
}

.parallax-content-vedio h2 {
  color: #fff;
  font-size: var(--font-size-h2);
  font-weight: 800;
  letter-spacing: 2px;
}

/*----------Secton 03---------*/
#section03 {
  padding: 0 0 100px 0;
}

.card-collection {
  position: relative;
  overflow: hidden;
  height: 475px;
}

/* video ด้านหลัง */
.card-collection .box-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* รูปด้านหน้า */
.card-collection .box-img-01 {
  position: relative;
  z-index: 2;
  width: 100%;

  opacity: 1;
  transition: opacity 0.4s ease;
}

/* hover ที่ทั้ง card */
.card-collection:hover .box-img-01 {
  opacity: 0;
}

.card-collection .box-img-01 img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  top: -20px;
}

.card-collection .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.card-collection .card-title h2 {
  font-family: var(--font-Hanken);
  font-size: var(--font-size-h2-01);
  font-weight: 900;
  color: var(--white-color);
  text-transform: uppercase;
}

/*02*/
.card-collection-img {
  position: relative;
  overflow: hidden;
  height: 455px;
}

/* video ด้านหลัง */
.card-collection-img .box-img-02 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* รูปด้านหน้า */
.card-collection-img .box-img-01 {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 1;
  transition: opacity 0.4s ease;
}

/* hover ที่ทั้ง card */
.card-collection-img:hover .box-img-01 {
  opacity: 0;
}

.card-collection-img .box-img-01 img,
.card-collection-img .box-img-02 img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  top: -20px;
}

.card-collection-img .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 100%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.card-collection-img .card-title h2 {
  font-family: var(--font-Hanken);
  font-size: var(--font-size-h3);
  font-weight: 900;
  color: var(--white-color);
  text-transform: uppercase;
}

/*----------Secton 04---------*/
#section04 {
  height: 85px;
  background: var(--dark-color);
  overflow: hidden;
}

.slider {
  overflow: hidden;
  background: #000;
  width: 100%;
}

.slide-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  gap: 30px;
}

.slide {
  flex: 0 0 auto;
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 3.75rem);
  font-family: var(--font-Hanken);
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 30px;
}

.slide.arrow-left::before {
  content: url(../images/arrow-left.png);
}

.slide.arrow-right::before {
  content: url(../images/arrow-right.png);
}

.slider:hover .slide-track {
  animation-play-state: paused;
}

/* loop แบบต่อเนื่อง */
@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/*----------Secton 05---------*/
#section05 {
  padding: 100px 0;
  overflow: hidden;
}

.card-article .title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card-article p {
  color: var(--soft-gray-color);
  margin: 0;
}

/*----------Secton 06---------*/
#section06 {
  padding: 100px 0;
  background: var(--dark-color);
  color: var(--white-color);
  overflow: hidden;
}

.box-faq-title {
  text-align: center;
}

.box-faq-title h2 {
  font-family: var(--font-Hanken);
  font-size: var(--font-size-h2-02);
  font-weight: 900;
  text-transform: uppercase;
}

.wrapper-container {
  width: 100%;
  margin: 40px auto 0 auto;
}

.tab-wrapper {
  text-align: center;
  display: block;
  margin: auto;
  width: 100%;
}

.tabs {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.tab-link {
  margin: 0 1%;
  list-style: none;
  padding: 10px 15px;
  color: var(--white-color);
  cursor: pointer;
  transition: all ease 0.3s;
  border: 1px solid var(--soft-gray-color);
  border-radius: 100px;
  background-color: var(--soft-gray-color-01);
  text-transform: uppercase;
}

.tab-link:hover {
  color: var(--dark-color);
  background-color: var(--soft-gray-color-02);
}

.tab-link.active {
  color: var(--dark-color);
  background-color: var(--white-color);
}

.content-wrapper {
  padding: 40px 0 0 0;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.5s ease 1 forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  100% {
    opacity: 1;
    transform: none;
  }
}

.accordion {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  border: none !important;
}

.accordion-item {
  background: none;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--soft-gray-color-01);
}

.accordion-item:first-of-type,
.accordion-item:last-of-type {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--soft-gray-color-01);
}

/* Thumb */
.accordion-thumb {
  margin: 0;
  padding: 15px 0;
  cursor: pointer;
  font-weight: normal;
  position: relative;

  color: var(--white-color);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}

.accordion-thumb::after {
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
  margin-right: 1rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(225deg);
  transition: transform 0.2s ease-out;
  position: absolute;
  top: 50%;
  right: 0;
}

/* Panel */
.accordion-panel {
  margin: 0;
  padding-bottom: 0.8rem;
  display: none;
  color: var(--soft-gray-color-01);
}

/* Active */
.accordion-item.is-active {
  .accordion-thumb::after {
    transform: rotate(45deg);
  }
}

/*----------Secton 07---------*/
#section07 {
  padding: 100px 0;
  overflow: hidden;
}

.box-inquiry-title h2 {
  font-family: var(--font-Hanken);
  font-size:clamp(2.5rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 0.85em;
  text-transform: uppercase;
}

.box-inquiry-title p {
  margin: 15px 0 0 0;
}

.box-inquiry-form table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 20px;
}

.box-inquiry-form table input[type="radio"] {
  accent-color: var(--dark-color);
}

.box-inquiry-form table input[type="text"],
.box-inquiry-form table input[type="email"],
.box-inquiry-form table input[type="tel"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--soft-gray-color-01);
  padding: 10px 0;
}

.box-inquiry-form table input:focus {
  outline: none;
}

.box-inquiry-form table input[type="checkbox"] {
  accent-color: var(--dark-color);
}

.box-inquiry-form table input[type="button"] {
  padding: 10px 30px;
  border-radius: 0;
  background-color: var(--dark-color);
  color: var(--white-color);
  border: none;
  transition: 0.3s all linear;
}

.box-inquiry-form table input[type="button"]:hover {
  background-color: var(--soft-gray-color-02);
  color: var(--dark-color);
}

.box-select {
  position: relative;
}

.box-select select {
  width: 100%;
  padding: 12px 35px 12px 0;
  font-size: 14px;
  color: var(--soft-gray-color-01);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--soft-gray-color-01);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* ลูกศรด้านขวา */
.box-select::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--soft-gray-color-01);
  pointer-events: none;
}

/* ตอน focus */
.box-select select:focus {
  border-bottom-color: var(--dark-color);
  color: var(--dark-color);
}

.box-select .title {
  visibility: visible;
  color: transparent;
  position: absolute;
  left: 0;
  top: -10px;
}

/*----------Footer---------*/
footer {
  padding: 50px 0;
  background-color: var(--white-color-01);
}

.box-menu-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.box-menu-footer .item h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.box-menu-footer .item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8rem;
  font-size: 12px;
}

.box-menu-footer .item ul a {
  color: var(--soft-gray-color-01);
  text-decoration: none;
  transition: all 0.3s linear;
}

.box-menu-footer .item ul a:hover {
  color: var(--soft-gray-color-02);
}

.box-subscribe h3 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--dark-color);
  margin-bottom: 15px;
}

.box-subscribe input[type="text"],
.box-subscribe input[type="button"] {
  width: 100%;
}

.box-subscribe input[type="text"] {
  border: none;
  margin-bottom: 15px;
  padding: 10px 0;
  background-color: transparent;
  border-bottom: 1px solid var(--soft-gray-color-01);
}

.box-subscribe input[type="text"]:focus {
  outline: none;
}

.box-subscribe input[type="button"] {
  border: none;
  padding: 5px 0;
  font-size: 12px;
  background: #e0e0e0;
  transition: all 0.3s linear;
  color: var(--dark-color);
}

.box-subscribe input[type="button"]:hover {
  background: var(--dark-color);
  color: var(--white-color);
}

.text-link a {
  color: var(--dark-color);
  text-decoration: none;
  transition: all 0.3s linear;
}

.text-link a:hover {
  color: var(--soft-gray-color-01);
}

.link-home {
  padding: 10px 0;
  margin: 0;
  position: relative;
}

.link-home a {
  font-size: 12;
  color: var(--dark-color);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s linear;
}

.link-home a:hover {
  color: var(--soft-gray-color-01);
}