/*
Theme Name: paa-theme
Author: Your Name
Description: Minimal one-page portfolio theme
Version: 1.0
*/

html,body{
    color:#ffffff;
    font-family: 'Manrope', sans-serif !important;
    background-color: #0f0f0f;
    background-image:url('assets/images/noise-bg.png');
    background-size: contain;
    background-size: 50px; 
    background-repeat: repeat;
}

h1,h2,h3,h4,h5,h6,p,span,div,a{
    font-family: 'Manrope', sans-serif !important;
}

.text-theme-grey{
  color:#7f7f7f;
}

.noise-bg {
  background-color: #262626;
  background-image:url('assets/images/noise-bg.png');
  background-size: contain;
  background-size: 50px;
  background-repeat: repeat;
  opacity: 1; 
}
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.float-sea {
  animation: float 2s ease-in-out infinite;
}

@keyframes gradientFlow {
  0% {
      background-position: 0%;
  }

  50% {
      background-position: 100%;
  }

  100% {
      background-position: 0%;
  }
}
.header-ctn{
  background:rgba(0,0,0,0.1);
  border-radius:100px;
  margin-top:20px;
}
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#preloader-logo {
  width: 300px;
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
}
.header-logo{
  width: 135px;
}


/* Hero section */
#card-image{
  width:25%;
}
#hero-third-headline{
  bottom:20%;
}
#star-night-ctn{
  background-image: url(https://paa.1001.com.hk/wp-content/themes/paa-theme/assets/images/Original.png); 
  background-size: 40%; 
  border-radius: 100px; 
  background-repeat: no-repeat;
}
.gradient-text p{
  background: linear-gradient(20deg, #3B23EF -13.09%, #E9E9E9 50%,#3B23EF 100% );
  background-size: 160% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline-block !important;
  animation: gradientFlow 4s linear infinite !important;
  will-change: background-position;
}

.gradient-text, .gradient-text p {
  position: relative;
  color: transparent !important;
  display: inline-block;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-group {
  position: relative;
  width: 350px;
  height: 650px;
  cursor: pointer;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.img-left {
  transform: rotate(-10deg);
  z-index: 1;
}

.img-center {
  transform: rotate(0deg);
  z-index: 2;
}

.img-right {
  transform: rotate(10deg);
  z-index: 1;
}

/* 3D */
.carousel {
  width: 70vw;
  height: calc(70vw * 0.75); /* 4:3 ratio */
  aspect-ratio: 1; /* maintain square shape */
  perspective: 2000px;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(-20deg);
  margin: auto;
  position: relative;
  right: -40%; 
}

.carousel-image {
  position: absolute;
  transform-style: preserve-3d;
}

.box {
  transform-style: preserve-3d;
  position: relative;
}

.face {
  background: #CCC;
}


/* Features */
.card-slider {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  
}

.cards-wrapper {
  display: flex;
  gap: 80px;
  height: 100%;
  padding: 40px 20%;
  width: max-content;
  will-change: transform;
  scroll-snap-type: x mandatory;
}

.card {
  flex: 0 0 30vw;
  height: calc(25vw * 3 / 2);
  border-radius: 24px;
  background: #333;
  color: white;
  scroll-snap-align: start;
  border-radius: 60px;
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card.dark { background: #262626; }
.card.blue { background: #3B23EF; }
.card.yellow { background: #D3F248; color: #262626; }

.card:nth-child(1) { transform: rotate(-6deg); }
.card:nth-child(2) { transform: rotate(6deg); }
.card:nth-child(3) { transform: rotate(-6deg); }
.card:nth-child(4) { transform: rotate(6deg); }

.card .icon {
  background: #383838;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card .icon.white{
  background: #ffffff;
}

/* Registration */
.spacer {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

#registration{
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slides {
  height: 100vh;
  width: 100vw;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 3rem;
  z-index: 1;
  opacity: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.cube-bg{
  background-color: #262626;
  border-radius: 60px;
  width: 50vw;
  height: 80vh;
  left:0;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.phone {
  position: relative;
  overflow: hidden;
  width: 50vw;
  height: 70vh;
}

.slide.active .phone {
  opacity: 1;
}
.phone img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  text-align:center;
}
.content{
  width: 50vw;
  height: 70vh;
  opacity: 0;
}
#progress-bar {
  position: absolute;
  bottom: 20%;
  left: 10%;
  height: 4px;
  width: 30%;
  background-color: #030707;
  z-index: 10;
}

#progress-bar .bar {
  height: 100%;
  width: 0%;
  background: #3B23EF;
  transition: width 0.4s ease;
}


/* Footer */
footer{
  color:#fff;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  background:transparent;
}

.marquee-item {
  flex-shrink: 0; 
  background:transparent;
}
.marquee-item img{
  object-fit: cover;
}

@media (max-width: 768px) { 
  #sidebar-nav-ctn{
    display: none;
  }
  .header-logo{
    width:75px;
  }
  #card-image{
    width:50%;
  }
  #hero-third-headline{
    bottom:15%;
  }
  
}