/* ============================================================
   Demo Page – Specific CSS
   Supplements style.css for the demo.html page
   ============================================================ */

/* Hero Demo - shorter version */
.hero-demo {
    padding: 50px 30px 40px;
}
.hero-demo h1 {
    font-size: 36px;
    margin-bottom: 0;
}

/* Demo intro */
.demo-content {
    padding: 40px 0 0;
}
.demo-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 15px;
    color: #555;
}

/* Section titles */
.demo-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1177CC;
    margin: 40px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1177CC;
    display: inline-block;
}

.demo-section-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    max-width: 800px;
}

/* Nav active */
.header-nav ul li a.active {
    border-bottom: 3px solid #FFB200;
}

/* ============ TABLE SCREENSHOT (Horizontal Demo) ============ */
.demo-table-screenshot {
    margin-bottom: 30px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.demo-table-screenshot img {
    width: 100%;
    display: block;
}

/* ============ MODULE IMAGE DEMO ============ */
.image-module-demo {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f7f9fc;
    border-radius: 6px;
}

.image-demo-img {
    max-width: 200px;
    border-radius: 4px;
    flex-shrink: 0;
}

.image-module-demo p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ============ BUTTON MODULE ============ */
.btn-module {
    display: inline-block;
    background: #1177CC;
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: all .3s;
}
.btn-module:hover {
    background: #0058C4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(17,119,204,.3);
}
.btn-module i {
    margin-right: 6px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-demo h1 { font-size: 26px; }

    .image-module-demo {
        flex-direction: column;
    }
}
