/* Stories in Motion (Showreel) Widget Styles */
.sr-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.sr-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.sr-wrapper:hover .sr-bg-layer {
    transform: scale(1);
}

.sr-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.sr-container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* HEADER */
.sr-header {
    margin-bottom: 80px;
}

.sr-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.sr-title-stories {
    font-size: 130px;
    font-weight: 800;
    background: linear-gradient(135deg, #f55e03 0%, #db4700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.sr-title-motion {
    font-size: 85px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    letter-spacing: 25px;
    text-transform: uppercase;
    margin-right: -25px;
    /* Offset letter spacing for centering */
}

.sr-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.sr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 1px solid rgba(232, 119, 34, 0.4);
    border-radius: 4px;
    color: #E87722;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    background: transparent;
}

.sr-btn:hover {
    background: rgba(232, 119, 34, 0.1);
    border-color: #E87722;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 119, 34, 0.2);
}

/* PLAY TRIGGER */
.sr-play-trigger {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.sr-play-btn {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.sr-play-btn i {
    font-size: 60px;
    color: #E87722;
    z-index: 5;
    margin-left: 5px;
}

.sr-play-circle {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(232, 119, 34, 0.3);
    border-radius: 50%;
}

.circle-1 {
    animation: pulseCircle 3s ease-out infinite;
}

.circle-2 {
    animation: pulseCircle 3s ease-out 1.5s infinite;
}

@keyframes pulseCircle {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.sr-play-trigger:hover .sr-play-btn {
    transform: scale(1.1);
}

.sr-play-trigger:hover .sr-play-btn i {
    filter: drop-shadow(0 0 10px rgba(232, 119, 34, 0.8));
}

/* VIDEO MODAL */
.sr-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sr-video-modal.active {
    display: flex;
    opacity: 1;
}

.sr-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.sr-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #E87722;
}

.sr-video-container {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #111;
    box-shadow: 0 0 50px rgba(0, 0, 0, 1);
}

.sr-video-container iframe {
    width: 100%;
    height: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sr-title-stories {
        font-size: 90px;
    }

    .sr-title-motion {
        font-size: 60px;
        letter-spacing: 15px;
    }
}

@media (max-width: 768px) {
    .sr-title-stories {
        font-size: 60px;
    }

    .sr-title-motion {
        font-size: 40px;
        letter-spacing: 10px;
    }

    .sr-subtitle {
        font-size: 16px;
    }
}