/* =========================================================
   ACHAEMENID PERSIA
   HISTORY EXPLORER
   ========================================================= */


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

* {
    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, 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;
}

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


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

.section-heading {
    max-width: 850px;
    margin: 0 auto 70px;

    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, 52px);

    color: #dfc99d;

    line-height: 1.25;
}

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

    color: #95876d;

    font-size: 13px;
}

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

    color: #a27b43;

    font-size: 10px;

    letter-spacing: 7px;
}


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

.persia-hero {
    min-height: 90vh;

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

    position: relative;

    padding: 100px 6%;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(10, 8, 5, 0.45),
            rgba(8, 7, 5, 0.97)
        ),
        url("../assets/images/persia.webp");

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

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

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(5, 5, 4, 0.9) 90%
        );
}

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

    max-width: 950px;

    text-align: center;
}

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

    font-size: 11px;
    letter-spacing: 6px;

    color: #b28b4c;
}

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

    font-family: serif;

    font-size: 64px;

    color: #b79558;

    text-shadow:
        0 0 35px rgba(185, 149, 91, 0.2);
}

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

    font-size: clamp(42px, 8vw, 86px);

    letter-spacing: 6px;

    color: #e4d4aa;

    line-height: 1;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(18px, 3vw, 29px);

    letter-spacing: 5px;

    color: #b99659;
}

.hero-line {
    margin: 26px 0;

    color: #967341;

    letter-spacing: 6px;
}

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

    color: #c49d5b;

    font-size: 13px;

    letter-spacing: 2px;
}

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

    color: #887c67;

    font-size: 10px;

    letter-spacing: 3px;
}

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

    margin: 30px auto;

    color: #aaa08c;

    font-size: 14px;

    line-height: 2;
}

.hero-button {
    display: inline-block;

    margin-top: 15px;

    padding: 14px 27px;

    border: 1px solid #a07c45;

    color: #c7a25f;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 2px;

    transition: 0.3s ease;
}

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

    color: #100d08;

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


/* =========================================================
   QUICK FACTS
   ========================================================= */

.quick-facts {
    padding: 110px 6%;

    background:
        linear-gradient(
            rgba(17, 15, 11, 0.98),
            rgba(9, 9, 8, 1)
        );

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

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

    margin: auto;

    display: grid;

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

    border-top: 1px solid #493921;
    border-left: 1px solid #493921;
}

.facts-grid article {
    min-height: 230px;

    padding: 35px 28px;

    border-right: 1px solid #493921;
    border-bottom: 1px solid #493921;

    transition: 0.3s ease;
}

.facts-grid article:hover {
    background: #17150f;

    transform: translateY(-5px);
}

.fact-symbol {
    display: block;

    margin-bottom: 18px;

    font-size: 29px;

    color: #b18b51;
}

.facts-grid strong {
    display: block;

    font-family: "Cinzel", serif;

    color: #d8c08d;

    font-size: 18px;
}

.facts-grid p {
    margin-top: 12px;

    color: #918671;

    font-size: 11px;
}


/* =========================================================
   TEXT CONTENT
   ========================================================= */

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

    margin: auto;
}

.text-content p {
    margin-bottom: 25px;

    color: #a59a85;

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   ORIGINS
   ========================================================= */

.origins-section {
    padding: 120px 6%;

    background: #0b0a08;
}


/* =========================================================
   RULERS
   ========================================================= */

.rulers-section {
    padding: 120px 6%;

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

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

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

    padding: 40px 35px;

    background: #15130e;

    border: 1px solid #493d28;

    transition: 0.3s ease;
}

.rulers-grid article:hover {
    border-color: #a98a50;

    transform: translateY(-8px);

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

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

    color: #9d7844;

    font-size: 10px;

    letter-spacing: 3px;
}

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

    font-family: "Cinzel", serif;

    color: #d7c08d;

    font-size: 24px;
}

.rulers-grid p {
    color: #958a76;

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================================
   ADMINISTRATION
   ========================================================= */

.administration-section {
    padding: 120px 6%;

    background:
        radial-gradient(
            circle at center,
            #1a1710,
            #0b0a08 72%
        );
}

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

    margin: auto;

    text-align: center;
}

.administration-content p {
    margin-bottom: 25px;

    color: #a39a86;

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   PERSEPOLIS
   ========================================================= */

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

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 120px 6%;

    background:
        linear-gradient(
            rgba(8, 7, 5, 0.78),
            rgba(9, 8, 6, 0.96)
        ),
        url("../assets/images/persepolis.webp");

    background-size: cover;

    background-position: center;
}

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

    margin: auto;

    text-align: center;
}

.persepolis-content h3 {
    margin-bottom: 25px;

    font-family: "Cinzel", serif;

    color: #d9c28f;

    font-size: 30px;
}

.persepolis-content p {
    margin-bottom: 22px;

    color: #a29a86;

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   ROYAL ROAD
   ========================================================= */

.road-section {
    padding: 120px 6%;

    background: #0c0b09;
}

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.road-grid article {
    min-height: 260px;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            #19170f,
            #11100c
        );

    border: 1px solid #463b27;

    transition: 0.3s ease;
}

.road-grid article:hover {
    border-color: #a5874f;

    transform: translateY(-7px);

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

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

    color: #9c7743;

    font-size: 10px;

    letter-spacing: 3px;
}

.road-grid h3 {
    margin: 13px 0;

    font-family: "Cinzel", serif;

    color: #d6bf8c;

    font-size: 22px;
}

.road-grid p {
    color: #918775;

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   TRADE
   ========================================================= */

.trade-section {
    padding: 120px 6%;

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


/* =========================================================
   RELIGION
   ========================================================= */

.religion-section {
    padding: 120px 6%;

    background:
        radial-gradient(
            circle at center,
            #1a1710,
            #0b0a08 72%
        );
}

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

    margin: auto;

    text-align: center;
}

.religion-content p {
    margin-bottom: 25px;

    color: #a39a86;

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   CULTURE
   ========================================================= */

.culture-section {
    padding: 120px 6%;

    background: #0c0b09;
}

.culture-grid {
    max-width: 1050px;

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.culture-grid article {
    min-height: 270px;

    padding: 35px;

    background: #15130e;

    border: 1px solid #463927;

    transition: 0.3s ease;
}

.culture-grid article:hover {
    border-color: #a98a50;

    transform: translateY(-7px);

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

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

    color: #9d7843;

    font-size: 10px;

    letter-spacing: 3px;
}

.culture-grid h3 {
    margin: 13px 0;

    font-family: "Cinzel", serif;

    color: #d5bd89;

    font-size: 21px;
}

.culture-grid p {
    color: #938976;

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   FALL OF THE EMPIRE
   ========================================================= */

.fall-section {
    padding: 120px 6%;

    background:
        linear-gradient(
            180deg,
            #11100c,
            #080807
        );
}


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

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

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 100px 6%;

    text-align: center;

    background:
        linear-gradient(
            rgba(8, 7, 6, 0.72),
            rgba(8, 8, 7, 0.98)
        ),
        url("../assets/images/persia.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(35px, 6vw, 62px);

    color: #dfc99d;

    line-height: 1.2;
}

.legacy-line {
    margin: 27px 0;

    color: #a47d43;

    letter-spacing: 6px;
}

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

    color: #a19884;

    font-size: 13px;

    line-height: 2;
}

.back-button {
    display: inline-block;

    margin-top: 25px;

    padding: 13px 23px;

    border: 1px solid #9e7740;

    color: #c19a57;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 2px;

    transition: 0.3s ease;
}

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

    color: #100c08;

    box-shadow:
        0 8px 25px rgba(176, 138, 77, 0.18);
}


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


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

    letter-spacing: 0.5px;
}

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


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

@media (max-width: 1000px) {

    .navbar {
        flex-direction: column;

        gap: 18px;
    }

    .navbar nav {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px 22px;
    }

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

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


@media (max-width: 700px) {

    .navbar {
        padding: 15px 4%;
    }

    .navbar nav {
        gap: 12px 16px;
    }

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

    .hero-content h1 {
        font-size: 40px;

        letter-spacing: 3px;
    }

    .hero-content h2 {
        font-size: 17px;

        letter-spacing: 2px;
    }

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

    .facts-grid,
    .rulers-grid,
    .road-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }

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

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

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