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


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

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

.figure-hero {
    min-height: 92vh;

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

    position: relative;

    padding: 100px 6%;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(9, 7, 5, 0.48),
            rgba(7, 6, 5, 0.96)
        ),
        url("../assets/images/columbus.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.90) 82%
        );
}

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

    max-width: 1000px;

    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: 11px;

    letter-spacing: 5px;

    color: #b28b4c;
}

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

    font-size: 58px;

    color: #b79558;

    text-shadow:
        0 0 30px rgba(183, 149, 88, 0.25);
}

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

    font-size: clamp(42px, 7vw, 78px);

    letter-spacing: 5px;

    color: #e5d5ac;

    line-height: 1.05;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(16px, 3vw, 25px);

    letter-spacing: 4px;

    color: #b99659;
}

.hero-line {
    margin: 28px 0;

    color: #967341;

    letter-spacing: 5px;
}

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

    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: all 0.35s ease;
}

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

    color: #100d08;

    transform: translateY(-3px);

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


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

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

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

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

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

    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: 245px;

    padding: 35px 28px;

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

    transition: all 0.35s ease;
}

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

    transform: translateY(-6px);

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

.fact-symbol {
    display: block;

    margin-bottom: 18px;

    font-size: 29px;
}

.facts-grid strong {
    display: block;

    font-family: "Cinzel", serif;

    color: #d8c08d;

    font-size: 17px;
}

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

    color: #918671;

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   BIOGRAPHY
   ========================================================= */

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

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

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

    margin: auto;
}

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

    color: #a59a85;

    font-size: 14px;

    line-height: 2.05;
}


/* =========================================================
   FIRST VOYAGE
   ========================================================= */

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

    background: #0c0b09;
}

.timeline-content {
    max-width: 1100px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.timeline-content article {
    position: relative;

    min-height: 300px;

    padding: 38px;

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

    border: 1px solid #4b3d27;

    transition: all 0.35s ease;
}

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

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: #9e7844;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;
}

.timeline-content article:hover::before {
    transform: scaleX(1);
}

.timeline-content article:hover {
    transform: translateY(-8px);

    border-color: #a48650;

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

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

    color: #a27d46;

    font-size: 10px;

    letter-spacing: 3px;
}

.timeline-content h3 {
    margin: 15px 0;

    font-family: "Cinzel", serif;

    color: #d8c18d;

    font-size: 23px;
}

.timeline-content p {
    color: #948975;

    font-size: 11px;

    line-height: 1.95;
}


/* =========================================================
   MAJOR VOYAGES
   ========================================================= */

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

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


/* =========================================================
   ATLANTIC FEATURE
   ========================================================= */

.babylon-section {
    min-height: 600px;

    display: flex;

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

    padding: 120px 6%;

    background:
        linear-gradient(
            rgba(8, 7, 5, 0.55),
            rgba(8, 7, 5, 0.94)
        ),
        url("../assets/images/columbus.jpeg");

    background-size: cover;

    background-position: center;
}

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

    text-align: center;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(38px, 6vw, 64px);

    color: #dfc99d;

    text-shadow:
        0 4px 25px rgba(0, 0, 0, 0.7);
}

.legacy-line {
    margin: 25px 0;

    color: #a47d43;

    letter-spacing: 5px;
}

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

    color: #aaa08b;

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   HISTORICAL IMPACT
   ========================================================= */

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

    background: #0c0b09;
}

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

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

    padding: 38px;

    background: #15130e;

    border: 1px solid #463927;

    transition: all 0.35s ease;
}

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

    transform: translateY(-7px);

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

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

    font-size: 11px;

    color: #9c7743;

    letter-spacing: 2px;
}

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

    font-family: "Cinzel", serif;

    color: #d6bf8c;

    font-size: 22px;
}

.government-grid p {
    color: #938976;

    font-size: 11px;

    line-height: 1.9;
}


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

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

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


/* =========================================================
   FINAL LEGACY IMAGE
   ========================================================= */

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

    display: flex;

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

    padding: 110px 6%;

    text-align: center;

    background:
        linear-gradient(
            rgba(7, 6, 5, 0.55),
            rgba(7, 6, 5, 0.95)
        ),
        url("../assets/images/columbus.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(38px, 6vw, 64px);

    color: #dfc99d;

    line-height: 1.2;
}

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

    color: #a19884;

    font-size: 13px;

    line-height: 2;
}

.back-button {
    display: inline-block;

    margin-top: 25px;

    padding: 13px 24px;

    border: 1px solid #9e7740;

    color: #c19a57;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 2px;

    transition: all 0.35s ease;
}

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

    color: #100c08;

    transform: translateY(-3px);

    box-shadow:
        0 10px 28px 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: 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;
}

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

    .timeline-content,
    .government-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;
    }

    .figure-hero {
        min-height: 85vh;

        padding: 80px 5%;
    }

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

        letter-spacing: 3px;
    }

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

        letter-spacing: 2px;
    }

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

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

    .facts-grid,
    .timeline-content,
    .government-grid {
        grid-template-columns: 1fr;
    }

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

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

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

}

