/**
 * Gripwell Pipe Fitting Industry
 * Premium Industrial Manufacturing Design System
 */

:root {
  --gpf-primary: #111827;
  --gpf-primary-light: #1f2937;
  --gpf-secondary: #334155;
  --gpf-accent: #e67e22;
  --gpf-accent-hover: #d35400;
  --gpf-accent-light: #fff7ed;
  --gpf-dark: #0f172a;
  --gpf-bg: #f8fafc;
  --gpf-card-bg: #ffffff;
  --gpf-border: #e2e8f0;
  --gpf-border-hover: #cbd5e1;
  --gpf-text-main: #1e293b;
  --gpf-text-muted: #64748b;
  --gpf-success: #16a34a;
  --gpf-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --gpf-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.09), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --gpf-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --gpf-shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --gpf-radius: 8px;
  --gpf-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--gpf-font-family);
  background-color: var(--gpf-bg);
  color: var(--gpf-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px; /* Space for mobile sticky action bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--gpf-accent);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

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

/* -------------------------------------------------------------
   Top Information Bar
------------------------------------------------------------- */
.top-info-bar {
  background-color: #0b0f19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94a3b8;
  padding: 6px 0;
}

.top-info-bar a {
  color: #cbd5e1;
}

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

.top-info-bar .badge-loc {
  background: rgba(230, 126, 34, 0.15);
  color: #f97316;
  border: 1px solid rgba(230, 126, 34, 0.3);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
}

/* -------------------------------------------------------------
   Main Header & Navigation
------------------------------------------------------------- */
.gpf-navbar {
  background-color: var(--gpf-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
  border-bottom: 3px solid var(--gpf-accent);
}

.navbar-brand .brand-logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  background: var(--gpf-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
  font-size: 18px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}

.brand-subtitle {
  font-size: 10px;
  letter-spacing: 2px;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
}

.gpf-navbar .nav-link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px !important;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.gpf-navbar .nav-link:hover,
.gpf-navbar .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.gpf-navbar .nav-link.active {
  color: var(--gpf-accent);
}

/* -------------------------------------------------------------
   Buttons
------------------------------------------------------------- */
.btn-gpf-primary {
  background-color: var(--gpf-accent);
  border-color: var(--gpf-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(230, 126, 34, 0.25);
  transition: all 0.25s ease;
}

.btn-gpf-primary:hover,
.btn-gpf-primary:focus {
  background-color: var(--gpf-accent-hover);
  border-color: var(--gpf-accent-hover);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
  transform: translateY(-1px);
}

.btn-gpf-dark {
  background-color: var(--gpf-primary);
  border-color: var(--gpf-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.btn-gpf-dark:hover {
  background-color: var(--gpf-dark);
  border-color: var(--gpf-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-gpf-outline {
  border: 2px solid var(--gpf-accent);
  color: var(--gpf-accent);
  background: transparent;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-gpf-outline:hover {
  background: var(--gpf-accent);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: #ffffff;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  border-color: #1eb956;
  color: #ffffff;
}

/* -------------------------------------------------------------
   Hero Sections
------------------------------------------------------------- */
.hero-industrial {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%),
              radial-gradient(circle at top right, #334155, #0f172a);
  color: #ffffff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gpf-accent);
}

.hero-industrial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-industrial h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero-industrial .lead {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  background: rgba(230, 126, 34, 0.2);
  color: #f97316;
  border: 1px solid rgba(230, 126, 34, 0.4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.page-hero {
  background: linear-gradient(135deg, var(--gpf-primary) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 50px 0;
  border-bottom: 3px solid var(--gpf-accent);
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* -------------------------------------------------------------
   Trust Section Cards
------------------------------------------------------------- */
.trust-card {
  background: #ffffff;
  border: 1px solid var(--gpf-border);
  border-top: 4px solid var(--gpf-accent);
  border-radius: var(--gpf-radius);
  padding: 24px 20px;
  box-shadow: var(--gpf-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gpf-shadow-lg);
  border-top-color: var(--gpf-accent-hover);
}

.trust-icon-box {
  width: 50px;
  height: 50px;
  background: var(--gpf-accent-light);
  color: var(--gpf-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 24px;
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gpf-primary);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 14px;
  color: var(--gpf-text-muted);
  margin-bottom: 0;
}

/* -------------------------------------------------------------
   Category Cards
------------------------------------------------------------- */
.category-card {
  background: #ffffff;
  border: 1px solid var(--gpf-border);
  border-radius: var(--gpf-radius);
  overflow: hidden;
  box-shadow: var(--gpf-shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gpf-shadow-lg);
  border-color: var(--gpf-border-hover);
}

.category-img-wrapper {
  background: #f1f5f9;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 15px;
}

.category-img-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.category-img-wrapper img {
  max-height: 140px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
}

.category-card:hover .category-img-wrapper img {
  transform: scale(1.06);
}

.category-body {
  padding: 18px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gpf-primary);
  margin-bottom: 8px;
}

.category-desc {
  font-size: 13.5px;
  color: var(--gpf-text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

/* -------------------------------------------------------------
   Product Cards
------------------------------------------------------------- */
.product-card {
  background: #ffffff;
  border: 1px solid var(--gpf-border);
  border-radius: var(--gpf-radius);
  overflow: hidden;
  box-shadow: var(--gpf-shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gpf-shadow-hover);
  border-color: #cbd5e1;
}

.product-img-box {
  background: #f8fafc;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.product-img-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-img-box img {
  max-height: 180px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

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

.badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gpf-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-code-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ffffff;
  border: 1px solid var(--gpf-border);
  color: var(--gpf-secondary);
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

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

.product-category-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gpf-accent);
  margin-bottom: 4px;
}

.product-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gpf-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-specs-mini {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--gpf-text-muted);
}

.product-specs-mini li {
  padding: 2px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #f1f5f9;
}

.product-specs-mini strong {
  color: #475569;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* -------------------------------------------------------------
   Product Detail Page & Gallery
------------------------------------------------------------- */
.product-gallery-main {
  background: #ffffff;
  border: 1px solid var(--gpf-border);
  border-radius: var(--gpf-radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 12px;
}

.product-gallery-main img {
  max-height: 330px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumb-item {
  width: 70px;
  height: 70px;
  border: 2px solid var(--gpf-border);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--gpf-accent);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.specs-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  width: 35%;
  font-size: 14px;
  border-color: var(--gpf-border);
}

.specs-table td {
  color: #0f172a;
  font-size: 14px;
  border-color: var(--gpf-border);
}

/* -------------------------------------------------------------
   Filter Offcanvas & Sidebar
------------------------------------------------------------- */
.filter-card {
  background: #ffffff;
  border: 1px solid var(--gpf-border);
  border-radius: var(--gpf-radius);
  padding: 20px;
}

.filter-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gpf-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gpf-accent);
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.gpf-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 60px 0 20px;
  border-top: 4px solid var(--gpf-accent);
  font-size: 14px;
}

.gpf-footer h4,
.gpf-footer h5 {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.gpf-footer h4::after,
.gpf-footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gpf-accent);
}

.gpf-footer a {
  color: #94a3b8;
}

.gpf-footer a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
}

/* -------------------------------------------------------------
   Mobile Sticky Bottom Quick Actions Bar
------------------------------------------------------------- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  border-top: 1px solid var(--gpf-border);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bottom-bar a,
.mobile-bottom-bar button {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.mobile-bottom-bar .btn-m-call {
  background: #111827;
  color: #ffffff;
}

.mobile-bottom-bar .btn-m-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.mobile-bottom-bar .btn-m-quote {
  background: var(--gpf-accent);
  color: #ffffff;
}

/* -------------------------------------------------------------
   Quote Modal
------------------------------------------------------------- */
.gpf-modal .modal-content {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gpf-modal .modal-header {
  background: var(--gpf-primary);
  color: #ffffff;
  border-bottom: 3px solid var(--gpf-accent);
  padding: 18px 24px;
}

.gpf-modal .modal-title {
  font-weight: 800;
  font-size: 18px;
}

.gpf-modal .modal-body {
  padding: 24px;
  background: #ffffff;
}

/* -------------------------------------------------------------
   Founder & Leadership Section
------------------------------------------------------------- */
.section-founder {
  background: linear-gradient(135deg, #0b1120 0%, #172554 40%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-founder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(230, 126, 34, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.founder-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 44px 38px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.founder-photo-box {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.founder-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(230, 126, 34, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(230, 126, 34, 0.25);
  background: #1e293b;
}

.founder-img-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.founder-img-wrapper:hover img {
  transform: scale(1.03);
}

.founder-badge-floating {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(230, 126, 34, 0.5);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.founder-badge-floating .founder-name {
  font-weight: 800;
  font-size: 17px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.founder-badge-floating .founder-role {
  font-size: 11.5px;
  color: var(--gpf-accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.founder-quote-symbol {
  font-size: 48px;
  line-height: 1;
  color: var(--gpf-accent);
  opacity: 0.9;
  margin-bottom: 8px;
}

.founder-quote-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #f1f5f9;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
}

.founder-pillar-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
  height: 100%;
  transition: all 0.25s ease;
}

.founder-pillar-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(230, 126, 34, 0.5);
  transform: translateY(-2px);
}

