/* Bhajan Lyrics Page Styles */

/* Main Container Layout */
.lyrics-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    max-width: 1400px;
    margin: 80px auto 0;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

/* Main Content Area */
.lyrics-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Video Section */
.video-section {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
}

.video-section:hover {
    box-shadow: 0 10px 30px var(--shadow-hover);
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Bhajan Header */
.bhajan-header {
    background: var(--bg-light-beige);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bhajan-main-title {
    font-size: 2rem;
    color: var(--text-dark);
    font-family: 'Merriweather', serif;
    margin: 0;
    flex: 1;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    background: var(--bg-white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.lang-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: var(--bg-light-beige);
    color: var(--accent-saffron);
}

.lang-btn-active {
    background: var(--accent-saffron);
    color: var(--text-white);
}

.lang-btn-active:hover {
    background: var(--accent-saffron);
}

.bhajan-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Audio Player Section */
.audio-player-section {
    background: linear-gradient(135deg, var(--accent-saffron) 0%, var(--accent-golden) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-saffron-light);
}

.audio-player {
    padding: 25px;
    color: var(--text-white);
}

.player-header {
    margin-bottom: 20px;
}

.player-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Control Buttons */
.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-white);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.control-btn i {
    font-size: 1.2rem;
}

/* Progress Container */
.progress-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--text-white);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 10px;
}

.time-display {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-control i {
    font-size: 1.1rem;
}

#volume-slider {
    flex: 1;
    height: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-white);
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-white);
    cursor: pointer;
    border: none;
}

/* Lyrics Section */
.lyrics-section {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 20px;
}

.lyrics-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lyrics-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lyrics-btn {
    background: var(--bg-light-beige);
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lyrics-btn:hover {
    background: var(--accent-saffron);
    color: var(--text-white);
    border-color: var(--accent-saffron);
    transform: translateY(-2px);
}

/* Lyrics Content */
.lyrics-content {
    background: var(--bg-light-beige);
    padding: 30px;
    border-radius: 10px;
    line-height: 1.8;
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    white-space: pre-wrap;
    word-wrap: break-word;
    border-left: 5px solid var(--accent-saffron);
}

.lyrics-content.hindi {
    font-size: 1.2rem;
    line-height: 2;
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease;
    color: var(--text-dark);
}

.share-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.share-close:hover {
    color: var(--accent-saffron);
}

.share-modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.share-link {
    background: var(--bg-light-beige);
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.share-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.share-link.facebook:hover {
    background: #3b5998;
    color: var(--text-white);
}

.share-link.twitter:hover {
    background: #1DA1F2;
    color: var(--text-white);
}

.share-link.whatsapp:hover {
    background: #25D366;
    color: var(--text-white);
}

.share-link.email:hover {
    background: var(--accent-saffron);
    color: var(--text-white);
}

.share-link i {
    font-size: 1.3rem;
}

.share-link-input {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    border-top: 1px solid var(--dark-beige);
    padding-top: 20px;
}

#share-link {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-white);
}

#copy-link-btn {
    padding: 10px 20px;
    flex-shrink: 0;
}

/* Sidebar */
.lyrics-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--text-dark);
}

/* Suggested Bhajans */
.suggested-section,
.quick-nav {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    color: var(--text-dark);
}

.suggested-title,
.quick-nav-title {
    margin: 0 0 20px 0;
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.suggested-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-item {
    background: var(--bg-light-beige);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    color: var(--text-dark);
}

.suggested-item:hover {
    background: var(--border-light);
    border-left-color: var(--accent-saffron);
    transform: translateX(5px);
}

.suggested-item.active {
    background: linear-gradient(135deg, var(--accent-saffron) 0%, var(--accent-golden) 100%);
    color: var(--text-white);
    border-left-color: var(--text-white);
}

.suggested-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.suggested-item-meta {
    font-size: 0.8rem;
    opacity: 0.7;
    color: var(--text-light);
}

.suggested-item.active .suggested-item-meta {
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

/* Quick Navigation */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-light-beige);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link-item:hover {
    background: var(--accent-saffron);
    color: var(--text-white);
    transform: translateX(5px);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lyrics-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 70px;
        padding: 30px 20px;
    }

    .lyrics-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        top: auto;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .lyrics-container {
        padding: 15px 10px;
        margin-top: 60px;
        gap: 15px;
    }

    .bhajan-main-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .language-switcher {
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
    }

    .lang-btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.75rem;
        min-height: 44px;
    }

    .bhajan-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .audio-player-section {
        border-radius: 12px;
        overflow: hidden;
    }

    .audio-player {
        padding: 16px;
    }

    .player-header {
        margin-bottom: 12px;
    }

    .player-header h3 {
        font-size: 1rem;
        gap: 8px;
    }

    .player-controls {
        gap: 12px;
    }

    .control-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-height: 40px;
        border-radius: 8px;
    }

    .progress-container {
        gap: 6px;
    }

    .progress-bar {
        height: 4px;
    }

    .time-display {
        font-size: 0.8rem;
    }

    .volume-control {
        gap: 8px;
        font-size: 0.9rem;
    }

    #volume-slider {
        height: 3px;
    }

    .lyrics-section {
        padding: 16px;
        border-radius: 12px;
    }

    .lyrics-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .lyrics-header h2 {
        font-size: 1.2rem;
        width: 100%;
    }

    .lyrics-actions {
        width: 100%;
        gap: 6px;
        flex-wrap: wrap;
    }

    .lyrics-btn {
        flex: 1;
        padding: 8px 10px;
        font-size: 0.75rem;
        min-height: 40px;
        border-radius: 6px;
    }

    .lyrics-btn i {
        display: none;
    }

    .lyrics-content {
        font-size: 0.95rem;
        padding: 12px;
        border-left: 3px solid var(--accent-saffron);
        line-height: 1.7;
    }

    .lyrics-content.hindi {
        font-size: 1rem;
        line-height: 1.8;
    }

    .suggested-section,
    .quick-nav {
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 2px 8px var(--shadow-light);
    }

    .suggested-title,
    .quick-nav-title {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .suggested-item,
    .nav-link-item {
        padding: 12px;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 44px;
    }

    .suggested-item-title {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .suggested-item-meta {
        font-size: 0.75rem;
    }

    .nav-link-item {
        gap: 10px;
    }

    .nav-link-item i {
        font-size: 1.1rem;
    }

    .share-modal {
        padding: 12px;
    }

    .share-modal-content {
        padding: 18px;
        border-radius: 12px;
        max-width: 100%;
    }

    .share-close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }

    .share-modal-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .share-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 12px;
    }

    .share-link {
        padding: 12px;
        gap: 6px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .share-link i {
        font-size: 1rem;
    }

    .share-link-input {
        flex-direction: column;
        gap: 8px;
        border-top: 1px solid var(--border-light);
        padding-top: 12px;
    }

    #share-link {
        padding: 10px;
        font-size: 0.85rem;
    }

    #copy-link-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .lyrics-sidebar {
        grid-template-columns: 1fr;
        position: relative;
        top: auto;
        gap: 15px;
    }

    .video-section {
        border-radius: 12px;
        overflow: hidden;
    }

    .bhajan-header {
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 12px;
    }
}

/* Print Styles */
@media print {
    .audio-player-section,
    .lyrics-sidebar,
    .footer,
    .navbar,
    .lyrics-actions {
        display: none !important;
    }

    .lyrics-section {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-after: avoid;
    }

    .lyrics-content {
        border-left: none;
        padding: 0;
        background: transparent;
    }
}
