@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  overflow: auto;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

  /* Headings */
  h1, h2, h3, h4, h5, h6, a, p, strong {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    z-index:2001;
  }

  /* Paragraphs */
  p {
    font-weight: 500;
    font-size: 1rem; /* base 16px */

  }

  /* Links */
  a {
    font-weight: 400;
    text-decoration: none;
  }

  /* ---------------------------
     DESKTOP (≥1024px)
  ---------------------------- */
  h1 { font-weight: 800; font-size: 4rem; }   /* 64px */
  h2 { font-weight: 700; font-size: 3rem; }   /* 48px */
  h3 { font-weight: 600; font-size: 2.5rem; } /* 40px */
  h4 { font-weight: 500; font-size: 2rem; }   /* 32px */
  h5 { font-weight: 400; font-size: 1.5rem; } /* 24px */
  h6 { font-weight: 400; font-size: 1.25rem; }/* 20px */
  p{ font-size: 1rem; }                   /* 16px */
  a { font-size: 0.80rem; }                   /* 16px */

  /* ---------------------------
     TABLET (768px–1023px)
  ---------------------------- */
  @media (max-width: 1023px) {
    h1 { font-size: 3.25rem; }  /* 52px */
    h2 { font-size: 2.5rem; }   /* 40px */
    h3 { font-size: 2rem; }     /* 32px */
    h4 { font-size: 1.75rem; }  /* 28px */
    h5 { font-size: 1.25rem; }  /* 20px */
    h6 { font-size: 1.1rem; }   /* 18px */
    p { font-size: 0.95rem; } /* 15px */
    a { font-size: 0.75rem; } /* 15px */
  }

  /* ---------------------------
     MOBILE (≤767px)
  ---------------------------- */
  @media (max-width: 767px) {
    h1 { font-size: 2.25rem; }  /* 36px */
    h2 { font-size: 1.875rem; } /* 30px */
    h3 { font-size: 1.625rem; } /* 26px */
    h4 { font-size: 1.375rem; } /* 22px */
    h5 { font-size: 1.125rem; } /* 18px */
    h6 { font-size: 1rem; }     /* 16px */
    p { font-size: 0.8rem; } /* 14.4px */
    a { font-size: 0.7rem; } /* 14.4px */
  }
/* Images */
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  padding: 2em;
  background-color: #000;
  color: #fff;
  display: flex;
  gap: 2em;
  overflow: hidden;
  z-index: 1000;
}

/* Loader */
.loader {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.loader h1 {
  text-align: center;
  line-height: 0.9;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(0deg, #3a3a3a, #3a3a3a 50%, #D4AF37 0);
  background-size: 100% 200%;
  background-position: 0% 100%;
  color: #3a3a3a;
}

/* Image Grid */
.image-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  gap: 1em;
  z-index: 2001;
}

.grid-row {
  width: 100%;
  display: flex;
  gap: 1em;
}

.img {
  position: relative;
  flex: 1;
  aspect-ratio: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}
.contain-fit {
  object-fit: contain;
}

/* Banner Image */
.banner-img {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 13vw;
  aspect-ratio: 0.8 / 1.1;
  object-fit: cover;
  z-index: 2000;
  box-shadow:
    0 10px 15px rgba(0, 0, 0, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 30px 60px rgba(0, 0, 0, 0.2);
}


.banner-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #c9a467;
  z-index: -1;
}

/* Make intro-copy vertical on left & right */
.intro-copy {
  position: absolute;
  top: 80%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  padding: 0 2em;
  display: flex;
  justify-content: space-between;
  /* Keep pointer-events enabled for hover */
  pointer-events: auto;
}

/* Vertical text lines */
.intro-copy h3 {
  font-family: "Yuji Boku", serif;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 3rem;
  color: #000;
  font-weight: 400;
  letter-spacing: 11px;
  text-shadow: 0 0 15px rgba(201, 164, 103, 0.5);
  white-space: nowrap;
  /* Floating effect - RESTORED */
  animation: floaty 4.5s ease-in-out infinite;
  /* Add position relative for tooltips */
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Subtle vertical drifting - RESTORED */
@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* soft rise */
  }
  100% {
    transform: translateY(0);
  }
}

/* Hover effect for h3 - WITH GLOW */
.intro-copy h3:hover {
  color: #c9a467;
  text-shadow: 0 0 20px rgba(201, 164, 103, 0.8),
               0 0 30px rgba(201, 164, 103, 0.4);
}

/* Translation tooltips with Cinzel font */
.intro-copy h3::after {
  content: attr(data-translation);
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(42, 42, 42, 0.95);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  /* RESET writing mode for English text */
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  /* Cinzel font for English translation */
  font-family: "Cinzel", serif !important;  letter-spacing: 0.5px; /* Reduced from default */

  /* Position 20% from top instead of centered */
  top: 10%;
  will-change: transform, opacity;
}

.intro-copy h3::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  /* Adjust arrow position to match text position */
  top: 15%;
}


/* First word - hover on RIGHT */
.intro-copy h3:first-child::after {
  left: 120%;
  transform: translateX(-10px);
  /* Remove translateY since we're using top: 20% */
}

.intro-copy h3:first-child::before {
  left: 120%;
  transform: translate(-100%, 0);
  border-right-color: rgba(42, 42, 42, 0.95);
}

.intro-copy h3:first-child:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.intro-copy h3:first-child:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Second word - hover on LEFT */
.intro-copy h3:last-child::after {
  right: 120%;
  transform: translateX(10px);
  /* Remove translateY since we're using top: 20% */
}

.intro-copy h3:last-child::before {
  right: 120%;
  transform: translate(100%, 0);
  border-left-color: rgba(42, 42, 42, 0.95);
}

.intro-copy h3:last-child:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.intro-copy h3:last-child:hover::before {
  opacity: 1;
  visibility: visible;
}
/* left text */
.intro-copy h3:first-child {
  margin-left: 1rem;
}

/* right text */
.intro-copy h3:last-child {
  margin-right: 1rem;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .intro-copy {
    display: none;
  }
}

.intro-copy h3 .word {
  display: inline-block;
  position: relative;
  will-change: transform;
  margin-right: 0.1rem;
}

.title {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.title h1 {
  position: relative;
  font-weight: 800;
  line-height: 1.1;
  font-size: 3.3rem;
  color: #000;
  white-space: normal;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.title h1 .word {
  display: inline-block;
  position: relative;
  will-change: transform;
}

.nowrap {
  white-space: nowrap;
}

/* Responsive Typography */
@media (max-width: 1200px) {
  .title h1 { font-size: 2.9rem; }
}

@media (max-width: 992px) {
  .title h1 { font-size: 2.3rem; }
}

@media (max-width: 768px) {
  .title h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .title h1 { font-size: 1.7rem; }
}

/* Responsive Layout Adjustments */
@media (max-width: 900px) {
  .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .title {
    width: 100%;
    bottom: 20%;
    display: flex;
    justify-content: center;
  }

  .banner-img {
    transform: translate(-50%, -50%) scale(0);
    width: 30%;
  }

  .image-grid {
    width: 60%;
    gap: 0.5em;
  }

  .grid-row {
    width: 95%;
    justify-content: space-around;
    gap: 0.5em;
  }
}


        .trail {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 10;
        }

/* Bamboo Decoration */
.bamboo-decoration {
  position: absolute;
  bottom: 30%;
  left: -6%;
  width: 40%;
  display: flex;
  justify-content: center; /* center bamboo horizontally */
  z-index: 0; /* behind other content */
  pointer-events: none; /* prevent interfering with clicks */
  overflow: hidden;  mix-blend-mode: darken;
}
.bamboo-decoration-2 {
  position: absolute;
  bottom: 30%;
  right: -6%;
  width: 40%;
  display: flex;
  justify-content: center; /* center bamboo horizontally */
  z-index: 0; /* behind other content */  transform: scaleX(-1) ;
  mix-blend-mode: darken;

  pointer-events: none; /* prevent interfering with clicks */
  overflow: hidden;
}
@media (max-width: 768px) {
  .bamboo-decoration,
  .bamboo-decoration-2 {
    width: 65%;
      bottom: 65%;
  }

    .bamboo-decoration{
          left: -10%;

    }    .bamboo-decoration-2{
      right: -10%;

    }
}
.bamboo-decoration img {
 mix-blend-mode: darken;
}.bamboo-decoration2 img {
 mix-blend-mode: darken;
}


.dual-content-subtext {
    font-size: 1rem;
    margin-top: 20px;
    color: #666;
    line-height: 1.6;
}

/* Buttons container */
.dual-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base button styling */
.dual-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

/* WhatsApp button */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
}
/* Golden button */
.golden-btn {
    background-color: #FFD700; /* Golden color */
    color: #1a1a1a; /* Dark text for contrast */
    border: 2px solid #e6c200;
}

.golden-btn:hover {
    background-color: #FFC107; /* Slightly brighter gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

/* Hub button */
.hub-btn {
    background-color: #c9a467;
    color: white;
}

.hub-btn:hover {
    background-color: #9c0a0a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}

/* Button icons */
.dual-btn svg {
    width: 18px;
    height: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dual-content-subtext {
        font-size: 0.95rem;
        margin-top: 15px;
    }

    .dual-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
    }

    .dual-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .dual-content-subtext {
        font-size: 0.9rem;
    }

    .dual-btn {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
}
