/*
Theme Name: Your Theme Name
Theme URI: http://example.com
Author: Your Name
Author URI: http://example.com
Description: A brief description of your theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme-textdomain
*/
.gfade-out {
  opacity: 0;
}
#gene-lottie-fa{display:flex; width:100vw; height:100vh;align-items: center;    position: absolute;
  
    justify-content: center;}
#gene-lottie{position:absolute; z-index:999;width: 30%; transition: opacity 1s ease;}

.hero0420-img{    width: 80%;}
.hero0420-nav{width: 0vw;
    background: white;
    height: 100%;
    transition: 1s ease;
    position: relative;
}
.gimgnav{transition: 0.5s;opacity:0;}
.gimg{    position: absolute;transition: 0.5s;opacity:0;}
.g01{position: absolute;
    top: 40%;
    width: 39%;
    left: 72%;}
.g02{width: 100%;
    padding: 0px 37% 0 17%;
    box-sizing: border-box;
    position: relative;
    top: 11%;}
.g03{top: 14%;
    width: 30%;
    right: 3%;}
.g04{top: 30%;
    width: 5%;
    right: 3%;}
.g05{    top: 65%;
    width: 11%;
    right: 1%;
    position: fixed;}
.g06 {
    top: 90%;
    width: 13%;
    right: 36%;
    mix-blend-mode: multiply;
}
.g07 {
    top: 90%;
    width: 13%;
    right: 36%;
}

.gline{position: absolute;
    height: 1px;
    width: 0vw;
    background: white;
    top: 25%;
    right: 0;
    transition: 1.5s;}
    
    
.gimgactive{opacity:1;}
.glineactive{ width: 41vw;}    
    



.gene0418img {
    left: 0;
    position: relative;
    object-fit: contain;
}
.intro-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 998;
  overflow: hidden;
}

.stripes-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stripe {
  width: 100vw;
  height: calc(100vh/8);
  background: #fff;
  transform: scaleX(1);
  will-change: transform;
  transition: background-color 0.3s ease;
}

.skip-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 8px 16px;
  background: rgba(0,0,0,0.5);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1001;
}

.progress-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-indicator::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%); /* 使用 CSS 變量控制寬度 */
  background: white;
  transition: width 0.2s ease;
}

.intro-animation.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.main-content {
  display: none;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header, footer {
    background-color: #333;
    color: #fff;
    padding: 1em;
}


.main-navigation {
    margin-top: 1em;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    margin-right: 1em;
}

.gene0120-header {
    width: 100vw;
    padding: clamp(1rem, 2vw, 2rem) 0;
    background-color: #2B2522;
}

.gene0120-nav {
    width: 90vw;
    margin: 0 auto;
}

.gene0120-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    list-style: none;
    padding: 0;
    margin: 0;
}

.gene0120-nav-item {
    position: relative;
}

.gene0120-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.875rem, 1.2vw, 1.2rem);
    padding: clamp(0.5rem, 1vw, 1rem);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

.gene0120-nav-icon {
    font-size: clamp(1rem, 1.4vw, 1.4rem);
}

.gene0120-nav-link:hover,
.gene0120-nav-link.active {
    color: #4CAF50;
}

.gene0120-donate {
    background-color: #8B0000;
    border-radius: 4px;
    padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
}

.gene0120-donate:hover {
    background-color: #A52A2A;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .gene0120-nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .gene0120-nav-item {
        flex: 1 1 auto;
        text-align: center;
    }
    
    .gene0120-nav-link {
        justify-content: center;
    }
}

.gene0120-hero {
      position: relative;
    width: 100vw;
    overflow: hidden;
    height: 100vh;
    background-image:url("https://gene-travel.com/wp-content/uploads/2025/04/476502441_18035475167576333_1973.jpg") ;


}

.gene0120-hero-svg {
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gene0120-hero-text {
    position: absolute;
    top: 50%;
    left: 5vw;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #ffffff;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .gene0120-hero {
        height: clamp(300px, 60vh, 600px);
    }

    .gene0120-hero-text {
        font-size: clamp(0.875rem, 1vw, 1.2rem);
    }
}


/* -------- CSS -------- */
html, body {
  margin:0; padding:0; height:100%;
  overflow:hidden; /* 開場未結束前禁止滾動 */
}

.mask {
  position:fixed; top:0; left:0;
  width:100vw; height:100vh;
  z-index:1000;
}

.ginchild {
  width:100vw;
  height:calc(100vh/8);
  background:#fff;
  transform-origin: center; /* 預設，下面 JS 會覆寫成隨機 */
  transform:scaleX(1);
}

.gindex {
  display:none;
  position:relative; z-index:1;
}


/* 加入漸變與陰影效果 */
.ginchild {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,0.8) 100%
  );
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
  transition: opacity 0.3s;
}

/* 加入動態模糊效果（需硬體加速） */
.ginchild {
  will-change: transform;
  backface-visibility: hidden;
}
