/* Audio Stories Section - Zusätzliche CSS-Styles für die Hörgeschichten-Seite */

/* Audio Stories Section */
.audio-stories-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    min-height: 100vh;
}

.audio-stories-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.audio-stories-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #b0b0b0;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.audio-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.audio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.audio-item:hover::before {
    opacity: 1;
}

.audio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2);
}

.audio-cover {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-cover .fas.fa-play-circle {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: all 0.3s ease;
}

.audio-item:hover .audio-cover .fas.fa-play-circle {
    transform: scale(1.1);
    color: white;
}

.audio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.audio-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #d0d0d0;
}

.audio-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.audio-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b0b0b0;
}

.audio-meta .fas {
    color: #ff6b6b;
}

.play-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.cta-section {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #d0d0d0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Audio Player Modal */
.audio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.audio-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    color: white;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audio-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.audio-close:hover {
    color: #ff6b6b;
}

.audio-player h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #ff6b6b;
    font-size: 1.5rem;
}

.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#play-pause-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s ease;
}

#play-pause-btn:hover {
    transform: scale(1.1);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    width: 0%;
    transition: width 0.1s ease;
}

.time {
    font-size: 0.9rem;
    color: #b0b0b0;
    min-width: 80px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.volume-control i {
    color: #ff6b6b;
}

#volume-slider {
    width: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .audio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .audio-stories-section h1 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .audio-modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 20px;
    }
    
    .audio-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .audio-item {
        padding: 20px;
    }
    
    .audio-cover {
        height: 150px;
    }
}
