/*
Theme Name: Sass Solutions Theme
Theme URI: http://localhost/sass-solutions/
Author: Sass Solutions Team
Author URI: http://localhost/sass-solutions/
Description: Clean, modern industrial theme for Sass Solutions Conveyor Belts & Industrial Materials
Version: 3.5.0
Text Domain: sass-solutions
*/

:root {
  /* Color Palette - Industrial Dark & Warm Gold Accent */
  --color-primary-dark: #0f172a;       /* Deep Charcoal Header & Hero */
  --color-primary-mid: #1e293b;        /* Slate Card Headers */
  --color-accent-amber: #f59e0b;       /* Premium Gold/Amber Buttons */
  --color-accent-amber-hover: #d97706; /* Dark Amber Hover */
  --color-accent-blue: #0284c7;        /* Secondary Industrial Accent */
  --color-bg-light: #f8fafc;           /* Light Cool Grey Body Background */
  --color-card-bg: #ffffff;            /* Pure White Card Containers */
  --color-text-dark: #0f172a;          /* Dark Text for Main Headings */
  --color-text-main: #334155;          /* Main Body Paragraph Text */
  --color-text-muted: #64748b;         /* Muted Subtitles & Descriptions */
  --color-border: #e2e8f0;             /* Subtle Light Grey Borders */
  --color-whatsapp: #10b981;           /* Official WhatsApp Emerald Green */

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--color-accent-amber);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-amber-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--color-primary-mid);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp:hover {
  background-color: #059669;
  transform: translateY(-2px);
}

/* Badge Components */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-amber {
  background-color: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-gst {
  background-color: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item i {
  color: var(--color-accent-amber);
}

/* Header & Navigation */
.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-amber);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--color-text-dark);
  cursor: pointer;
}

/* Clean Hero Section with Visible Factory Image & Custom Gradient */
.hero-section {
  background: linear-gradient(to right, #040c20b3 0%, #04060cd9 38%, rgba(15, 23, 42, 0.60) 70%, rgba(15, 23, 42, 0.20) 100%), url('../../uploads/hero-bg.jpg') right center / cover no-repeat;
  color: #ffffff;
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

.hero-content {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border: none;
  box-shadow: none;
}

.hero-content .badge-amber {
  background-color: rgba(245, 158, 11, 0.25);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.15;
  font-weight: 800;
}

.hero-title span {
  color: var(--color-accent-amber);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #e8f2ff;
  margin-bottom: 1.75rem;
  max-width: 540px;
  line-height: 1.6;
  background: none;
  padding: 0;
  border: none;
  display: block;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  background: none;
  padding: 0;
}

.hero-highlight-item i {
  color: var(--color-accent-amber);
}

.hero-actions-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: nowrap;
}

.hero-actions-row .btn {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-actions-row {
    flex-direction: row;
    gap: 0.5rem;
  }

  .hero-actions-row .btn {
    flex: 1;
    padding: 0.55rem 0.5rem;
    font-size: 0.78rem;
    gap: 0.35rem;
  }
}

/* Streamlined Lead Form Card */
.lead-form-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  color: var(--color-text-dark);
}

.lead-form-header {
  text-align: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.lead-form-header h3 {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-control.is-invalid {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
  color: #991b1b !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.form-error-msg {
  color: #dc2626 !important;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 70px;
}

/* Minimal Products Grid */
.products-section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--color-accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  color: var(--color-primary-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image-wrap {
  height: 200px;
  background-color: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--color-accent-amber);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.product-summary {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;

  /* Clamp lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  padding: 0.55rem;
  font-size: 0.8rem;
}

/* Product Detail Technical Specifications Table */
.product-detail-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.product-detail-specs-table th,
.product-detail-specs-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.product-detail-specs-table th {
  width: 45%;
  color: var(--color-text-muted);
  font-weight: 600;
}

.product-detail-specs-table td {
  color: var(--color-primary-dark);
}

.product-detail-specs-table tr:last-child th,
.product-detail-specs-table tr:last-child td {
  border-bottom: none;
}

/* About Section */
.about-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-highlight-card {
  background: var(--color-bg-light);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent-amber);
}

.about-highlight-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.about-highlight-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Footer */
.main-footer {
  background-color: var(--color-primary-dark);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col p {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-accent-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* Interactive Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);

  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;

  z-index: 10;
}

.floating-quote-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-accent-amber);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  cursor: pointer;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.floating-quote-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--color-accent-amber-hover);
}

/* Responsive Media Queries */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .hero-grid, .about-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .main-header .container {
    position: relative;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--color-border);
    z-index: 999;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    text-align: center;
  }

  .top-bar-left, .top-bar-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
  }

  .top-info-address,
  .top-info-estd,
  .badge-gst {
    display: none;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .page-title-h1 {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 520px) {
  .main-header .container {
    padding: 0 1rem;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: -0.5px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .nav-actions .btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

  .page-title-h1 {
    font-size: 1.35rem !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}