﻿/* ============================================
   Xiamen Yuankai King Long Auto Parts
   Professional Global Supplier Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #0c2d4a;
  --primary-light: #1a4a72;
  --primary-dark: #071e31;
  --accent: #d4942b;
  --accent-hover: #e8a838;
  --text: #2d3436;
  --text-light: #636e72;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --nav-height: 96px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #fff; transition: color 0.2s; }
.top-bar a:hover { color: var(--accent); }
.top-bar .lang-switch { display: flex; gap: 12px; }
.top-bar .lang-switch a.active { color: var(--accent); font-weight: 600; }

/* --- Header/Nav --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  height: var(--nav-height);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text span {
  font-size: 12px;
  color: var(--text-light);
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(12,45,74,0.06);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1e5a8a 100%);
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.02);
  border-radius: 50%;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-content h2 span { color: var(--accent); }
.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}
.hero-stats .stat h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.hero-stats .stat p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta .btn-primary,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-cta .btn-primary:hover,
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,148,43,0.35);
}
.hero-cta .btn-outline,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-cta .btn-outline:hover,
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-placeholder {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  border: 1px dashed rgba(255,255,255,0.15);
  text-align: center;
  padding: 20px;
}
.hero-image-placeholder .icon { font-size: 48px; margin-bottom: 8px; }
.hero-image-placeholder p { font-size: 13px; margin-bottom: 0; }

/* --- Section Common --- */
.section {
  padding: 72px 0;
}
.section-alt { background: var(--bg-light); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features / Why Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Products Showcase --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card .img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 36px;
}
.product-card .info {
  padding: 16px 20px 20px;
}
.product-card .info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.product-card .info p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.product-card .info .tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(212,148,43,0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

/* --- About / Credibility --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-text p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-text ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.about-text ul li {
  font-size: 14px;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-text ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  border: 1px dashed var(--border);
}

/* --- Contact CTA Section --- */
.contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.contact-cta h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 28px;
}
.contact-channels {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-channels a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}
.contact-channels a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* --- Footer --- */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}
.footer-col a:hover { color: var(--accent); }
.footer-col .contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}
.page-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,0.8); }

/* --- Products Page --- */
.product-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.category-card .icon { font-size: 36px; margin-bottom: 12px; }
.category-card h3 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.category-card p { font-size: 13px; color: var(--text-light); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-list .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-list .info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(12,45,74,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-list .info-item h4 { font-size: 15px; font-weight: 600; color: var(--primary); }
.contact-info-list .info-item p { font-size: 14px; color: var(--text-light); }

.contact-form {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font);
  transition: border 0.2s;
  background: var(--bg-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
}
.form-group textarea { height: 120px; resize: vertical; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin: 0 auto 28px; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-categories { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a.active::after { display: none; }
  .menu-toggle { display: block; }

  .hero { padding: 48px 0 40px; }
  .hero-content h2 { font-size: 26px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-categories { grid-template-columns: 1fr; }
  .section { padding: 36px 0; }
  .container { padding: 0 16px; }
  .category-card { padding: 20px 16px; }
  .contact-channels { flex-direction: column; gap: 12px; }
  .contact-channels a { width: 100%; justify-content: center; }
  .brand-logo-block { flex: 1 1 100%; min-width: 0; }
  .hero-stats .stat h3 { font-size: 28px; }
  .top-bar { font-size: 12px; }
  .lang-switch a { font-size: 11px; }
  .section-title h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-text ul { grid-template-columns: 1fr; }
  .contact-cta h2 { font-size: 24px; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RTL / Arabic Language Support
   ============================================ */

html[dir="rtl"] .top-bar .container,
html[dir="rtl"] header .container,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .contact-channels,
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .hero-stats,
html[dir="rtl"] .about-text ul,
html[dir="rtl"] .contact-info-list .info-item {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .nav-links {
  direction: rtl;
}

html[dir="rtl"] .hero-content p {
  margin-left: 0;
  margin-right: 0;
}

html[dir="rtl"] .hero-stats { justify-content: flex-start; }
html[dir="rtl"] .hero-cta { justify-content: flex-start; }

html[dir="rtl"] .about-text ul li::before {
  margin-left: 8px;
  margin-right: 0;
}

html[dir="rtl"] .contact-info-list .info-item {
  text-align: right;
}

html[dir="rtl"] .form-group label {
  text-align: right;
}

html[dir="rtl"] .section-title {
  direction: rtl;
}

html[dir="rtl"] .contact-form h3 {
  text-align: right;
}

html[dir="rtl"] .footer-col {
  text-align: right;
}

@media (max-width: 968px) {
  html[dir="rtl"] .hero-content p { margin-right: auto; }
  html[dir="rtl"] .hero-stats { justify-content: center; }
  html[dir="rtl"] .hero-cta { justify-content: center; }
}

/* ============================================
   Brand Authorization & Awards
   ============================================ */

.authorized-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #d4942b, #e8a838);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.authorized-badge.small { font-size: 10px; padding: 2px 10px 2px 8px; }

.brand-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}
.brand-logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 16px;
}
.brand-logo-block .icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.brand-logo-block .brand-text { line-height: 1.2; }
.brand-logo-block .brand-text .name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.brand-logo-block .brand-text .sub {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.brand-badge-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.brand-badge-light .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.award-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a4a72, #0c2d4a);
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.award-strip .star { color: #e8a838; }

/* Partners section in about/hero */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.partner-item .icon-box {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.partner-item .info .brand-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.partner-item .info .brand-tag {
  font-size: 11px;
  color: var(--text-light);
}
.partner-item .badge-auth {
  font-size: 10px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* ============================================
   Company Logo
   ============================================ */



/* Brand Logos */
.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}

/* Logo - Square, Larger */




/* Logo - Final size */
/* Logo */
.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}




/* Hero Image Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 640px;
}
.hero-carousel img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: opacity 0.6s ease;
}
.hero-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-carousel .slide.active {
  opacity: 1;
  position: relative;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots .dot.active {
  background: var(--accent);
}

/* Product Category Gallery */
.category-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.category-gallery img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.category-gallery.single {
  grid-template-columns: 1fr;
}
.category-gallery.single img {
  height: 100px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
