/* ============================================
   CorLuxLink - Global Styles
   ============================================ */

:root {
  --navy: #1A1A2E;
  --orange: #FF6B00;
  --orange-light: #FF8C38;
  --white: #FFFFFF;
  --gray-light: #F5F6FA;
  --gray: #888;
  --gray-dark: #444;
  --border: #E0E0E0;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER & NAV
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-text span:first-child { color: var(--white); }
.logo-text span.accent { color: var(--orange); }

nav { display: flex; align-items: center; gap: 30px; }

nav a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.lang-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-btn:hover { background: var(--orange-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #16213E 60%, #0F3460 100%);
  color: var(--white);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,168,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,107,0,0.2);
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 40px;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,107,0,0.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  display: inline-block;
}

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

/* Stats Bar */
.stats-bar {
  background: var(--orange);
  padding: 20px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item { color: var(--white); }
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  display: block;
}
.stat-item .label { font-size: 13px; opacity: 0.9; }

/* ============================================
   SECTIONS COMMON
   ============================================ */
section { padding: 80px 0; }

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

.section-tag {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--gray);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  width: 50px;
  height: 4px;
  background: var(--orange);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages { background: var(--gray-light); }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.adv-card {
  background: var(--white);
  border-radius: 10px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.adv-card:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--orange);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.adv-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), #0F3460);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.adv-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.adv-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--white);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border-color: var(--orange);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-light);
}

.product-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy), #0F3460);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.product-info { padding: 20px; }

.product-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-info p { font-size: 13px; color: var(--gray); margin-bottom: 15px; }

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.view-all-wrap { text-align: center; margin-top: 40px; }

/* ============================================
   WHY US
   ============================================ */
.why-us { background: var(--navy); color: var(--white); }
.why-us .section-header h2 { color: var(--white); }
.why-us .section-header p { color: rgba(255,255,255,0.7); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--orange);
  background: rgba(255,107,0,0.05);
}

.why-item .icon { font-size: 40px; margin-bottom: 15px; }

.why-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}

.why-item p { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ============================================
   CERTIFICATES
   ============================================ */
.certs { background: var(--gray-light); }

.cert-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cert-badge {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 20px 30px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
  min-width: 120px;
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--orange), #FF8C38);
  padding: 80px 20px;
  text-align: center;
  color: var(--white);
}

.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 35px; }

.btn-white {
  background: var(--white);
  color: var(--orange);
  padding: 14px 40px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
  display: inline-block;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 25px;
}

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

.contact-item .ci-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy), #0F3460);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item .ci-text strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.contact-item .ci-text span { font-size: 14px; color: var(--gray-dark); }

/* Contact Form */
.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.submit-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover { background: var(--orange); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #0F3460);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.page-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 15px; }
.page-hero p { font-size: 18px; opacity: 0.8; }
.breadcrumb { font-size: 14px; opacity: 0.6; margin-bottom: 15px; }
.breadcrumb a { color: var(--orange); }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text p {
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-img-box {
  background: linear-gradient(135deg, var(--navy), #0F3460);
  border-radius: 15px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.about-img-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255,107,0,0.2);
  border-radius: 50%;
  transform: translate(30%, 30%);
}

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 15px;
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  max-width: 280px;
}

.timeline-content .year {
  color: var(--orange);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.timeline-content h4 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p { color: var(--gray); font-size: 13px; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.product-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border-color: var(--orange);
}

.cat-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cat-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy), #0F3460);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}

.cat-body { padding: 22px; }

.cat-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.cat-body .cat-zh {
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 12px;
  font-weight: 600;
}

.cat-body ul { margin-bottom: 15px; }

.cat-body ul li {
  font-size: 13px;
  color: var(--gray);
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-body ul li::before {
  content: '▸';
  color: var(--orange);
  font-size: 11px;
}

.inquiry-btn {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.inquiry-btn:hover { background: var(--orange); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #0D0D1A;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-brand .logo-text { font-size: 22px; margin-bottom: 15px; display: block; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact p .fi { flex-shrink: 0; }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-all-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px; gap: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .products-all-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { padding-right: 0; padding-left: 55px; justify-content: flex-start; }
  .timeline-item:nth-child(even) { padding-left: 55px; }
  .timeline-dot { left: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 50px 0; }
  .page-hero h1 { font-size: 28px; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.bg-gray { background: var(--gray-light); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
