/* ===========================================================
   Magazine Portal
   style.css
=========================================================== */

/*=============================
    ROOT COLORS
==============================*/

:root{

    --primary:#8B1E1E;
    --secondary:#D97706;
    --accent:#F4B400;
    --light:#FFF8ED;
    --border:#E6C98F;
    --text:#333;
    --white:#ffffff;
    --footer:#651818;
    --shadow:0 4px 15px rgba(0,0,0,.08);

}

/*=============================
    GLOBAL
==============================*/

body{

    font-family:'Noto Sans',sans-serif;

    background:#fdfaf5;

    color:var(--text);

    font-size:15px;

    line-height:1.7;

}

a{

    text-decoration:none;

    transition:.3s;

}

img{

    max-width:100%;

}

.container{

    max-width:1320px;

}

/*=============================
    HEADER
==============================*/

.top-header{

    background:white;

    border-bottom:4px solid var(--secondary);

}

.top-header a{

    color:inherit;

}

.logo{

    width:75px;

    margin-right:15px;

    vertical-align:middle;

}

.site-title{

    display:inline-block;

    vertical-align:middle;

}

.site-title h2{

    font-size:30px;

    margin:0;

    color:var(--primary);

    font-weight:700;

}

.site-title span{

    color:#777;

    font-size:14px;

}

/*=============================
    SOCIAL
==============================*/

.social-icon{

    width:42px;

    height:42px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-left:8px;

    border-radius:50%;

    color:white;

    background:var(--primary);

    font-size:18px;

}

.social-icon:hover{

    background:var(--secondary);

    transform:translateY(-3px);

}

/*=============================
    NAVBAR
==============================*/

.main-navbar{

    background:var(--primary);

    box-shadow:var(--shadow);

}

.navbar-brand{

    font-weight:700;

}

.navbar-nav .nav-link{

    color:white !important;

    padding:14px 18px;

    font-weight:500;

}

.navbar-nav .nav-link:hover{

    color:#ffe59e !important;

}

.dropdown-menu{

    border:none;

    border-radius:8px;

    box-shadow:var(--shadow);

}

.dropdown-item{

    padding:10px 18px;

}

.dropdown-item:hover{

    background:var(--secondary);

    color:white;

}

/*=============================
    SEARCH
==============================*/

.form-control{

    border-radius:8px;

    border:1px solid var(--border);

}

.form-control:focus{

    border-color:var(--secondary);

    box-shadow:none;

}

.btn-warning{

    background:var(--accent);

    border:none;

    color:#000;

    font-weight:600;

}

.btn-warning:hover{

    background:var(--secondary);

    color:white;

}

/*=============================
    BREADCRUMB
==============================*/

.breadcrumb-section{

    background:var(--light);

    border-bottom:1px solid var(--border);

    padding:15px 0;

}

.breadcrumb{

    margin:0;

}

.breadcrumb a{

    color:var(--primary);

}

.breadcrumb-item.active{

    color:#777;

}

/*=============================
    LANGUAGE
==============================*/

.language-section{

    padding:20px 0;

    background:white;

}

/*=============================
    CONTENT
==============================*/

.content-section{

    padding:30px 0 50px;

}

/*=============================
    LEFT PANEL
==============================*/

.section-card{

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:var(--shadow);

    position:sticky;

    top:90px;

}

.section-title{

    background:var(--primary);

    color:white;

    padding:16px 20px;

    font-size:18px;

    font-weight:600;

}

.section-title i{

    margin-right:8px;

}

/*=============================
    SECTION LINKS
==============================*/

.section-link{

    display:block;

    padding:15px 20px;

    margin:10px;

    background:var(--secondary);

    color:white;

    border-radius:8px;

    font-weight:500;

    border-left:5px solid transparent;

    transition:.3s;

}

.section-link:hover{

    background:var(--primary);

    color:white;

    border-left:5px solid var(--accent);

    transform:translateX(5px);

}

.section-link.active{

    background:var(--primary);

    border-left:5px solid var(--accent);

}

/*=============================
    PDF VIEWER
==============================*/

.viewer-card{

    background:white;

    border-radius:12px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

.viewer-header{

    background:var(--primary);

    color:white;

    padding:15px 20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.viewer-header h5{

    margin:0;

    font-size:22px;

}

.viewer-header .btn{

    margin-left:6px;

}

#pdfViewer{

    background:#ddd;

    min-height:900px;

}

/*=============================
    FOOTER
==============================*/

.footer{

    background:var(--footer);

    color:white;

    padding:55px 0;

}

.footer h5{

    margin-bottom:20px;

    color:#ffd66d;

}

.footer p{

    color:#ddd;

}

.footer-links{

    padding:0;

    list-style:none;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#ddd;

}

.footer-links a:hover{

    color:white;

    padding-left:8px;

}

/*=============================
    SUBSCRIBE
==============================*/

.footer .form-control{

    border:none;

}

.footer .btn{

    font-weight:600;

}

/*=============================
    COPYRIGHT
==============================*/

.copyright{

    background:#4d1010;

    color:#eee;

    padding:18px 0;

    font-size:14px;

}

/*=============================
    BUTTONS
==============================*/

.btn-danger{

    background:var(--primary);

    border:none;

}

.btn-danger:hover{

    background:#6b1515;

}

.btn-primary{

    background:#0d6efd;

}

/*=============================
    SCROLLBAR
==============================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:var(--secondary);

    border-radius:10px;

}

::-webkit-scrollbar-track{

    background:#f5f5f5;

}

/*=============================
    MOBILE
==============================*/

@media(max-width:991px){

    .section-card{

        position:relative;

        top:0;

        margin-bottom:30px;

    }

    .viewer-header{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

    }

    #pdfViewer{

        height:650px;

    }

    .site-title h2{

        font-size:24px;

    }

}

@media(max-width:767px){

    .top-header{

        text-align:center;

    }

    .logo{

        width:60px;

        margin-bottom:10px;

    }

    .site-title{

        display:block;

    }

    .social-icon{

        margin:5px;

    }

    .navbar-nav .nav-link{

        padding:12px;

    }

    .viewer-header h5{

        font-size:18px;

    }

    .section-link{

        margin:8px;

        padding:13px 15px;

    }

    #pdfViewer{

        height:500px;

    }

    .footer{

        text-align:center;

    }

}

@media(max-width:575px){

    .site-title h2{

        font-size:20px;

    }

    .section-title{

        font-size:16px;

    }

    .viewer-header{

        padding:12px;

    }

    .copyright{

        text-align:center;

    }

}