/* ============================================================
   Shandong Botu New Materials Co., Ltd. - Main Stylesheet
   ============================================================ */
:root {
  --primary: #0d1b2a;        /* deep steel navy */
  --primary-light: #1b2d42;
  --accent: #c8102e;         /* botu red */
  --accent-hover: #a50d26;
  --steel: #8a97a5;
  --bg-light: #f5f6f8;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-grey: #55606c;
  --text-light: #aab4bf;
  --radius: 8px;
  --shadow: 0 8px 30px rgba(13, 27, 42, 0.10);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--primary);
  color: var(--text-light);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--text-light); }
.topbar a:hover { color: #fff; }
.topbar .topbar-right { display: flex; gap: 18px; align-items: center; }

/* ---------------- Header / Nav ---------------- */
.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 58px; width: auto; }
.logo-text { line-height: 1.25; }
.logo-text .name {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
}
.logo-text .sub {
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav a:hover, .nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav .lang-link {
  background: var(--accent);
  color: #fff !important;
  border: none !important;
  border-radius: 22px;
  padding: 6px 18px !important;
  margin-left: 10px;
  line-height: 1.4;
  align-self: center;
  letter-spacing: 1px;
}
.nav .lang-link:hover { background: var(--accent-hover); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.feature-box .icon svg { width: 30px; height: 30px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: url("../images/hero-banner.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,17,28,0.88) 0%, rgba(9,17,28,0.55) 55%, rgba(9,17,28,0.25) 100%);
}
.hero-content {
  position: relative;
  color: #fff;
  max-width: 640px;
  padding: 80px 0;
}
.hero-content .eyebrow {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 22px;
}
.hero-content h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-content h1 span { color: #ff4d5e; }
.hero-content p {
  font-size: 17px;
  color: #d8dee6;
  margin-bottom: 32px;
}
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { border: 2px solid #fff; color: #fff; margin-left: 14px; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* hero stats */
.hero-stats {
  position: relative;
  display: flex;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}
.hero-stats .stat .num em { color: #ff4d5e; font-style: normal; }
.hero-stats .stat .label { font-size: 13px; color: #b8c2cd; text-transform: uppercase; letter-spacing: 1px; }

/* ---------------- Section basics ---------------- */
.section { padding: 80px 0; }
.section.bg-light { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-head h2 { font-size: 34px; color: var(--primary); line-height: 1.25; }
.section-head h2 span { color: var(--accent); }
.section-head p { margin-top: 14px; color: var(--text-grey); font-size: 16px; }

/* ---------------- About split ---------------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-split .img-side { position: relative; }
.about-split .img-side img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-split .img-side .badge {
  position: absolute;
  bottom: -22px;
  right: -10px;
  background: var(--accent);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-split .img-side .badge .num { font-size: 26px; font-weight: 800; display: block; line-height: 1.1; }
.about-split .img-side .badge .txt { font-size: 12px; opacity: 0.9; }
.about-split .txt-side h2 { font-size: 32px; color: var(--primary); margin-bottom: 18px; }
.about-split .txt-side h2 span { color: var(--accent); }
.about-split .txt-side p { color: var(--text-grey); margin-bottom: 14px; }
.about-points { margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-points li {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  padding-left: 26px;
  position: relative;
}
.about-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------------- Product grid ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13,27,42,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card .thumb { overflow: hidden; aspect-ratio: 4/3; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-grey); flex: 1; }
.product-card .more {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-card .more:hover { letter-spacing: 1.5px; }

/* ---------------- Advantage / features ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  border: 1px solid #e8ebef;
  transition: var(--transition);
}
.feature-box:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-box .icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}
.feature-box h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.feature-box p { font-size: 14px; color: var(--text-grey); }

/* ---------------- Split banner (CTA) ---------------- */
.cta-band {
  background: linear-gradient(rgba(13,27,42,0.92), rgba(13,27,42,0.92)), url("../images/factory.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { font-size: 32px; margin-bottom: 12px; }
.cta-band p { color: #c3ccd6; max-width: 640px; margin: 0 auto 30px; }

/* ---------------- News ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13,27,42,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px 24px 26px; flex: 1; }
.news-card .date { font-size: 12.5px; color: var(--steel); text-transform: uppercase; letter-spacing: 1px; }
.news-card h3 { font-size: 17px; color: var(--primary); margin: 8px 0 10px; line-height: 1.45; }
.news-card p { font-size: 14px; color: var(--text-grey); }
.news-card .more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; }

/* ---------------- Page banner (inner pages) ---------------- */
.page-banner {
  background: linear-gradient(rgba(13,27,42,0.85), rgba(13,27,42,0.85)), url("../images/colors.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.page-banner h1 { font-size: 38px; margin-bottom: 10px; }
.page-banner .crumb { font-size: 14px; color: #c3ccd6; }
.page-banner .crumb a { color: #ff8f9b; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 46px; }
.contact-info .item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
}
.contact-info .item .icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  background: var(--bg-light);
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
}
.contact-info .item h4 { font-size: 15px; color: var(--primary); margin-bottom: 3px; }
.contact-info .item p { font-size: 14.5px; color: var(--text-grey); }
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--primary); margin: 14px 0 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dde3;
  border-radius: 5px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button { margin-top: 22px; width: 100%; }
.form-note { font-size: 12.5px; color: var(--steel); margin-top: 12px; text-align: center; }

/* ---------------- Footer ---------------- */
.footer { background: var(--primary); color: #9da9b5; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--accent); }
.footer p, .footer a { font-size: 14px; color: #9da9b5; line-height: 1.9; }
.footer a:hover { color: #fff; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo img { height: 52px; background: #fff; border-radius: 6px; padding: 4px; }
.footer .f-logo .name { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; }
.footer ul li { margin-bottom: 9px; }
.footer .footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
}
.footer .footer-contact svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 5px; }
.footer .footer-contact span.ft-addr { display: block; }
.footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer .socials a {
  width: 38px; height: 38px;
  border: 1px solid #3a4a5c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.footer .socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom {
  border-top: 1px solid #26374a;
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
  color: #71808f;
}
.footer-bottom a { color: #71808f; }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Misc ---------------- */
.tag-line { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  background: #eef1f4;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}
.center { text-align: center; margin-top: 40px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 26px; }
.spec-table th, .spec-table td { border: 1px solid #dfe4e9; padding: 11px 14px; text-align: left; }
.spec-table th { background: var(--primary); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: var(--bg-light); }

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
  .product-grid, .product-grid.cols-3, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 34px; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
  }
  .nav.open { display: flex; }
  .nav a { border-bottom: 1px solid #eef1f4; padding: 13px 4px; }
  .nav .lang-link { margin: 6px 0; text-align: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .product-grid, .product-grid.cols-3, .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  .hero-content h1 { font-size: 28px; }
  .section { padding: 56px 0; }
  .contact-form .row { grid-template-columns: 1fr; }
  .topbar .topbar-right { display: none; }
  .topbar { font-size: 12px; }
  .header .container { height: 64px; }
  .logo-wrap img { height: 44px; }
  .logo-text .sub { display: none; }
  .logo-text .name { font-size: 15px; }
  .nav-toggle { flex: 0 0 auto; }
  .nav { top: 64px; }
}
