/**
 * Our World — Brand storytelling page styles
 *
 * @package LustMich
 */

/* =============================================
   Main Container
   ============================================= */

.lm-world {
    overflow-x: hidden; 
    font-family: "Noto Sans", sans-serif;
}

/* Shared container */
.lm-world__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    padding-left: 0;
}

.lm-world__container-p3 {
    margin-left:8%;
}

.lm-world__container--narrow {
    max-width: 760px;
    text-align: center;
}

/* =============================================
   Scroll Reveal
   ============================================= */

.lm-world__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.lm-world__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Section 1: Hero — auto-panning reveal
   Background image auto-scrolls from top to bottom,
   revealing the full length of the product.
   ============================================= */

.lm-world__hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 960px;
    overflow: hidden;
    background: #000;
}

/*
 * The image (1920×2560, portrait) is taller than the viewport.
 * background-size: 100% auto ensures the full width fills the screen
 * while height overflows — giving vertical room to pan.
 * JS drives background-position based on scroll progress.
 */
.lm-world__hero-bg {
    position: absolute;
    inset: 0;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    will-change: background-position;
}

.lm-world__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.lm-world__hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.lm-world__hero-heading {
    font-size: 5rem;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.lm-world__hero-sub {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/*
 * Hero intro paragraph — hidden initially, fades in
 * when user scrolls a little. JS adds .is-scrolled to
 * .lm-world__hero-content, shifting heading up and
 * revealing this paragraph.
 */
.lm-world__hero-content {
    transition: transform 0.8s ease;
}

.lm-world__hero-content.is-scrolled {
    transform: translateY(-15%);
}

.lm-world__hero-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 24px auto 0;
    line-height: 1.8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

.lm-world__hero-content.is-scrolled .lm-world__hero-intro {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll hint — now a button */
.lm-world__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: lm-world-bounce 2s ease-in-out infinite;
    opacity: 0.8;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    padding: 0;
}

.lm-world__scroll-hint:hover {
    border-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

@keyframes lm-world-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   Sections — shared
   ============================================= */

.lm-world__section {
    position: relative;
    padding: 100px 0;
}

.lm-world__section--light {
    background: #fff;
}

.lm-world__section--dark {
    background: #000;
}

.lm-world__section--warm {
    background: #f8f7f5;
}

/* Overlap effect: light sections slide up over previous dark ones */
.lm-world__section--overlap {
    margin-top: -40px;
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

.lm-world__section--cta {
    background: #a28573;
    text-align: center;
    padding: 80px 0;
}

/* =============================================
   Typography
   ============================================= */

.lm-world__title {
    font-size: 2.5rem;
    color: #201712;
    margin: 0 0 16px;
    line-height: 1.3;
}

.lm-world__title--light {
    color: #fff;
}

.lm-world__subtitle {
    font-size: 1.5rem;
    color: #201712;
    margin: 0 0 14px;
}

.lm-world__text {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.9;
    margin: 0 0 16px;
}

.lm-world__text--light {
    color: rgba(255, 255, 255, 0.9);
}

.lm-world__text--muted {
    color: #696969;
}

.lm-world__text--small {
    font-size: 0.95rem;
}

.lm-world__text a {
    color: #A28573;
    text-decoration: underline;
}

.lm-world__text a:hover {
    color: #8B6F5E;
}

/* Divider: line — text — line (same as homepage) */
.lm-world__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto 30px;
    max-width: 500px;
}

.lm-world__divider::before,
.lm-world__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E6E6E6;
}

.lm-world__divider-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: #696969;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* =============================================
   Section 3: Product Showcase — cycling PNGs
   Full-bleed image left, text right with PNGs
   appearing behind at different scroll points.
   ============================================= */

/* Full-bleed: image touches left edge of browser */
.lm-world__showcase .lm-world__split {
    gap: 40px;
}

.lm-world__showcase .lm-world__split-media {
    border-radius: 0 12px 12px 0;
    /*margin-left: calc(-1 * ((100vw - 1200px) / 2));/*/
    margin-top:5%;
    margin-bottom:5%;
}

.lm-world__showcase .lm-world__split-img {
    border-radius: 0 12px 12px 0;
}

.lm-world__showcase-right {
    min-height: 360px;
}

/* Container is the positioning context for the cycling PNGs */
.lm-world__showcase .lm-world__container {
    position: relative;
    overflow: hidden;
}

.lm-world__showcase-bg {
    position: absolute;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 6px 20px rgba(162, 133, 115, 0.15));
    transform: scale(0.92);
    transition: opacity 0.7s ease, transform 0.7s ease;
    z-index: 0;
}

/* PNG 1 — UglyWand: large, centered */
.lm-world__showcase-bg:nth-child(1) {
    max-width: 85%;
    top: 5%;
    right: 5%;
}

/* PNG 2 — KastanienPlug: small, top-right */
.lm-world__showcase-bg:nth-child(2) {
    max-width: 25%;
    top: 10%;
    right: 0%;
}

/* PNG 3 — BigBoy: full width, bottom */
.lm-world__showcase-bg:nth-child(3) {
    max-width: 100%;
    bottom: 5%;
    right: 25%;
}

.lm-world__showcase-bg.is-active {
    opacity: 0.15;
    transform: scale(1);
}

/* Split content + text sit above the PNGs */
.lm-world__showcase .lm-world__split {
    position: relative;
    z-index: 1;
}

.lm-world__showcase-text {
    position: relative;
    z-index: 1;
}

/* =============================================
   Split Layout (image + text side by side)
   ============================================= */

.lm-world__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lm-world__split--reverse {
    direction: rtl;
}

.lm-world__split--reverse > * {
    direction: ltr;
}

.lm-world__split-media {
    overflow: hidden;
    border-radius: 12px;
}

.lm-world__split-media--contain {
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-world__split-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.lm-world__split-media--contain .lm-world__split-img {
    max-height: 500px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0;
}

/* =============================================
   Section 4: Pure Material — color wheel scroll
   Bucket PNG sits stationary (right column),
   color wheel travels left→right on scroll.
   ============================================= */

.lm-world__pure .lm-world__container {
    position: relative;
    overflow: hidden;
}

.lm-world__pure .lm-world__split {
    position: relative;
    z-index: 1;
}

.lm-world__color-wheel {
    position: absolute;
    top: 50%;
    left: 0;
    max-width: 280px;
    height: auto;
    transform: translate(-30%, -50%);
    opacity: 0.35;
    pointer-events: none;
    z-index: 5;
    will-change: transform;
    filter: drop-shadow(0 4px 20px rgba(162, 133, 115, 0.2));
}

/* =============================================
   Section 5: Safe & Pure — full-bleed left image
   Image touches left edge of browser, rounded on right only.
   ============================================= */

.lm-world__safe .lm-world__split {
    gap: 40px;
}

.lm-world__safe .lm-world__split-media {
    border-radius: 0 12px 12px 0;
    margin-left: calc(-1 * ((100vw - 1200px) / 2 + 5%));
}

.lm-world__safe .lm-world__split-img {
    border-radius: 0 12px 12px 0;
}

/* =============================================
   Section 6: Color Swatches
   ============================================= */

.lm-world__colors-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.lm-world__swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
}

.lm-world__swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lm-world__swatch-circle {
    position: relative;
    width: 72px;
    height: 72px;
}

.lm-world__swatch-fill {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
}

.lm-world__swatch-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.lm-world__swatch-name {
    font-size: 0.75rem;
    font-weight: 300;
    color: #696969;
    text-align: center;
    max-width: 80px;
}

/* =============================================
   Section 7: Softness
   ============================================= */

.lm-world__softness-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0;
}

.lm-world__softness-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lm-world__softness-bar {
    width: 80px;
    height: 8px;
    background: #E6E6E6;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.lm-world__softness-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill, 50%);
    background: #A28573;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.lm-world__softness-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lm-world__softness-info strong {
    font-size: 0.95rem;
    font-weight: 400;
    color: #201712;
}

.lm-world__softness-info span {
    font-size: 0.85rem;
    font-weight: 300;
    color: #696969;
}

/* =============================================
   Section 8: CTA
   ============================================= */

.lm-world__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.lm-world__cta.lm-button {
    color:white;
    border-color:white;
}

.lm-world__cta {
    display: inline-block;
}

.lm-world__cta:hover {
    background: #A28573;
    border-color: #A28573;
    color: #fff;
}

.lm-world__cta--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.lm-world__cta--outline:hover {
    border-color: #A28573;
    background: #A28573;
    color: #fff;
}

/* =============================================
   Responsive: Tablet (<=1024px)
   ============================================= */

@media (max-width: 1024px) {
    .lm-world__hero-heading {
        font-size: 3.5rem;
    }

    .lm-world__title {
        font-size: 2rem;
    }

    .lm-world__split {
        gap: 40px;
    }

    /* Full-bleed: on narrower screens the container is 100% - 5% padding */
    .lm-world__showcase .lm-world__split-media {
        margin-left: -5%;
    }

    .lm-world__safe .lm-world__split-media {
        margin-left: -5%;
    }
}

/* =============================================
   Responsive: Mobile (<=768px)
   ============================================= */

@media (max-width: 768px) {

    .lm-world__color-wheel {
        left:-250px;
    }


    .lm-world__container {
        padding-left:0;
    }
    .lm-world__hero {
        min-height: 400px;
        max-height: 600px;
    }

    .lm-world__hero-heading {
        font-size: 2.5rem;
    }

    .lm-world__hero-sub {
        font-size: 1.1rem;
    }

    .lm-world__hero-intro {
        font-size: 0.95rem;
        max-width: 480px;
    }

    .lm-world__section {
        padding: 70px 0;
    }

    .lm-world__section--overlap {
        margin-top: -30px;
        border-radius: 16px 16px 0 0;
    }

    .lm-world__title {
        font-size: 1.7rem;
    }

    .lm-world__subtitle {
        font-size: 1.2rem;
    }

    .lm-world__text {
        font-size: 1rem;
    }

    /* Showcase: reset full-bleed on mobile stacked layout */
    .lm-world__showcase .lm-world__split-media {
        margin-left: 0;
        border-radius: 12px;
    }

    .lm-world__showcase .lm-world__split-img {
        border-radius: 12px;
    }

    /* Safe & Pure: reset full-bleed on mobile stacked layout */
    .lm-world__safe .lm-world__split-media {
        margin-left: 0;
        border-radius: 12px;
    }

    .lm-world__safe .lm-world__split-img {
        border-radius: 12px;
    }

    /* Split: stack vertically */
    .lm-world__split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lm-world__split--reverse {
        direction: ltr;
    }

    .lm-world__split-media--contain .lm-world__split-img {
        max-height: 380px;
    }

    /* Color swatches */
    .lm-world__swatch-circle {
        width: 60px;
        height: 60px;
    }

    .lm-world__swatches {
        gap: 20px;
    }

    .lm-world__container-p2 {
        padding-left:0;
        padding-right:0;
    }

    .lm-world__container-p2 .lm-world__split-media {
        border-radius:0px !important;
    }

    .lm-world__container-p2 .lm-world__showcase-text {
        margin-left: 5%;
        margin-right:5%;
    }

    .lm-world__container-p5 {
        margin-left: 5%;
        margin-right:5%;
    }

    .lm-world__safe .lm-world__split {
        gap: 10px;
        display: flex;
    }

}

/* =============================================
   Responsive: Small Mobile (<=480px)
   ============================================= */

@media (max-width: 480px) {

    .lm-world__color-wheel {
        left:-350px;
    }

    .lm-world__hero {
        min-height: 340px;
        max-height: 500px;
    }

    .lm-world__hero-heading {
        font-size: 2rem;
    }

    .lm-world__hero-sub {
        font-size: 0.95rem;
    }

    .lm-world__hero-intro {
        font-size: 0.85rem;
        max-width: 360px;
        margin-top: 16px;
    }

    .lm-world__section {
        padding: 50px 0;
    }

    .lm-world__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .lm-world__cta-buttons .lm-button {
        width: 100%;
    }

    .lm-world__swatch-circle {
        width: 52px;
        height: 52px;
    }

    .lm-world__swatches {
        gap: 16px;
    }

    .lm-world__softness-bar {
        width: 60px;
    }
}
