﻿@import url('https://fonts.googleapis.com/css2?family=Liu+Jian+Mao+Cao&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans:wdth@62.5..100&display=swap');

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --primary-red: #d32f2f;
    --primary-gray: #f5f5f5;
    --hover-gray: #e0e0e0;
    --primary-yellow: #F28F16;
    --primary-beage: #F2C299;
    --primary-orange: #F2561D;
    --primary-red: #f5f5f5;
    --c1: #F2F2F0;
    --c2: #D9D8D2;
    --c3: #8C8C8C;
    --c4: #595959;
    --c5: #0D0D0D;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Noto Sans', 'Noto Sans SC', serif;
    background-color: var(--primary-white);
    color: var(--primary-black);
}

.liu-jian-mao-cao-regular {
    font-family: "Liu Jian Mao Cao", cursive;
    font-weight: 400;
    font-style: normal;
}


.noto-sans-sc {
    font-family: "Noto Sans SC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.noto-sans {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}



/* SPLIT SCREEN WRAPPER */
.split-wrapper {
    opacity: 0;
    transition: opacity 1s ease;
}

    .split-wrapper.reveal {
        opacity: 1;
    }

/* ===== OVERLAY STRIPS ===== */
.overlay-strips {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    z-index: 100;
    pointer-events: none;
    font-family: "Liu Jian Mao Cao", 'XingShu', 'Noto Sans SC', cursive;
    line-height:2.5rem;
    text-align:center;
}

.overlay-strips div {
    flex: 1;
    font-size: 2rem;
    transition: transform 1s ease;
    opacity: 1; /* no default fade in */
}

/* Slide Up Effect */
.overlay-strips.slide-up div {
    transform: translateY(-100%);
}

/* Fade-in animation ONLY on reset */
.overlay-strips.reset div {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

    .overlay-strips.reset div:nth-child(1) {
        animation-delay: 1.5s;
    }

    .overlay-strips.reset div:nth-child(2) {
        animation-delay: 1.2s;
    }

    .overlay-strips.reset div:nth-child(3) {
        animation-delay: 0.9s;
    }

    .overlay-strips.reset div:nth-child(4) {
        animation-delay: 0.6s;
    }

    .overlay-strips.reset div:nth-child(5) {
        animation-delay: 0.3s;
    }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* INDIVIDUAL STRIPS STYLING */
.overlay-strips div:nth-child(1) {
    background-color: rgba(242, 242, 240, 1);
    color: #0D0D0D;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10rem;
}

.overlay-strips div:nth-child(2) {
    background-color: rgba(217, 216, 210, 1);
    color: #0D0D0D;
    align-items: center;
    padding-top: 8vh;
}

.overlay-strips div:nth-child(3) {
    background-color: rgba(140, 140, 140, 1);
    color: #fff;
    align-items: center;
    padding-top: 8vh;
}

.overlay-strips div:nth-child(4) {
    background-color: rgba(89, 89, 89, 1);
    color: #fff;
    align-items: center;
    padding-top: 8vh;
}

.overlay-strips div:nth-child(5) {
    background-color: rgba(13, 13, 13, 1);
    color: #F2F2F0;
    align-items: center;
    padding-top: 8vh;
}

/* Mobile Strip Adjustments */
@media (max-width: 768px) {
    .overlay-strips div:nth-child(1) {
        padding-top: 2rem;
    }

    .overlay-strips div:nth-child(2),
    .overlay-strips div:nth-child(4) {
        padding-top: 10vh;
    }

    .overlay-strips div:nth-child(3),
    .overlay-strips div:nth-child(5) {
        padding-top: 7vh;
    }
}

/* SPLIT SECTIONS */

.split-left,
.split-right {
    position: relative;
    overflow: hidden;
}

.split-left {
    font-family: 'Noto Sans', serif;
    color: #333;
    background-color: transparent;
}

    .split-left::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('/images/home_left.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.7;
        z-index: 0;
    }

    .split-left::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom right, #ECEBE6, #D9D8D2);
        opacity: 0.3;
        z-index: 1;
    }

    .split-left > .content,
    .split-right > .content {
        position: relative;
        z-index: 2;
    }

.split-right {
    color: white;
    background-color: transparent;
}

    .split-right::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('/images/home_right.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 1;
        z-index: 0;
    }

    .split-right::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom right, #595959, #2f2f2f);
        opacity: 0.5;
        z-index: 1;
    }

/* BUTTONS (unchanged from before) */
.btn-modern {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    letter-spacing: 0.2em;
}

    .btn-modern:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.25);
    }

.btn-modern-dark {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1.2rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    letter-spacing: 0.2em;
}

    .btn-modern-dark:hover {
        background: rgba(0, 0, 0, 0.75);
        transform: scale(1.25);
    }
