/* Opera Showcase Widget Styles */

.opera-showcase-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.opera-main-content {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    transition: background-image 0.5s ease-in-out;
}

.opera-gallery-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 2;
    padding: 20px 0;
}

.opera-gallery-item {
    width: 150px;
    height: 110px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    margin-left: 20px !important;
    border-radius: 8px;
}

.opera-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.6);
    border-radius: 8px;
}

.opera-gallery-item:hover img,
.opera-gallery-item.active img {
    transform: scale(1.1);
    filter: brightness(1);
}

.opera-gallery-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #fff;
    pointer-events: none;
    border-radius: 8px;
}

.opera-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.opera-all-apps {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
}

.all-apps-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
}

.all-apps-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.chevron-icon {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.all-apps-link:hover .chevron-icon {
    transform: translateX(5px);
}

.opera-text-content {
    padding: 60px 80px 60px 200px;
    max-width: 900px;
    z-index: 2;
}

.opera-location {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}

.opera-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 35px 0;
    color: #ffffff;
}

.opera-read-more {
    display: inline-block;
    padding: 16px 50px;
    background: #7c5ce8;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    text-transform: lowercase;
}

.opera-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .opera-text-content {
        padding: 50px 60px 50px 180px;
    }
    
    .opera-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .opera-gallery-sidebar {
        width: 120px;
    }
    
    .opera-gallery-item {
        width: 120px;
        height: 90px;
        margin-left: 15px !important;
    }
    
    .opera-text-content {
        padding: 40px 40px 40px 160px;
    }
    
    .opera-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .opera-gallery-sidebar {
        position: relative;
        left: 0;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        order: 2;
    }
    
    .opera-gallery-item {
        min-width: 100px;
        width: 100px;
        height: 75px;
        margin-left: 0 !important;
    }
    
    .opera-content-overlay {
        position: relative;
        order: 1;
    }
    
    .opera-text-content {
        padding: 40px 30px;
    }
    
    .opera-title {
        font-size: 24px;
    }
    
    .all-apps-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .opera-main-content {
        flex-direction: column;
    }
    
    .opera-text-content {
        padding: 30px 20px;
    }
    
    .opera-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .opera-location {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .opera-read-more {
        padding: 14px 40px;
        font-size: 14px;
    }
    
    .all-apps-link {
        top: 20px;
        right: 20px;
    }
}