/* Lumonote specific styles */

.body {
    background-color: #ffffff;
}

::selection {
    background-color: #7145B9;
    color: #fdfdfd; 
}

::-moz-selection {
    background-color: #7145B9;
    color: #fdfdfd;
}

.container {
    background-color: #fdfdfd;
    padding-bottom: 70vh;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.7s cubic-bezier(0.50, 0, 0.50, 1) 0.5s forwards;
    opacity: 0;
}

.hero-section {
    background-color: #7145B9;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: height 0.5s ease;
    animation: shrinkHeight 0.5s ease 1.2s forwards;
    margin-top: 0;
}

@keyframes shrinkHeight {
    from { height: 100vh; }
    to { height: 95vh; }
}


@media (max-width: 767px) {
    @keyframes shrinkHeight {
        from { height: 100vh; }
        to { height: 85vh; }
    }
}

.hero-title {
    position: absolute;
    font-family: 'Basteleur', serif;
    font-size: 80px;
    color: #fdfdfd;
    text-align: center;
    margin: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-image {
    width: 36%;
    height: auto;
    position: absolute;
    bottom: -25%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.lottie-container {
    bottom: -35%;
    position: relative;
    width: 100%;
    display: flex;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

dotlottie-player {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    dotlottie-player {
        width: 100% !important;
        height: auto !important;
    }
}

.section {
    background-color: #fbfbfb;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20vh 12vw;
    gap: 180px;
}

.section-title {
    font-family: 'Basteleur', serif;
    font-size: 32px;
    margin: 0;
    color: black;
    width: 19%;
    max-width: 292px;
}

.section-title-box {
    font-family: 'Basteleur', serif;
    font-size: 32px;
    margin: 0;
    width: 75%;
    max-width: 292px;
    color: black;
}
.section-description {
    width: 30.8vw;
    gap: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-text {
    color: black;
    font-size: 16px;
    line-height: 160%;
    text-align: justify;
    letter-spacing: -2%;
}

.section-image {
    position: relative;
    display: flex;
    width: 100%;
    display: block;
    margin: 0;
    /* vertical-align: top; */
}

.section-image + .section-image {
    margin-top: -1px;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.meta-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 6vw;
}

.meta-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.meta-column.empty {
    opacity: 0;
}

.meta-label {
    font-size: 16px;
    color: #999;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.5;
    text-align: left;
}

.meta-value {
    font-size: 16px;
    color: #000;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.5;
    text-align: left;
}

/* Parallax Footer Styles */
.parallax-footer {
    height: 70vh;
    width: 100vw;
    background-color: #27232D;
    position: fixed;
    bottom: 0;
    /* left: 0; */
    z-index: -1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 12vw;
    padding: 0 12vw;
}

.up-next {
    position: absolute;
    top: 32%;
    left: 12vw;
    transform: translateY(-24px);
    will-change: transform;
    transition: transform 0.05s linear;
}

.up-next p {
    font-family: 'Brockmann', sans-serif;
    font-size: 16px;
    color: #fdfdfd;
    opacity: 0.4;
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
}

.up-next p::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fdfdfd;
    transition: width 0.3s ease;
}

.parallax-footer:hover .up-next p::after {
    width: 65%;
}

.next-project {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    transform: translateY(-24px);
    will-change: transform;
    transition: transform 0.05s linear;
}

.next-project a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.next-title {
    font-family: 'Basteleur', serif;
    font-size: 80px;
    color: #fdfdfd;
    margin: 0;
    z-index: 2;
}

.next-grid-pattern {
    position: absolute;
    bottom: -12%;
    right: -25%;
    width: 55%;
    height: 55%;
    object-fit: contain;
    background-image: url('../lumenduel/home-cover.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    z-index: 1;
    transform: rotate(-15deg);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .parallax-footer {
        height: 70vh;
    }
    
    .next-title {
        font-size: 40px;
    }
    
    .up-next {
        left: 8vw;
        top: 35%;
    }
    
    .next-grid-pattern {
        bottom: -6%;
        right: -12%;
        width: 60%;
        height: 60%;
    }
    
    .lottie-container {
        bottom: -35%;
        position: relative;
        width: 80%;
        display: flex;
        z-index: 1;
        justify-content: center;
        align-items: center;
    }
    
    /* General responsive adjustments */
    .section {
        flex-direction: column;
        gap: 24px;
        padding: 10vh 8vw;
    }
    
    .section-title {
        width: 100%;
        font-size: 24px;
        max-width: 100%;
    }

    .section-title-box {
        width: 100%;
        font-size: 24px;
        max-width: 100%;
    }
    
    .section-description {
        width: 100%;
        gap: 24px;
    }
    
    .section-text {
        font-size: 0.925rem;
    }
    
    .meta-row {
        flex-direction: column;
        gap: 16px;
    }

    .meta-column.empty {
        display: none;
    }

    .meta-info {
        gap: 16px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-image {
        width: 90%;
        bottom: -15%;
    }
    
    .meta-label, .meta-value {
        font-size: 0.925rem;
    }
    
    .up-next p {
        font-size: 0.925rem;
    }
    
    .footer-content {
        margin-left: 0vw;
        padding: 0 8vw;
    }

    @keyframes slideInFromTop {
        0% {
            opacity: 0;
            transform: translateY(-150%) translateX(-50%);
        }
        100% {
            opacity: 1;
            transform: translateY(-50%) translateX(-50%);
        }
    }
    
    @keyframes slideInFromBottom {
        0% {
            opacity: 0;
            transform: translateY(150%) translateX(-50%);
        }
        100% {
            opacity: 1;
            transform: translateY(50%) translateX(-50%);
        }
    }
}

/* Additional breakpoint for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .section {
        gap: 80px;
        padding: 15vh 10vw;
    }
    
    .section-title {
        font-size: 28px;
        width: 30%;
    }
    
    .section-description {
        width: 60%;
    }
    
    .hero-title {
        font-size: 64px;
    }

    .lottie-container {
        bottom: -35%;
        position: relative;
        width: 50%;
        display: flex;
        z-index: 1;
        justify-content: center;
        align-items: center;
    }

    .section-text {
        font-size: 1.1rem;
    }

    .section-title-box{
        width: 100%;
    }

    .footer-content {
        margin-left: 0vw;
        padding: 0 8vw;
    }

    .next-title {
        font-size: 64px;
    }
    
    .up-next {
        left: 8vw;
        top: 35%;
    }
    
    .next-grid-pattern {
        bottom: -7%;
        right: -4%;
        width: 80%;
        height: 80%;
    }

    @keyframes slideInFromTop {
        0% {
            opacity: 0;
            transform: translateY(-150%) translateX(-50%);
        }
        100% {
            opacity: 1;
            transform: translateY(-50%) translateX(-50%);
        }
    }
    
    @keyframes slideInFromBottom {
        0% {
            opacity: 0;
            transform: translateY(150%) translateX(-50%);
        }
        100% {
            opacity: 1;
            transform: translateY(50%) translateX(-50%);
        }
    }
}