/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.5.3
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.nav-spacing-xlarge > li {
  margin: 0 18px;
}
html {
  scrollbar-width: none;
}

.menu-item > a.nav-top-link:before {
  content: "";
  background: var(--primary-color);
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}
.menu-item:hover a:before {
  width: 100%;
}
.icon-box.featured-box {
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.header-wrapper.stuck .header-inner {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.949);
  border: 1px solid #171717;
  border-radius: 3rem;
  margin: 0 auto;
}
.header-shadow .header-wrapper,
.header-wrapper.stuck,
.layout-shadow #wrapper {
  box-shadow: unset;
}
.stuck .header-main .nav > li > a {
  color: #fff;
}
.header-full-width .container {
  padding: 0px 30px !important;
}
.header-wrapper .container {
  -webkit-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear;
}
.bottom-0 {
  bottom: 0;
}
.right-0 {
  right: 0;
}
.box-gallery {
  width: 50%;
  background: rgb(17 17 17 / 50%);
  padding: 1em;
  border-radius: 1em;
}
/* Vertical Sections */
/* Section chính - FULL WIDTH & HEIGHT */
.vertical-section {
  height: 100vh;
  display: flex;
  color: white;
}

/* Horizontal Section Container */
#horizontal-section {
  overflow: hidden;
  background: #111;
  border-radius: 3em;
}

.horizontal-wrapper {
  display: flex;
  will-change: transform;
}

.horizontal-panel {
  min-width: 100vw;
  height: 100vh;
  /* display: flex; */
  color: white;
  /* position: relative; */
  margin-top: 130px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 1000;
  pointer-events: none;
}

.arrow {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
/* Navigation Arrows */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 0.7;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.nav-arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-arrow-left {
  left: 40px;
}

.nav-arrow-right {
  right: 40px;
}

.nav-arrow svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}
.horizontal-panel h3,
.horizontal-panel h4 {
  color: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.25em;
}
.border-full {
  border-radius: 3em;
}

/* Sticky Headers Container */
.col.sticky-section{
  background: transparent 
}
.right-absolute-text{
  /* position: sticky; */
  /* left: 9em; */
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: flex-start;
  width: 77px;
  -ms-flex-align: start;
  /* top: 50%; */
  /* transform: translateY(-50%); */
}
.text-vertical {
    overflow: hidden;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    pointer-events: false;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transform: rotate(180deg);
    transform-origin: center center;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    margin: 0px;
    margin-top: 5em;
}
.hover-scale {
  position: relative;
  display: inline-block;
  padding: 40px;
}

.hover-scale img {
  width: 100%;
  height: auto;
  transform: scale(1);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 3;
  border-radius: 8px;
}

/* Lớp hào quang chính */
.hover-scale::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    rgba(255, 223, 0, 0.9) 0%,
    rgba(255, 215, 0, 0.6) 20%,
    rgba(255, 255, 100, 0.3) 40%,
    rgba(255, 255, 150, 0.1) 60%,
    transparent 80%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: all 0.6s ease-in-out;
  filter: blur(12px);
}

/* Lớp viền sáng phụ */
.hover-scale::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 200, 0.4) 0%,
    rgba(255, 255, 150, 0.2) 30%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: all 0.6s ease-in-out;
  z-index: 0;
  filter: blur(8px);
}

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

.hover-scale:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.5);
}

.hover-scale:hover::after {
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1.25);
}
.hover-scale.img .img-inner {
    overflow: visible;
}
#footer{
  display: none
}
blockquote, dl, figure, form, ol, p, pre, ul {
    margin-bottom: .5em;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .text-vertical{
        transform: rotate(0deg);
  }
}
