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

.eras-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.52),
            rgba(18, 13, 8, 0.91)
        ),
        url("../assets/images/eras-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;
}

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

.eras-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
========================================= */

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

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

    font-family: "Cinzel", serif;

    font-size: 40px;

    color: #e8d5ac;
}

.section-line {
    margin: 25px;

    color: #b08a4d;
}

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

    margin: auto;

    color: #bfb08f;

    line-height: 1.9;

    font-size: 15px;
}


/* =========================================
   ERA SECTION
========================================= */

.eras-section {
    width: 90%;

    max-width: 1250px;

    margin: 0 auto 110px;
}

.section-heading {
    text-align: center;

    margin-bottom: 55px;
}

.eras-grid {
    display: grid;

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

    gap: 28px;
}


/* =========================================
   ERA CARD
========================================= */

.era-card {
    background: #211910;

    border: 1px solid #5f4b2e;

    overflow: hidden;

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

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

    border-color: #b08a4d;

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


/* =========================================
   ERA IMAGE
========================================= */

.era-image {
    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #120e09;
}

.era-image img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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


/* =========================================
   ERA CONTENT
========================================= */

.era-content {
    padding: 30px;
}

.era-number {
    display: inline-flex;

    width: 35px;

    height: 35px;

    align-items: center;

    justify-content: center;

    margin-right: 10px;

    border: 1px solid #8b6a3d;

    color: #c39a52;

    font-family: "Cinzel", serif;

    font-size: 13px;
}

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

    color: #a57c3d;

    font-size: 10px;

    letter-spacing: 2px;
}

.era-content h3 {
    margin-top: 15px;

    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 27px;
}

.era-period {
    margin-top: 8px;

    color: #8f7955;

    font-size: 13px;
}

.era-content > p:not(.era-period) {
    margin-top: 20px;

    color: #b7a887;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   ERA HIGHLIGHTS
========================================= */

.era-highlights {
    margin-top: 25px;

    padding-top: 20px;

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

.era-highlights p {
    margin-bottom: 10px;

    color: #aa9b7b;

    font-size: 13px;

    line-height: 1.7;
}

.era-highlights strong {
    color: #c7a45d;

    font-family: "Cinzel", serif;

    font-size: 11px;

    letter-spacing: 1px;
}


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

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

    background: #0f0c09;

    border-top: 1px solid #4c3a23;

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

.era-line {
    max-width: 1200px;

    margin: 80px auto 0;

    display: grid;

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

    position: relative;
}

.era-line::before {
    content: "";

    position: absolute;

    top: 18px;

    left: 5%;

    right: 5%;

    height: 1px;

    background: #725631;
}

.era-point {
    text-align: center;

    position: relative;

    z-index: 2;

    padding: 0 12px;
}

.point {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 36px;

    height: 36px;

    margin: auto;

    border: 1px solid #c39a52;

    border-radius: 50%;

    background: #17120d;

    color: #d7b56d;

    font-family: "Cinzel", serif;

    font-size: 12px;
}

.era-point h3 {
    margin-top: 20px;

    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 16px;
}

.era-point p {
    margin-top: 10px;

    color: #8f8066;

    font-size: 12px;

    line-height: 1.7;
}


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

.era-note {
    padding: 100px 30px;

    text-align: center;
}

.note-box {
    max-width: 900px;

    margin: auto;

    padding: 55px 40px;

    background: #211910;

    border: 1px solid #80683f;
}

.note-symbol {
    color: #c39a52;

    font-size: 30px;

    margin-bottom: 15px;
}

.note-box h2 {
    font-family: "Cinzel", serif;

    color: #d7b56d;

    font-size: 30px;
}

.note-box p {
    max-width: 700px;

    margin: 22px auto 0;

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

    .era-line {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 45px 10px;
    }

    .era-line::before {
        display: none;
    }

}


@media (max-width: 850px) {

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

}


@media (max-width: 650px) {

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

    .eras-hero h1 {
        font-size: 50px;

        letter-spacing: 4px;
    }

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

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

    .era-image {
        height: 210px;
    }

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

    .era-line {
        grid-template-columns: 1fr;
    }

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

    .note-box h2 {
        font-size: 25px;
    }

}


@media (max-width: 500px) {

    .logo {
        font-size: 15px;
    }

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

    .eras-hero h1 {
        font-size: 43px;
    }

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