/* =========================================
   GLOBAL
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #17120d;
    color: #ead9b5;
    font-family: "Libre Baskerville", serif;
}


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

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: 78px;
    padding: 15px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(8, 10, 8, 0.96);

    border-bottom: 1px solid #51452d;

    backdrop-filter: blur(12px);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: "Cinzel", serif;
    font-size: 12px;
    letter-spacing: 4px;
    color: #b99658;
}

.project-name {
    font-family: "Cinzel", serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #e0cf9d;
}

.navbar nav {
    display: flex;
    gap: 28px;
}

.navbar nav a {
    font-family: "Cinzel", serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #a89c83;

    transition: 0.3s ease;
}

.navbar nav a:hover {
    color: #d6b56d;
}


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

.crusades-hero {
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    position: relative;

    background:
        linear-gradient(
            rgba(18, 13, 8, 0.50),
            rgba(18, 13, 8, 0.92)
        ),
        url("../assets/images/crusades-hero.webp");

    background-size: cover;
    background-position: center;

    border-bottom: 1px solid #5f4b2e;
}

.hero-content {
    max-width: 900px;
    padding: 40px 25px;
}

.hero-label {
    font-family: "Cinzel", serif;

    color: #c7a45d;

    letter-spacing: 5px;

    font-size: 13px;

    margin-bottom: 25px;
}

.crusades-hero h1 {
    font-family: "Cinzel", serif;

    font-size: clamp(55px, 9vw, 110px);

    line-height: 0.95;

    letter-spacing: 8px;

    color: #f0dfb8;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, 0.8);
}

.crusades-hero h1 span {
    display: block;

    color: #c39a52;
}

.hero-ornament {
    margin: 30px 0;

    color: #b08a4d;

    font-size: 18px;
}

.hero-description {
    max-width: 700px;

    margin: auto;

    color: #d8c9a8;

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================
   COMMON SECTIONS
========================================= */

.section-label {
    font-family: "Cinzel", serif;

    font-size: 12px;

    letter-spacing: 4px;

    color: #b08a4d;
}

.section-heading {
    text-align: center;

    margin-bottom: 55px;
}

.section-heading h2,
.introduction h2 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

    font-size: 40px;

    color: #e8d5ac;
}

.section-heading > p:last-child {
    max-width: 650px;

    margin: 18px auto 0;

    color: #9f9074;

    line-height: 1.8;

    font-size: 14px;
}

.section-line {
    margin: 25px;

    color: #b08a4d;
}


/* =========================================
   INTRODUCTION
========================================= */

.introduction {
    max-width: 900px;

    margin: auto;

    padding: 100px 30px 70px;

    text-align: center;
}

.intro-text {
    max-width: 750px;

    margin: auto;

    color: #bfb08f;

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================
   STATISTICS
========================================= */

.stats-section {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto 100px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.stat-card {
    padding: 35px 20px;

    text-align: center;

    background: #211910;

    border: 1px solid #5f4b2e;

    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);

    border-color: #b08a4d;
}

.stat-number {
    display: block;

    font-family: "Cinzel", serif;

    font-size: 30px;

    color: #d7b56d;
}

.stat-label {
    display: block;

    margin-top: 12px;

    color: #8f8066;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 1.5px;

    line-height: 1.5;
}


/* =========================================
   DEATH NOTE
========================================= */

.death-note {
    padding: 80px 30px;

    background: #0f0c09;

    border-top: 1px solid #4c3a23;
    border-bottom: 1px solid #4c3a23;
}

.death-content {
    max-width: 900px;

    margin: auto;

    text-align: center;

    padding: 50px 40px;

    border: 1px solid #5f4b2e;

    background: #17120d;
}

.warning-symbol {
    display: block;

    font-size: 35px;

    color: #b08a4d;

    margin-bottom: 15px;
}

.death-content h2 {
    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 30px;
}

.death-content p {
    max-width: 720px;

    margin: 20px auto 0;

    color: #aa9b7b;

    line-height: 1.9;

    font-size: 14px;
}

.death-content strong {
    color: #c39a52;
}

.death-content .uncertain {
    color: #8f7955;

    font-size: 12px;

    font-style: italic;
}


/* =========================================
   BACKGROUND
========================================= */

.background-section {
    padding: 110px 30px;
}

.background-grid {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    gap: 70px;

    align-items: center;
}

.background-text h2 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    color: #e8d5ac;

    font-size: 38px;
}

.background-text p:not(.section-label) {
    margin-top: 25px;

    color: #aa9b7b;

    font-size: 14px;

    line-height: 1.9;
}

.background-facts {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.fact-box {
    padding: 25px;

    background: #211910;

    border-left: 2px solid #b08a4d;

    border-top: 1px solid #4c3a23;

    border-bottom: 1px solid #4c3a23;
}

.fact-box span {
    display: block;

    font-family: "Cinzel", serif;

    font-size: 24px;

    color: #c39a52;
}

.fact-box p {
    margin-top: 7px;

    color: #a99a7d;

    font-size: 13px;
}


/* =========================================
   CRUSADES SECTION
========================================= */

.crusades-section {
    width: 90%;

    max-width: 1250px;

    margin: 0 auto 110px;
}

.crusades-grid {
    display: grid;

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

    gap: 25px;
}


/* =========================================
   CRUSADE CARD
========================================= */

.crusade-card {
    padding: 30px;

    background: #211910;

    border: 1px solid #5f4b2e;

    transition: 0.35s;

    position: relative;
}

.crusade-card:hover {
    transform: translateY(-7px);

    border-color: #b08a4d;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.35);
}

.crusade-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.crusade-number {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #8b6a3d;

    color: #d7b56d;

    font-family: "Cinzel", serif;
}

.result-badge {
    padding: 6px 8px;

    border: 1px solid #66502f;

    color: #a9946d;

    font-family: "Cinzel", serif;

    font-size: 8px;

    letter-spacing: 1px;

    text-align: right;
}

.crusade-card h3 {
    margin-top: 22px;

    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 23px;
}

.crusade-card .date {
    margin-top: 7px;

    color: #806c4e;

    font-size: 12px;
}

.crusade-card > p:not(.date) {
    margin-top: 20px;

    color: #aa9b7b;

    font-size: 13px;

    line-height: 1.8;
}

.result {
    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #4c3a23;
}

.result strong {
    display: block;

    color: #c7a45d;

    font-family: "Cinzel", serif;

    font-size: 11px;

    letter-spacing: 1px;
}

.result span {
    display: block;

    margin-top: 7px;

    color: #a99a7d;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================
   TURNING POINT
========================================= */

.turning-point {
    padding: 110px 30px;

    background: #0f0c09;

    border-top: 1px solid #4c3a23;

    border-bottom: 1px solid #4c3a23;
}

.turning-content {
    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    gap: 70px;

    align-items: center;
}

.turning-text h2 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    font-size: 38px;

    color: #e8d5ac;
}

.turning-text p:not(.section-label) {
    margin-top: 25px;

    color: #aa9b7b;

    font-size: 14px;

    line-height: 1.9;
}

.turning-facts {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.turning-facts div {
    padding: 25px;

    background: #211910;

    border: 1px solid #5f4b2e;
}

.turning-facts span {
    display: block;

    color: #c39a52;

    font-family: "Cinzel", serif;

    font-size: 25px;
}

.turning-facts p {
    margin-top: 8px;

    color: #9d8c6d;

    font-size: 12px;
}

/* =========================================
   MUSLIM DOMINANCE / SHIFT IN POWER
========================================= */

.dominance-section {
    padding: 120px 30px;

    background:
        linear-gradient(
            rgba(15, 12, 9, 0.96),
            rgba(23, 18, 13, 0.98)
        );

    border-top: 1px solid #4c3a23;
    border-bottom: 1px solid #4c3a23;
}


.dominance-content {
    max-width: 1050px;

    margin: auto;
}


/* ---------- HEADING ---------- */

.dominance-heading {
    text-align: center;
}

.dominance-heading h2 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.25;

    color: #e8d5ac;
}

.dominance-heading h2 span {
    display: block;

    color: #c39a52;
}


/* ---------- INTRO ---------- */

.dominance-intro {
    max-width: 800px;

    margin: 45px auto 70px;

    text-align: center;
}

.dominance-intro p {
    margin-top: 20px;

    color: #aa9b7b;

    font-size: 14px;

    line-height: 1.9;
}

.dominance-intro strong {
    color: #c39a52;

    font-family: "Cinzel", serif;
}


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

.power-timeline {
    position: relative;

    max-width: 850px;

    margin: auto;

    padding: 20px 0;
}


/* Vertical line */

.power-timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 1px;

    background: #6b5230;

    transform: translateX(-50%);
}


/* Timeline item */

.power-event {
    display: grid;

    grid-template-columns:
        1fr 60px 1fr;

    align-items: center;

    min-height: 150px;

    position: relative;
}


/* Year */

.power-year {
    padding: 20px;

    font-family: "Cinzel", serif;

    font-size: 27px;

    color: #c39a52;

    text-align: right;
}


/* Dot */

.power-dot {
    width: 42px;
    height: 42px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #b08a4d;

    border-radius: 50%;

    background: #17120d;

    color: #d7b56d;

    position: relative;

    z-index: 2;
}


/* Information */

.power-info {
    padding: 25px;

    margin-left: 20px;

    background: #211910;

    border: 1px solid #5f4b2e;

    transition: 0.3s;
}

.power-info:hover {
    border-color: #b08a4d;

    transform: translateX(5px);
}

.power-info h3 {
    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 19px;
}

.power-info p {
    margin-top: 10px;

    color: #9f9074;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================
   CONCLUSION
========================================= */

.dominance-conclusion {
    max-width: 900px;

    margin: 80px auto 0;

    padding: 50px 40px;

    text-align: center;

    background: #211910;

    border: 1px solid #80683f;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.conclusion-symbol {
    font-size: 35px;

    color: #c39a52;
}

.dominance-conclusion h3 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    font-size: 26px;

    color: #e8d5ac;
}

.dominance-conclusion p {
    max-width: 750px;

    margin: 18px auto 0;

    color: #aa9b7b;

    font-size: 13px;

    line-height: 1.9;
}

.dominance-conclusion strong {
    color: #c39a52;
}


/* =========================================
   FINAL RESULT
========================================= */

.final-result {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #4c3a23;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.final-result span {
    font-family: "Cinzel", serif;

    font-size: 24px;

    color: #c39a52;
}

.final-result strong {
    color: #9f9074;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 1px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .power-timeline::before {
        left: 20px;
    }

    .power-event {
        display: grid;

        grid-template-columns:
            40px 1fr;

        min-height: auto;

        margin-bottom: 25px;
    }

    .power-year {
        grid-column: 1;

        grid-row: 1;

        padding: 0;

        font-size: 13px;

        text-align: left;

        transform: rotate(-90deg);
    }

    .power-dot {
        grid-column: 1;

        grid-row: 1;

        width: 38px;
        height: 38px;
    }

    .power-info {
        grid-column: 2;

        grid-row: 1;

        margin-left: 15px;

        padding: 20px;
    }

    .dominance-conclusion {
        padding: 40px 20px;
    }

    .final-result {
        flex-direction: column;
    }

}


/* =========================================
   BACKFIRE
========================================= */

.backfire-section {
    padding: 110px 30px;
}

.backfire-grid {
    width: 90%;

    max-width: 1100px;

    margin: auto;

    display: grid;

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

    gap: 25px;
}

.backfire-card {
    padding: 35px;

    background: #211910;

    border: 1px solid #5f4b2e;
}

.backfire-card > span {
    color: #80663b;

    font-family: "Cinzel", serif;

    font-size: 13px;

    letter-spacing: 2px;
}

.backfire-card h3 {
    margin-top: 15px;

    color: #d7b56d;

    font-family: "Cinzel", serif;

    font-size: 22px;
}

.backfire-card p {
    margin-top: 15px;

    color: #aa9b7b;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   PERFORMANCE
========================================= */

.performance-section {
    padding: 110px 30px;

    background: #0f0c09;

    border-top: 1px solid #4c3a23;

    border-bottom: 1px solid #4c3a23;
}

.performance-grid {
    width: 90%;

    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.performance-card {
    padding: 35px 25px;

    background: #17120d;

    border: 1px solid #5f4b2e;

    text-align: center;
}

.performance-icon {
    display: block;

    font-size: 30px;

    color: #c39a52;
}

.performance-card h3 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 19px;
}

.performance-card p {
    margin-top: 15px;

    color: #9f9074;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================
   SCORECARD
========================================= */

.scorecard-section {
    padding: 110px 30px;
}

.scorecard {
    max-width: 1100px;

    margin: auto;

    padding: 55px 40px;

    text-align: center;

    background: #211910;

    border: 1px solid #80683f;
}

.scorecard h2 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    color: #e8d5ac;

    font-size: 35px;
}

.score-grid {
    margin-top: 50px;

    display: grid;

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

    gap: 1px;

    background: #5f4b2e;

    border: 1px solid #5f4b2e;
}

.score-grid div {
    padding: 30px 15px;

    background: #17120d;
}

.score-grid span {
    display: block;

    color: #c39a52;

    font-family: "Cinzel", serif;

    font-size: 27px;
}

.score-grid p {
    margin-top: 10px;

    color: #8f8066;

    font-size: 10px;

    line-height: 1.5;

    letter-spacing: 0.5px;
}


/* =========================================
   LEGACY
========================================= */

.legacy-section {
    padding: 110px 30px;

    background: #0f0c09;

    border-top: 1px solid #4c3a23;
}

.legacy-content {
    max-width: 850px;

    margin: auto;

    text-align: center;
}

.legacy-content h2 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

    font-size: 38px;

    color: #e8d5ac;
}

.legacy-content p:not(.section-label) {
    margin-top: 20px;

    color: #aa9b7b;

    font-size: 14px;

    line-height: 1.9;
}


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

footer {
    padding: 60px 20px;

    text-align: center;

    background: #0b0907;

    border-top: 1px solid #4c3a23;
}

.footer-logo {
    font-family: "Cinzel", serif;

    color: #c29a52;

    letter-spacing: 3px;

    font-size: 18px;
}

footer p {
    margin-top: 15px;

    color: #85775d;

    font-size: 13px;
}

.footer-line {
    width: 100px;

    height: 1px;

    margin: 25px auto;

    background: #725631;
}

.developer {
    color: #c7b58f;
}

.developer strong {
    color: #c39a52;

    font-family: "Cinzel", serif;
}

.powered {
    margin-top: 8px;
}

.powered strong {
    color: #c39a52;

    font-family: "Cinzel", serif;
}

.copyright {
    margin-top: 18px !important;

    font-size: 11px !important;

    letter-spacing: 1px;

    color: #85775d;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .navbar {
        flex-direction: column;

        padding: 20px;

        gap: 18px;
    }

    .navbar nav {
        gap: 14px;
    }

    .stats-section {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .crusades-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .performance-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .background-grid,
    .turning-content {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 750px) {

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

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

    .score-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .stats-section {
        grid-template-columns: 1fr;
    }

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

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

    .crusades-hero {
        min-height: 540px;
    }

    .crusades-hero h1 {
        font-size: 50px;
        letter-spacing: 4px;
    }

    .section-heading h2,
    .introduction h2 {
        font-size: 30px;
    }

    .death-content {
        padding: 40px 20px;
    }

    .scorecard {
        padding: 40px 20px;
    }

}

/* =========================================================
   EDUCATIONAL DISCLAIMER
   ========================================================= */

.disclaimer-section {
    padding: 90px 6%;

    background:
        linear-gradient(
            180deg,
            #0b0a08,
            #11100c
        );

    border-top: 1px solid #3d3020;
}


.disclaimer-card {
    max-width: 950px;

    margin: auto;

    padding: 45px 50px;

    background:
        linear-gradient(
            145deg,
            #19160f,
            #100f0b
        );

    border: 1px solid #51432b;

    text-align: center;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.28);
}


.disclaimer-label {
    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 4px;

    color: #a98248;
}


.disclaimer-card h2 {
    margin: 14px 0 22px;

    font-family: "Cinzel", serif;

    font-size: 27px;

    color: #ddc99a;
}


.disclaimer-card p {
    max-width: 800px;

    margin: 0 auto 18px;

    color: #958a76;

    font-size: 12px;

    line-height: 1.9;
}


.disclaimer-card .disclaimer-note {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #403522;

    color: #b49a68;

    font-size: 11px;
}


/* =========================================================
   DISCLAIMER RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    .disclaimer-section {
        padding: 65px 5%;
    }

    .disclaimer-card {
        padding: 32px 22px;
    }

    .disclaimer-card h2 {
        font-size: 22px;
    }

    .disclaimer-card p {
        font-size: 11px;
    }
}
