/* Scroll Story Frontend Styles */

.ssp-story-container {
    overflow-y: auto;
    overflow-x: hidden;
    background: #000;
    position: relative;
}

/* Hide scrollbar option */
.ssp-story-container.ssp-hide-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.ssp-story-container.ssp-hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Custom scrollbar (when visible) */
.ssp-story-container::-webkit-scrollbar {
    width: 10px;
}

.ssp-story-container::-webkit-scrollbar-track {
    background: #111;
}

.ssp-story-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
}

.ssp-story-container::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.ssp-wrapper {
    position: relative;
}

/* Section base */
.ssp-section {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    transition: transform 0.2s ease;
}

/* Video */
.ssp-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Background Image */
.ssp-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay for video and image sections */
.ssp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Content */
.ssp-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    position: relative;
    z-index: 10;
    color: #fff;
}

.ssp-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.ssp-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

/* Button */
.ssp-button {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}

.ssp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ssp-content h1 {
        font-size: 2rem;
    }
    
    .ssp-content p {
        font-size: 1rem;
    }
    
    .ssp-content {
        padding: 15px;
        max-width: 90%;
    }
}
