/* ===================== BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #B12424;
  --primary-dark: #8a1a1a;
  --accent: #BFC1C0;
  --text: #222;
  --light: #f5f5f5;
  --white: #fff;
  --gray: #666;
}

body { font-family: 'Poppins', sans-serif; color: var(--text); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===================== TOPBAR ===================== */
.topbar {
  background: var(--white);
  color: var(--text);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}
.topbar .container {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
}
.topbar span i { margin-right: 6px; color: var(--accent); }

/* ===================== NAVBAR ===================== */
.navbar {
  background: #111;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 55px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.btn-catalogue {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.3s !important;
}
.btn-catalogue:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; font-size: 22px; cursor: pointer; color: #fff; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-slides { position: relative; width: 100%; }
.slide { display: none; padding: 120px 20px 80px; min-height: 80vh; }
.slide.active { display: flex; align-items: center; }
.slide-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; color: var(--white); }
.slide-content h3 { font-size: 16px; font-weight: 400; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.slide-content h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.slide-content p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s, transform 0.2s;
}
.btn-hero:hover { background: #d4920a; transform: translateY(-2px); }
.slide-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 20px 0;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active { background: var(--accent); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 24px 20px;
  background: #111;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-stats div {
  text-align: center;
  color: var(--white);
}
.hero-stats strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.hero-stats span { font-size: 13px; opacity: 0.85; }

/* ===================== SECTION COMMON ===================== */
section { padding: 80px 0; margin: 0; }
.hero { padding: 0; }
.section-tag {
  display: inline-block;
  background: rgba(177,36,36,0.1);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; margin-bottom: 40px; }

/* ===================== ABOUT ===================== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-img-box {
  height: 420px;
  background: #e0e0e0;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
  font-weight: 500;
}
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 30px; font-size: 15px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-values div {
  background: var(--light);
  padding: 20px 16px;
  border-radius: 8px;
  border-top: 3px solid var(--primary);
  text-align: center;
}
.about-values i { font-size: 22px; color: var(--primary); margin-bottom: 10px; display: block; }
.about-values h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.about-values p { font-size: 12px; margin-bottom: 0; }

/* ===================== PRODUCTS ===================== */
.products { background: var(--light); }
.products .container { text-align: center; }
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  padding: 36px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(177,36,36,0.15);
  border-bottom-color: var(--primary);
}
.product-card i { font-size: 36px; color: var(--primary); margin-bottom: 14px; display: block; }
.product-card h4 { font-size: 15px; font-weight: 600; }

/* ===================== MATERIALS ===================== */
.materials { background: var(--white); }
.materials .container { text-align: center; }
.materials-table-wrap { overflow-x: auto; }
.materials-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.mt-20 { margin-top: 30px; }
.materials-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 600;
}
.materials-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #eee;
}
.materials-table tbody tr:nth-child(even) { background: var(--light); }
.materials-table tbody tr:hover { background: rgba(177,36,36,0.06); }
.materials-table td:first-child { font-weight: 600; color: var(--primary); }

/* ===================== INDUSTRIES ===================== */
.industries { background: var(--primary-dark); }
.industries .container { text-align: center; }
.industries .section-tag { background: rgba(255,255,255,0.15); color: var(--accent); }
.industries h2 { color: var(--white); }
.industry-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.industry-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 36px 20px;
  border-radius: 10px;
  text-align: center;
  color: var(--white);
  transition: background 0.3s, transform 0.3s;
}
.industry-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-5px); }
.industry-card i { font-size: 34px; color: var(--accent); margin-bottom: 14px; display: block; }
.industry-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.industry-card p { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ===================== MARQUEE ===================== */
.marquee-wrap {
  background: var(--accent);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  display: inline-block;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 600;
  color: #8a1a1a;
  border-right: 2px solid #8a1a1a;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================== FOOTER ===================== */
.footer { background: #1a0a0a; color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background 0.3s;
}
.social-links a:hover { background: var(--primary); }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links ul li, .footer-products ul li { padding: 5px 0; font-size: 13px; }
.footer-links ul li a:hover { color: var(--accent); }
.footer-contact p { font-size: 13px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--accent); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .product-cards { grid-template-columns: repeat(2, 1fr); }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 83px; left: 0; right: 0; background: #111; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.4); gap: 16px; z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .topbar .container { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .hero-stats { gap: 24px; }
  .product-cards { grid-template-columns: 1fr 1fr; }
  .industry-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .product-cards { grid-template-columns: 1fr; }
  .industry-cards { grid-template-columns: 1fr; }
}
