/* DonMo Hardware - Global Styles */
:root {
  --primary: #1a5276;
  --primary-dark: #0e3a57;
  --accent: #e67e22;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #ffffff;
  --bg-gray: #f8f9fa;
  --border: #e0e0e0;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 28px; }
nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
nav a:hover, nav a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.header-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.header-cta:hover { background: #d35400; color: #fff !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hero h1 { font-size: 38px; margin-bottom: 16px; font-weight: 700; }
.hero p { font-size: 18px; opacity: 0.9; max-width: 700px; margin: 0 auto 30px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d35400; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* Sections */
section { padding: 60px 0; }
.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 12px;
  color: var(--primary);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 45px;
  font-size: 16px;
}
.bg-gray { background: var(--bg-gray); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: 36px; color: var(--accent); margin-bottom: 6px; }
.stat-item p { color: var(--text-light); font-size: 14px; }

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.product-card-img {
  height: 200px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body { padding: 20px; }
.product-card-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.product-card-body p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }
.product-card-body a { font-weight: 600; font-size: 14px; }

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.category-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 10px; }
.category-card p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; }
.category-card ul { list-style: none; margin-bottom: 16px; }
.category-card li { padding: 4px 0; font-size: 14px; color: var(--text); }
.category-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-item {
  text-align: center;
  padding: 24px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.feature-item h3 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.feature-item p { font-size: 14px; color: var(--text-light); }

/* Product Detail */
.product-hero {
  background: var(--bg-gray);
  padding: 50px 0;
}
.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.product-hero-img {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary);
  overflow: hidden;
}
.product-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-hero-info h1 { font-size: 32px; color: var(--primary); margin-bottom: 16px; }
.product-hero-info p { font-size: 16px; color: var(--text-light); margin-bottom: 24px; }
.product-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-meta-item { font-size: 14px; }
.product-meta-item strong { color: var(--primary); display: block; }

.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

.product-content { padding: 50px 0; }
.product-content h2 {
  font-size: 24px;
  color: var(--primary);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.product-content h2:first-child { margin-top: 0; }
.product-content p { margin-bottom: 16px; font-size: 15px; }
.product-content ul, .product-content ol { margin: 12px 0 16px 24px; }
.product-content li { margin-bottom: 8px; font-size: 15px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.spec-table th, .spec-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.spec-table th { background: var(--primary); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) { background: var(--bg-gray); }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  background: var(--bg-gray);
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  font-size: 15px;
}
.faq-answer { padding: 16px 20px; font-size: 14px; color: var(--text); }

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-section h2 { font-size: 28px; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* About / Contact */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-header h1 { font-size: 34px; margin-bottom: 8px; }
.page-header p { opacity: 0.85; font-size: 16px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}
.about-img {
  background: var(--bg-gray);
  border-radius: 8px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: var(--primary);
  overflow: hidden;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info h3 { color: var(--primary); margin-bottom: 20px; font-size: 22px; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; color: var(--primary); margin-bottom: 4px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
  font-family: inherit;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 16px; }
.footer-col p, .footer-col li { font-size: 14px; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .product-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav ul { gap: 16px; }
  .hero h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .product-grid, .features-grid, .category-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 15px; }
}
