/* ============================================ SignHall - Online Signage Exhibition Hall Global Stylesheet ============================================ */ /* ---------- CSS Reset & Base ---------- */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { /* Brand Colors */ --brand-primary: #1a3a5c; --brand-primary-light: #2c5282; --brand-accent: #f0a500; --brand-dark: #0f1c2e; --brand-bg: #f8fafc; --brand-white: #ffffff; /* Category Colors */ --cat-a: #2563eb; --cat-a-bg: #dbeafe; --cat-a-border: #3b82f6; --cat-b: #059669; --cat-b-bg: #d1fae5; --cat-b-border: #10b981; --cat-c: #d97706; --cat-c-bg: #fef3c7; --cat-c-border: #f59e0b; /* Neutral */ --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563; --gray-700: #374151; --gray-800: #1f2937; --gray-900: #111827; /* Effects */ --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); /* Layout */ --radius: 12px; --radius-sm: 8px; --max-width: 1200px; --header-height: 64px; } html { scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--brand-bg); color: var(--gray-800); line-height: 1.6; min-height: 100vh; } a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s; } a:hover { color: var(--cat-a); } img { max-width: 100%; height: auto; display: block; } /* ---------- Header / Navigation ---------- */ .site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); background: var(--brand-primary); box-shadow: var(--shadow-md); } .nav-container { max-width: var(--max-width); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; } .nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--brand-white); letter-spacing: -0.5px; } .nav-logo .logo-icon { width: 36px; height: 36px; background: var(--brand-accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--brand-primary); } .nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; } .nav-menu a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: all 0.2s; } .nav-menu a:hover, .nav-menu a.active { color: var(--brand-white); border-bottom-color: var(--brand-accent); } .nav-search-mini { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; padding: 6px 16px; color: var(--brand-white); font-size: 0.85rem; width: 200px; outline: none; transition: all 0.2s; } .nav-search-mini::placeholder { color: rgba(255,255,255,0.6); } .nav-search-mini:focus { background: rgba(255,255,255,0.25); width: 260px; } /* ---------- Hero Section (Homepage) ---------- */ .hero { background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%); color: var(--brand-white); padding: 80px 24px 60px; text-align: center; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 50%, rgba(240,165,0,0.08), transparent 50%), radial-gradient(circle at 70% 80%, rgba(37,99,235,0.1), transparent 50%); } .hero-content { position: relative; max-width: var(--max-width); margin: 0 auto; } .hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; } .hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto 32px; } .hero-search-bar { display: flex; max-width: 640px; margin: 0 auto; background: var(--brand-white); border-radius: 28px; padding: 6px; box-shadow: var(--shadow-xl); } .hero-search-bar input { flex: 1; border: none; outline: none; padding: 14px 24px; font-size: 1rem; background: transparent; color: var(--gray-800); border-radius: 24px; } .hero-search-bar button { background: var(--brand-accent); color: var(--brand-primary); border: none; border-radius: 24px; padding: 14px 32px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; } .hero-search-bar button:hover { background: #ffb730; transform: scale(1.02); } .hero-quick-tags { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } .hero-quick-tags span { color: rgba(255,255,255,0.6); font-size: 0.85rem; } .hero-quick-tags a { color: rgba(255,255,255,0.9); font-size: 0.85rem; background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 14px; transition: all 0.2s; } .hero-quick-tags a:hover { background: rgba(255,255,255,0.2); } /* ---------- Section Layout ---------- */ .section { max-width: var(--max-width); margin: 0 auto; padding: 56px 24px; } .section-title { font-size: 1.8rem; font-weight: 700; color: var(--gray-900); text-align: center; margin-bottom: 8px; } .section-subtitle { text-align: center; color: var(--gray-500); font-size: 1rem; margin-bottom: 40px; } /* ---------- Pavilion Cards (Homepage) ---------- */ .pavilion-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; } .pavilion-card { background: var(--brand-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); transition: all 0.3s; border-top: 4px solid var(--gray-300); cursor: pointer; } .pavilion-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); } .pavilion-card.cat-a { border-top-color: var(--cat-a); } .pavilion-card.cat-b { border-top-color: var(--cat-b); } .pavilion-card.cat-c { border-top-color: var(--cat-c); } .pavilion-card-header { padding: 32px 28px 20px; position: relative; } .pavilion-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; } .cat-a .pavilion-badge { background: var(--cat-a-bg); color: var(--cat-a); } .cat-b .pavilion-badge { background: var(--cat-b-bg); color: var(--cat-b); } .cat-c .pavilion-badge { background: var(--cat-c-bg); color: var(--cat-c); } .pavilion-card-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; } .pavilion-card-header p { color: var(--gray-500); font-size: 0.9rem; } .pavilion-card-body { padding: 0 28px 28px; } .pavilion-card-body ul { list-style: none; margin-bottom: 20px; } .pavilion-card-body li { padding: 8px 0; font-size: 0.9rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px; } .pavilion-card-body li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.4; } .pavilion-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; padding: 8px 0; } .cat-a .pavilion-card-link { color: var(--cat-a); } .cat-b .pavilion-card-link { color: var(--cat-b); } .cat-c .pavilion-card-link { color: var(--cat-c); } /* ---------- Exhibit Cards (Listing & Detail) ---------- */ .exhibit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; } .exhibit-card { background: var(--brand-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; border: 1px solid var(--gray-200); } .exhibit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gray-300); } .exhibit-card-thumb { width: 100%; height: 180px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; } .exhibit-card-thumb .thumb-icon { font-size: 3rem; opacity: 0.3; } .exhibit-card-thumb .export-badge { position: absolute; top: 10px; right: 10px; background: var(--cat-b); color: white; font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; } .exhibit-card-body { padding: 16px 20px; } .exhibit-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .cat-tag { font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; } .cat-tag.a { background: var(--cat-a-bg); color: var(--cat-a); } .cat-tag.b { background: var(--cat-b-bg); color: var(--cat-b); } .cat-tag.c { background: var(--cat-c-bg); color: var(--cat-c); } .exhibit-card-body h4 { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; line-height: 1.4; } .exhibit-card-body p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .exhibit-card-footer { padding: 0 20px 16px; display: flex; align-items: center; justify-content: space-between; } .exhibit-card-footer .sub-cat { font-size: 0.8rem; color: var(--gray-400); } /* ---------- Filter Bar ---------- */ .filter-bar { background: var(--brand-white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; } .filter-group { display: flex; flex-direction: column; gap: 6px; } .filter-group label { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; } .filter-group select, .filter-group input { border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.9rem; color: var(--gray-700); background: var(--brand-white); outline: none; transition: border-color 0.2s; min-width: 140px; } .filter-group select:focus, .filter-group input:focus { border-color: var(--cat-a); } .filter-actions { display: flex; gap: 8px; margin-left: auto; } /* ---------- Buttons ---------- */ .btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; font-size: 0.9rem; font-weight: 600; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; } .btn-primary { background: var(--cat-a); color: white; } .btn-primary:hover { background: #1d4ed8; } .btn-secondary { background: var(--gray-100); color: var(--gray-700); } .btn-secondary:hover { background: var(--gray-200); } .btn-danger { background: #ef4444; color: white; } .btn-danger:hover { background: #dc2626; } .btn-success { background: var(--cat-b); color: white; } .btn-success:hover { background: #047857; } .btn-sm { padding: 6px 14px; font-size: 0.8rem; } .btn-lg { padding: 14px 32px; font-size: 1rem; } .btn-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--gray-600); } .btn-outline:hover { border-color: var(--cat-a); color: var(--cat-a); background: var(--cat-a-bg); } /* ---------- Detail Page ---------- */ .detail-container { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px; } .breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 0.85rem; color: var(--gray-400); } .breadcrumb a { color: var(--gray-500); } .breadcrumb span { color: var(--gray-300); } .detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; } .detail-main { background: var(--brand-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); } .detail-thumb { width: 100%; height: 360px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; } .detail-thumb .thumb-icon { font-size: 6rem; opacity: 0.2; } .detail-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; } .detail-header h1 { font-size: 1.6rem; font-weight: 700; color: var(--gray-900); } .detail-header .detail-id { font-size: 0.85rem; color: var(--gray-400); margin-top: 4px; } .detail-desc { font-size: 0.95rem; color: var(--gray-600); margin-bottom: 32px; line-height: 1.7; } .detail-section { margin-bottom: 28px; } .detail-section h3 { font-size: 1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-100); } .detail-tags { display: flex; flex-wrap: wrap; gap: 8px; } .detail-tag { font-size: 0.8rem; padding: 4px 12px; background: var(--gray-100); color: var(--gray-600); border-radius: 14px; } .detail-list { list-style: none; } .detail-list li { padding: 6px 0; font-size: 0.9rem; color: var(--gray-600); display: flex; align-items: center; gap: 8px; } .detail-list li::before { content: '\2022'; color: var(--cat-a); font-weight: bold; } .detail-advantage { background: var(--cat-a-bg); padding: 16px 20px; border-radius: var(--radius-sm); border-left: 4px solid var(--cat-a); font-size: 0.9rem; color: var(--gray-700); line-height: 1.6; } .detail-sidebar { display: flex; flex-direction: column; gap: 24px; } .sidebar-card { background: var(--brand-white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); } .sidebar-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; } .related-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); transition: all 0.2s; cursor: pointer; } .related-item:hover { background: var(--gray-50); } .related-item .related-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; } .related-icon.cat-a { background: var(--cat-a-bg); color: var(--cat-a); } .related-icon.cat-b { background: var(--cat-b-bg); color: var(--cat-b); } .related-icon.cat-c { background: var(--cat-c-bg); color: var(--cat-c); } .related-item .related-info { flex: 1; min-width: 0; } .related-item .related-info h4 { font-size: 0.85rem; font-weight: 600; color: var(--gray-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .related-item .related-info p { font-size: 0.75rem; color: var(--gray-400); } /* ---------- AI Search Page ---------- */ .ai-search-container { max-width: 800px; margin: 0 auto; padding: 48px 24px; } .ai-search-box { background: var(--brand-white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-md); margin-bottom: 24px; } .ai-search-box h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); } .ai-search-box p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 20px; } .ai-input-group { display: flex; gap: 12px; } .ai-input-group input { flex: 1; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 1rem; outline: none; transition: border-color 0.2s; } .ai-input-group input:focus { border-color: var(--cat-a); } .ai-suggestions { margin-top: 20px; } .ai-suggestions p { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 10px; } .ai-suggestion-chips { display: flex; flex-wrap: wrap; gap: 8px; } .ai-chip { font-size: 0.8rem; padding: 6px 14px; background: var(--gray-100); color: var(--gray-600); border-radius: 16px; cursor: pointer; transition: all 0.2s; } .ai-chip:hover { background: var(--cat-a-bg); color: var(--cat-a); } .ai-result { background: var(--brand-white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; } .ai-result-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .ai-result-header h3 { font-size: 1rem; font-weight: 600; } .ai-answer { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; } .ai-matched-exhibits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } /* ---------- Admin Panel ---------- */ .admin-container { max-width: var(--max-width); margin: 0 auto; padding: 32px 24px; } .admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .admin-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); } .admin-toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; } .admin-stats { display: flex; gap: 16px; margin-bottom: 24px; } .stat-card { flex: 1; background: var(--brand-white); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gray-300); } .stat-card.cat-a { border-left-color: var(--cat-a); } .stat-card.cat-b { border-left-color: var(--cat-b); } .stat-card.cat-c { border-left-color: var(--cat-c); } .stat-card .stat-label { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; } .stat-card .stat-value { font-size: 1.8rem; font-weight: 700; color: var(--gray-900); } .admin-table { width: 100%; background: var(--brand-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); } .admin-table table { width: 100%; border-collapse: collapse; } .admin-table th { background: var(--gray-50); padding: 12px 16px; text-align: left; font-size: 0.75rem; text-transform: uppercase; color: var(--gray-500); font-weight: 600; letter-spacing: 0.5px; border-bottom: 1px solid var(--gray-200); } .admin-table td { padding: 12px 16px; font-size: 0.85rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); } .admin-table tr:hover { background: var(--gray-50); } .admin-table .action-btns { display: flex; gap: 6px; } .admin-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 20px; } /* ---------- Modal ---------- */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 24px; } .modal { background: var(--brand-white); border-radius: var(--radius); max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--gray-200); } .modal-header h2 { font-size: 1.2rem; font-weight: 700; } .modal-close { background: none; border: none; font-size: 1.5rem; color: var(--gray-400); cursor: pointer; } .modal-body { padding: 24px; } .form-group { margin-bottom: 16px; } .form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; } .form-group label .req { color: #ef4444; } .form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.9rem; outline: none; transition: border-color 0.2s; font-family: inherit; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--cat-a); } .form-group .hint { font-size: 0.75rem; color: var(--gray-400); margin-top: 4px; } .form-group .error { font-size: 0.75rem; color: #ef4444; margin-top: 4px; } .form-error-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; font-size: 0.85rem; color: #dc2626; } .modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--gray-200); } /* ---------- Toast Notification ---------- */ .toast { position: fixed; bottom: 24px; right: 24px; background: var(--gray-900); color: white; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; z-index: 2000; box-shadow: var(--shadow-lg); animation: slideUp 0.3s ease; } .toast.success { background: var(--cat-b); } .toast.error { background: #ef4444; } @keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* ---------- Footer ---------- */ .site-footer { background: var(--brand-dark); color: rgba(255,255,255,0.6); padding: 40px 24px 24px; margin-top: 60px; } .footer-container { max-width: var(--max-width); margin: 0 auto; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 24px; } .footer-brand h3 { color: white; font-size: 1.2rem; margin-bottom: 8px; } .footer-brand p { font-size: 0.85rem; line-height: 1.6; } .footer-col h4 { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-bottom: 12px; } .footer-col ul { list-style: none; } .footer-col li { margin-bottom: 6px; } .footer-col a { color: rgba(255,255,255,0.6); font-size: 0.85rem; } .footer-col a:hover { color: white; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; text-align: center; font-size: 0.8rem; } /* ---------- Responsive ---------- */ @media (max-width: 900px) { .nav-menu { display: none; } .nav-search-mini { display: none; } .detail-layout { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } .section { padding: 40px 16px; } .admin-stats { flex-direction: column; } } @media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .hero-search-bar { flex-direction: column; border-radius: var(--radius); } .hero-search-bar input { border-radius: var(--radius-sm); } .hero-search-bar button { border-radius: var(--radius-sm); } .filter-bar { flex-direction: column; } .filter-actions { margin-left: 0; } .exhibit-grid { grid-template-columns: 1fr; } } /* ---------- Utility Classes ---------- */ .text-center { text-align: center; } .mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .hidden { display: none !important; } .flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 8px; } .gap-4 { gap: 16px; } .w-full { width: 100%; } /* ============================================ IMPROVEMENTS - v2 Enhancements ============================================ */ /* ---------- Navigation Improvements ---------- */ .nav-right { display: flex; align-items: center; gap: 12px; } .nav-lang-toggle { font-size: 0.85rem !important; font-weight: 600 !important; padding: 4px 10px !important; background: rgba(255,255,255,0.15) !important; border-radius: 16px !important; border: 1px solid rgba(255,255,255,0.2) !important; color: rgba(255,255,255,0.9) !important; transition: all 0.2s; } .nav-lang-toggle:hover { background: rgba(255,255,255,0.25) !important; color: white !important; border-bottom-color: rgba(255,255,255,0.2) !important; } /* Mobile hamburger menu */ .nav-mobile-toggle { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; } .nav-mobile-toggle span { display: block; width: 100%; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; } .nav-mobile-toggle.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); } .nav-mobile-toggle.active span:nth-child(2) { opacity: 0; } .nav-mobile-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); } @media (max-width: 900px) { .nav-menu { position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--brand-primary); flex-direction: column; padding: 16px 0; gap: 0 !important; box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform 0.3s ease; z-index: 99; } .nav-menu.mobile-open { transform: translateY(0); } .nav-menu li { width: 100%; } .nav-menu a { display: block; padding: 14px 24px !important; border-bottom: 1px solid rgba(255,255,255,0.1); } .nav-menu a.active { border-bottom-color: var(--brand-accent); background: rgba(255,255,255,0.05); } .nav-lang-toggle { margin: 12px 24px !important; display: inline-block !important; } .nav-mobile-toggle { display: flex; } .nav-search-mini { width: 150px !important; } } @media (max-width: 600px) { .nav-search-mini { display: none !important; } } /* ---------- Exhibit Card SVG Thumbnails ---------- */ .exhibit-card-thumb svg { width: 100%; height: 100%; display: block; } .exhibit-card-thumb { overflow: hidden; position: relative; background: var(--gray-50) !important; } .exhibit-card-thumb .exhibit-svg { transition: transform 0.4s ease; } .exhibit-card:hover .exhibit-card-thumb .exhibit-svg { transform: scale(1.05); } .exhibit-card-thumb .thumb-icon { display: none; } /* Detail page thumb */ .detail-thumb .exhibit-svg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .detail-thumb .exhibit-svg svg { max-width: 400px; max-height: 300px; } .detail-thumb .thumb-icon { display: none; } /* ---------- Homepage Hero Improvements ---------- */ .hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 40px; flex-wrap: wrap; } .hero-stat { text-align: center; } .hero-stat-number { font-size: 2.5rem; font-weight: 800; color: var(--brand-accent); line-height: 1; } .hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; } /* ---------- Pavilion Card Improvements ---------- */ .pavilion-card-header { position: relative; overflow: hidden; } .pavilion-icon-row { display: flex; gap: 8px; margin-top: 16px; opacity: 0.6; } .pavilion-icon-row svg { width: 48px; height: 36px; } .pavilion-stats-row { display: flex; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-100); } .pavilion-stat-mini { flex: 1; text-align: center; } .pavilion-stat-mini .num { font-size: 1.2rem; font-weight: 700; color: var(--gray-800); } .pavilion-stat-mini .label { font-size: 0.7rem; color: var(--gray-400); text-transform: uppercase; } /* ---------- Category Page Sort/View Toggle ---------- */ .filter-toolbar-right { display: flex; gap: 8px; align-items: center; } .view-toggle { display: flex; background: var(--gray-100); border-radius: var(--radius-sm); padding: 3px; } .view-toggle button { border: none; background: transparent; padding: 6px 12px; font-size: 0.8rem; color: var(--gray-500); cursor: pointer; border-radius: 6px; transition: all 0.2s; } .view-toggle button.active { background: white; color: var(--gray-800); box-shadow: var(--shadow-sm); } /* List view for exhibits */ .exhibit-list { display: flex; flex-direction: column; gap: 12px; } .exhibit-list-item { display: flex; gap: 20px; background: white; border-radius: var(--radius-sm); padding: 16px 20px; border: 1px solid var(--gray-200); transition: all 0.2s; cursor: pointer; } .exhibit-list-item:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); } .exhibit-list-item .list-thumb { width: 120px; height: 80px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--gray-50); } .exhibit-list-item .list-thumb svg { width: 100%; height: 100%; } .exhibit-list-item .list-content { flex: 1; min-width: 0; } .exhibit-list-item .list-content h4 { font-size: 1rem; margin-bottom: 4px; } .exhibit-list-item .list-content p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; } .exhibit-list-item .list-meta { display: flex; gap: 12px; margin-top: 8px; font-size: 0.75rem; color: var(--gray-400); } /* ---------- Detail Page Spec Table ---------- */ .spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } .spec-table th, .spec-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--gray-100); } .spec-table th { width: 140px; background: var(--gray-50); color: var(--gray-500); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3px; } .spec-table td { color: var(--gray-700); } /* ---------- Loading Skeleton ---------- */ .skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s ease-in-out infinite; border-radius: 4px; } @keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } /* ---------- Feature Highlights on Homepage ---------- */ .features-section { background: var(--brand-white); } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; } .feature-item { text-align: center; padding: 24px 16px; border-radius: var(--radius-sm); transition: all 0.3s; } .feature-item:hover { background: var(--gray-50); transform: translateY(-4px); } .feature-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; } .feature-item h4 { font-size: 1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; } .feature-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; } /* ---------- Smooth Scroll Reveal Animation ---------- */ .reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; } .reveal.visible { opacity: 1; transform: translateY(0); } /* ---------- Improved Back to Top ---------- */ .back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-primary); color: white; border: none; cursor: pointer; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 90; } .back-to-top.visible { opacity: 1; visibility: visible; } .back-to-top:hover { background: var(--brand-primary-light); transform: translateY(-2px); } /* ---------- Hover Effect for Cards ---------- */ .exhibit-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .exhibit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); } /* ---------- Data Stats Badges ---------- */ .data-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; } .data-badge { font-size: 0.7rem; padding: 2px 8px; background: var(--gray-100); color: var(--gray-600); border-radius: 10px; font-weight: 500; } /* ============================================ EXHIBITION HALL THEME - v3 ============================================ */ /* ---------- Hero - Exhibition Hall Entrance ---------- */ .hero-exhibition { position: relative; overflow: hidden; padding: 100px 24px 120px; background: linear-gradient(180deg, #0a1628 0%, #132744 40%, #1a3a5c 100%); } /* Spotlights from ceiling */ .hero-spotlights { position: absolute; top: 0; left: 0; right: 0; height: 100%; pointer-events: none; overflow: hidden; } .spotlight { position: absolute; top: -20px; width: 300px; height: 500px; background: radial-gradient(ellipse at top, rgba(240, 165, 0, 0.18) 0%, rgba(240, 165, 0, 0.06) 40%, transparent 70%); transform-origin: top center; animation: spotlight-sway 8s ease-in-out infinite; } .spotlight.s1 { left: 15%; animation-delay: 0s; } .spotlight.s2 { left: 45%; animation-delay: -2s; } .spotlight.s3 { left: 75%; animation-delay: -4s; } @keyframes spotlight-sway { 0%, 100% { transform: rotate(-5deg) scaleY(1); opacity: 0.7; } 50% { transform: rotate(5deg) scaleY(1.05); opacity: 1; } } /* Entrance badge */ .hero-entrance-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 4px; color: var(--brand-accent); border: 2px solid var(--brand-accent); padding: 6px 20px; margin-bottom: 24px; position: relative; } .hero-entrance-badge::before, .hero-entrance-badge::after { content: ''; position: absolute; top: 50%; width: 30px; height: 1px; background: var(--brand-accent); opacity: 0.5; } .hero-entrance-badge::before { right: 100%; margin-right: 16px; } .hero-entrance-badge::after { left: 100%; margin-left: 16px; } .hero-title { font-size: 4rem !important; font-weight: 900 !important; letter-spacing: 6px !important; margin-bottom: 12px !important; text-shadow: 0 0 60px rgba(240, 165, 0, 0.3); position: relative; display: inline-block; } .hero-subtitle { font-size: 1.15rem !important; color: rgba(255, 255, 255, 0.75) !important; margin-bottom: 32px !important; font-weight: 300 !important; letter-spacing: 1px; } /* Hall tag row */ .hero-hall-tags { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 36px; flex-wrap: wrap; } .hall-tag { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); padding: 8px 20px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); } .hall-tag:nth-child(1) { border-radius: 20px 0 0 20px; border-right: none; color: #93c5fd; } .hall-tag:nth-child(3) { border-right: none; color: #6ee7b7; } .hall-tag:nth-child(5) { border-radius: 0 20px 20px 0; color: #fcd34d; } .hall-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.15); } /* Exhibition style search */ .hero-search-exhibition { border: 2px solid rgba(240, 165, 0, 0.3) !important; box-shadow: 0 0 40px rgba(240, 165, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.3) !important; background: rgba(255, 255, 255, 0.98) !important; backdrop-filter: blur(10px); } .search-icon-hall { display: flex; align-items: center; padding-left: 20px; font-size: 1.1rem; opacity: 0.5; } /* Floor reflection */ .hero-floor { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(180deg, transparent 0%, rgba(240, 165, 0, 0.03) 50%, rgba(0, 0, 0, 0.2) 100%); pointer-events: none; } .floor-reflection { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 165, 0, 0.3), transparent); } /* Hero stats exhibition style */ .hero-stats-exhibition { margin-top: 48px !important; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); position: relative; } .hero-stats-exhibition::before { content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--brand-accent); } /* ---------- Section Headers - Exhibition Style ---------- */ .section-header-exhibition { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 12px; } .section-line { flex: 0 0 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand-accent), transparent); } .section-title-exhibition { font-size: 1.6rem; font-weight: 700; color: var(--gray-900); letter-spacing: 3px; text-transform: uppercase; position: relative; } /* ---------- Pavilion Cards - Exhibition Hall Style ---------- */ .pavilions-exhibition { background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%); position: relative; } .pavilions-exhibition::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%; background-image: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.04) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.04) 0%, transparent 50%); pointer-events: none; } .pavilion-grid-exhibition { gap: 0; position: relative; } .pavilion-grid-exhibition .pavilion-card { position: relative; border: none; border-radius: 0; background: white; box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); overflow: visible; margin: 10px; } /* Pavilion entrance frame */ .pavilion-grid-exhibition .pavilion-card::before { content: ''; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 60%; height: 14px; background: var(--gray-800); border-radius: 6px 6px 0 0; z-index: 2; } .pavilion-grid-exhibition .pavilion-card.cat-a::before { background: linear-gradient(180deg, #1e40af, #2563eb); } .pavilion-grid-exhibition .pavilion-card.cat-b::before { background: linear-gradient(180deg, #047857, #059669); } .pavilion-grid-exhibition .pavilion-card.cat-c::before { background: linear-gradient(180deg, #b45309, #d97706); } .pavilion-grid-exhibition .pavilion-card::after { content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; background: var(--brand-accent); border-radius: 50%; box-shadow: -20px 0 0 var(--brand-accent), 20px 0 0 var(--brand-accent); z-index: 3; } .pavilion-grid-exhibition .pavilion-card-header { padding: 40px 28px 24px; border-bottom: 3px solid var(--gray-100); position: relative; } .pavilion-grid-exhibition .cat-a .pavilion-card-header { border-bottom-color: var(--cat-a); } .pavilion-grid-exhibition .cat-b .pavilion-card-header { border-bottom-color: var(--cat-b); } .pavilion-grid-exhibition .cat-c .pavilion-card-header { border-bottom-color: var(--cat-c); } .pavilion-grid-exhibition .pavilion-icon-row { margin-top: 20px; opacity: 1; justify-content: center; } .pavilion-grid-exhibition .pavilion-icon-row .exhibit-svg { width: 80px !important; height: 60px !important; } .pavilion-grid-exhibition .pavilion-badge { font-size: 0.7rem; letter-spacing: 2px; padding: 6px 14px; } .pavilion-grid-exhibition .pavilion-card-body { padding: 20px 28px 28px; } /* ---------- Featured Booths - Exhibition Floor ---------- */ .exhibition-floor-section { background: var(--brand-bg); position: relative; } .booth-grid .exhibit-card { position: relative; border: 2px solid var(--gray-100); background: white; } .booth-grid .exhibit-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gray-300); border-radius: var(--radius) var(--radius) 0 0; z-index: 2; } .booth-grid .exhibit-card:hover::before { background: var(--brand-accent); } .booth-grid .exhibit-card-thumb { background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important; border-bottom: 1px solid var(--gray-100); } /* Booth number badge */ .booth-grid .exhibit-card .booth-number { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, 0.6); color: white; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 3; letter-spacing: 1px; } /* ---------- Industry Intro - Gallery Style ---------- */ .industry-gallery-text { max-width: 900px; margin: 0 auto; color: var(--gray-600); font-size: 0.95rem; line-height: 1.9; position: relative; padding: 0 24px; } .industry-gallery-text p { position: relative; padding-left: 20px; margin-bottom: 16px; } .industry-gallery-text p::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; background: var(--brand-accent); border-radius: 50%; } /* ---------- AI CTA - Booth Style ---------- */ .ai-cta-exhibition { position: relative; background: linear-gradient(135deg, #0f1c2e, #1a3a5c) !important; border: none !important; overflow: hidden; } .ai-cta-exhibition::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 30%, rgba(240, 165, 0, 0.08), transparent 40%), radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.08), transparent 40%); pointer-events: none; } .ai-cta-exhibition .ai-booth-icon { font-size: 3rem; margin-bottom: 16px; } /* ---------- Print Styles ---------- */ @media print { .site-header, .site-footer, .back-to-top, .nav-mobile-toggle { display: none !important; } .exhibit-card { break-inside: avoid; box-shadow: none; border: 1px solid var(--gray-200); } }