﻿/* ============================================
   鑰跨浘妫€娴?- Clone of m.jskzjc888.com
   Theme Color: #3285ff
   ============================================ */

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================
   Header - Blue background like original
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #3285ff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.header-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
}

.header-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.header-title-area {
    flex: 1;
    text-align: center;
}

.header-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-home {
    color: #fff;
    cursor: pointer;
    padding: 4px;
}

.header-home svg {
    width: 22px;
    height: 22px;
}

.header-back {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.header-back svg {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

.header-search {
    flex: 1;
    margin: 0 12px;
    position: relative;
}

.header-search input {
    width: 100%;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 0 12px 0 32px;
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    outline: none;
    color: #fff;
}

.header-search input::placeholder { color: rgba(255,255,255,0.7); }

.header-search input:focus {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.25);
}

.header-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   Banner / Slider
   ============================================ */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ddd;
}

.banner-track {
    display: flex;
    transition: transform 0.4s ease;
}

.banner-slide {
    min-width: 100%;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.banner-dot.active {
    background: #fff;
    width: 16px;
    border-radius: 3px;
}

/* ============================================
   Query Button (Home) - Red like original
   ============================================ */
.query-btn-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
}

.query-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(242,48,48,1);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 80px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(242,48,48,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    letter-spacing: 2px;
}

.query-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(242,48,48,0.4);
}

.query-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* ============================================
   Section Common
   ============================================ */
.section {
    background: #fff;
    margin-bottom: 12px;
}

.section-header {
    display: flex;
    align-items: center;
    padding: 16px 20px 12px;
}

.section-icon {
    width: 4px;
    height: 22px;
    background: #3285ff;
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: #3285ff;
}

.section-body {
    padding: 0 20px 20px;
}

.philosophy-text,
.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

/* ============================================
   Report Query Page
   ============================================ */
.report-result-label {
    padding: 0 20px 12px;
    font-size: 15px;
    color: #555;
    text-align: center;
}

.report-result-label span {
    color: #333;
    font-weight: 600;
    font-size: 16px;
    margin-left: 8px;
}

.report-form {
    padding: 0 20px 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.form-label .required {
    color: #ff1744;
    margin-right: 4px;
}

.form-input {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus { border-color: #3285ff; }
.form-input::placeholder { color: #bbb; }

.form-submit {
    width: 100%;
    height: 48px;
    background: #3285ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 12px;
    letter-spacing: 2px;
}

.form-submit:hover { background: #2979ff; }

/* Report Result Table */
.result-table {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.result-row {
    display: flex;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.result-row:last-child { border-bottom: none; }

.result-label {
    width: 120px;
    flex-shrink: 0;
    padding: 12px 10px;
    background: #f8f8f8;
    color: #666;
    font-weight: 500;
}

.result-value {
    flex: 1;
    padding: 12px 10px;
    color: #333;
}

.result-pass {
    color: #4caf50;
    font-weight: 600;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-intro-img {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.about-intro-img img { width: 100%; height: auto; }

.about-intro-text {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    text-indent: 2em;
}

/* Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 20px 20px;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Page */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 20px 20px;
}

.service-item {
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4/3;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Footer - Simple like original
   ============================================ */
.footer {
    margin-top: auto;
    background: #f5f5f5;
    border-top: 1px solid #eee;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 14px 15px;
}

.footer-menu a {
    font-size: 14px;
    color: #999;
    transition: color 0.2s;
}

.footer-menu a:hover,
.footer-menu a.active { color: #3285ff; }

.footer-info {
    text-align: center;
    padding: 10px 15px 20px;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 42px;
    height: 42px;
    background: #3285ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(50,133,255,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Desktop Responsive - Centered content
   ============================================ */
@media (min-width: 768px) {
    body {
        background: #3a3a3a;
    }
    .page-wrapper {
        max-width: 720px;
        margin: 0 auto;
        background: #f5f5f5;
        min-height: 100vh;
    }
}

.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.p-15 { padding: 15px; }


/* Enhanced Report Page Typography */
.report-result-label {
    padding: 16px 20px;
    font-size: 20px;
    color: #333;
    text-align: center;
    font-weight: 500;
    letter-spacing: 2px;
}

.report-result-label span {
    color: #333;
    font-weight: 600;
    font-size: 22px;
    margin-left: 12px;
    letter-spacing: 4px;
}

.form-label {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.form-input {
    height: 52px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.form-input:focus {
    background: #fff;
    border-color: #3285ff;
}

.form-submit {
    height: 52px;
    font-size: 18px;
    letter-spacing: 6px;
    background: #3285ff;
    border-radius: 8px;
}
/* Side Menu Overlay - Dark like original */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    max-width: 300px;
    height: 100%;
    background: #2c2c2c;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu-header {
    background: linear-gradient(135deg, #3285ff, #4a9fff);
    padding: 24px 20px;
    color: #fff;
}

.side-menu-header h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.side-menu-header p {
    font-size: 12px;
    opacity: 0.8;
}

.side-menu-list {
    padding: 8px 0;
}

.side-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.side-menu-item:hover {
    background: rgba(255,255,255,0.1);
}

.side-menu-item .menu-left {
    display: flex;
    align-items: center;
}

.side-menu-item svg {
    width: 22px;
    height: 22px;
    margin-right: 14px;
    color: #fff;
    opacity: 0.9;
}

.side-menu-item .menu-arrow {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.4);
}

.side-menu-item.active {
    background: rgba(50,133,255,0.3);
}

.side-menu-item.active svg {
    color: #4a9fff;
}

.side-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0;
}

.side-menu-footer {
    padding: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}