.gospel-journey-wrapper {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gj-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 60px 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    z-index: 1;
}

.gj-step.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 2;
}

.gj-step.leaving {
    opacity: 0;
    transform: translateY(-20px);
    z-index: 1;
}

.gj-content-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    height: 100%;
    justify-content: center;
}

/* Staggered animation for children */
.gj-step.active .gj-text-col > * {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.gj-step.active .gj-text-col > *:nth-child(1) { animation-delay: 0.1s; }
.gj-step.active .gj-text-col > *:nth-child(2) { animation-delay: 0.2s; }
.gj-step.active .gj-text-col > *:nth-child(3) { animation-delay: 0.3s; }
.gj-step.active .gj-text-col > *:nth-child(4) { animation-delay: 0.4s; }
.gj-step.active .gj-text-col > *:nth-child(5) { animation-delay: 0.5s; }
.gj-step.active .gj-controls { animation-delay: 0.6s; }

.gj-step.active .gj-img-col img {
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (min-width: 768px) {
    .gj-content-container.split-layout {
        flex-direction: row;
        text-align: left;
    }
    
    .gj-text-col, .gj-img-col {
        flex: 1;
    }
    
    .gj-content-container.split-reverse {
        flex-direction: row-reverse;
        text-align: left;
    }
}

.gj-img-col img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: cover;
    max-height: 60vh;
}

.gj-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.gj-subline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #F5C325;
    margin-bottom: 20px;
    line-height: 1.3;
}

.gj-text {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gj-quote {
    font-style: italic;
    color: #CCCCCC;
    border-left: 3px solid #F5C325;
    padding-left: 15px;
    margin: 20px 0;
    font-size: 1.1rem;
}

.gj-controls {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .split-layout .gj-controls, 
    .split-reverse .gj-controls {
        justify-content: flex-start;
    }
}

.gj-btn {
    background-color: #932308;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    flex: 1;
    min-width: 150px;
    max-width: 300px;
    text-align: center;
}

.gj-btn:hover {
    background-color: #b92b0a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 35, 8, 0.4);
}

.gj-btn.secondary {
    background-color: transparent;
    border: 2px solid #F5C325;
    color: #F5C325;
}

.gj-btn.secondary:hover {
    background-color: rgba(245, 195, 37, 0.1);
    box-shadow: 0 5px 15px rgba(245, 195, 37, 0.2);
}

.gj-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.gj-progress-bar {
    flex: 1;
    height: 4px;
    background-color: #333333;
    margin-right: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.gj-progress-fill {
    height: 100%;
    background-color: #F5C325;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gj-step-indicator {
    color: #F5C325;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.gj-boxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    width: 100%;
}

@media (min-width: 768px) {
    .gj-boxes {
        flex-direction: row;
    }
}

.gj-box {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    border-top: 2px solid #932308;
    flex: 1;
    transition: transform 0.3s, background 0.3s;
}

.gj-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.gj-prayer {
    background: rgba(245, 195, 37, 0.05);
    padding: clamp(20px, 4vw, 40px);
    border-radius: 8px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.8;
    text-align: left;
    margin: 30px auto;
    max-width: 800px;
    border-left: 4px solid #F5C325;
}

/* Mobile specific adjustments to ensure content is visible */
@media (max-width: 767px) {
    .gospel-journey-wrapper {
        min-height: 100vh;
    }
    
    .gj-step {
        position: relative; /* Change to relative on mobile for scrolling */
        height: auto;
        min-height: 100vh;
        display: none;
    }
    
    .gj-step.active {
        display: flex;
    }
    
    .gj-img-col img {
        max-height: 40vh;
    }
}