/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #0a0a0a; color: #e8e8e8; line-height: 1.7;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: Georgia, "Times New Roman", serif; color: #fff; line-height: 1.3; }
h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; text-align: center; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
a { color: #E0B020; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e0c49a; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
p { margin-bottom: 1rem; }

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.zh { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif; }
.section-subtitle { text-align: center; color: #999; margin-bottom: 2.5rem; font-size: 1.1rem; }
.accent { color: #E0B020; }

/* === BUTTONS === */
.btn {
    display: inline-block; padding: 0.85rem 2rem; border-radius: 2px;
    font-size: 0.95rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: #E0B020; color: #0a0a0a; }
.btn-primary:hover { background: #e0c49a; color: #0a0a0a; }
.btn-outline { border: 1px solid #E0B020; color: #E0B020; background: transparent; }
.btn-outline:hover { background: #E0B020; color: #0a0a0a; }
.btn-text { color: #E0B020; padding: 0; text-transform: none; letter-spacing: 0; font-weight: 600; }
.btn-text:hover { color: #e0c49a; }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* === NAVIGATION === */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10,10,10,0.85); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(200,168,124,0.15);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.logo { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; color: #fff; font-weight: 700; letter-spacing: 3px; }
.logo span { color: #E0B020; font-weight: 400; margin-left: 4px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links li a {
    color: #ccc; font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 1.5px; transition: color 0.3s; padding: 0.5rem 0;
}
.nav-links li a:hover, .nav-links li a.active { color: #E0B020; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(10,10,10,0.92), rgba(10,10,10,0.7)),
                url("/images/hero-bg.jpg") center/cover no-repeat;
    text-align: center; padding: 120px 1.5rem 80px;
}
.hero-content { max-width: 800px; }
.hero h1 .zh { display: block; font-size: 1.8rem; color: #E0B020; margin-top: 0.5rem; }
.tagline { font-size: 1.2rem; color: #E0B020; margin-bottom: 1.5rem; letter-spacing: 2px; text-transform: uppercase; }
.answer-block { color: #bbb; font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === PAGE HERO (inner pages) === */
.page-hero {
    padding: 140px 1.5rem 60px; text-align: center;
    background: linear-gradient(to bottom, rgba(10,10,10,1), rgba(26,26,26,0.95));
    border-bottom: 1px solid #222;
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero .zh { color: #E0B020; font-size: 1.4rem; display: block; margin-top: 0.3rem; }
.page-hero p { color: #999; max-width: 600px; margin: 0.5rem auto 0; }

/* === HIGHLIGHTS === */
.highlights { padding: 4rem 0; background: #0f0f0f; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.highlight-card { padding: 1.5rem; }
.highlight-number { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2.8rem; color: #E0B020; font-weight: 700; }
.highlight-label { display: block; color: #999; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.3rem; }

/* === SECTIONS === */
section { padding: 5rem 0; }
section:nth-child(even) { background: #0f0f0f; }
.content-section { padding: 5rem 0; }

/* === PORTFOLIO GRID === */
.portfolio-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem;
}
.portfolio-grid.featured { grid-template-columns: repeat(3, 1fr); }
.portfolio-item { position: relative; overflow: hidden; border-radius: 2px; background: #1a1a1a; }
.portfolio-item img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease; display: block;
}
.portfolio-item:hover img { transform: scale(1.05); filter: brightness(0.7); }
.portfolio-item figcaption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    font-size: 0.82rem; color: #ccc; opacity: 0; transition: opacity 0.4s;
    line-height: 1.4; max-height: 50%; overflow: hidden;
}
.portfolio-item:hover figcaption { opacity: 1; }
.portfolio-item a { display: block; }
.placeholder { color: #666; text-align: center; grid-column: 1 / -1; padding: 3rem; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.about-text p { color: #ccc; font-size: 1.05rem; }
.timeline { margin-top: 2rem; padding-left: 2rem; border-left: 2px solid #E0B020; }
.timeline-item { margin-bottom: 2rem; position: relative; }
.timeline-item::before {
    content: ""; position: absolute; left: -2.55rem; top: 0.4rem;
    width: 10px; height: 10px; border-radius: 50%; background: #E0B020;
}
.timeline-year { color: #E0B020; font-weight: 700; font-size: 1.1rem; display: block; }
.timeline-desc { color: #ccc; }

/* === STYLES PAGE === */
.style-section { padding: 3rem 0; border-bottom: 1px solid #1a1a1a; }
.style-section:last-child { border-bottom: none; }
.style-section h3 { color: #E0B020; font-size: 1.5rem; margin-bottom: 0.75rem; }
.style-section p { color: #ccc; max-width: 800px; }

/* === FAQ ACCORDION === */
.faq-list { max-width: 850px; margin: 0 auto; }
details { border-bottom: 1px solid #222; }
details summary {
    padding: 1.25rem 2.5rem 1.25rem 0; cursor: pointer; font-size: 1.05rem;
    color: #e8e8e8; font-weight: 600; position: relative; list-style: none;
    transition: color 0.3s;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; color: #E0B020; transition: transform 0.3s;
}
details[open] summary::after { content: "\2212"; }
details[open] summary { color: #E0B020; }
details .faq-answer { padding: 0 0 1.25rem; color: #bbb; line-height: 1.8; font-size: 0.98rem; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.contact-card {
    background: #1a1a1a; border: 1px solid #333; border-radius: 4px;
    padding: 2rem; transition: border-color 0.3s;
}
.contact-card:hover { border-color: #E0B020; }
.contact-card h3 { margin-bottom: 1rem; }
.contact-card p { color: #ccc; margin-bottom: 0.5rem; }
.contact-methods { margin-top: 2rem; }
.contact-method {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 0;
    border-bottom: 1px solid #1a1a1a;
}
.contact-method:last-child { border-bottom: none; }
.contact-icon { font-size: 1.5rem; width: 40px; text-align: center; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.map-container { margin-top: 2rem; border-radius: 4px; overflow: hidden; border: 1px solid #333; }
.map-container iframe { width: 100%; height: 350px; border: 0; filter: grayscale(0.5) brightness(0.8); }
.hours-list { list-style: none; }
.hours-list li { padding: 0.4rem 0; color: #ccc; display: flex; justify-content: space-between; max-width: 300px; }
.hours-list li span:first-child { color: #e8e8e8; }

/* === LOCATION CARDS === */
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.location-card {
    background: #1a1a1a; border: 1px solid #333; border-radius: 4px;
    padding: 2rem; text-align: center; transition: border-color 0.3s;
}
.location-card:hover { border-color: #E0B020; }
.location-card h3 { font-size: 1.2rem; }
.location-card p { color: #ccc; }
.location-status { margin-top: 0.75rem; font-size: 0.9rem; font-weight: 600; }
.location-status.active { color: #4ade80; }
.location-status.coming { color: #E0B020; }

/* === FOOTER === */
footer { background: #0a0a0a; border-top: 1px solid #1a1a1a; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { color: #E0B020; font-family: Georgia, "Times New Roman", serif; margin-bottom: 1rem; font-size: 1rem; }
.footer-col p, .footer-col a { color: #999; font-size: 0.9rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #999; font-size: 0.9rem; }
.footer-col ul li a:hover { color: #E0B020; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #1a1a1a; }
.footer-bottom p { color: #666; font-size: 0.82rem; }

/* === 404 === */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.error-page h1 { font-size: 6rem; color: #E0B020; }
.error-page p { font-size: 1.2rem; color: #999; margin-bottom: 2rem; }

/* === LAZY LOAD === */
img[loading="lazy"] { opacity: 0; transition: opacity 0.5s; }
img[loading="lazy"].loaded, img[loading="lazy"][complete] { opacity: 1; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; width: 100%;
        background: rgba(10,10,10,0.97); flex-direction: column;
        padding: 1rem 1.5rem; gap: 0; border-bottom: 1px solid #222;
    }
    .nav-links.active { display: flex; }
    .nav-links li a { padding: 0.75rem 0; display: block; }
    .portfolio-grid, .portfolio-grid.featured { grid-template-columns: 1fr; }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .hero { min-height: 90vh; padding: 100px 1.5rem 60px; }
    .hero h1 .zh { font-size: 1.4rem; }
    .tagline { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 3.5rem 0; }
    .location-grid { grid-template-columns: 1fr; }
}
