/* ==========================================================================
   1. Reset & Global Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
}

/* ==========================================================================
   2. Header & Banner (Zero-Gap, Centred, Naturally Scaling)
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Forces absolute zero margin or padding at the upper lip of the screen */
    margin-top: 0; 
    padding-top: 0;
}

.main-banner {
    display: block;
    max-width: 100%; /* Prevents the image from bursting past the screen width */
    height: auto;    /* Maintains the original landscape aspect ratio perfectly */
    margin: 0 auto;  /* Keeps the graphic strictly centered */
}

/* ==========================================================================
   3. Navigation Menu
   ========================================================================== */
.site-nav {
    background-color: #333333;
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows menu to wrap elegantly on small screens */
}

.site-nav a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s;
}

.site-nav a:hover, 
.site-nav a.active {
    background-color: #555555; /* Highlights active/hovered pages */
}

/* ==========================================================================
   4. Layout Container
   ========================================================================== */
.main-container {
    max-width: 960px; /* Comfortable reading width for desktop viewports */
    margin: 30px auto;
    padding: 0 20px;   /* Safe side-padding for mobile screens */
}

section {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

h1, h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Audio player spacing */
audio {
    width: 100%;
    max-width: 400px;
    margin-top: 15px;
    display: block;
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #eaeaea;
    color: #666666;
    font-size: 0.9em;
}

/* ==========================================================================
   6. Responsive Layout Breakpoints
   ========================================================================== */
@media (max-width: 600px) {
    .site-nav ul {
        flex-direction: column; /* Stacks menu vertically on phones */
    }
    
    .site-nav a {
        border-bottom: 1px solid #444444;
        padding: 12px;
    }
    
    .main-container {
        margin: 15px auto;
    }
    
    section {
        padding: 15px;
    }
}
    /* ==========================================================================
   7. Accordion Envelope Layout (Music Collection)
   ========================================================================== */
.album-accordion {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

/* Clicking this top title header opens/closes the box natively */
.album-title-header {
    padding: 20px 25px;
    font-size: 1.4em;
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    background-color: #ffffff;
    user-select: none;
    transition: background-color 0.2s;
}

.album-title-header:hover {
    background-color: #f7f9fa;
}

/* Internal structural content padding inside the envelope */
.album-inside-content {
    padding: 25px;
    border-top: 1px solid #eeeeee;
    background-color: #ffffff;
}

.album-preview-zone {
    display: flex;
    align-items: center; /* Forces the text and the player bar onto an identical middle baseline */
    gap: 15px;
    margin-bottom: 20px;
    background-color: #f1f5f9;
    padding: 10px 15px;
    border-radius: 6px;
}


.preview-label {
    font-weight: bold;
    color: #334155;
    font-size: 0.95em;
    line-height: 1;      
    display: inline-block;
    padding-top: 5px;   /* Micro-adjustment to push the text baseline down to match the gray bar center */
}




.album-preview-zone audio {
    width: 100%;
    max-width: 280px;
    height: 28px;
    display: block;
}

/* Top functional linking rows formatting */
.album-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: #f8fafc;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    border: 1px dashed #cbd5e1;
}

.paypal-buy-button {
    background-color: #ffc439;
    color: #111111;
    border: none;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 0.95em;
    border-radius: 25px;
    cursor: pointer;
}

.paypal-buy-button:hover {
    background-color: #f2ba36;
}

.view-lyrics-btn {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.view-lyrics-btn:hover {
    text-decoration: underline;
}

/* Track list system layout */
.tracklist-container {
    list-style: none;
    margin-top: 15px;
}

.track-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.track-item {
    padding: 8px 15px;
    border-bottom: 1px solid #f1f5f9;
}




.track-item:last-child {
    border-bottom: none;
}




.song-title {
    font-size: 1.1em;
    font-weight: 500;
    color: #334155;
    display: block;
}




/* New Visual Binding Group Box style rule */
.track-group-box {
    background-color: #deefff; /* Keeps the richer, visible sky blue background tint */
    border: 1px solid #2c3e50;  /* Fine, continuous solid dark navy line matching the site colors */
    padding: 12px 15px;
    border-radius: 6px;        
}




.audio-player-box {
    margin-top: 4px;           /* Perfectly tight vertical spacing inside the tint box */
    padding-left: 10px;
}




.audio-player-box audio {
    width: 100%;
    max-width: 320px;
    height: 30px;
    display: block;
}



/* Responsive adjustment for small tablet/phone widths */
@media (max-width: 680px) {
    .album-action-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .paypal-buy-button {
    background-color: #ffc439;
    color: #111111;
    border: none;
    padding: 8px 18px;          /* Reduced padding to make the button less tall and more discreet */
    font-weight: bold;
    font-size: 0.9em;           /* Slightly smaller text footprint */
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;      /* Ensures the link line doesn't display under the button text */
    display: inline-block;      /* Keeps the button tight around its text contents */
    transition: background-color 0.2s;
}
.album-title-header {
    padding: 15px 25px;
    font-size: 1.4em;
    font-weight: bold;
    color: #2c3e50;
    cursor: pointer;
    background-color: #ffffff;
    user-select: none;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}




.album-title-header:hover {
    background-color: #f7f9fa;
}




.album-header-thumb {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s;
}




.album-header-thumb:hover {
    transform: scale(1.08);
}




.artwork-popup-box {
    border: none;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 390px;              
    width: 90%;
    background-color: #ffffff;
    
    /* Absolute fixed centering layer math for all monitor sizes */
    position: fixed !important;            
    inset: 0 !important;        /* Sets top, bottom, left, and right bounds to absolute zero page space */
    margin: auto !important;    /* Forces equal side margins to position it dead center */
    z-index: 99999 !important;  /* Forces the popup to float cleanly on top of all wide columns and text grids */
}


.artwork-popup-box {
    border: none;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 390px;              
    width: 90%;
    margin: auto;                  
    background-color: #ffffff;
}


.artwork-popup-box::backdrop {
    background-color: rgba(0, 0, 0, 0.65);
}

.popup-image-content {
    width: 100%;
    max-width: 350px;    /* Locks it to your clean 350px secure asset size */
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 15px;
}


.popup-close-btn {
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 0.95em;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: background-color 0.2s;
}

.popup-close-btn:hover {
    background-color: #34495e;
}
/* ==========================================================================
   End of Section 7. Accordion Envelope Layout
   ========================================================================== */

/* ==========================================================================
   Section 8. Lyrics Page Typography & Layout Rules
   ========================================================================== */

/* Main lyrics layout block spacing and dashed separations */
.lyrics-song-wrapper {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px dashed #cbd5e1;
}

.lyrics-song-wrapper:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

/* Headings & Credits Layout */
.lyrics-song-title {
    font-size: 1.6em;
    color: #1e293b;
    margin-bottom: 5px;
    font-weight: bold;
}

.lyrics-credits {
    font-size: 0.95em;
    color: #64748b;
    font-style: italic;
    margin-bottom: 6px;
}

.lyrics-scripture-ref {
    font-size: 0.95em;
    color: #3b82f6;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

/* Composer Note Box Layout Frame */
.composer-note-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #166534;
    line-height: 1.5;
}

/* Structural Verse Paragraph Rules */
.lyrics-verse {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.15em;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 22px;
    white-space: pre-wrap;
    overflow-x: auto;
}

/* Bold Indented Chorus Typography Rules */
.lyrics-chorus {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.15em;
    line-height: 1.8;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 22px;
    white-space: pre-wrap;
    padding-left: 15px;
    border-left: 4px solid #64748b;
    overflow-x: auto;
}

/* Royal Blue Bridge Typography Rules */
.lyrics-bridge {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.15em;
    line-height: 1.8;
    font-weight: bold;
    color: #1d4ed8;
    margin-bottom: 22px;
    white-space: pre-wrap;
    overflow-x: auto;
}

/* Bold Purple Instrumental State Marker */
.lyrics-instrumental {
    font-size: 1.05em;
    color: #9333ea;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 22px;
}

/* Back To Top Scroll Jump Navigation Links */
.lyrics-nav-jump {
    display: inline-block;
    font-size: 0.9em;
    color: #2563eb;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
}

.lyrics-nav-jump:hover {
    text-decoration: underline;
}

/* Track Jump List Grid Panel Rules */
.lyrics-menu-zone {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 35px;
}

.lyrics-menu-zone h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.15em;
    color: #334155;
}

.lyrics-menu-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.lyrics-menu-list li {
    margin-bottom: 0;
}

.lyrics-menu-list a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
}

.lyrics-menu-list a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   9. Contact Page Layout (Safe Text Alternative)
   ========================================================================== */
.email-box-layout {
    text-align: center;
    padding: 40px 20px;
}

.secure-email-card {
    background-color: #f7f9fa;
    border: 2px dashed #2c3e50;
    border-radius: 8px;
    padding: 30px;
    margin-top: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.obfuscated-email {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 2px;
    margin: 15px 0;
    user-select: all; /* Allows human users to easily double-click and copy the line */
}

.email-tip {
    font-size: 0.85em;
    color: #777777;
    font-style: italic;
}
/* ==========================================================================
   10. Interactive Form Fields (Corrected Layout)
   ========================================================================== */
.form-wrapper-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-wrapper-box p {
    margin-bottom: 25px;
    color: #555555;
}

.clean-form-layout {
    display: block;
    width: 100%;
}

.field-row {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.field-row label {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Explicitly targets input types to completely override default browser sizes */
.clean-form-layout input[type="text"],
.clean-form-layout input[type="email"],
.clean-form-layout textarea {
    font-family: inherit;
    font-size: 1em;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #fafafa;
    display: block;
    width: 100%; /* Forces the inputs to expand to the full card width */
    box-sizing: border-box; /* Normalizes layout calculations across all rendering systems */
}

.clean-form-layout input:focus,
.clean-form-layout textarea:focus {
    outline: none;
    border-color: #3498db;
    background-color: #ffffff;
}

.submit-button-layout {
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}

.submit-button-layout:hover {
    background-color: #34495e;
}

/* Form button adjustment for mobile layouts */
@media (max-width: 600px) {
    .submit-button-layout {
        width: 100%;
        text-align: center;
    }
}
}


/* Structural Verse Paragraph Rules */
.lyrics-verse {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 22px;
    white-space: pre-wrap;
}

/* Bold Indented Chorus Typography Rules */
.lyrics-chorus {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 22px;
    white-space: pre-wrap;
    padding-left: 15px;
    border-left: 4px solid #64748b;
}

/* Royal Blue Bridge Typography Rules */
.lyrics-bridge {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    font-weight: bold;
    color: #1d4ed8;
    margin-bottom: 22px;
    white-space: pre-wrap;
}

/* Bold Purple Instrumental State Marker */
.lyrics-instrumental {
    font-size: 1.05em;
    color: #9333ea;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 22px;
}

/* Outlined Composer Text Box Layout */
.composer-note-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #166534;
    line-height: 1.5;
}

/* Back To Top Scroll Jump Navigation Links */
.lyrics-nav-jump {
    display: inline-block;
    font-size: 0.9em;
    color: #2563eb;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
}

.lyrics-nav-jump:hover {
    text-decoration: underline;
}

/* Track Jump List Grid Panel Rules */
.lyrics-menu-zone {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 35px;
}

.lyrics-menu-zone h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.15em;
    color: #334155;
}

.lyrics-menu-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.lyrics-menu-list li {
    margin-bottom: 0;
}

.lyrics-menu-list a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
}

.lyrics-menu-list a:hover {
    text-decoration: underline;
}

/* Headings, Credits & Scripture Styles */
.lyrics-song-title {
    font-size: 1.6em;
    color: #1e293b;
    margin-bottom: 5px;
    font-weight: bold;
}

.lyrics-credits {
    font-size: 0.95em;
    color: #64748b;
    font-style: italic;
    margin-bottom: 6px;
    display: block;
}

.lyrics-scripture-ref {
    font-size: 0.95em;
    color: #7c3aed;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

