/* ── Reset & Base ──────────────────────────────────────────────────── */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #000;
}

/* ── Layout ───────────────────────────────────────────────────────── */
.page-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
}

/* ── Header ───────────────────────────────────────────────────────── */
.header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border-bottom: 2px solid #ccc;
}

/* ── Navbar ───────────────────────────────────────────────────────── */
.navbar {
    background-color: #0066cc;
    position: relative;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar li { margin: 0; }

.navbar a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
}

.navbar a:hover { background-color: #005bb5; }

.hamburger {
    display: none;
    color: white;
    font-size: 28px;
    padding: 12px 16px;
    cursor: pointer;
}

/* ── Content ──────────────────────────────────────────────────────── */
.content {
    padding: 30px 20px;
    min-height: 400px;
}

.intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.intro img {
    width: 200px;
    height: auto;
    border: 1px solid #ccc;
}

/* ── Services ─────────────────────────────────────────────────────── */
.service-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.service-img {
    width: 240px;
    height: 172px;
    border: 1px solid #999;
    padding: 5px;
    flex-shrink: 0;
}

.service-list {
    line-height: 20px;
    padding-left: 20px;
}

/* ── Products ─────────────────────────────────────────────────────── */
.prod-table { width: 100%; border-collapse: collapse; }
.prod-table tr { border-bottom: 1px dotted #ccc; }
.prod-table img { max-width: 150px; }
.prod-code { font-weight: bold; margin-right: 4px; }
.prod-desc { margin: 6px 0 0; }

/* Product detail */
.info-table td { padding: 2px 6px; vertical-align: top; }
.img-thumb { max-width: 140px; }
.img-main { max-width: 400px; margin: 20px 0; }

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer { padding: 0; }

.footer-inner {
    background: #2c2c2c;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 18px;
    font-size: .8rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left p { margin: 0; line-height: 1.25; }

.footer-right a {
    color: #ccc;
    margin: 0 4px;
    text-decoration: none;
}

.footer-right a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* hamburger menu */
    .hamburger { display: block; }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar ul.show { display: flex; }

    .navbar a {
        padding: 12px 20px;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    /* content */
    .content { padding: 20px 10px; }

    /* home intro */
    .intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro img {
        width: 100%;
        max-width: 300px;
    }

    /* services */
    .service-row {
        flex-direction: column;
        align-items: center;
    }

    .service-img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .service-list { padding-left: 16px; }

    /* products */
    .prod-table img { max-width: 100px; }
    .prod-table td:first-child { width: 110px; }
    .img-main { max-width: 100%; }

    /* footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
