/* style.css - Main stylesheet BishopOyedepo.com */

@font-face {
    font-family: 'Inter';
    src: url('InterVariable.ttf') format('truetype-variations');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --gray0: #0A0A09;
    --gray1: #101010;
    --gray2: #171716;
    --gray3: #1E1E1D;
    --gray4: #2C2C2A;
    --gray5: #3B3B39;
    --gray6: #4C4B49;
    --gray7: #5D5D59;
    --gray8: #70706B;
    --gray9: #7A7A75;
    --gray10: #908F8A;
    --gray11: #A7A7A0;
    --gray12: #C1C1B9;
    --gray13: #DFDED6;
    --gray14: #EFEEE5;
    --gray15: #EFEEE5;

    /*LIGHTER*/
    --gray27: #FEFEFD;
    --gray26: #FDFDFD;
    --gray25: #FDFCFB;
    --gray24: #FCFBF9;
    --gray23: #FBFBF9;
    --gray22: #F9F9F6;
    --gray21: #F8F8F4;
    --gray20: #F7F6F2;
    --gray19: #F5F5EF;
    --gray18: #F4F3ED;
    --gray17: #F2F1EA;
    --gray16: #F0EFE7;


    --primary-color: #FF1141 !important;
    --primary-dark: #DE002C;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --error-color: #dc3545;
    --dark-bg: #1e1e2d;
    --light-bg: #FCFBF9;
    --card-bg: #F8F8F4;
    --text-dark: #171716;
    --text-light: #F8F8F4;
    --border-color: #DFDED6;
    --player-height: 15vh;
    --header-height: 70px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--gray20);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: var(--player-height);
    letter-spacing: -1px;
}

a {
    color: var(--primary-dark);
    font-weight: 500;
    text-underline: none;
    text-decoration: none;
    line-height: 13px;
    border-bottom: solid 2px transparent;
}

a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--gray12) !important;
}

.sermon-title-link {
    color: var(--primary-dark);
    font-weight: 500;
    text-underline: none;
    text-decoration: none;
    line-height: 13px;
    border-bottom: solid 2px transparent;
}

.sermon-title-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--gray12) !important;
}


/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: var(--gray24);
    color: var(--gray3);
    /*height: var(--header-height);*/
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    font-weight: 400;
}

.header-logo {
    width: 230px;
    opacity: 0.6;
    padding-top: 15px;
    padding-bottom: 15px;
}

.header-logo:hover {
    opacity: 0.55;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

header nav a {
    color: var(--gray7);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 0px;
    transition: all 0.3s ease;
    border-bottom: solid 3px var(--gray14);
    font-size: 1.2em;
}

header nav a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: solid 3px var(--gray12);
}

/* Main content */
main {
    padding: 30px 0;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: solid 2px var(--gray14);
    line-height: 1.8em;
    padding-top: 21px;
}

.page-header h2 {
    font-size: 2.5rem;
    color: var(--gray5);
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.1em;
}

.page-header p {
    color: var(--gray10);
    font-size: 1.1rem;
    letter-spacing: -1px;
    padding-top: 10px;
    margin-top: -5px;
}

/* Messages */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-weight: 500;
}

.message.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.message.error {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* Songs grid */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.song-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.song-info {
    padding: 20px;
    flex-grow: 1;
}

.song-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-bg);
    word-break: break-word;
}

.song-meta {
    display: flex;
    gap: 15px;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.song-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.song-actions {
    padding: 15px 20px;
    background-color: rgba(74, 108, 247, 0.05);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sermon-page-actions {
    padding: 15px 0;
    background-color: transparent;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-direction: row;
    zoom: 1.5;
}

.play-btn,
.download-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.download-btn {
    background: #6c757d;
    text-decoration: none;
}

.download-btn:hover {
    background: #5a6268;
    transform: scale(1.1);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--secondary-color);
}

.empty-state i {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.empty-state p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Upload form */
.upload-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-bg);
}

.required {
    color: var(--error-color);
}

.form-group input[type="text"] {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    cursor: pointer;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-text {
    display: block;
    padding: 14px;
    color: var(--secondary-color);
    text-align: center;
}

.file-info {
    display: block;
    margin-top: 8px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}


/*FOOTER STYLES*/

.footer-row {
    padding-bottom: 150px;
    padding-top: 80px;
    color: var(--gray11);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-row > div {
    padding-bottom: 150px;
    padding-top: 40px;
    color: var(--gray11);
    width: 100%;
}

/* Music Player Styles */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--player-height);
    background: var(--gray5);
    color: var(--text-light);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-weight: 400;
}

.player-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.player-info {
    flex-grow: 1;
    min-width: 0;
}

.player-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-filled {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.control-btn.play {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
}

.control-btn.play:hover {
    background: var(--primary-dark);
}

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

#volume-slider {
    width: 80px;
    -webkit-appearance: none;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.mini-toggle {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mini-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* Styling for quotes section */
.quotes-section {
    margin: 2rem 0;
    padding: 15px;
    background-color: transparent;
    border-radius: 8px;
    border: solid 1px var(--gray12);
}

.quote-card {
    background: var(--gray26);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-text {
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.quote-meta {
    font-size: 0.85em;
    color: #666;
}

.add-quote-form {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add-quote-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    resize: vertical;
}

.add-quote-form button {
    margin-top: 10px;
    padding: 8px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add-quote-form button:hover {
    background: #0056b3;
}

.message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --player-height: 20vh;
    }

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

    .player-info {
        width: 100%;
    }

    .player-controls {
        width: 100%;
        justify-content: center;
    }

    .songs-grid {
        grid-template-columns: 1fr;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .upload-form {
        padding: 20px;
    }
}

/* FIRST BREAKPOINT */
@media all and (max-width: 480px) {
    .song-actions {
        padding: 12px 15px;
    }

    .play-btn,
    .download-btn {
        width: 38px;
        height: 38px;
    }

    .player-title {
        font-size: 1.1rem;
    }

    .control-btn {
        width: 36px;
        height: 36px;
    }

    .control-btn.play {
        width: 44px;
        height: 44px;
    }
}


/* SECOND BREAKPOINT */
@media all and (min-width: 481px)and (max-width: 641px) {
}


/* THIRD BREAKPOINT */
@media all and (min-width: 642px)and (max-width: 800px) {
}


/* FOURTH BREAKPOINT */
@media all and (min-width: 801px) and (max-width: 1000px) {
}


/* FIFTH BREAKPOINT */
@media all and (min-width: 1001px) and (max-width: 1200px) {
}


/* SIXTH BREAKPOINT */
@media all and (min-width: 1201px) and (max-width: 1400px) {
}


/* SEVENTH BREAKPOINT */
@media all and (min-width: 1401px) and (max-width: 1700px) {
}






