/* ================================================
   MECOM INDUSTRIES – STYLE.CSS v3.0
   Theme: Premium Industrial (Navy + Gold + White)
   Author: Abhay Ankit
   ================================================ */

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

/* ---------- HEADER ---------- */
.top-bar {
  background: #001833;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top-bar i {
  color: #facc15;
  margin-right: 6px;
}

.header-main {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8%;
  flex-wrap: wrap;
}
.logo .firm-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0f172a;
}
.logo .firm-name span {
  color: #f59e0b;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons .icon i {
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.icon.wa i { color: #25D366; }
.icon.mail i { color: #EA4335; }
.icon.call i { color: #000; }
.icon.fb i { color: #1877F2; }
.icon.ig i { color: #E4405F; }
.icon.x i { color: #000; }
.icon.li i { color: #0077B5; }
.icon.yt i { color: #FF0000; }
.social-icons .icon:hover {
  transform: translateY(-3px) scale(1.1);
  filter: brightness(1.2);
}

.admin-btn {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.admin-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
}

/* ---------- NAV ---------- */
.header-nav {
  background: #1e293b;
}
.header-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 12px 0;
}
.header-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #facc15;
  transition: width 0.25s;
}
.header-nav a:hover::after {
  width: 100%;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(120deg, #002244, #004488);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  animation: fadeUp 1s ease;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  animation: fadeUp 1.4s ease;
}
.hero-actions {
  margin-top: 20px;
}
.hero .btn {
  display: inline-block;
  margin: 6px;
  padding: 12px 26px;
  background: #facc15;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}
.hero .btn:hover {
  background: #fff;
  color: #002244;
  transform: translateY(-3px);
}
.hero .btn.call {
  background: #fff;
  color: #002244;
}

/* ---------- SECTION ---------- */
.section {
  padding: 45px 8%;
  text-align: center;
  background: #fff;
}
.section.alt {
  background: #f9fafb;
}
.section-title {
  font-size: 1.9rem;
  color: #002244;
  margin-bottom: 25px;
  font-weight: 700;
}
.center-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: #475569;
}

/* ---------- PRODUCTS ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.1);
}
.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.product-card h3 {
  color: #0f172a;
  margin: 10px 0;
  font-size: 1.1rem;
}
.product-card p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 10px;
}

/* ---------- BUTTONS ---------- */
.card-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.btn.small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  transition: all 0.3s;
}
.btn.small i {
  margin-right: 6px;
}
.btn.small {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}
.btn.call {
  background: linear-gradient(135deg, #10b981, #059669);
}
.btn.whatsapp {
  background: #25D366;
}
.btn.small:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ---------- VALUES & REVIEWS ---------- */
.value-card, .review-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  transition: 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
}
.value-card i {
  font-size: 2rem;
  color: #004488;
  margin-bottom: 10px;
}
.review-card p {
  font-style: italic;
  margin-bottom: 10px;
}
.review-card h4 {
  color: #1e3a8a;
}

/* ---------- CONTACT FORM ---------- */
.contact-form form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
}
.contact-form button {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  transition: 0.3s;
}
.contact-form button:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #001833;
  color: #e2e8f0;
  padding: 35px 8%;
  text-align: center;
}
.footer-links a {
  color: #facc15;
  text-decoration: none;
  margin: 0 8px;
  font-size: 0.9rem;
}
.footer-links a:hover {
  text-decoration: underline;
}
.site-footer .social-icons {
  margin-top: 15px;
}
.site-footer .social-icons a i {
  font-size: 1.3rem;
  margin: 0 10px;
  transition: 0.3s;
}
.site-footer .social-icons a i:hover {
  transform: scale(1.2);
  color: #facc15;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { transform: translateY(25px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .header-main { padding: 10px 20px; flex-direction: column; }
  .header-nav ul { flex-direction: column; gap: 12px; }
  .section { padding: 30px 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
