/* =========================================================
   INDIA'S GOLDEN AGES
   HISTORY EXPLORER
   ========================================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #15100b;
    color: #e7d7b5;
    font-family: "Libre Baskerville", serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


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

.india-hero {
    min-height: 760px;

    position: relative;

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

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(19, 12, 6, 0.45),
            rgba(19, 12, 6, 0.92)
        ),
        url("https://images.unsplash.com/photo-1564507592333-c60657eea523?auto=format&fit=crop&w=2200&q=85");

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

.india-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 15%,
            rgba(0, 0, 0, 0.75) 100%
        );
}

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

    background:
        linear-gradient(
            90deg,
            rgba(10, 7, 4, 0.35),
            transparent,
            rgba(10, 7, 4, 0.35)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 90%;
    max-width: 1000px;

    padding: 60px 30px;
}

.hero-label {
    color: #c9a65d;

    font-family: "Cinzel", serif;

    font-size: 13px;

    letter-spacing: 6px;

    margin-bottom: 28px;
}

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

    font-size: clamp(55px, 9vw, 105px);

    line-height: 0.95;

    letter-spacing: 8px;

    color: #f0dfb9;

    text-shadow:
        0 4px 15px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(0, 0, 0, 0.7);
}

.hero-content h1 span {
    display: block;

    color: #c49a51;

    margin-top: 12px;
}

.hero-ornament {
    margin: 32px 0;

    color: #a87c3d;

    font-size: 18px;

    letter-spacing: 3px;
}

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

    margin: auto;

    color: #d5c5a2;

    font-size: 16px;

    line-height: 2;
}

.hero-period {
    margin-top: 35px;

    display: flex;

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

    gap: 18px;

    color: #a98a58;

    font-family: "Cinzel", serif;

    font-size: 11px;

    letter-spacing: 2px;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.india-introduction {
    max-width: 950px;

    margin: auto;

    padding: 120px 30px 100px;

    text-align: center;
}

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

    font-size: 11px;

    letter-spacing: 5px;

    color: #a98346;
}

.india-introduction h2 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

    font-size: clamp(32px, 5vw, 52px);

    line-height: 1.2;

    color: #e7d4aa;
}

.india-introduction h2 span {
    color: #c29a53;
}

.section-ornament {
    margin: 25px 0;

    color: #a57a3c;

    font-size: 22px;
}

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

    margin: 22px auto;

    color: #b9aa8d;

    font-size: 15px;

    line-height: 2;
}


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

.master-timeline {
    position: relative;

    padding: 110px 5% 130px;

    background:
        linear-gradient(
            rgba(9, 7, 5, 0.96),
            rgba(18, 12, 7, 0.98)
        );

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

.section-heading {
    text-align: center;

    max-width: 850px;

    margin: 0 auto 80px;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(34px, 5vw, 52px);

    color: #dfc99d;
}

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

    color: #95876d;

    font-size: 14px;
}

.timeline-container {
    position: relative;

    max-width: 1050px;

    margin: auto;
}

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

    position: absolute;

    left: 50%;

    top: 0;
    bottom: 0;

    width: 1px;

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

    transform: translateX(-50%);
}

.timeline-item {
    width: 50%;

    position: relative;

    padding: 0 55px 70px;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;

    text-align: right;
}

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

.timeline-item::after {
    content: "";

    position: absolute;

    top: 8px;

    width: 12px;
    height: 12px;

    border: 2px solid #b08a4d;

    background: #15100b;

    border-radius: 50%;

    box-shadow: 0 0 0 5px rgba(176, 138, 77, 0.08);
}

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

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

.timeline-date {
    margin-bottom: 10px;

    color: #c29a54;

    font-family: "Cinzel", serif;

    font-size: 13px;

    letter-spacing: 1px;
}

.timeline-content {
    padding: 25px;

    background: #20170e;

    border: 1px solid #4d3b25;

    transition: 0.3s ease;
}

.timeline-content:hover {
    border-color: #a77d40;

    transform: translateY(-4px);

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

.timeline-region {
    color: #9e7a45;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 3px;
}

.timeline-content h3 {
    margin: 8px 0 10px;

    font-family: "Cinzel", serif;

    color: #d6bd8a;

    font-size: 21px;
}

.timeline-content p {
    color: #9f9279;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   REGION INTRODUCTION
   ========================================================= */

.region-introduction {
    padding: 120px 30px;

    text-align: center;

    position: relative;

    overflow: hidden;
}

.region-introduction::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(132, 96, 42, 0.12),
            transparent 65%
        );

    pointer-events: none;
}

.north-section {
    background: #17110b;

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

.south-section {
    background: #1a120b;

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

.region-heading {
    position: relative;

    max-width: 850px;

    margin: auto;
}

.region-heading > span {
    font-family: "Cinzel", serif;

    color: #a98449;

    font-size: 11px;

    letter-spacing: 5px;
}

.region-heading h2 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

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

    color: #e2cda0;
}

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

    margin: 20px auto 0;

    color: #a99a7d;

    font-size: 15px;

    line-height: 2;
}


/* =========================================================
   EMPIRE SECTIONS
   ========================================================= */

.empire-section {
    padding: 110px 5%;

    background: #17110b;

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

.empire-section:nth-of-type(even) {
    background: #1b140d;
}

.empire-header {
    max-width: 850px;

    margin: 0 auto 60px;

    text-align: center;
}

.empire-period {
    display: inline-block;

    padding: 6px 15px;

    border: 1px solid #6b512e;

    color: #b48b4b;

    font-family: "Cinzel", serif;

    font-size: 11px;

    letter-spacing: 2px;
}

.empire-header h2 {
    margin-top: 18px;

    font-family: "Cinzel", serif;

    font-size: clamp(36px, 5vw, 58px);

    color: #dfc99d;
}

.empire-header p {
    max-width: 700px;

    margin: 15px auto 0;

    color: #9e9076;

    font-size: 14px;
}


/* =========================================================
   EMPIRE GRID
   ========================================================= */

.empire-grid {
    width: 100%;

    max-width: 1250px;

    margin: auto;

    display: grid;

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

    gap: 20px;
}

.empire-card {
    min-height: 250px;

    padding: 35px 28px;

    background:
        linear-gradient(
            145deg,
            #251b10,
            #1b130c
        );

    border: 1px solid #514029;

    position: relative;

    overflow: hidden;

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

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

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #a57c3e,
            transparent
        );

    opacity: 0.5;
}

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

    border-color: #a17a41;

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

.card-icon {
    display: block;

    font-size: 31px;

    margin-bottom: 18px;

    filter: grayscale(20%);
}

.empire-card h3 {
    margin-bottom: 13px;

    font-family: "Cinzel", serif;

    font-size: 19px;

    color: #d2b675;
}

.empire-card p {
    color: #9f9178;

    font-size: 13px;

    line-height: 1.85;
}

.military-card {
    border-color: #644d2d;
}

.military-card h3 {
    color: #c99d55;
}

.estimated {
    display: inline-block;

    margin-top: 20px;

    padding: 5px 9px;

    border: 1px solid #5f4828;

    color: #8e734b;

    font-family: "Cinzel", serif;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.featured-card {
    background:
        linear-gradient(
            145deg,
            #2a1d0f,
            #1b130b
        );

    border-color: #725631;
}

.date-badge {
    display: inline-block;

    margin-bottom: 12px;

    color: #9d7943;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 1px;
}


/* =========================================================
   SANGAM SECTION
   ========================================================= */

.sangam-section {
    background:
        linear-gradient(
            135deg,
            #19130b,
            #21170d
        );
}


/* =========================================================
   IDEAS SECTION
   ========================================================= */

.ideas-section {
    padding: 120px 5%;

    background: #0f0c08;

    border-top: 1px solid #4b3922;
    border-bottom: 1px solid #4b3922;
}

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

    margin: auto;

    display: grid;

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

    gap: 25px;
}

.idea-card {
    padding: 45px 35px;

    background: #1d150d;

    border: 1px solid #4d3a24;

    transition: 0.35s ease;
}

.idea-card:hover {
    transform: translateY(-6px);

    border-color: #9b743e;
}

.idea-card > span {
    font-size: 38px;

    display: block;

    margin-bottom: 20px;
}

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

    color: #d4b879;

    font-size: 23px;

    margin-bottom: 15px;
}

.idea-card p {
    color: #a0957d;

    font-size: 13px;

    line-height: 1.9;
}

.idea-card a {
    display: inline-block;

    margin-top: 22px;

    color: #b28a4c;

    font-family: "Cinzel", serif;

    font-size: 10px;

    letter-spacing: 2px;

    text-decoration: none;

    transition: 0.3s;
}

.idea-card a:hover {
    color: #dfbd72;
}


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

.legacy-section {
    padding: 130px 30px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            #2a1d0f 0%,
            #120d08 65%
        );
}

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

    margin: auto;
}

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

    font-family: "Cinzel", serif;

    font-size: clamp(35px, 5vw, 58px);

    line-height: 1.2;

    color: #dfc99d;
}

.legacy-content h2 span {
    display: block;

    color: #bd914b;
}

.legacy-ornament {
    margin: 30px 0;

    color: #a67b3e;

    font-size: 18px;
}

.legacy-content p:not(.section-label) {
    max-width: 730px;

    margin: 20px auto;

    color: #a89a80;

    font-size: 14px;

    line-height: 2;
}


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

footer {
    padding: 65px 20px;

    text-align: center;

    background: #090806;

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

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

    color: #c39a52;

    font-size: 18px;

    letter-spacing: 3px;
}

footer p {
    margin-top: 15px;

    color: #81745d;

    font-size: 12px;
}

.footer-line {
    width: 100px;

    height: 1px;

    margin: 25px auto;

    background: #6f5430;
}

.developer {
    color: #b9aa8d;
}

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

    color: #746850 !important;

    font-size: 10px !important;

    letter-spacing: 1px;
}


/* =========================================================
   RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 20px 4%;

        flex-direction: column;

        gap: 20px;
    }

    .navbar nav {
        gap: 17px;
    }

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

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 750px) {

    .navbar {
        padding: 18px 15px;
    }

    .logo {
        font-size: 14px;
    }

    .navbar nav {
        gap: 13px;
    }

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


    .india-hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 40px 15px;
    }

    .hero-label {
        font-size: 10px;

        letter-spacing: 3px;
    }

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

        letter-spacing: 4px;
    }

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

    .hero-period {
        flex-wrap: wrap;

        gap: 8px;

        font-size: 9px;
    }


    .india-introduction {
        padding: 80px 22px;
    }


    .master-timeline {
        padding: 80px 20px;
    }

    .timeline-container::before {
        left: 8px;

        transform: none;
    }

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

        margin-left: 0;

        padding:
            0 0 55px 35px;

        text-align: left;
    }

    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 2px;

        right: auto;

        width: 12px;
        height: 12px;
    }


    .region-introduction {
        padding: 90px 20px;
    }


    .empire-section {
        padding: 80px 20px;
    }

    .empire-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .empire-card {
        min-height: auto;

        padding: 30px 25px;
    }


    .ideas-section {
        padding: 80px 20px;
    }

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


    .legacy-section {
        padding: 90px 20px;
    }

}


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

@media (max-width: 450px) {

    .logo-symbol {
        font-size: 22px;
    }

    .logo {
        font-size: 12px;

        letter-spacing: 1px;
    }

    .navbar nav {
        gap: 10px;
    }

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

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

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

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

    .region-heading h2 {
        font-size: 37px;
    }

    .empire-header h2 {
        font-size: 35px;
    }

}

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



