/* ############################################################################################################################################################################ */
/* ############################################################################################################################################################################ */
/* Glyh Entertainment Public Website                                                                                                                                            */
/*  • Page:            	        Comicnav Stylesheet (comicnav.css)                                                                                                              */
/*  • Description:              Styles for the auto-detecting comic navigation module (top + bottom nav bars, chapter select, arrows, home icon, centered content, lightbox)    */
/*  • Location:               	/modules/comicnav/css/comicnav.css                                                                                                              */
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  • Version:                  v0.0.06 α                                                                                                                                       */
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  • Project Start Date:       2026-04-07                                                                                                                                      */
/*  • Last updated:             2026-05-13 @ 0400 EDT                                                                                                                           */
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  • Author:                   by Conner Rhoads                                                                                                                                */
/*  • Official Site:            www.glyphentertainment.com                                                                                                                      */
/* ############################################################################################################################################################################ */
/* ############################################################################################################################################################################ */

/* ============================================================================================================================================================================ */
/*  MAIN CONTAINER                                                                                                                                                              */
/* ============================================================================================================================================================================ */

.comic-nav
{
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ============================================================================================================================================================================ */
/*  FANCY NAVIGATION BARS (Top + Bottom) — Now matches newsnav gold style                                                                                                       */
/* ============================================================================================================================================================================ */

.comic-nav-top,
.comic-nav-bottom
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(#1f1f1f, #171717);
    border: 2px solid #ffd700;
    border-radius: 16px;
    box-shadow: 
        0 0 0 8px #2a2118,
        0 8px 25px rgba(0, 0, 0, 0.8);
    margin: 20px auto;
    max-width: 1220px;
    width: 100%;
    box-sizing: border-box;
}

.comic-nav-bottom
{
    margin-top: 30px;
}

/* ============================================================================================================================================================================ */
/*  CONTROLS ROW                                                                                                                                                                */
/* ============================================================================================================================================================================ */

.comic-nav-controls
{
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1100px;
    justify-content: center;
}

/* ============================================================================================================================================================================ */
/*  HOME ICON (book.svg) — Matches newsnav style                                                                                                                                */
/* ============================================================================================================================================================================ */

.home-btn
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.home-btn:hover
{
    background-color: #3a2f1f;
}

.home-btn .home-icon
{
    width: 32px;
    height: 32px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.home-btn:hover .home-icon
{
    transform: scale(1.1);
}

/* ============================================================================================================================================================================ */
/*  CHAPTER SELECT DROPDOWN — Matches news-select style                                                                                                                         */
/* ============================================================================================================================================================================ */

.chapter-select
{
    padding: 8px 16px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #3a2f1f;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    min-width: 240px;
    flex: 1;
    max-width: 280px;
}

.chapter-select:focus
{
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

/* ============================================================================================================================================================================ */
/*  ARROW LINKS — Matches news-nav a style                                                                                                                                      */
/* ============================================================================================================================================================================ */

.comic-arrows
{
    display: flex;
    align-items: center;
    gap: 12px;
}

.comic-arrows a
{
    background-color: #2a2a2a;
    color: #ffd700;
    padding: 8px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #3a2f1f;
    transition: all 0.2s ease;
}

.comic-arrows a:hover
{
    background-color: #ffd700;
    color: #1a1a1a;
    box-shadow: 0 0 20px #ffd700;
    transform: translateY(-1px);
}

/* ============================================================================================================================================================================ */
/*  COMIC PAGE IMAGE (Small preview on page)                                                                                                                                    */
/* ============================================================================================================================================================================ */

.comic-page-image
{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-page-image:hover
{
    transform: scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* ============================================================================================================================================================================ */
/*  LIGHTBOX MODAL — Full-width + Scrollable                                                                                                                                    */
/* ============================================================================================================================================================================ */

#comic-lightbox
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    overflow: auto;
    padding: 20px 10px;
    box-sizing: border-box;
}

#comic-lightbox.show
{
    display: block;
}

#comic-lightbox img
{
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

#comic-lightbox-close
{
    position: fixed;
    top: 15px;
    right: 25px;
    font-size: 48px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#comic-lightbox-close:hover
{
    color: #ffd700;
    background-color: rgba(0, 0, 0, 0.8);
}

/* ============================================================================================================================================================================ */
/*  END STYLESHEET                                                                                                                                                              */
/* ============================================================================================================================================================================ */