﻿header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    color: black;
}

nav-items a {
    color: black;
}

.hamburger span {
    background: black;
}

.nav-links a {
    color: black;
}

.lesson-wrapper {
    padding-block: 48px;
}

.lesson-progress {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 22px;
}

/* Lesson Container - Mobile First */
.lesson-container {
    max-width: 650px;
    margin: 0 auto;
}

.back-to-course {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-family: "Geist Mono", monospace;
    font-weight: 600;
    font-size: 14px;
    color: #676F7E;
    letter-spacing: -4%;
}

.lesson-intro {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-block: 32px;
}

/* Content */
.lesson-p {
    font-size: clamp(14px, 4vw, 18px);
    font-family: "Newsreader", serif;
    color: #676F7E;
    line-height: 28px;
    padding-left: 16px;
}

.lesson-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


/* Bible Quote */
.bible-quote {
    background: none;
    border-left: 3px solid var(--primary-dark);
    padding: 12px 20px;
    font-style: italic;
    transition: background .3s ease-in-out;
}

    .bible-quote:hover {
        background: #f7f9fc;
    }

    .bible-quote p {
        margin-bottom: 4px;
        font-size: clamp(14px, 4vw, 18px);
        font-family: "Newsreader", serif;
        color: #676F7E;
        line-height: 28px;
        font-style: italic;
    }


.bible-reference {
    display: block;
    font-size: clamp(14px, 4vw, 18px);
    font-family: "Newsreader", serif;
    color: #676F7E;
    line-height: 28px;
    font-style: normal;
}

.bible-contents {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #f4f7fa;
    border: 1px solid #e3e5e8;
    padding: 24px;
    border-radius: 24px;
}

    .bible-contents .label {
        color: var(--primary-color);
        text-transform: uppercase;
        font-size: 10px;
        font-family: "Newsreader", serif;
    }

    .bible-contents .heading {
        font-size: 18px;
        letter-spacing: -0.45px;
    }

    .bible-contents .texts {
        font-size: 14px;
        font-family: "Newsreader", serif;
        color: #676F7E;
        line-height: 20px;
    }


/* Bottom Navigation */
.lesson-footer {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.btn {
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #676F7E;
    text-transform: capitalize;
    border: 1px solid #676F7E;
}

.btn-mark {
    color: black;
}

.btn-next {
    color: white;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn:hover {
    background: black;
    color: white;
    transform: translateY(-2px);
    border-color: black;
}

    .btn:hover svg {
        color: white;
    }

.list {
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

        .list li::before {
            content: "";
            width: 4px;
            height: 4px;
            min-width: 4px;
            background: #676F7E;
            border-radius: 50%;
            margin-top: 12px;
        }

/* Tablet Styles */
@media (min-width: 640px) {
    .lesson-wrapper {
        padding-block: 72px;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.lesson-title {
    animation-delay: 0.1s;
}

.lesson-intro {
    animation-delay: 0.2s;
}
