/* =========================================================
   INDUS VALLEY CIVILIZATION
   HISTORY EXPLORER
   ========================================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0907;
    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 70px;

    text-align: center;
}

.section-label {
    display: block;

    font-family: "Cinzel", serif;

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

    color: #a98243;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(30px, 5vw, 48px);

    color: #dfc99d;

    line-height: 1.25;
}

.section-heading p {
    max-width: 700px;

    margin: 18px auto 0;

    color: #95886f;

    font-size: 14px;
}

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

    color: #a98243;

    font-size: 10px;

    letter-spacing: 8px;
}


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

.indus-hero {
    min-height: 88vh;

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

    padding: 100px 6%;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(9, 12, 11, 0.72),
            rgba(8, 8, 7, 0.97)
        ),
        url("../assets/images/indus.webp");

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

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent,
            rgba(5, 6, 5, 0.75)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 950px;

    text-align: center;
}

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

    font-size: 12px;

    letter-spacing: 6px;

    color: #b18a4c;
}

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

    font-size: 58px;

    color: #b99354;

    text-shadow:
        0 0 30px rgba(185, 147, 84, 0.2);
}

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

    font-size: clamp(50px, 9vw, 100px);

    letter-spacing: 8px;

    color: #e1d0a4;

    line-height: 1;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(22px, 4vw, 38px);

    letter-spacing: 7px;

    color: #b99354;
}

.hero-line {
    margin: 25px 0;

    color: #96703c;

    letter-spacing: 5px;
}

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

    color: #c29a54;

    font-size: 14px;

    letter-spacing: 2px;
}

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

    color: #887a62;

    font-size: 11px;

    letter-spacing: 3px;
}

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

    margin: 30px auto;

    color: #aaa08d;

    font-size: 15px;

    line-height: 2;
}

.hero-button {
    display: inline-block;

    margin-top: 15px;

    padding: 14px 26px;

    border: 1px solid #9d7740;

    color: #c9a561;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 2px;

    transition: 0.3s ease;
}

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

    color: #100c08;

    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: #171712;

    transform: translateY(-5px);
}

.fact-symbol {
    display: block;

    margin-bottom: 18px;

    font-size: 30px;

    color: #b28a4b;
}

.facts-grid strong {
    display: block;

    font-family: "Cinzel", serif;

    color: #d6bd8a;

    font-size: 18px;
}

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

    color: #918571;

    font-size: 12px;
}


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

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

    background: #0b0a08;
}

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

    margin: auto;
}

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

    color: #a59a85;

    font-size: 15px;

    line-height: 2;
}


/* =========================================================
   CITIES
   ========================================================= */

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

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

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

    margin: auto;

    display: grid;

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

    gap: 2px;

    background: #463c28;
}

.city-grid article {
    position: relative;

    min-height: 240px;

    padding: 45px;

    background: #12110d;

    transition: 0.3s ease;
}

.city-grid article:hover {
    background: #1a1810;

    transform: translateY(-4px);
}

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

    color: #9c7540;

    font-size: 12px;
}

.city-grid h3 {
    margin: 10px 0;

    font-family: "Cinzel", serif;

    font-size: 28px;

    color: #d6bd8a;
}

.city-grid p {
    color: #938671;

    font-size: 12px;
}


/* =========================================================
   URBAN PLANNING
   ========================================================= */

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

    background: #0c0b09;
}

.planning-layout {
    max-width: 1050px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.planning-feature {
    min-height: 240px;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            #18170f,
            #10100c
        );

    border: 1px solid #48402b;

    transition: 0.35s ease;
}

.planning-feature:hover {
    border-color: #a98a4c;

    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35);
}

.planning-feature span {
    font-family: "Cinzel", serif;

    color: #a37d43;

    font-size: 11px;
}

.planning-feature h3 {
    margin: 14px 0;

    font-family: "Cinzel", serif;

    font-size: 24px;

    color: #d7c08e;
}

.planning-feature p {
    color: #948a76;

    font-size: 12px;
}


/* =========================================================
   WATER MANAGEMENT
   ========================================================= */

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

    background:
        linear-gradient(
            145deg,
            #0c1110,
            #11100c
        );
}

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

    margin: auto;

    display: grid;

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

    gap: 16px;
}

.water-grid article {
    min-height: 240px;

    padding: 32px 25px;

    background: #12130f;

    border: 1px solid #394034;

    transition: 0.3s ease;
}

.water-grid article:hover {
    border-color: #9e8753;

    transform: translateY(-6px);
}

.water-number {
    font-family: "Cinzel", serif;

    color: #a88a50;

    font-size: 12px;
}

.water-grid h3 {
    margin: 18px 0 10px;

    font-family: "Cinzel", serif;

    color: #d4c08f;

    font-size: 20px;
}

.water-grid p {
    color: #928a78;

    font-size: 11px;
}


/* =========================================================
   WRITING & SEALS
   ========================================================= */

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

    background:
        linear-gradient(
            135deg,
            #17150e,
            #0c0b09
        );
}

.writing-layout {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 70px;

    align-items: center;
}

.seal-display {
    height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    background:
        radial-gradient(
            circle,
            #252116,
            #11100c
        );

    border: 1px solid #55482e;

    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.45);
}

.seal-symbol {
    width: 150px;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 3px solid #9a814e;

    color: #b9995d;

    font-size: 65px;

    transform: rotate(45deg);
}

.seal-symbol::first-letter {
    display: block;
}

.seal-display span {
    margin-top: 30px;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 4px;

    color: #927644;
}

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

    color: #9f937e;

    font-size: 14px;

    line-height: 2;
}


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

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

    background: #0b0a08;
}

.trade-grid {
    max-width: 1000px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.trade-grid article {
    min-height: 210px;

    padding: 35px;

    background: #16140e;

    border: 1px solid #443b27;

    transition: 0.3s ease;
}

.trade-grid article:hover {
    border-color: #a2844d;

    transform: translateY(-5px);
}

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

    color: #9e7944;

    font-size: 11px;
}

.trade-grid h3 {
    margin: 12px 0;

    font-family: "Cinzel", serif;

    color: #d4bc88;

    font-size: 21px;
}

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

    font-size: 12px;
}


/* =========================================================
   CRAFTS
   ========================================================= */

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

    background:
        linear-gradient(
            180deg,
            #12110d,
            #0b0a08
        );
}

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.crafts-grid article {
    min-height: 250px;

    padding: 32px 25px;

    text-align: center;

    background: #15140f;

    border: 1px solid #443b27;

    transition: 0.3s ease;
}

.crafts-grid article:hover {
    transform: translateY(-7px);

    border-color: #a4864f;
}

.crafts-grid article > span {
    display: block;

    margin-bottom: 20px;

    font-size: 30px;

    color: #b08c50;
}

.crafts-grid h3 {
    font-family: "Cinzel", serif;

    color: #d5bd89;

    font-size: 18px;
}

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

    color: #938875;

    font-size: 11px;
}


/* =========================================================
   AGRICULTURE
   ========================================================= */

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

    background: #10110b;
}

.agriculture-content {
    max-width: 1000px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.agriculture-card {
    padding: 40px 30px;

    background: #17170f;

    border-top: 2px solid #80683e;

    transition: 0.3s ease;
}

.agriculture-card:hover {
    border-top-color: #b4945a;

    transform: translateY(-5px);
}

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

    color: #d4bd89;

    font-size: 22px;
}

.agriculture-card p {
    margin-top: 14px;

    color: #958b77;

    font-size: 12px;
}


/* =========================================================
   BELIEF
   ========================================================= */

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

    background:
        linear-gradient(
            145deg,
            #15130d,
            #0b0a08
        );
}

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.belief-grid article {
    min-height: 220px;

    padding: 35px;

    background: #15130d;

    border: 1px solid #453b26;

    transition: 0.3s ease;
}

.belief-grid article:hover {
    border-color: #9d804a;

    transform: translateY(-5px);
}

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

    color: #9b7843;

    font-size: 11px;
}

.belief-grid h3 {
    margin: 12px 0;

    font-family: "Cinzel", serif;

    color: #d3bb88;

    font-size: 21px;
}

.belief-grid p {
    color: #938977;

    font-size: 12px;
}


/* =========================================================
   SOCIETY
   ========================================================= */

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

    background: #0c0b09;
}

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.society-grid article {
    min-height: 210px;

    padding: 30px;

    background: #15140f;

    border-left: 2px solid #77603b;

    transition: 0.3s ease;
}

.society-grid article:hover {
    border-left-color: #b09258;

    transform: translateX(5px);
}

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

    color: #957442;

    font-size: 9px;

    letter-spacing: 2px;
}

.society-grid h3 {
    margin-top: 10px;

    font-family: "Cinzel", serif;

    color: #d3bc89;

    font-size: 20px;
}

.society-grid p {
    margin-top: 10px;

    color: #938976;

    font-size: 11px;
}


/* =========================================================
   MAJOR SITES
   ========================================================= */

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

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

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

    margin: auto;

    display: grid;

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

    gap: 18px;
}

.sites-grid article {
    min-height: 210px;

    padding: 30px;

    background: #15140f;

    border: 1px solid #433a26;

    transition: 0.3s ease;
}

.sites-grid article:hover {
    border-color: #a0844e;

    transform: translateY(-6px);
}

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

    color: #977541;

    font-size: 9px;

    letter-spacing: 2px;
}

.sites-grid h3 {
    margin: 12px 0;

    font-family: "Cinzel", serif;

    color: #d5bd8a;

    font-size: 21px;
}

.sites-grid p {
    color: #918875;

    font-size: 11px;
}


/* =========================================================
   DECLINE / TRANSFORMATION
   ========================================================= */

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

    background: #0d0c09;
}

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

    margin: auto;

    padding: 45px;

    background: #15130e;

    border: 1px solid #443a25;
}

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

    color: #9b907c;

    font-size: 14px;

    line-height: 2;
}


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

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

    background: #0a0907;
}

.history-timeline {
    position: relative;

    max-width: 900px;

    margin: auto;
}

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

    position: absolute;

    left: 50%;

    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #806139 8%,
            #806139 92%,
            transparent
        );

    transform: translateX(-50%);
}

.history-timeline article {
    position: relative;

    width: 50%;

    padding: 0 50px 65px;
}

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

.history-timeline article::after {
    content: "";

    position: absolute;

    top: 5px;

    width: 11px;
    height: 11px;

    background: #0d0b08;

    border: 2px solid #b28a4c;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(178, 138, 76, 0.08);
}

.history-timeline article:nth-child(odd)::after {
    right: -7px;
}

.history-timeline article:nth-child(even)::after {
    left: -7px;
}

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

    color: #b18a4d;

    font-size: 11px;

    letter-spacing: 1px;
}

.history-timeline h3 {
    margin: 8px 0;

    font-family: "Cinzel", serif;

    color: #d3bb88;

    font-size: 21px;
}

.history-timeline p {
    color: #918571;

    font-size: 12px;
}


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

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

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 100px 6%;

    text-align: center;

    background:
        linear-gradient(
            rgba(8, 9, 8, 0.90),
            rgba(8, 8, 7, 0.98)
        ),
        url("../assets/images/indus.webp");

    background-size: cover;

    background-position: center;
}

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

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

    font-family: "Cinzel", serif;

    font-size: clamp(35px, 6vw, 60px);

    color: #dfc99d;
}

.legacy-line {
    margin: 25px 0;

    color: #a27b42;

    letter-spacing: 5px;
}

.legacy-content p {
    color: #a19885;

    font-size: 14px;

    line-height: 2;
}

.back-button {
    display: inline-block;

    margin-top: 30px;

    padding: 13px 22px;

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


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

footer {
    padding: 55px 6%;

    text-align: center;

    background: #080706;

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

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

    color: #b28a4d;

    font-size: 12px;

    letter-spacing: 3px;
}

.footer-line {
    width: 80px;

    height: 1px;

    margin: 18px auto;

    background: #594324;
}

footer p {
    color: #746b5b;

    font-size: 11px;
}

footer .copyright {
    margin-top: 12px;

    color: #514b40;
}


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

@media (max-width: 1000px) {

    .navbar {
        flex-direction: column;

        gap: 18px;
    }

    .navbar nav {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px 22px;
    }

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

    .society-grid,
    .sites-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: 45px;

        letter-spacing: 4px;
    }

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

        letter-spacing: 4px;
    }

    .facts-grid,
    .city-grid,
    .planning-layout,
    .water-grid,
    .trade-grid,
    .crafts-grid,
    .agriculture-content,
    .belief-grid,
    .society-grid,
    .sites-grid {
        grid-template-columns: 1fr;
    }

    .writing-layout {
        grid-template-columns: 1fr;
    }

    .seal-display {
        width: 100%;
    }

    .history-timeline::before {
        left: 10px;
    }

    .history-timeline article,
    .history-timeline article:nth-child(even) {
        width: 100%;

        margin-left: 0;

        padding-left: 40px;

        padding-right: 0;
    }

    .history-timeline article::after,
    .history-timeline article:nth-child(odd)::after,
    .history-timeline article:nth-child(even)::after {
        left: 3px;

        right: auto;
    }

}

