/* GRAND NOIR — Style */
:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --grey: #f7f7f7;
  --text: #333333;
  --muted: #555555;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.7; }

/* Header */
.site-header { background: var(--white); padding: 0 20px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #eee; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 56px; display: block; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { color: var(--black); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: #555; }
.menu-toggle { display: none; background: none; border: none; color: var(--black); font-size: 24px; cursor: pointer; }

/* Hero */
.hero { min-height: 520px; display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.hero-content { text-align: center; max-width: 800px; }
.hero h1 { color: white; font-size: 46px; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.hero p { color: white; font-size: 18px; margin-bottom: 35px; line-height: 1.6; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.btn { display: inline-block; background: white; color: black; padding: 14px 40px; font-size: 17px; font-weight: bold; text-decoration: none; border-radius: 4px; }
.btn:hover { background: #e0e0e0; }

/* Sections */
.section { padding: 70px 20px; text-align: center; }
.section h2 { font-size: 32px; margin-bottom: 15px; }
.section-desc { max-width: 760px; margin: 0 auto 35px; color: var(--muted); font-size: 17px; }
.facility-img { max-width: 1000px; width: 100%; height: auto; display: block; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

/* Cards */
.card-grid { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; max-width: 1100px; margin: 40px auto 0; }
.card { flex: 1; min-width: 250px; max-width: 350px; text-align: left; }
.card img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 15px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Contact */
.contact-section { background: var(--black); color: var(--white); padding: 50px 20px; }
.contact-section h2 { color: var(--white); }
.contact-section p { font-size: 18px; margin-bottom: 25px; color: #ccc; }
.contact-link { display: block; color: var(--white); font-size: 22px; font-weight: bold; text-decoration: none; margin-bottom: 10px; }
.contact-link.phone { font-size: 26px; }

/* Footer */
.site-footer { background: var(--black); color: #777; text-align: center; padding: 30px 20px; font-size: 14px; border-top: 1px solid #333; }

/* Page hero (inner pages) */
.page-hero { min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.page-hero h1 { color: white; font-size: 40px; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.page-hero p { color: #ccc; font-size: 17px; margin-top: 10px; text-shadow: 0 2px 6px rgba(0,0,0,0.8); }

/* Content section (inner pages) */
.content-section { padding: 60px 20px; }
.content-section .container { max-width: 900px; margin: 0 auto; }
.content-section h2 { font-size: 28px; margin: 40px 0 15px; color: var(--black); }
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { font-size: 22px; margin: 30px 0 10px; }
.content-section p { margin-bottom: 18px; font-size: 16px; color: var(--text); }
.content-section ul { margin: 15px 0 25px 20px; }
.content-section li { margin-bottom: 8px; font-size: 16px; }
.content-section img.full { width: 100%; max-height: 420px; object-fit: cover; margin: 20px 0; }
.content-section img.contain { width: 100%; max-height: 500px; object-fit: contain; margin: 20px 0; }
.content-section img.shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.1); max-width: 100%; height: auto; display: block; margin: 20px auto; }

/* Process cards */
.process-card { background: white; padding: 40px; margin-bottom: 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); text-align: left; }
.process-card img { width: 100%; max-height: 350px; object-fit: cover; margin: 15px 0; }

/* Spec table */
.spec-table { width: 100%; max-width: 700px; border-collapse: collapse; margin: 20px auto; font-size: 16px; }
.spec-table thead tr { background: var(--black); color: var(--white); }
.spec-table th, .spec-table td { padding: 12px 15px; text-align: left; }
.spec-table tbody tr { border-bottom: 1px solid #ddd; }
.spec-table tbody tr:nth-child(even) { background: #f9f9f9; }

/* Sidebar nav (products page) */
.products-layout { display: flex; gap: 40px; max-width: 1200px; margin: 0 auto; }
.sidebar-nav { flex: 0 0 200px; position: sticky; top: 100px; align-self: flex-start; background: var(--grey); padding: 25px 20px; border-left: 3px solid var(--black); }
.sidebar-nav h3 { font-size: 14px; letter-spacing: 1px; margin-bottom: 20px; }
.sidebar-nav ul { list-style: none; padding: 0; }
.sidebar-nav li { margin-bottom: 12px; }
.sidebar-nav a { color: var(--black); text-decoration: none; font-size: 15px; font-weight: bold; }
.sidebar-nav .sub { color: #777; font-size: 13px; font-weight: normal; padding-left: 15px; }

/* Process bg */
.process-bg { position: relative; background-attachment: fixed; background-size: cover; background-position: center; }
.process-overlay { background: rgba(255,255,255,0.50); padding: 60px 20px; }

/* Pkg flex */
.pkg-flex { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.pkg-flex img { flex: 0 0 auto; max-width: 400px; width: 100%; height: auto; }
.pkg-flex div { flex: 1; min-width: 280px; }

/* Analysis img */
.analysis-img { max-width: 600px; width: 100%; height: auto; margin: 25px 0; display: block; }

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .page-hero h1 { font-size: 28px; }
  .section h2 { font-size: 26px; }

.main-nav { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--white); padding: 20px; gap: 15px; border-bottom: 1px solid #eee; }
.main-nav.open { display: flex; }
.menu-toggle { display: block; }
.main-nav a { color: var(--black); }

  .products-layout { flex-direction: column; }
  .sidebar-nav { display: none; }

  .process-bg { background-attachment: scroll; }

  .pkg-flex img { max-width: 100%; }
}
