/* ==========================================================================
   DM HEAT INDUSTRIES - Modern Industrial Design System & Styling
   Author: Antigravity AI
   Target: Enterprise Industrial Lead Generation & SEO Optimization
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #0b132b;
  --primary-light: #1c2541;
  --primary-hover: #132247;
  --accent: #ff5722;
  --accent-hover: #e64a19;
  --accent-gold: #ffb300;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-accent: 0 10px 20px rgba(255, 87, 34, 0.25);

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   3. Top Announcement Header & Navigation
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--accent);
}

.top-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
}

.top-info-item i {
  color: var(--accent-gold);
}

.top-info-item a {
  color: #ffffff;
}

.top-info-item a:hover {
  color: var(--accent-gold);
}

.top-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.iso-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.iso-badge i {
  color: var(--accent-gold);
}

/* Main Navbar */
.navbar {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 52px;
  width: auto;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.brand-title span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 12px 0;
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 20px;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--accent);
  padding-left: 24px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  font-size: 0.95rem;
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(255, 87, 34, 0.35);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   4. Hero Section & Banners
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 90px 0 110px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../images/slide1.jpg') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent-gold);
  background: linear-gradient(90deg, #ffc107, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 620px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Quick Lead Form Box */
.lead-card {
  background: #ffffff;
  color: var(--text-dark);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lead-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.lead-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* --------------------------------------------------------------------------
   5. Section Header & Grid Layouts
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   6. Product Cards & Portfolio Showcase
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.product-img {
  position: relative;
  height: 220px;
  background-color: #f1f5f9;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.product-specs {
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.product-specs ul li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dashed var(--border-color);
}

.product-specs ul li:last-child {
  border-bottom: none;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   7. Features & Advantage Section
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(255, 87, 34, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-box h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* --------------------------------------------------------------------------
   8. Industries Served Section
   -------------------------------------------------------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.industry-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.industry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 15px auto;
  object-fit: contain;
}

.industry-card h5 {
  font-size: 1rem;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   9. Technical Data Table & Product Detail Specs
   -------------------------------------------------------------------------- */
.specs-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: 25px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.specs-table th {
  background-color: var(--primary);
  color: #ffffff;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.specs-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.specs-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.specs-table tr:hover {
  background-color: rgba(255, 87, 34, 0.05);
}

/* --------------------------------------------------------------------------
   10. Call to Action Lead Banners
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.cta-banner p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 30px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   11. Floating Quick Contact Widgets (Lead Conversion Boosters)
   -------------------------------------------------------------------------- */
.floating-widgets {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.float-whatsapp {
  background-color: #25D366;
}

.float-whatsapp:hover {
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.float-call {
  background-color: var(--accent);
}

.float-call:hover {
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.4);
}

/* Quick Quote Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   12. Footer Styling
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 70px 0 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-xl);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
