/* =========================================================
   THE JOURNAL OF ENGINEERING AND TECHNOLOGY (JET)
   LUMEN BAYIT PUBLICATIONS

   MAIN WEBSITE STYLESHEET
========================================================= */


/* =========================================================
   1. GOOGLE FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');


/* =========================================================
   2. ROOT VARIABLES
========================================================= */

:root {

    --navy: #092b4b;

    --deep: #061e35;

    --gold: #bd8c36;

    --cream: #faf6ed;

    --paper: #ffffff;

    --ink: #18334b;

    --muted: #5c6d7d;

    --line: #e8dfd0;

}


/* =========================================================
   3. GLOBAL RESET
========================================================= */

* {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

    background: var(--paper);

    color: var(--ink);

    font-family: 'DM Sans', Arial, sans-serif;

    font-size: 16px;

    line-height: 1.75;

}

a {

    color: var(--navy);

}

img {

    display: block;

    max-width: 100%;

}

.container {

    width: min(1160px, calc(100% - 40px));

    margin: auto;

}


/* =========================================================
   4. GLOBAL TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {

    font-family: 'Libre Baskerville', Georgia, serif;

    line-height: 1.3;

    color: var(--navy);

}

h1 {

    font-size: clamp(2.1rem, 4vw, 3.7rem);

    margin: 18px 0;

}

h2 {

    font-size: clamp(1.5rem, 2.6vw, 2.25rem);

}

h3 {

    font-size: 1.15rem;

}

h1,
h2,
h3,
h4,
h5,
h6 {

    text-align: left;

}


/* =========================================================
   5. GLOBAL TEXT JUSTIFICATION
========================================================= */

/*
   Paragraphs and list content are justified.

   Headings, buttons, navigation, and statistical
   information retain their natural alignment.
*/

.page-content p,
.page-content li,
.hero-content p,
.hero-publication p,
.section p,
.section-intro,
.card p,
.feature-content p,
.notice p,
.footer-about p,
.issues-section p,
.indexing-section p,
.open-access-section p,
.peer-review-section p,
.ethics-section p,
.about-section p,
.authors-section p,
.contact-section p {

    text-align: justify;

    text-justify: inter-word;

    text-align-last: left;

    word-spacing: normal;

    letter-spacing: normal;

    hyphens: none;

    overflow-wrap: break-word;

    word-break: normal;

}


/* =========================================================
   6. TOP BAR
========================================================= */

.topbar {

    background: var(--deep);

    color: #e6d5b3;

    font-size: 0.8rem;

}

.topbar-inner {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 7px 0;

}

.topbar a {

    color: #ffffff;

    text-decoration: none;

}


/* =========================================================
   7. MAIN HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 30;

    background: #ffffff;

    border-bottom: 1px solid var(--line);

    box-shadow: 0 5px 22px rgba(11, 41, 68, 0.04);

}

.header-inner {

    display: flex;

    align-items: center;

    gap: 24px;

    padding: 12px 0;

}


/* =========================================================
   8. JOURNAL BRANDING
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 235px;

    text-decoration: none;

}

.brand img {

    width: 58px;

    height: 58px;

    object-fit: cover;

    border-radius: 12px;

}

.brand strong {

    display: block;

    font-family: 'Libre Baskerville', Georgia, serif;

    font-size: 1.75rem;

    font-weight: 700;

    color: var(--navy);

}

.brand small {

    display: block;

    max-width: 165px;

    font-size: 0.69rem;

    line-height: 1.4;

    color: var(--muted);

}


/* =========================================================
   9. MAIN NAVIGATION
========================================================= */

.nav {

    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 4px 15px;

    margin-left: auto;

}

.nav a {

    padding: 6px 0;

    color: var(--ink);

    font-size: 0.81rem;

    font-weight: 700;

    text-decoration: none;

    border-bottom: 2px solid transparent;

}

.nav a:hover,
.nav a.active {

    color: var(--gold);

    border-bottom-color: var(--gold);

}


/* =========================================================
   10. MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    padding: 8px 12px;

    background: var(--navy);

    color: #ffffff;

    border: none;

    border-radius: 8px;

    font-size: 1.2rem;

    cursor: pointer;

}


/* =========================================================
   11. DROPDOWN NAVIGATION
========================================================= */

.nav-dropdown {

    position: relative;

    display: flex;

    align-items: center;

}

.dropdown-toggle {

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 6px 0;

    background: transparent;

    color: var(--ink);

    border: none;

    border-bottom: 2px solid transparent;

    font-family: 'DM Sans', Arial, sans-serif;

    font-size: 0.81rem;

    font-weight: 700;

    cursor: pointer;

}

.dropdown-toggle:hover,
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle {

    color: var(--gold);

    border-bottom-color: var(--gold);

}

.dropdown-arrow {

    font-size: 0.75rem;

    transition: transform 0.25s ease;

}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {

    transform: rotate(180deg);

}


/* =========================================================
   12. DROPDOWN MENU
========================================================= */

.dropdown-menu {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 180px;

    padding: 8px 0;

    background: #ffffff;

    border: 1px solid var(--line);

    border-radius: 8px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

    z-index: 100;

}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {

    display: block;

}

.dropdown-menu a {

    display: block;

    padding: 10px 16px;

    color: var(--ink);

    font-size: 0.82rem;

    font-weight: 600;

    text-decoration: none;

    border-bottom: none;

    white-space: nowrap;

}

.dropdown-menu a:hover,
.dropdown-menu a.active {

    background: var(--cream);

    color: var(--gold);

    border-bottom: none;

}


/* =========================================================
   13. HOME PAGE HERO SECTION
========================================================= */

.hero {

    background: linear-gradient(
        125deg,
        #061e35 0%,
        #103e65 74%,
        #174a70 100%
    );

    color: #ffffff;

    overflow: hidden;

}

.hero-grid {

    display: grid;

    grid-template-columns: 1.3fr 0.85fr;

    align-items: center;

    gap: 55px;

    padding: 76px 0;

}

.eyebrow {

    color: var(--gold);

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.16em;

}

.hero .eyebrow {

    color: #eac579;

}

.hero h1 {

    color: #ffffff;

}

.hero p {

    max-width: 660px;

    color: #e5edf5;

    font-size: 1.1rem;

}


/* =========================================================
   14. JOURNAL COVER IMAGE

   IMPORTANT FIX:
   Display the entire JETCOVER.jpg image
   without cropping or distortion.
========================================================= */

.hero-art {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: auto;

    padding: 15px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 20px;

    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);

    overflow: visible;

}

.hero-art img {

    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    aspect-ratio: auto;

    object-fit: contain;

    object-position: center;

    border-radius: 12px;

}


/* =========================================================
   15. BUTTONS
========================================================= */

.btn {

    display: inline-block;

    margin: 12px 12px 0 0;

    padding: 12px 20px;

    background: var(--gold);

    color: #071c30;

    font-weight: 700;

    text-decoration: none;

    border-radius: 7px;

}

.btn.alt {

    background: transparent;

    color: var(--navy);

    border: 1px solid var(--gold);

}

.hero .btn.alt {

    color: #ffffff;

}


/* =========================================================
   16. GENERAL SECTIONS
========================================================= */

.section {

    padding: 72px 0;

}

.tinted {

    background: var(--cream);

}

.section-intro {

    max-width: 790px;

    color: var(--muted);

}


/* =========================================================
   17. CONTENT CARDS
========================================================= */

.cards {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    margin-top: 28px;

}

.card {

    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--line);

    border-top: 4px solid var(--gold);

    border-radius: 12px;

    box-shadow: 0 12px 35px rgba(9, 43, 75, 0.05);

}

.card p {

    color: var(--muted);

}

.text-link {

    color: #98681b;

    font-weight: 700;

}


/* =========================================================
   18. INNER PAGE HERO
========================================================= */

.page-hero {

    padding: 53px 0;

    background: linear-gradient(
        120deg,
        var(--deep),
        var(--navy)
    );

    color: #e8edf4;

}

.page-hero h1 {

    margin: 0 0 10px;

    color: #ffffff;

}

.page-hero p {

    margin: 0;

    font-size: 1.05rem;

}


/* =========================================================
   19. PAGE CONTENT
========================================================= */

.page-content {

    max-width: 950px;

    padding: 50px 0 80px;

}

.page-content section {

    margin-bottom: 36px;

    scroll-margin-top: 110px;

}

.page-content h2 {

    margin-top: 36px;

}

.page-content p {

    line-height: 1.85;

    white-space: normal;

}

.page-content ul {

    padding-left: 23px;

}

.page-content li {

    margin-bottom: 9px;

}


/* =========================================================
   20. NOTICE BOX
========================================================= */

.notice {

    margin: 24px 0;

    padding: 20px 24px;

    background: #fff7e5;

    border-left: 4px solid var(--gold);

    border-radius: 6px;

}


/* =========================================================
   21. TAGS
========================================================= */

.tag {

    display: inline-block;

    margin: 4px 6px 4px 0;

    padding: 3px 11px;

    background: #f6eddd;

    color: #6b4a13;

    border: 1px solid #e7d4ae;

    border-radius: 30px;

    font-size: 0.84rem;

    font-weight: 700;

}


/* =========================================================
   22. FEATURE SECTION
========================================================= */

.feature {

    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    align-items: center;

    gap: 35px;

}

.feature img {

    border-radius: 14px;

}


/* =========================================================
   23. SCOPE GRID
========================================================= */

.scope-grid {

    columns: 2;

    column-gap: 40px;

}

.scope-grid li {

    break-inside: avoid;

}

.page-content .scope-grid {

    margin-top: 20px;

}


/* =========================================================
   24. POSTER IMAGES
========================================================= */

.poster {

    display: block;

    width: 100%;

    max-width: 720px;

    height: auto;

    margin: 22px auto;

    border: 1px solid var(--line);

    border-radius: 12px;

}

.page-content .poster {

    height: auto;

}


/* =========================================================
   25. SMALL TEXT
========================================================= */

.small {

    color: var(--muted);

    font-size: 0.9rem;

}


/* =========================================================
   26. PUBLICATION TABLE
========================================================= */

.publication-table {

    width: 100%;

    margin: 24px 0 30px;

    border-collapse: collapse;

}

.publication-table th,
.publication-table td {

    padding: 14px 18px;

    border: 1px solid var(--line);

    text-align: justify;

    text-align-last: left;

}

.publication-table th {

    background: var(--navy);

    color: #ffffff;

}


/* =========================================================
   27. PUBLICATION SCHEDULE TABLE
========================================================= */

.schedule-table {

    width: 100%;

    margin: 20px 0 28px;

    border-collapse: collapse;

}

.schedule-table td {

    padding: 12px 18px;

    border: 1px solid var(--line);

    text-align: justify;

    text-align-last: left;

}

.schedule-table tr:first-child {

    background: var(--cream);

    font-weight: 700;

}


/* =========================================================
   28. CREATIVE COMMONS LICENSE LINK
========================================================= */

.page-content a.cc-license-link {

    color: #0056b3;

    font-weight: 600;

    text-decoration: underline;

    text-underline-offset: 3px;

    cursor: pointer;

    overflow-wrap: anywhere;

}

.page-content a.cc-license-link:hover {

    color: var(--gold);

}

.page-content a.cc-license-link:focus-visible {

    outline: 2px solid var(--gold);

    outline-offset: 3px;

}


/* =========================================================
   29. WEBSITE FOOTER
========================================================= */

.site-footer {

    padding: 55px 0 18px;

    background: var(--deep);

    color: #d8e3eb;

}

.site-footer .footer-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.5fr);

    align-items: start;

    gap: 30px;

}

.site-footer h3 {

    color: #f1d49c;

}

.site-footer a {

    display: block;

    margin: 7px 0;

    color: #e3e9ef;

    text-decoration: none;

}

.site-footer a:hover {

    color: #f1d49c;

}


/* =========================================================
   30. FOOTER JOURNAL INFORMATION
========================================================= */

.site-footer .footer-about {

    min-width: 0;

}

.site-footer .footer-about p {

    text-align: justify;

    text-align-last: left;

    text-justify: inter-word;

    line-height: 1.8;

    word-spacing: normal;

    hyphens: none;

}


/* =========================================================
   31. FOOTER NAVIGATION LINKS
========================================================= */

.site-footer .footer-explore a,
.site-footer .footer-policies a {

    display: block;

    margin: 7px 0;

    color: #e3e9ef;

    text-decoration: none;

    transition: color 0.2s ease;

}

.site-footer .footer-explore a:hover,
.site-footer .footer-policies a:hover {

    color: #f1d49c;

}


/* =========================================================
   32. GLOBAL READERSHIP
========================================================= */

.site-footer .footer-visitors {

    min-width: 0;

}

.site-footer .footer-visitors h3 {

    margin-top: 0;

    margin-bottom: 20px;

    color: #f1d49c;

    font-family: 'Libre Baskerville', Georgia, serif;

    font-size: 1.15rem;

    line-height: 1.5;

}


/* =========================================================
   33. VISITOR STATISTICS
========================================================= */

.site-footer .visitor-statistics {

    margin-bottom: 22px;

}

.site-footer .visitor-statistics p {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

    margin: 0 0 12px;

    padding-bottom: 9px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.88rem;

    line-height: 1.6;

    text-align: left;

}

.site-footer .visitor-statistics p span {

    flex: 1;

    color: #d8e3eb;

}

.site-footer .visitor-statistics strong {

    color: #f1d49c;

    font-size: 0.95rem;

    font-weight: 700;

    white-space: nowrap;

}


/* =========================================================
   34. COUNTRY VISITOR HEADING
========================================================= */

.site-footer .footer-visitors h4 {

    margin-top: 20px;

    margin-bottom: 14px;

    color: #f1d49c;

    font-family: 'DM Sans', Arial, sans-serif;

    font-size: 0.9rem;

    font-weight: 700;

}


/* =========================================================
   35. COUNTRY VISITOR LIST
========================================================= */

.site-footer .visitor-countries {

    max-height: 200px;

    padding-right: 8px;

    overflow-y: auto;

    overflow-x: hidden;

    scrollbar-width: thin;

    scrollbar-color:
        var(--gold)
        rgba(255, 255, 255, 0.08);

}


/* =========================================================
   36. COUNTRY VISITOR ROW
========================================================= */

.site-footer .visitor-country {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 12px;

    padding: 7px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    font-size: 0.85rem;

    line-height: 1.6;

}

.site-footer .visitor-country-name {

    flex: 1;

    min-width: 0;

    color: #d8e3eb;

    overflow-wrap: break-word;

}

.site-footer .visitor-country-count {

    color: #f1d49c;

    font-weight: 700;

    white-space: nowrap;

}


/* =========================================================
   37. VISITOR LOADING MESSAGE
========================================================= */

.site-footer .visitor-countries > p {

    margin: 0;

    color: #b8c9d8;

    font-size: 0.85rem;

    font-style: italic;

    text-align: left;

}


/* =========================================================
   38. COUNTRY LIST SCROLLBAR
========================================================= */

.site-footer .visitor-countries::-webkit-scrollbar {

    width: 5px;

}

.site-footer .visitor-countries::-webkit-scrollbar-track {

    background: rgba(255, 255, 255, 0.08);

    border-radius: 10px;

}

.site-footer .visitor-countries::-webkit-scrollbar-thumb {

    background: var(--gold);

    border-radius: 10px;

}


/* =========================================================
   39. FOOTER COPYRIGHT
========================================================= */

.site-footer .footer-bottom {

    margin-top: 35px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.16);

    font-size: 0.83rem;

}

.site-footer .footer-bottom p {

    margin: 0;

    color: #d8e3eb;

    text-align: left;

}

.site-footer .footer-credit a {

    display: inline;

    color: #f1d49c;

}


/* =========================================================
   40. RESPONSIVE LAYOUT
   LARGE TABLETS
========================================================= */

@media (max-width: 1100px) {

    .site-footer .footer-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 35px;

    }

}


/* =========================================================
   41. RESPONSIVE HEADER
========================================================= */

@media (max-width: 1050px) {

    .header-inner {

        flex-wrap: wrap;

    }

    .nav {

        justify-content: flex-start;

        width: 100%;

        margin-left: 0;

    }

}


/* =========================================================
   42. TABLET AND MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 720px) {

    /* TOP BAR */

    .topbar-inner {

        flex-wrap: wrap;

    }


    /* HEADER */

    .header-inner {

        flex-wrap: wrap;

    }


    /* MOBILE MENU BUTTON */

    .menu-toggle {

        display: block;

        margin-left: auto;

    }


    /* MOBILE NAVIGATION */

    .nav {

        display: none;

        flex-direction: column;

        width: 100%;

        gap: 0;

    }

    .nav.open {

        display: flex;

    }

    .nav a {

        padding: 10px 0;

    }


    /* MOBILE DROPDOWNS */

    .nav-dropdown {

        display: block;

        width: 100%;

    }

    .dropdown-toggle {

        justify-content: space-between;

        width: 100%;

        padding: 10px 0;

    }

    .dropdown-menu {

        display: none;

        position: static;

        width: 100%;

        min-width: 0;

        padding: 5px 0 5px 15px;

        background: var(--cream);

        border: none;

        border-radius: 6px;

        box-shadow: none;

    }

    .nav-dropdown.open .dropdown-menu {

        display: block;

    }

    .nav-dropdown:hover:not(.open) .dropdown-menu {

        display: none;

    }

    .dropdown-menu a {

        padding: 10px 12px;

    }


    /* HERO AND CONTENT LAYOUT */

    .hero-grid,
    .feature,
    .cards {

        grid-template-columns: 1fr;

    }

    .hero-grid {

        gap: 28px;

        padding: 46px 0;

    }


    /* COMPLETE JOURNAL COVER */

    .hero-art {

        width: 100%;

        max-width: 380px;

        margin: 0 auto;

    }

    .hero-art img {

        width: 100%;

        height: auto;

        aspect-ratio: auto;

        object-fit: contain;

    }


    /* SECTIONS */

    .section {

        padding: 48px 0;

    }


    /* SCOPE */

    .scope-grid {

        columns: 1;

    }


    /* FOOTER */

    .site-footer .footer-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px;

    }

    .site-footer .footer-about,
    .site-footer .footer-visitors {

        grid-column: 1 / -1;

    }

    .site-footer .visitor-countries {

        max-height: 220px;

    }

}


/* =========================================================
   43. SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 600px) {

    /*
       Left alignment on narrow screens prevents
       excessive spacing between words.
    */

    .page-content p,
    .page-content li,
    .hero-content p,
    .hero-publication p,
    .section p,
    .section-intro,
    .card p,
    .feature-content p,
    .notice p,
    .footer-about p {

        text-align: left;

    }

}


/* =========================================================
   44. EXTRA SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 480px) {

    /* FOOTER */

    .site-footer .footer-grid {

        grid-template-columns: 1fr;

        gap: 28px;

    }

    .site-footer .footer-about,
    .site-footer .footer-visitors {

        grid-column: auto;

    }

    .site-footer .footer-visitors h3 {

        font-size: 1.05rem;

    }

    .site-footer .visitor-statistics p {

        font-size: 0.88rem;

    }

    .site-footer .visitor-countries {

        max-height: 250px;

    }


    /* JOURNAL COVER */

    .hero-art {

        max-width: 100%;

    }

    .hero-art img {

        width: 100%;

        height: auto;

        object-fit: contain;

    }

}


/* =========================================================
   END OF JET MAIN STYLESHEET
   LUMEN BAYIT PUBLICATIONS
========================================================= */