/* Custom styles for Debora Music Website */

/* Prose styling for content */
.prose {
    color: #374151;
    max-width: 65ch;
}

.prose h2 {
    color: #2C5F8D;
    font-weight: 700;
    font-size: 1.875rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h3 {
    color: #4A90E2;
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.prose a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.2s;
}

.prose a:hover {
    color: #2C5F8D;
    text-decoration: underline;
}

.prose img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

.prose ul, .prose ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin: 0.5rem 0;
}

.prose blockquote {
    border-left: 4px solid #4A90E2;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6B7280;
}

.prose code {
    background-color: #F3F4F6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #EF4444;
}

.prose pre {
    background-color: #1F2937;
    color: #F9FAFB;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* YouTube embed responsive container */
.prose iframe {
    max-width: 100%;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* Ensure YouTube embeds are responsive */
.youtube-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
}

/* Plyr audio player custom styling */
.plyr {
    border-radius: 0.5rem;
}

.plyr--audio .plyr__control.plyr__tab-focus,
.plyr--audio .plyr__control:hover,
.plyr--audio .plyr__control[aria-expanded=true] {
    background: #4A90E2;
}

.plyr--audio .plyr__controls {
    background: linear-gradient(to bottom, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.2));
    border-radius: 0.5rem;
}

.plyr__control--overlaid {
    background: rgba(74, 144, 226, 0.9);
}

.plyr__control--overlaid:hover {
    background: #4A90E2;
}

/* Spotify widget styling */
.spotify-widget-container {
    border-radius: 0.5rem;
    overflow: hidden;
}

.spotify-widget-container iframe {
    border-radius: 0.5rem;
    width: 100%;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Print styles */
@media print {
    header, footer, nav {
        display: none;
    }

    .prose {
        max-width: 100%;
    }
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease-out;
}

#mobile-menu.hidden {
    max-height: 0;
    overflow: hidden;
}

/* Table styles */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.prose th {
    background-color: #4A90E2;
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.prose td {
    padding: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
}

.prose tr:hover {
    background-color: #F9FAFB;
}

