/* ============================================
   香港照明灯饰展网上注册指南 - 万盛展览/中盛国际
   SEO Optimized Responsive Stylesheet
   ============================================ */

:root {
    --primary: #e67e22;
    --primary-dark: #d35400;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: #fafafa;
    overflow-x: hidden;
}

/* ===== Header & Navigation ===== */
.header {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
    opacity: 0.9;
}

.header-contact i {
    margin-right: 5px;
    color: var(--accent);
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-group img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-group img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    margin-top: 110px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 50%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light { background: white; }
.bg-alt { background: var(--light); }

/* ===== Quick Links / Fairs ===== */
.fairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.fair-card {
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.fair-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.fair-card:hover::before {
    transform: scaleX(1);
}

.fair-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.fair-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.fair-card h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.fair-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.fair-card .link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.fair-card .link:hover {
    gap: 10px;
}

/* ===== Guide Steps ===== */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-content h3 .tag {
    background: var(--light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.step-content .note {
    background: #fff8e1;
    border-left: 4px solid var(--accent);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin: 15px 0;
    font-size: 0.95rem;
}

.step-content .note strong {
    color: var(--primary-dark);
}

.step-img {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.step-img img:hover {
    transform: scale(1.02);
}

.step-img figcaption {
    padding: 10px 15px;
    background: var(--light);
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Timeline connector */
.step::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

/* ===== Tips Section ===== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tip-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.tip-card h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tip-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
    color: white;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item .info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--accent);
}

.contact-item .info p,
.contact-item .info a {
    color: white;
    opacity: 0.9;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-item .info a:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-persons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.person-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.person-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.person-card h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.person-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

/* ===== Footer ===== */
.footer {
    background: #0f0f1a;
    color: rgba(255,255,255,0.6);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 45px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: var(--light);
    padding: 15px 0;
    margin-top: 110px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        margin-top: 130px;
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .step {
        flex-direction: column;
        gap: 15px;
    }

    .step::after {
        display: none;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-persons {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fairs-grid {
        grid-template-columns: 1fr;
    }

    .logo-group img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .step-content {
        padding: 20px;
    }

    .container {
        padding: 0 15px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header, .footer, .scroll-top, .hero-buttons {
        display: none !important;
    }

    .hero {
        margin-top: 0;
        padding: 30px 0;
        background: white !important;
        color: black !important;
    }

    .section {
        padding: 30px 0;
    }

    .step {
        break-inside: avoid;
    }
}

/* ===== Animation ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== SEO Structured Data Hidden ===== */
.seo-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
