/* =========================================================
   HAKAM WISDOM — HISTORY PAGE
   Header + Logo + Navigation + History
========================================================= */

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #17384a;
    background: #ffffff;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e5dc;
    position: relative;
    z-index: 100;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.nav {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #17384a;
    white-space: nowrap;
}

/* Logo image */

.logo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 !important;
}


/* Hakam Wisdom */

.logo {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -1px;
}


/* Translation & Interpretation */

.logo span {
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #5c9fbd;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-left: 2px;
    align-self: center;
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: #17384a;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #5c9fbd;
}

nav a.active {
    color: #5c9fbd;
}


/* =========================================================
   HISTORY HERO
========================================================= */

.history-hero {
    padding: 105px 20px;
    text-align: center;
    background: #f5f3ec;
}

.history-hero p {
    margin: 0 0 12px;
    color: #5c9fbd;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.history-hero h1 {
    margin: 0;
    color: #17384a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 62px;
    font-weight: 500;
    line-height: 1.2;
}

.history-hero span {
    display: block;
    margin-top: 12px;
    color: #9a8350;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    letter-spacing: 3px;
}


/* =========================================================
   HISTORY CONTENT
========================================================= */

.history {
    padding: 100px 20px;
    background: #ffffff;
}

.history-content {
    max-width: 950px;
    margin: 0 auto;
}


/* Introduction */

.history-intro {
    max-width: 820px;
    margin: 0 auto 80px;
    text-align: center;
    color: #555555;
    font-size: 15px;
    line-height: 2.2;
}


/* =========================================================
   TIMELINE
========================================================= */

.history-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 55px;

    padding: 50px 0;

    border-top: 1px solid #ddd8c9;
}

.history-item:last-of-type {
    border-bottom: 1px solid #ddd8c9;
}


/* Year */

.history-year {
    color: #b29355;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
}


/* Text */

.history-text h2 {
    margin: 0 0 18px;
    color: #17384a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.4;
}

.history-text p {
    margin: 0 0 16px;
    color: #555555;
    font-size: 15px;
    line-height: 2;
}

.history-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CURRENT / 2026
========================================================= */

.history-item.current {
    margin-left: -25px;
    margin-right: -25px;

    padding-left: 25px;
    padding-right: 25px;

    background: #faf9f5;
}

.history-item.current .history-year {
    color: #5c9fbd;
}


/* =========================================================
   CLOSING SECTION
========================================================= */

.history-closing {
    margin-top: 80px;
    padding: 50px 25px;

    text-align: center;
    background: #f5f3ec;
}

.history-closing span {
    display: block;

    color: #17384a;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.5;
}

.history-closing p {
    margin: 12px 0 5px;

    color: #555555;
    font-size: 15px;
}

.history-closing small {
    color: #5c9fbd;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 30px 20px;

    text-align: center;

    background: #17384a;
    color: #ffffff;

    font-size: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .nav {
        min-height: 80px;
    }

    .logo {
        font-size: 30px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo span {
        display: none;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 12px;
    }
}


@media (max-width: 700px) {

    /* Header */

    .nav {
        min-height: 72px;
        width: 94%;
        gap: 15px;
    }

    .logo {
        font-size: 25px;
        letter-spacing: -0.5px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 10px;
        letter-spacing: 0.5px;
    }


    /* Hero */

    .history-hero {
        padding: 75px 20px;
    }

    .history-hero p {
        font-size: 10px;
        letter-spacing: 4px;
    }

    .history-hero h1 {
        font-size: 45px;
    }

    .history-hero span {
        font-size: 14px;
        letter-spacing: 2px;
    }


    /* Content */

    .history {
        padding: 65px 20px;
    }

    .history-intro {
        font-size: 14px;
        text-align: left;
        line-height: 1.9;
        margin-bottom: 50px;
    }


    /* Timeline */

    .history-item {
        display: block;
        padding: 35px 0;
    }

    .history-year {
        margin-bottom: 15px;
        font-size: 23px;
    }

    .history-text h2 {
        font-size: 22px;
    }

    .history-text p {
        font-size: 14px;
        line-height: 1.9;
    }


    /* Current */

    .history-item.current {
        margin-left: 0;
        margin-right: 0;
        padding: 30px 20px;
    }


    /* Closing */

    .history-closing {
        margin-top: 50px;
        padding: 40px 20px;
    }

    .history-closing span {
        font-size: 24px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 480px) {

    .logo {
        font-size: 21px;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 9px;
    }

    .history-hero h1 {
        font-size: 40px;
    }
}