* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    height: 100%;
    font-family: "DM Sans", sans-serif;
    background: #fafafa;
}
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* MAIN WRAPPER */
.container {
    display: flex;
    height: 100vh;       /* lock screen height */
    overflow: hidden;    /* disable body scroll */
    padding: 20px;
    gap: 20px;
}

/* Left slideshow (fixed) */
.slideshow-container {
    width: 50%;
    aspect-ratio: 4 / 5; /* 1080x1350 ratio */
    max-height: 100%;
    position: sticky;
    top: 20px;
    border-radius: 10px;
    overflow: hidden;
    align-self: flex-start;
}
.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slideshow-container img.active {
    opacity: 1;
}

/* Right scrollable panel */
.right-panel {
    width: 50%;
    overflow-y: auto; /* independent scroll */
    background: #fafafa;
    gap: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

/* Top split inside right panel */
.top-section {
    display: flex;
    height: 50vh;
    flex-shrink: 0;
    gap: 20px;
}
.info {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    border-radius: 10px;
}
.info-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.info-top img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.info-top h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 500;
}
.info-top p {
    font-size: 14px;
    color: #666;
    margin: 6px 0;
    font-weight: 300;
}
.info-bottom {
    font-size: 14px;
    color: #666;
    font-weight: 300;
}
.info-bottom p {
    margin: 0;
    font-size: 16px;
    color: #000;
}

.vertical-boxes {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.vbox {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    font-weight: 300;
    text-decoration: none;
    color: black;
    transition: background-color 0.2s;
}
.vbox:hover {
    background: #f0f0f0;
}
.vbox img {
    width: 24px;
    height: 24px;
}

/* Demo box */
.demo-box {
    min-height: 50px;
    max-height: 50px;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    border-radius: 10px;
}

/* Multiple boxes */
.multi-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.multi-box {
    position: relative;
    background-size: cover;
    background-position: center;
    aspect-ratio: 4 / 5;  /* keep same 1080x1350 ratio */
    border-radius: 20px;
    border-top-left-radius: 0px;
    overflow: hidden;
}

.box-text {
    position: absolute;
    top: 0;
    left: 0;
    background: #fafafa;
    color: black;
    padding: 8px 20px;
    border-bottom-right-radius: 12px;
    font-weight: 300;
    font-size: 14px;
    z-index: 1;
}

/* Footer */
.footer {
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    max-height: 100px;
    justify-content: left;
    align-content: left;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-bottom: -20px;
}

/* Mobile version */
@media (max-width: 999px) {
    .container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    .slideshow-container {
        width: 100%;
        aspect-ratio: 4 / 5;
        position: relative;
        top: unset;
    }
    .right-panel {
        width: 100%;
        height: auto;
        overflow-y: visible;
    }
    .top-section {
        flex-direction: column;
        height: auto;
    }
    .info, .vertical-boxes {
        width: 100%;
    }
}