:root {
    --row-gap: 60px;
    --col-gap: 16px;
    --section-padding: 120px;
    --section-grad-height: 240px;

    --color-green:#A6CE39;
    --color-yellow:#FFC649;
    --color-pink:#ED145B;
    --color-emerald:#00A79D;
    --color-white: #FFFFFF
}
*{
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden; 
    width: 100%;
    max-width: 100%;
}
body {
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-weight: 300;
    font-size:18px;
    line-height: 26px;
    font-weight: 200;
}

#smooth-wrapper {
    overflow: hidden;
}

#smooth-content {
    position: relative;
    will-change: transform;
}
.lazy-blur {
    filter: blur(20px);
    opacity: 0.4;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.lazy-blur.loaded {
    filter: blur(0);
    opacity: 1;
}
h1, h2, h3, h4, h5, h6{
    font-family: "Oswald", sans-serif;
    font-weight: 400;
}
p {
    font-size: 24px;
    line-height: 37px;
    color: #00A79D;
    font-weight: 200;
        letter-spacing: 0.25px;
}
p span.highlight{
    color: var(--color-pink);
    font-weight:400
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.row{
    display: flex;
    gap:var(--row-gap);
}
.col-3{
    width: 30%;
}
.col-6{
    width: 50%;
}
/* ——————————————————————————————
   FLOATING HEADER
—————————————————————————————— */
.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 20px 80px;

    transition: padding 0.3s ease, backdrop-filter 0.3s ease;
    will-change: transform, opacity;
}

.floating-header.shrink {
    padding: 10px 20px;
    transform: translateY(0) scale(0.95);
    /* backdrop-filter: blur(20px); */
}

.floating-header .logo {
    width: 100px;
    height: auto;
    transition: width 0.3s ease;
}
.site-name{
    font-family:"Oswald", sans-serif;
    font-size:24px;
    font-weight:400;
    color:white;
    text-transform:uppercase;
}
.floating-header.shrink .logo {
    width: 80px;
}

.floating-header .site-desc {
    text-align: right;
    font-size: 15px;
    line-height: 1.1;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    color:white;
    font-weight:300;
    display: flex;
    gap: 16px;
    align-items: center;
}

.floating-header.shrink .site-desc {
    font-size: 14px;
}

.menu-btn {
    width: 40px;
    height: 12px;
    top: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: auto;
    position: relative;
}

.menu-btn .line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s ease;
}

.menu-btn.active .line1 {
    transform: translateY(5px) rotate(45deg);
}

.menu-btn.active .line2 {
    transform: translateY(-5px) rotate(-45deg);
}

.menu-box {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.1);
    width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: all 0.35s ease;
    z-index: 9999;
}

.menu-box.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-box a {
    color: var(--color-emerald);
    text-decoration: none;
    font-weight: 500;
    display: block;
}


/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
        display: flex;
    align-items: flex-end;
    padding-bottom: var(--section-padding);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-bg .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.image-cards {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 40px;
    /* margin-top: 200px; */
    width: 100%;
}

.image-cards img {
    width: 180px;
    height: auto;
    opacity: 1!important;
    transform: translateY(50px) scale(0.9);
    will-change: transform, opacity;
    flex: 1;
}

 
/* section: INTRO */
section.intro{
    width: 100%;
    padding:var(--section-padding) 0;
    position: relative;
        background: #f6cf47; /* your yellow */
    position: relative;
    z-index: 10;

}
.fade-sentence {
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 20px;
    line-height: 1.7;
}
section.intro .intro-inner .container{
    display: flex;
    gap:var(--row-gap)
    
}
section.intro h2{
    font-size:40px;
    color:var(--color-pink);
    margin-bottom: 0;

}
section.intro .section-content .row {
    align-items: center;
}
.intro .para {
    overflow: hidden;
}

.intro .para h2,
.intro .para p {
    opacity: 1;
    will-change: transform, opacity;
}

.intro .para .highlight {
    display: inline-block;
}

.intro img {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    will-change: transform, opacity;
}
.intro-graphic {
    position: relative;
}

.fruit-graphic {
    width: 100%;
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
    will-change: opacity, transform;
}
.fruit-graphic path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

/* 
section fruits */
/* Left column */
section.colors .left {
    position: relative;
}

section.colors .left img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

section.colors .left img.full {
    opacity: 1; /* default overview image */
    z-index: 1;
}

/* Fruit container blocks */
.fruits-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fruits-container .fruit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 20vh;
    padding: 40px;
    cursor: pointer;
    overflow: hidden;
    transition: height 0.5s ease, padding 0.4s ease, background 0.3s ease;
}

.fruits-container .fruit img {
    max-width: 120px;
    max-height: 120px;
    transition: transform 0.3s ease;
}

/* Expanded state */
.fruits-container .fruit.active {
    height: 40vh;
    padding: 50px 40px;
}

.fruits-container .fruit .extra-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, max-height 0.4s ease;
}

.fruits-container .fruit.active .extra-content {
    opacity: 1;
    max-height: 200px; /* adjust as needed */
}

/* Dim other fruit blocks */
.fruits-container .fruit.dimmed {
    opacity: 0.4;
    filter: grayscale(0.4);
}

/* Slight scale on hover */
.fruits-container .fruit:hover img {
    transform: scale(1.04);
}

section.colors{
    height:100vh;
}
section.colors .section-content, section.colors .section-content .row{
    height: 100%;
}
section.colors .section-content .row{
    gap:0
}
section.colors .section-content .row .col-6 {
    overflow: hidden;
    height: 100%;
    flex: 1;
}
.left img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.fruits-container{
    display: flex;
    flex-direction: column;
    gap: 0;
}
.fruits-container .fruit{
    display: flex;
    justify-content: space-between;
    padding:40px;
    height: 20vh;
}
.fruits-container .fruit img {
    max-width: 120px;
    max-height: 120px;
}
.fruit.mangcau{
    background:white;
    color:var(--color-green)
}
.fruit.sung{
    background:var(--color-pink);
    color:var(--color-yellow)
}
.fruit.dua{
    background:var(--color-emerald);
    color: var(--color-yellow)
}
.fruit.du{
    background:var(--color-green);
    color: var(--color-pink)
}
.fruit.xoai{
    background:var(--color-yellow);
    color: var(--color-emerald);
}
.fruit .text{
    font-size:24px;
    font-weight: 400;
}
.fruit.active {
    position: relative;
    overflow: hidden;
}
.fruit.active .text {
    position: relative;
    z-index: 1;
    padding-right:40%
    
}
.fruit.active img{
    max-width: unset;
    max-height: unset;
    width:30%;
    position: absolute;
    right: 0%;
    bottom:-10%;
    z-index: 0;
}
.fruit.active.du img {
    bottom: -40%;
}
.fruit.active.sung img {
    right: 0%;
    bottom: 0%;
}
.fruits-container {
    position: relative;
    z-index: 10;
}

/* section envelopes spreading */
section.envelops-details {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}
section.envelops-details .section-bg {
    position: absolute;
    width: 100%;
    height: calc(100% + 160px);
    background-size: 50%;
    background-repeat: repeat;
    top: -80px;
    
}
section.envelops-details .image-cards {
    margin-top:unset
}


section.section-5 {
    position: relative;
}
section.section-5 .section-bg{
    width: 100%;
}
section.section-5 .section-bg img{
    width: 100%;
    height:auto
}


/* section mansonry */
.section-6 {
    padding: var(--section-padding) 0;
    background:var(--color-emerald);  
}

.showreel-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
}
.left-block {
    width: 65%;
}
.left-block img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.right-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.right-block img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
    .showreel-layout {
        grid-template-columns: 1fr;
    }

    .right-block {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .right-block img {
        width: calc(50% - 10px);
    }
}






.section-7{
    padding: var(--section-padding) 0;
     width: 100%;
    overflow: hidden;

}
.section-7 .images-scroller {
    display: flex;
    width: max-content;
    gap: 40px;
    padding: 20px 0;
}

.section-7 .images-scroller img {
    width: 300px;      /* adjust size */
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    will-change: transform;
}


section.footer{
    padding: var(--section-padding) 0;
    overflow: hidden;
    position: relative;
    background: white;
    color:#00A79D;
    min-height: 50vh;
}
section.footer .section-bg{
    top: 0;
}
section.footer .row{
    align-items: center;
}
section.footer .thank{
        font-size: 60px;
    line-height: 65px;
}
section.footer  .credits {
    display: flex;
    flex-direction: column;
    gap:12px;
}
section.footer  .credit {
    display: flex;
    flex-direction: row;
    gap:8px;
}
section.footer  .credit .label{
    width:20%;
    font-weight: 400;
}
.bg {
    filter: blur(20px);
    transform: scale(1.05);
    transition: filter 0.6s ease-out, transform 0.6s ease-out;
}

.bg.loaded {
    filter: blur(0);
    transform: scale(1);
}
 
.color .img {
    perspective: 900px; /* Enables 3D space */
    display: inline-block;
    transform-style: preserve-3d;
}

.color .img img {
    width: 100%;
    transition: transform 0.15s ease-out, box-shadow 0.2s ease-out;
    will-change: transform;
}

.color .img:hover img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}


/* Cursor order button */
.cursor-order-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;

  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  text-align: center;

  pointer-events: auto;

  opacity: 0;
  z-index: 9999;
}
.cursor-order-btn a {
    width: 100%;
    height: 100%;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    color: white;
}
/* Visible/active state */
.cursor-order-btn.active {
  opacity: 1;
  transform: translate(var(--x, 0px), var(--y, 0px)) translate(-50%, -50%) scale(1);
}
.cursor-order-btn.grow {
    transform: scale(1.15);
}
/* accessibility: small label fallback if needed */
.cursor-order-btn .label {
  pointer-events: none;
  user-select: none;
}
.cursor-order-btn.active {
  animation: popIn 0.35s cubic-bezier(.16,1.22,.27,1) forwards;
}

@keyframes popIn {
  0% { transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(0.4); }
  60% { transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(1.12); }
  100% { transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(1); }
}

/* standard WCAG compliant visually-hidden class */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
h3.custom-svg-heading img {
    height: 60px;
    width: auto;
    display: block;
}
@media (max-width:768px){
    :root {
        --row-gap: 40px;
        --col-gap: 12px;
        --section-padding: 40px;
        --section-grad-height: 40px;
    }
    p {
        font-size: 21px;
        line-height: 32px
    }
    .floating-header {
        padding: 20px 10px 0 10px;
    }
    .floating-header{
        background: linear-gradient(180deg, rgba(8, 11, 10, 0.85) 0%, rgba(8, 11, 10, 0.5) 50%, rgba(8, 11, 10, 0) 100%);
    }
    .floating-header .logo {
        width: 80px;
    }
    .floating-header.shrink .logo {
        width: 60px;
    }
    .floating-header .site-desc {
        font-size: 12px;
        padding-top: 20px;
    }
    .container {
        max-width: 100%;
        padding: 20px;
    }

    section.hero{
        padding-top:120px;
        height:70vh;
    }
    
    section.footer  .row{
        display: flex;
        flex-direction: column;
        gap:var(--row-gap);
    }
    section.footer .col-6 {
        width: 100%;
    }
    section.footer .thank{
        min-height: unset;
    }
    section.footer .credit .label {
        width: 50%;
    }
    section.footer .section-bg img {
        height: 100%;
    }
    section.intro .section-content .row{
        flex-direction: column;
    }
    section.intro .section-content .row .col-6{
        width: 100%;
    }
    .active .extra-content {
        display: none;
    }
    .section-7 .images-scroller img {
        width: 120px;
    }
    .cursor-order-btn {
        transform: none !important;
        left: 20px !important;
        bottom: 20px !important;
        top: auto !important;

        width: 90px;
        height: 90px;
        font-size: 14px;

        opacity: 1 !important;
        pointer-events: auto;
        mix-blend-mode: normal;

        position: fixed !important;
    }

    .cursor-order-btn.active {
        transform: none !important;
    }
    section.footer {
        padding: var(--section-padding) 0 130px 0;
    }
}
/* Small mobile */
@media (max-width: 480px) {
    :root {
        --row-gap: 20px;
        --section-padding: 40px;
        --section-grad-height: 30px;
    }
    .container {
        max-width: 100%;
        padding: 16px;
    }
     p {
        font-size: 18px;
        line-height: 30px
    }
     .active .extra-content {
        display: none;
    }
    
}
/* Tablet */
@media (max-width: 1024px) and (min-width:768px){
    :root {
        --row-gap: 30px;
        --section-padding: 60px;
        --section-grad-height: 60px;
    }
    .container {
        max-width: 100%;
        padding: 30px;
    }
    p {
        font-size: 21px;
        line-height: 32px
    }
}
@media (max-width: 1361px) and (min-width:1024px){
    :root {
        --row-gap: 30px;
        --section-padding: 60px;
        --section-grad-height: 60px;
    }
    .container {
        max-width: 100%;
        padding: 2%;
    }
    p {
        font-size: 21px;
        line-height: 32px
    }
    .fruits-container .fruit.active .extra-content {
        font-size: 76%;
        letter-spacing: 0.5px;
        font-weight: 300;
    }
    .fruit.active .text {
        padding-right: 30%;
    }
}
