/* Lumonote specific styles */

.body {
    background-color: #ffffff;
}

::selection {
    background-color: rgba(57, 57, 175, 1); /* Light version of #fdfdfd */
    color: #fdfdfd; /* Same as the highlighted span text color */
}

::-moz-selection {
    background-color: rgba(57, 57, 175, 1);
    color: #fdfdfd;
}

.container {
    background-color: #fdfdfd;
    padding-bottom: 70vh; /* Add padding equal to footer height to reveal footer at end */
    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 */
.hero-section {
    background-color: #4040C0;
    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; }
}

/* Added media query for smaller screens */
@media (max-width: 767px) {
    @keyframes shrinkHeight {
        from { height: 100vh; }
        to { height: 85vh; }
    }
}

.hero-title {
    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;
}

.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%;
}

.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-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;
}

.meta-value a {
    text-decoration: none;
    color: inherit;
}

.knobvid {
    position: relative;
    width: 100%;
    /* max-width: 1028px; */
    margin: 0 auto;
    display: flex;
    box-sizing: border-box;
}

.knobvid video {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Parallax Footer Styles */
.parallax-footer {
    height: 70vh;
    width: 100vw;
    background-color: #27232D; /* Same color as lumenduel project */
    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: -15%;
    right: -20%;
    width: 40%;
    height: 40%;
    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: -10%;
        right: -8%;
        width: 50%;
        height: 50%;
    }
    
    /* 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-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;
    }
}

/* 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;
    }

    .hero-image {
        width: 70%;
        bottom: -25%;
    }
    
    .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: -10%;
        right: -8%;
        width: 40%;
        height: 40%;
    }
}