/* =========================================
   WARS PAGE - 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
========================================= */

.wars-hero {
    min-height: 620px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    background:
        linear-gradient(
            rgba(18, 13, 8, 0.55),
            rgba(18, 13, 8, 0.90)
        ),
        url("../assets/images/wars-hero.webp");

    background-size: cover;

    background-position: center;

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

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

    padding: 40px 25px;

    position: relative;
}

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

    color: #c7a45d;

    letter-spacing: 5px;

    font-size: 13px;

    margin-bottom: 25px;
}

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

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

    line-height: 0.95;

    letter-spacing: 7px;

    color: #f0dfb8;

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

.wars-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;
}


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

.wars-introduction {
    max-width: 900px;

    margin: auto;

    padding: 100px 30px 70px;

    text-align: center;
}

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

    font-size: 12px;

    letter-spacing: 4px;

    color: #b08a4d;
}

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

    font-family: "Cinzel", serif;

    color: #e8d5ac;

    font-size: 40px;
}

.section-line {
    margin: 25px;

    color: #b08a4d;
}

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

    margin: auto;

    color: #bfb08f;

    line-height: 1.9;

    font-size: 15px;
}


/* =========================================
   SECTION HEADING
========================================= */

.section-heading {
    text-align: center;

    margin-bottom: 55px;
}


/* =========================================
   WARS SECTION
========================================= */

.wars-section {
    width: 90%;

    max-width: 1250px;

    margin: 0 auto 110px;
}

.wars-grid {
    display: grid;

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

    gap: 28px;
}


/* =========================================
   WAR CARD
========================================= */

.war-card {
    background: #211910;

    border: 1px solid #5f4b2e;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

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

    border-color: #b08a4d;

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


/* =========================================
   WAR IMAGE
========================================= */

.war-image {
    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #120e09;
}

.war-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.war-card:hover .war-image img {
    transform: scale(1.05);
}


/* =========================================
   WAR CONTENT
========================================= */

.war-content {
    padding: 30px;
}

.war-category {
    font-family: "Cinzel", serif;

    color: #a57c3d;

    font-size: 11px;

    letter-spacing: 3px;
}

.war-content h3 {
    margin-top: 10px;

    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 27px;
}

.war-date {
    margin-top: 8px;

    color: #8f7955;

    font-size: 13px;
}

.war-content > p {
    margin-top: 20px;

    color: #b7a887;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   WAR DETAILS
========================================= */

.war-details {
    margin-top: 25px;

    padding-top: 20px;

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

.war-details p {
    margin-bottom: 10px;

    color: #aa9b7b;

    font-size: 13px;

    line-height: 1.7;
}

.war-details strong {
    color: #c7a45d;

    font-family: "Cinzel", serif;

    font-size: 11px;

    letter-spacing: 1px;
}


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

.war-timeline-section {
    padding: 100px 30px;

    background: #0f0c09;

    border-top: 1px solid #4c3a23;

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

.war-timeline {
    max-width: 950px;

    margin: 70px auto 0;

    position: relative;
}

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

    position: absolute;

    left: 50%;

    top: 0;

    bottom: 0;

    width: 1px;

    background: #725631;

    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;

    padding: 20px 50px;

    position: relative;
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;

    top: 29px;

    width: 13px;

    height: 13px;

    border: 2px solid #c39a52;

    background: #17120d;

    border-radius: 50%;
}

.timeline-item:nth-child(odd)
.timeline-dot {
    right: -7px;
}

.timeline-item:nth-child(even)
.timeline-dot {
    left: -7px;
}

.timeline-date {
    display: block;

    color: #c39a52;

    font-family: "Cinzel", serif;

    font-size: 12px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.timeline-item h3 {
    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 20px;

    margin-bottom: 8px;
}

.timeline-item p {
    color: #9f9174;

    font-size: 13px;

    line-height: 1.7;
}


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

.crusades-section {
    padding: 100px 30px;

    text-align: center;
}

.crusades-box {
    max-width: 950px;

    margin: auto;

    padding: 60px 40px;

    background: #211910;

    border: 1px solid #80683f;
}

.crusades-icon {
    font-size: 45px;

    margin-bottom: 20px;
}

.crusades-box h2 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 38px;
}

.crusades-box > p:last-of-type {
    max-width: 720px;

    margin: 22px auto 0;

    color: #b7a887;

    font-size: 14px;

    line-height: 1.9;
}

.crusades-button {
    display: inline-block;

    margin-top: 30px;

    padding: 14px 28px;

    border: 1px solid #b08a4d;

    color: #e4c985;

    text-decoration: none;

    font-family: "Cinzel", serif;

    font-size: 12px;

    letter-spacing: 2px;

    transition: 0.3s;
}

.crusades-button:hover {
    background: #b08a4d;

    color: #17120d;
}


/* =========================================
   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: 1000px) {

    .navbar {
        flex-direction: column;

        padding: 20px;

        gap: 18px;
    }

    .navbar nav {
        gap: 14px;
    }

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

}


@media (max-width: 700px) {

    .wars-hero {
        min-height: 520px;
    }

    .wars-hero h1 {
        font-size: 55px;

        letter-spacing: 4px;
    }

    .hero-description {
        font-size: 14px;
    }

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

    .war-image {
        height: 210px;
    }

    .war-content {
        padding: 25px 20px;
    }

    .crusades-box {
        padding: 45px 22px;
    }

    .war-timeline::before {
        left: 12px;

        transform: none;
    }

    .timeline-item {
        width: 100%;

        margin-left: 0 !important;

        padding-left: 45px;

        padding-right: 5px;

        text-align: left !important;
    }

    .timeline-item .timeline-dot {
        left: 6px !important;

        right: auto !important;
    }

}


@media (max-width: 500px) {

    .logo {
        font-size: 15px;
    }

    .navbar nav a {
        font-size: 10px;
    }

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

    .war-content h3 {
        font-size: 23px;
    }

}

/* =========================================================
   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;
    }
}
