/*-------------------------------------------------------+
| KrazzFM News Carousel - Echter KrazzFM Style
| Version: 2.1.0 - Angepasst an krazzfm.com Design
+--------------------------------------------------------*/

/* Wrapper - Dunkles Theme */
.krazzfm-news-carousel-wrapper {
    margin: 30px 0;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
}

/* Header - Dunkel mit Orange Akzent */
.krazzfm-news-carousel-header {
    background: linear-gradient(135deg, #000 0%, #111 100%);
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 3px solid limegreen;
}

.carousel-header-content {
    flex: 1;
}

.carousel-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(50, 205, 50, 0.6));
}

.carousel-subtitle {
    color: #999;
    font-size: 13px;
    margin: 0;
    font-weight: 400;
}

/* Controls - Orange Theme */
.carousel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-control-btn {
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    color: limegreen;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control-btn:hover {
    background: limegreen;
    border-color: limegreen;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
}

.carousel-control-btn:active {
    transform: translateY(0);
}

.carousel-control-btn i {
    font-size: 14px;
}

/* Dots - Orange */
.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3a3a3a;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: limegreen;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.carousel-dot:hover {
    background: limegreen;
    opacity: 0.7;
}

/* Carousel - Dunkel */
.krazzfm-news-carousel {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    min-height: 450px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

/* Slide Content */
.slide-content {
    display: flex;
    min-height: 450px;
}

/* Image Section */
.slide-image-section {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.slide-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-slide.active .slide-image {
    animation: zoomIn 0.8s ease-out;
}

@keyframes zoomIn {
    0% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(50, 205, 50, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide-content:hover .image-overlay {
    opacity: 1;
}

/* Category Badge - Limegreen */
.slide-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: limegreen;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.4);
    animation: slideInLeft 0.6s ease-out 0.3s both;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-category-badge i {
    margin-right: 6px;
}

/* Text Section - Dunkel */
.slide-text-section {
    flex: 0 0 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #1a1a1a;
    position: relative;
}

.carousel-slide.active .slide-text-section > * {
    animation: slideInRight 0.6s ease-out both;
}

.carousel-slide.active .slide-text-section > *:nth-child(1) { animation-delay: 0.2s; }
.carousel-slide.active .slide-text-section > *:nth-child(2) { animation-delay: 0.3s; }
.carousel-slide.active .slide-text-section > *:nth-child(3) { animation-delay: 0.4s; }
.carousel-slide.active .slide-text-section > *:nth-child(4) { animation-delay: 0.5s; }

@keyframes slideInRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Meta */
.slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
}

.slide-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slide-meta i {
    color: limegreen;
}

/* Title - Orange Gradient */
.slide-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Excerpt */
.slide-excerpt {
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Read More Button - Limegreen */
.slide-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: limegreen;
    color: #1a1a1a;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    align-self: flex-start;
}

.slide-read-more:hover {
    background: #3cff00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.5);
    color: #1a1a1a;
    text-decoration: none;
}

.slide-read-more i {
    transition: transform 0.3s ease;
}

.slide-read-more:hover i {
    transform: translateX(5px);
}

/* Footer - Dunkel */
.carousel-footer {
    background: #0a0a0a;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.view-all-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: limegreen;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 25px;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-news:hover {
    background: #2a2a2a;
    border-color: limegreen;
    color: limegreen;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.2);
}

/* Empty State */
.carousel-empty {
    text-align: center;
    padding: 80px 20px;
    background: #1a1a1a;
    color: #999;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.carousel-empty p {
    font-size: 18px;
    margin: 0;
    color: #666;
}

/* Responsive */
@media (max-width: 991px) {
    .slide-content {
        flex-direction: column;
    }
    
    .slide-image-section,
    .slide-text-section {
        flex: 0 0 100%;
    }
    
    .slide-image-section {
        min-height: 300px;
    }
    
    .slide-text-section {
        padding: 30px;
    }
    
    .slide-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .krazzfm-news-carousel-header {
        padding: 20px;
    }
    
    .carousel-title {
        font-size: 20px;
    }
    
    .carousel-controls {
        width: 100%;
        justify-content: center;
    }
    
    .slide-text-section {
        padding: 25px 20px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-excerpt {
        font-size: 14px;
    }
    
    .carousel-control-btn {
        width: 38px;
        height: 38px;
    }
}

/* Profile Link Styling */
.meta-author a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-author a:hover {
    color: limegreen;
}

/* Limegreen Glow Effect */
@keyframes limegreenGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(50, 205, 50, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(50, 205, 50, 0.6);
    }
}

.carousel-dot.active {
    animation: limegreenGlow 2s ease-in-out infinite;
}

