/* =========================================================
   BATTLE OF GAUGAMELA
   HISTORY EXPLORER — EVENTS
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #090807;
    color: #d8c9a8;
    font-family: "Libre Baskerville", serif;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

section {
    position: relative;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.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, 8, 7, 0.96);
    border-bottom: 1px solid #51452d;

    backdrop-filter: blur(14px);
}

.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;
    align-items: center;
    gap: 27px;
}

.navbar nav a {
    position: relative;

    font-family: "Cinzel", serif;
    font-size: 10px;
    letter-spacing: 1.4px;

    color: #9c917d;

    transition: color 0.3s ease;
}

.navbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    background: #c09a58;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: #d7b66e;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   COMMON HEADINGS
   ========================================================= */

.section-heading {
    max-width: 900px;
    margin: 0 auto 65px;

    text-align: center;
}

.section-label {
    display: block;

    font-family: "Cinzel", serif;
    font-size: 10px;
    letter-spacing: 4px;

    color: #a77e42;
}

.section-heading h2 {
    margin-top: 15px;

    font-family: "Cinzel", serif;
    font-size: clamp(32px, 5vw, 54px);

    line-height: 1.2;

    color: #dfc99d;
}

.section-heading p {
    margin-top: 17px;

    color: #918671;
    font-size: 12px;
}

.section-ornament {
    margin-top: 23px;

    color: #a27b43;
    font-size: 10px;
    letter-spacing: 8px;
}


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

.event-hero {
    min-height: 94vh;

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

    padding: 110px 6%;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(7, 6, 5, 0.35),
            rgba(7, 6, 5, 0.96)
        ),
        url("../assets/images/gaugamela.webp");

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

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(5, 4, 3, 0.88) 85%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 1050px;

    text-align: center;

    animation: heroReveal 1.2s ease both;
}

@keyframes heroReveal {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

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

    font-size: 10px;
    letter-spacing: 5px;

    color: #b28b4c;
}

.hero-symbol {
    margin: 25px 0 15px;

    font-size: 58px;

    filter:
        drop-shadow(
            0 0 20px rgba(196, 157, 91, 0.25)
        );
}

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

    font-size: clamp(45px, 8vw, 88px);

    line-height: 1.02;
    letter-spacing: 5px;

    color: #e8d7ad;

    text-shadow:
        0 5px 30px rgba(0, 0, 0, 0.75);
}

.hero-line {
    margin: 30px 0;

    color: #9f7841;
    letter-spacing: 6px;
}

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

    font-size: 15px;
    letter-spacing: 4px;

    color: #d0ac69;
}

.hero-location {
    margin-top: 8px;

    font-size: 10px;
    letter-spacing: 3px;

    color: #8e816c;
}

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

    margin: 28px auto;

    color: #aaa08b;

    font-size: 13px;
    line-height: 2;
}

.hero-button {
    display: inline-block;

    margin-top: 14px;
    padding: 15px 30px;

    border: 1px solid #a07c45;

    font-family: "Cinzel", serif;
    font-size: 10px;
    letter-spacing: 2px;

    color: #c7a25f;

    transition: all 0.35s ease;
}

.hero-button:hover {
    color: #100d08;
    background: #b08a4d;

    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(176, 138, 77, 0.22);
}


/* =========================================================
   EVENT SNAPSHOT
   ========================================================= */

.event-snapshot {
    padding: 125px 6%;

    background:
        radial-gradient(
            circle at top,
            #19160f,
            #0b0a08 70%
        );
}

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

    margin: auto;

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

    gap: 15px;
}

.snapshot-card {
    position: relative;

    min-height: 285px;

    padding: 38px 30px;

    overflow: hidden;

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

    border: 1px solid #493a26;

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

.snapshot-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: #a77e43;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.4s ease;
}

.snapshot-card:hover {
    transform: translateY(-9px);

    border-color: #9d7945;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35);
}

.snapshot-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    display: block;

    margin-bottom: 20px;

    font-size: 28px;
}

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

    font-size: 9px;
    letter-spacing: 3px;

    color: #a17a43;
}

.snapshot-card h3 {
    margin-top: 10px;

    font-family: "Cinzel", serif;

    font-size: 21px;

    color: #d8c08d;
}

.snapshot-card p {
    margin-top: 13px;

    color: #918671;

    font-size: 10px;
    line-height: 1.9;
}


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

.background-section {
    padding: 125px 6%;

    background: #0c0b09;

    border-top: 1px solid #302719;
}

.content-wrapper {
    max-width: 850px;
    margin: auto;
}

.content-wrapper > p {
    margin-bottom: 26px;

    color: #a59a85;

    font-size: 13px;
    line-height: 2.05;
}


/* =========================================================
   OPPOSING FORCES
   ========================================================= */

.forces-section {
    padding: 125px 6%;

    background:
        linear-gradient(
            180deg,
            #12100d,
            #090807
        );
}

.forces-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

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

    align-items: center;

    gap: 20px;
}

.force-card {
    position: relative;

    min-height: 400px;

    padding: 45px;

    background:
        linear-gradient(
            145deg,
            #19160f,
            #0f0e0b
        );

    border: 1px solid #493a26;

    transition: all 0.4s ease;
}

.force-card:hover {
    transform: translateY(-8px);

    border-color: #9b7744;

    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.35);
}

.ottoman-card {
    border-color: #5b472d;
}

.force-number {
    position: absolute;

    top: 20px;
    right: 25px;

    font-family: "Cinzel", serif;

    font-size: 26px;

    color: rgba(193, 154, 88, 0.25);
}

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

    font-size: 10px;
    letter-spacing: 3px;

    color: #a27b43;
}

.force-card h3 {
    margin: 14px 0 17px;

    font-family: "Cinzel", serif;

    font-size: 30px;

    color: #d9c28f;
}

.force-card p {
    color: #958a75;

    font-size: 11px;
    line-height: 1.95;
}

.force-card ul {
    margin-top: 25px;
    padding-left: 18px;

    color: #a39883;

    font-size: 10px;
    line-height: 2.1;
}

.versus {
    display: flex;

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

    width: 72px;
    height: 72px;

    margin: auto;

    border: 1px solid #715633;
    border-radius: 50%;

    background: #0c0b09;

    font-family: "Cinzel", serif;

    font-size: 12px;
    letter-spacing: 2px;

    color: #b99456;

    box-shadow:
        0 0 35px rgba(169, 128, 66, 0.08);
}


/* =========================================================
   CINEMATIC BATTLEFIELD
   ========================================================= */

.siege-image-section {
    min-height: 620px;

    display: flex;

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

    padding: 120px 6%;

    text-align: center;

    background:
        linear-gradient(
            rgba(7, 6, 5, 0.42),
            rgba(7, 6, 5, 0.94)
        ),
        url("../assets/images/battle-of-gaugamela.jpeg");

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

    background-attachment: fixed;
}

.image-content {
    max-width: 850px;
}

.image-content h2 {
    margin-top: 17px;

    font-family: "Cinzel", serif;

    font-size: clamp(40px, 6vw, 68px);

    color: #e1cda0;

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

.ornamental-line {
    margin: 28px 0;

    color: #a37b43;

    letter-spacing: 6px;
}

.image-content p {
    color: #aaa08c;

    font-size: 13px;
    line-height: 2;
}


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

.timeline-section {
    padding: 130px 6%;

    background: #0b0a08;
}

.event-timeline {
    position: relative;

    max-width: 900px;

    margin: auto;

    padding-left: 55px;
}

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

    position: absolute;

    left: 14px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #70542f 10%,
            #70542f 90%,
            transparent
        );
}

.timeline-item {
    position: relative;

    margin-bottom: 45px;
}

.timeline-marker {
    position: absolute;

    left: -55px;
    top: 28px;

    width: 70px;
    height: 70px;

    display: flex;

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

    border: 1px solid #8c6b3d;
    border-radius: 50%;

    background: #0d0c09;

    font-family: "Cinzel", serif;

    font-size: 9px;
    letter-spacing: 1px;

    color: #c09a58;

    text-align: center;

    z-index: 2;
}

.timeline-card {
    padding: 32px 38px;

    background:
        linear-gradient(
            145deg,
            #17150f,
            #0f0e0b
        );

    border: 1px solid #453722;

    transition: all 0.35s ease;
}

.timeline-card:hover {
    transform: translateX(8px);

    border-color: #977541;

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

.timeline-card span {
    font-family: "Cinzel", serif;

    font-size: 9px;
    letter-spacing: 3px;

    color: #9f7842;
}

.timeline-card h3 {
    margin: 10px 0;

    font-family: "Cinzel", serif;

    font-size: 24px;

    color: #d8c18d;
}

.timeline-card p {
    color: #928875;

    font-size: 11px;
    line-height: 1.9;
}


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

.fall-section {
    min-height: 620px;

    display: flex;

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

    padding: 120px 6%;

    text-align: center;

    background:
        linear-gradient(
            rgba(10, 8, 6, 0.56),
            rgba(8, 7, 5, 0.95)
        ),
        url("../assets/images/battle-of-gaugamela.jpeg");

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

.fall-content {
    max-width: 850px;
}

.fall-content h2 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    font-size: clamp(42px, 6vw, 70px);

    color: #e0ca9a;
}

.fall-content p {
    margin-bottom: 20px;

    color: #aaa08c;

    font-size: 13px;
    line-height: 2;
}


/* =========================================================
   AFTERMATH
   ========================================================= */

.aftermath-section {
    padding: 125px 6%;

    background:
        linear-gradient(
            180deg,
            #15130e,
            #0b0a08
        );
}

.aftermath-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.aftermath-grid article {
    min-height: 280px;

    padding: 40px;

    background: #15130e;

    border: 1px solid #463827;

    transition: all 0.35s ease;
}

.aftermath-grid article:hover {
    transform: translateY(-8px);

    border-color: #9c7845;

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.3);
}

.aftermath-grid span {
    font-family: "Cinzel", serif;

    font-size: 9px;
    letter-spacing: 3px;

    color: #a27c45;
}

.aftermath-grid h3 {
    margin: 15px 0;

    font-family: "Cinzel", serif;

    font-size: 21px;

    color: #d5be8b;
}

.aftermath-grid p {
    color: #928874;

    font-size: 11px;
    line-height: 1.9;
}


/* =========================================================
   HISTORICAL SIGNIFICANCE
   ========================================================= */

.significance-section {
    padding: 125px 6%;

    background:
        radial-gradient(
            circle at center,
            #18150f,
            #090807 72%
        );

    text-align: center;
}

.significance-section .content-wrapper {
    max-width: 850px;
}

.significance-section p {
    margin-bottom: 22px;

    color: #a59a85;

    font-size: 13px;
    line-height: 2;
}


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

.legacy-section {
    min-height: 680px;

    display: flex;

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

    padding: 120px 6%;

    text-align: center;

    background:
        linear-gradient(
            rgba(7, 6, 5, 0.48),
            rgba(7, 6, 5, 0.96)
        ),
        url("../assets/images/gaugamela.webp");

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

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

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

    font-family: "Cinzel", serif;

    font-size: clamp(40px, 6vw, 68px);

    line-height: 1.2;

    color: #dfc99d;

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

.legacy-line {
    margin: 27px 0;

    color: #a37b43;

    letter-spacing: 6px;
}

.legacy-content p {
    margin-bottom: 21px;

    color: #aaa08b;

    font-size: 13px;
    line-height: 2;
}

.back-button {
    display: inline-block;

    margin-top: 22px;
    padding: 14px 27px;

    border: 1px solid #9e7740;

    font-family: "Cinzel", serif;

    font-size: 10px;
    letter-spacing: 2px;

    color: #c19a57;

    transition: all 0.35s ease;
}

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

    color: #100c08;

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(176, 138, 77, 0.2);
}


/* =========================================================
   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: 48px 52px;

    text-align: center;

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

    border: 1px solid #51432b;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.3);
}

.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: 28px;

    color: #ddc99a;
}

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

    margin: 0 auto 18px;

    color: #958a76;

    font-size: 11px;
    line-height: 1.95;
}

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

    padding-top: 20px;

    border-top: 1px solid #403522;

    color: #b49a68;
}


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

footer {
    padding: 65px 6% 45px;

    text-align: center;

    background: #080706;

    border-top: 1px solid #493921;
}

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

    font-size: 18px;
    letter-spacing: 4px;

    color: #c09a58;
}

footer > p:first-of-type {
    margin-top: 12px;

    color: #8f8675;

    font-size: 11px;
}

.footer-line {
    width: 85px;
    height: 1px;

    margin: 25px auto;

    background: #806238;
}

.developer {
    color: #77705f;

    font-size: 11px;
}

.developer strong {
    color: #c2a36c;

    font-family: "Cinzel", serif;

    font-weight: 500;
}

.powered {
    margin-top: 8px;

    color: #77705f;

    font-size: 11px;
}

.powered strong {
    color: #ad8750;

    font-family: "Cinzel", serif;

    font-weight: 500;
}

.copyright {
    margin-top: 25px;

    color: #4f4a40;

    font-size: 10px;
    letter-spacing: 0.5px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .navbar {
        flex-direction: column;
        gap: 18px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 21px;
    }

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

    .forces-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .versus {
        width: 60px;
        height: 60px;
    }

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


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

@media (max-width: 700px) {

    .navbar {
        padding: 15px 4%;
    }

    .navbar nav {
        gap: 11px 15px;
    }

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

    .event-hero {
        min-height: 88vh;
        padding: 80px 5%;
    }

    .hero-kicker {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .hero-symbol {
        font-size: 45px;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .hero-date {
        font-size: 12px;
    }

    .hero-location {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.9;
    }

    .section-heading h2 {
        font-size: 32px;
    }

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

    .snapshot-card {
        min-height: 245px;
    }

    .force-card {
        min-height: auto;
        padding: 32px;
    }

    .event-timeline {
        padding-left: 35px;
    }

    .event-timeline::before {
        left: 9px;
    }

    .timeline-marker {
        left: -35px;

        width: 50px;
        height: 50px;

        font-size: 7px;
    }

    .timeline-card {
        padding: 28px 23px;
    }

    .timeline-card h3 {
        font-size: 20px;
    }

    .siege-image-section,
    .fall-section,
    .legacy-section {
        background-attachment: scroll;
    }

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

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

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

