 /* Reset cơ bản */
  * {
    box-sizing: border-box;
  }
  body, html {
    margin: 0; padding: 0;
    height: 100vh; 
  
    background: #111;
    color: #eee;
    overflow: auto;

    
  }
body {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE 10+ */
}
body::-webkit-scrollbar {
  display: none;               /* Chrome, Safari */
}
 
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.light {
  font-weight: 200;
}

.bold {
  font-weight: 1000;
}

.extra-bold {
  font-weight: 800;
}

.italic {
  font-style: italic;
}

.bold-italic {
  font-weight: 700;
  font-style: italic;
}

/* Bảng cài đặt mini trái */
/* Bảng cài đặt mini */
#effectPanel {
  position: fixed;
  top: 40px;
  left: 0;
  width: 30vw;
  max-width: 400px;
  height: 80vh;
  background: #181818e7;
  color: white;
  font-size: 0.7rem;
  padding: 0.05rem;
  overflow-y: auto;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  transition: width 0.35s ease, transform 0.35s ease;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid #ffffff77;
  
}
#effectPanel {
  width:  1vw;
 height: 2.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}
#effectPanel.expanded {
  width: 19vw;
} 
#effectPanel:not(.expanded) *:not(#toggleBtn) {
  height: 2.5rem;
  display: none;
}
/* Thu gọn bảng cài đặt */
#effectPanel.collapsed {
  width: 0.5rem;
  padding: 0.3rem;
  font-size: 0;
  overflow: hidden;
  cursor: pointer;
  transform: scale(0.95);
}

/* Nút toggle */
#toggleBtn {
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  color: white;
  width: fit-content;
  margin-bottom: 0.5rem;
}

/* Dropdown cơ bản */
ul.dropdown, ul.dropdown-menu {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

ul.dropdown {
  border: 1px solid #555;
  border-radius: 5px;
  background: #222;
}

ul.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #2a2a2a;
  border-top: 1px solid #555;
  border-radius: 0 0 5px 5px;
}

ul.dropdown-menu.open {
  max-height: 400px; /* đủ cao để hiện hết nội dung */
  padding: 0.1rem 0.2rem;
}

.dropdown-toggle {
  padding: 0.2rem 0.3rem;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  color: #ddd;
  background: #111;
  border-radius: 5px 5px 0 0;
}

/* Hover dropdown toggle */
.dropdown-toggle:hover {
  background: #444;
}

/* Label trong dropdown */
.dropdown-menu li label {
  display: block;
  cursor: pointer;
  padding: 0.3rem 0;
  font-weight: normal;
  font-size: 0.6rem;
  color: #ffffff;
}

/* Các label input phía dưới */
#effectPanel > label {
  display: block;
  margin: 0.5rem 0;
  font-size:0.6rem;
  color: #eeeeee;
 
}

#effectPanel > label input,
#effectPanel > label select {
  margin-left: 0.2rem;
  font-size: 0.6rem;
}

/* Responsive cho mobile */
@media (max-width: 600px) {
  #effectPanel {
    width: 2vw;
   
    height: 90vh;
    font-size: 0.6rem;
    padding: 0.01rem 0.01rem;
  }
  #effectPanel.collapsed {
    width:3rem;
    
  }
}
























#fullScreenMenu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 0;
  background: #000000e8;
  color: white;
  display: flex;
  flex-direction: row; /* mặc định PC 2 phần ngang */
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  z-index: 11500;
  overflow: hidden;
  transition: height 0.9s ease;
  transform-origin: top right;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  #fullScreenMenu {
    flex-direction: column !important;
  
  }

  .menu-left, .menu-right {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 30px;
  }
}

#menuToggleCheckbox:checked ~ #fullScreenMenu {
  height: 100vh;
}

  #fullScreenMenu nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin: 1rem 0;
    transition: color 0.3s ease;
  }
  #fullScreenMenu nav a:hover {
    color: #6ff;
  }

  /* Swiper container */
  .swiper-container {
    width: 100vw;
    height: 100vh;
    user-select: none;
  }
  .swiper-wrapper {
    display: flex;
  }
  .swiper-slide {
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
  }
  
 


  /* Swiper navigation buttons */
  .swiper-button-next, .swiper-button-prev {
 background: #00000005;
 color: #00000005;
  }
  .swiper-pagination-bullet {
background: #00000005;
color: #00000005;
  }





  
#fixedLogo {
  position: fixed;
  top: 10px;
  left: 30px;
  z-index: 130000;
  width: 100px; /* kích thước logo */
  user-select: none;
  cursor: pointer;
  transition: opacity 1s ease;
}
#fixedLogo img {
  width: 100%;
  height: auto;
  display: block;
}
#menuLogo {
  text-align: center;
  margin-bottom: 2rem;
}
#menuLogo img {
  width: 150px; /* hoặc kích thước bạn muốn */
  height: auto;
  filter: brightness(100%);
  user-select: none;
  pointer-events: none;
}


.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0%);
}

.dark-overlay {

  position: fixed;
  inset: 0;

  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.05));
  z-index: 1;
  pointer-events: none; 
  
}
















/* === SLIDE 1: Video === */
.slide-1 {
  position: relative;
  overflow: hidden;
}

.slide-1 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.slide1-content {
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.527);
  max-width: 600px;
  background-color: rgba(0,0,0,0.2);
  color: #ffffff;
  padding: 40px 45px;
  border-radius: 8px;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.5;
  user-select: none;

  text-align: center;
  margin: 70px auto;
  font-weight: 500;
}


/* === SLIDE 2: Carousel ảnh - không trùng với slide 3/4/5 === */
#slide-2.carousel-wrapper-slide2 {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.carousel2 {
  position: absolute;
  inset: 0;
  z-index: -1;

  filter: brightness(0.8);
}

.carousel2-container {
  flex: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0% 20% 0% 20%;
}

.carousel2-track {
  display: flex;
  gap: 32px;
  animation: scroll-horizontal-slide2 30s linear infinite;
}

.carousel2-track.bottom {
  animation-direction: reverse;
}

.carousel2-track img {
  border: solid 1px white;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.carousel2-track img:hover {
  transform: scale(1.1);
}

/* ANIMATION KEYFRAMES */
@keyframes scroll-horizontal-slide2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  #slide-2.carousel-wrapper-slide2 {
    flex-direction: row;
  }

  .carousel2-container {
    width: 50%;
    flex-direction: column;
    border-radius: 15% 0 10% 0;
  }

  .carousel2-track {
    flex-direction: column;
    animation: scroll-vertical-slide2 30s linear infinite;
  }

  .carousel2-track.bottom {
    animation-direction: reverse;
  }

  .carousel2-track img {
    width: 70vw;
    height: auto;
    border: solid 1.5px white;
  }
}

@keyframes scroll-vertical-slide2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}















.bg {
  height: 100vh;
  background-image: url('img/bg1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  color: white;
}
















#menuToggleCheckbox {
  display: none;
}

.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 12000;
  cursor: pointer;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

/* Chữ chuyển đổi */
.menu-label {
  position: relative;
  width: 60px;
  height: 20px;
  overflow: hidden;
}

.menu-label .text {
  position: absolute;
  left: 0;
  width: 100%;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.menu-text {
  transform: translateY(0%);
  opacity: 1;
}
.close-text {
  transform: translateY(100%);
  opacity: 0;
}

#menuToggleCheckbox:checked + .menu-toggle .menu-text {
  transform: translateY(-100%);
  opacity: 0;
}
#menuToggleCheckbox:checked + .menu-toggle .close-text {
  transform: translateY(0%);
  opacity: 1;
}

/* Icon 3 gạch */
.menu-bars {
  position: relative;
  width: 40px;
  height: 32px;
}

.menu-bar {
  position: absolute;
  left: 0;
  right: 10%;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: 0.35s cubic-bezier(.5,-0.35,.35,1.5);
}
.bar1 { bottom: 24px; }
.bar2 { top: 14px; }
.bar3 { top: 24px; }

#menuToggleCheckbox:checked + .menu-toggle .bar1 {
  transform: rotate(-135deg);
  bottom: 14px;
}
#menuToggleCheckbox:checked + .menu-toggle .bar2 {
  opacity: 0;
}
#menuToggleCheckbox:checked + .menu-toggle .bar3 {
  transform: rotate(-225deg);
  top: 14px;
}










.scroll-reveal {
  opacity: 0;
  transform: translateY(-50%);
  transition: all 0.8s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(20%);
}
