/* =========================================
   权琪建设发展有限公司 — 高端企业官网样式
   ========================================= */

:root {
    --bg: #080c14;
    --bg-2: #0d1220;
    --bg-3: #111827;
    --card: #151c2e;
    --card-hover: #1a2338;
    --gold: #c9a96e;
    --gold-light: #dfc48c;
    --gold-dark: #a8894a;
    --text: #e8ecf2;
    --text2: #b0b8c4;
    --text3: #6e7684;
    --border: #1e293b;
    --accent: #3b82f6;
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}
::selection { background:var(--gold); color:var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:var(--bg-2); }
::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gold); }

/* ===== Navbar ===== */
#mainNav {
    background: rgba(8,12,20,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(201,169,110,0.08);
    padding: 16px 0;
    transition: var(--transition);
}
#mainNav.scrolled { padding:10px 0; background:rgba(8,12,20,0.95); }
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold) !important;
    letter-spacing: 3px;
}
.nav-link {
    color: var(--text2) !important;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    position: relative;
}
.nav-link::after {
    content: ''; position:absolute; bottom:2px; left:50%;
    width:0; height:1px; background:var(--gold);
    transition: all 0.3s ease;
}
.nav-link:hover, .nav-link.active { color:var(--gold) !important; }
.nav-link:hover::after, .nav-link.active::after { left:16px; width:calc(100% - 32px); }
.navbar-toggler { border-color:var(--border); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201,169,110,0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, #080c14 0%, #0a1020 30%, #0d1a2d 60%, #080c14 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position:absolute;
    top:-50%; left:-50%; width:200%; height:200%;
    background: radial-gradient(ellipse at 30% 40%, rgba(201,169,110,0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(59,130,246,0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(201,169,110,0.03) 0%, transparent 50%);
    pointer-events:none;
}
#heroCanvas { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:1; }
.hero-content { position:relative; z-index:2; }
.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 28px;
}
.hero-title {
    font-family: 'Playfair Display', 'Noto Sans SC', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(180deg, #ffffff 0%, #dfc48c 60%, #c9a96e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: 2px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text2);
    line-height: 2;
    margin-bottom: 36px;
}
.hero-subtitle .accent { color:var(--gold); font-weight:700; }
.hero-cta { display:flex; gap:16px; flex-wrap:wrap; }
.btn-hero-primary {
    display: inline-flex; align-items:center; gap:8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0a0e14; font-weight:700; padding: 14px 36px;
    border-radius: 50px; text-decoration:none;
    box-shadow: 0 4px 20px rgba(201,169,110,0.25);
    transition: var(--transition);
}
.btn-hero-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(201,169,110,0.4); color:#0a0e14; }
.btn-hero-secondary {
    display: inline-flex; align-items:center;
    border: 1px solid rgba(201,169,110,0.3); color:var(--gold);
    font-weight:600; padding: 14px 36px; border-radius: 50px;
    text-decoration:none; transition: var(--transition);
}
.btn-hero-secondary:hover { background:rgba(201,169,110,0.08); color:var(--gold-light); }
.hero-stats-bar {
    position:absolute; bottom:0; left:0; right:0;
    background: rgba(13,18,32,0.75);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201,169,110,0.1);
    z-index:2;
}
.hero-stat { text-align:center; padding: 28px 20px; }
.hero-stat .stat-value { display:block; font-size:2.4rem; font-weight:900; color:var(--gold); line-height:1.2; }
.hero-stat .stat-label { font-size:0.8rem; color:var(--text3); letter-spacing:1px; margin-top:4px; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }
.section-header { text-align:center; margin-bottom: 60px; }
.section-label {
    font-size: 0.75rem; letter-spacing: 5px; color: var(--gold);
    font-weight: 600; margin-bottom: 12px; display:block;
}
.section-header h2 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; letter-spacing: 2px; }
.section-header p { font-size: 1.05rem; color: var(--text3); }

/* ===== About ===== */
.about-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 60px 40px;
    text-align: center; position: relative; overflow: hidden;
}
.about-card::before {
    content: ''; position:absolute; top:0; left:0; right:0; height:3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about-year { font-family: 'Playfair Display', serif; font-size: 5rem; font-weight: 900; color: var(--gold); line-height: 1; }
.about-year-label { color: var(--text3); letter-spacing: 3px; font-size: 0.9rem; margin-top: 8px; }
.about-title { font-size: 1.6rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.about-lead { color: var(--text2); font-size: 1.02rem; line-height: 1.9; }
.about-text { color: var(--text3); font-size: 0.92rem; line-height: 1.9; }
.info-chip {
    display: flex; align-items:center; gap:8px;
    background: rgba(201,169,110,0.06); border: 1px solid rgba(201,169,110,0.12);
    border-radius: 50px; padding: 8px 18px; font-size: 0.85rem;
    color: var(--text2); font-weight: 500;
}
.info-chip i { color: var(--gold); }

/* ===== Achievements ===== */
.achievement-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.achievement-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px 20px;
    text-align: center; transition: var(--transition);
}
.achievement-card:hover { border-color: rgba(201,169,110,0.3); transform:translateY(-4px); }
.ach-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--gold); }
.ach-number span { font-size: 1.2rem; }
.ach-desc { color: var(--text3); font-size: 0.85rem; letter-spacing: 1px; margin-top: 8px; }
.sub-heading { font-size: 1.4rem; font-weight: 700; color: var(--text); }

/* ===== Qualifications ===== */
.qual-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 22px;
    text-align: center; height:100%;
    transition: var(--transition); position:relative; overflow:hidden;
}
.qual-card:hover { border-color:rgba(201,169,110,0.3); transform:translateY(-3px); }
.qual-card.qual-top { padding: 38px 28px; }
.qual-card.qual-top h4 { font-size: 1.05rem; margin-bottom: 8px; }
.qual-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin: 12px 0; }
.qual-card p { font-size: 0.82rem; color: var(--text3); margin: 0; }
.qual-badge {
    display: inline-block; padding: 4px 18px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
    background: rgba(201,169,110,0.15); color: var(--gold-light);
    border: 1px solid rgba(201,169,110,0.25);
}
.qual-badge.sub { background: rgba(59,130,246,0.08); color: #60a5fa; border-color: rgba(59,130,246,0.15); }

/* ===== Services ===== */
.service-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 35px 25px;
    text-align: center; height:100%;
    transition: var(--transition);
}
.service-card:hover { border-color: rgba(201,169,110,0.3); transform:translateY(-4px); background:var(--card-hover); }
.service-icon {
    width: 64px; height: 64px; margin: 0 auto 18px;
    background: rgba(201,169,110,0.07); border-radius: var(--radius);
    display: flex; align-items:center; justify-content:center;
    font-size: 1.6rem; color: var(--gold);
    transition: var(--transition);
}
.service-card:hover .service-icon { background:linear-gradient(135deg,var(--gold),var(--gold-dark)); color:var(--bg); }
.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom:8px; }
.service-card p { font-size: 0.85rem; color: var(--text3); margin:0; line-height:1.7; }

/* ===== Projects ===== */
.project-filters { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.proj-filter {
    padding: 8px 22px; border:1px solid var(--border);
    background: transparent; color: var(--text2);
    border-radius: 50px; font-size: 0.85rem; cursor:pointer;
    transition: var(--transition);
}
.proj-filter:hover { border-color:var(--gold); color:var(--gold); }
.proj-filter.active { background:linear-gradient(135deg,var(--gold),var(--gold-dark)); border-color:transparent; color:var(--bg); font-weight:600; }
.proj-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow:hidden;
    transition: var(--transition); cursor:pointer; height:100%;
}
.proj-card:hover { transform:translateY(-6px); box-shadow:0 20px 50px rgba(0,0,0,0.5); border-color:rgba(201,169,110,0.3); }
.proj-thumb {
    height: 180px; background:linear-gradient(135deg, var(--bg-3), var(--card));
    display:flex; align-items:center; justify-content:center;
    font-size: 3rem; color: var(--gold); opacity: 0.2;
    transition: var(--transition);
}
.proj-card:hover .proj-thumb { opacity: 0.4; }
.proj-info { padding: 20px; }
.proj-cat { font-size: 0.7rem; color: var(--gold); letter-spacing:2px; font-weight:600; text-transform:uppercase; }
.proj-info h4 { font-size: 1.05rem; font-weight:700; color:var(--text); margin:6px 0; }
.proj-info p { font-size: 0.82rem; color:var(--text3); margin:0 0 14px 0; }
.proj-more {
    display: inline-flex; align-items:center; gap:5px;
    font-size: 0.8rem; color: var(--gold); font-weight:600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.proj-card:hover .proj-more { border-bottom-color:var(--gold); }

/* ===== Project Modal ===== */
.modal-content { background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); }
.modal-header { border-bottom:1px solid var(--border); padding:24px 30px 16px; }
.modal-header .btn-close { filter:invert(0.7); }
.modal-title { font-size:1.4rem; font-weight:800; color:var(--text); }
.modal-body { padding:20px 30px; }
.modal-proj-img {
    width:100%; height:220px; background:linear-gradient(135deg,var(--bg-3),var(--card));
    border-radius:var(--radius); display:flex; align-items:center; justify-content:center;
    color:var(--gold); opacity:0.25; border:1px solid var(--border);
}
.proj-meta { display:flex; flex-direction:column; gap:16px; }
.meta-row { display:flex; align-items:flex-start; gap:12px; }
.meta-row i { color:var(--gold); font-size:1.1rem; margin-top:2px; }
.meta-row strong { color:var(--text); font-size:0.85rem; }
.meta-row span { color:var(--text2); font-size:0.88rem; }
.modal-body h5 { font-size:1rem; font-weight:700; color:var(--gold); margin-bottom:10px; padding-bottom:8px; border-bottom:1px solid var(--border); }
.proj-desc { color:var(--text2); font-size:0.93rem; line-height:2; }
.tag-cloud { display:flex; flex-wrap:wrap; gap:8px; }
.tag-item {
    padding: 5px 16px; background:rgba(201,169,110,0.08);
    border:1px solid rgba(201,169,110,0.15); border-radius:50px;
    font-size:0.8rem; color:var(--gold-light); font-weight:500;
}

/* ===== Contact ===== */
.contact-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px 30px; height:100%;
}
.contact-card h4 { font-size:1.3rem; font-weight:700; color:var(--gold); margin-bottom:24px; }
.contact-item { display:flex; gap:14px; margin-bottom:20px; }
.c-icon {
    width:42px; height:42px; min-width:42px;
    background:rgba(201,169,110,0.08); border-radius:var(--radius);
    display:flex; align-items:center; justify-content:center;
    color:var(--gold); font-size:1rem;
}
.contact-item strong { display:block; color:var(--text); font-size:0.88rem; margin-bottom:3px; }
.contact-item p { color:var(--text2); font-size:0.9rem; margin:0; line-height:1.6; }
/* QR code */
.qr-wrapper { margin: 16px auto 10px; max-width: 200px; }
.qr-img { width:100%; height:auto; border-radius:12px; border:2px solid rgba(201,169,110,0.2); }
.qr-tip { color:var(--text3); font-size:0.82rem; margin-bottom:20px; }
.justify-content-center { justify-content:center !important; }
.form-control {
    background: var(--bg-3); border: 1px solid var(--border);
    color: var(--text); padding: 12px 18px; border-radius: var(--radius);
    font-size: 0.9rem; transition: var(--transition);
}
.form-control:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,169,110,0.1); color:var(--text); background:var(--bg-3); }
.form-control::placeholder { color: var(--text3); }
.btn-contact {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0a0e14; font-weight: 700; padding: 14px 40px;
    border: none; border-radius: 50px; font-size: 1rem;
    width: 100%; transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201,169,110,0.2);
}
.btn-contact:hover { transform:translateY(-2px); box-shadow:0 8px 25px rgba(201,169,110,0.35); }

/* ===== Footer ===== */
.footer { background: var(--bg); border-top:1px solid var(--border); padding:60px 0 30px; }
.footer-logo { font-family:'Playfair Display',serif; font-size:1.6rem; font-weight:900; color:var(--gold); letter-spacing:3px; margin-bottom:14px; }
.footer-desc { color:var(--text3); font-size:0.88rem; line-height:1.8; }
.footer h5 { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:16px; }
.footer ul { list-style:none; padding:0; margin:0; }
.footer ul li { margin-bottom:10px; }
.footer ul li, .footer a { color:var(--text3); font-size:0.85rem; text-decoration:none; transition:var(--transition); }
.footer a:hover { color:var(--gold); }
.footer-contact { color:var(--text3); font-size:0.85rem; margin-bottom:10px; }
.footer-contact i { color:var(--gold); margin-right:6px; }
.footer hr { border-color:var(--border); opacity:0.5; margin:30px 0 20px; }
.copyright, .tech { color:var(--text3); font-size:0.8rem; margin:0; }

/* ===== Responsive ===== */
@media (max-width: 1200px) { .hero-title { font-size:3.5rem; } }
@media (max-width: 991px) {
    .hero-title { font-size:2.6rem; }
    .section { padding:70px 0; }
    .section-header h2 { font-size:2rem; }
    .achievement-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 767px) {
    .hero-title { font-size:2rem; }
    .hero-subtitle { font-size:1rem; }
    .hero-stat .stat-value { font-size:1.6rem; }
    .hero-stat { padding: 18px 10px; }
    .achievement-grid { grid-template-columns: repeat(2,1fr); gap:12px; }
    .ach-number { font-size:2.2rem; }
    .about-year { font-size:3.5rem; }
    .about-card { padding:40px 20px; }
    .section { padding:50px 0; }
}
