/* style.css - Premium B2B Industrial Theme (Round 2) */
:root {
  /* Brand Colors */
  --primary: #128484;
  /* Updated Logo Color */
  --primary-light: #e0f2f2;
  --primary-dark: #0a5252;
  --secondary: #ff6a00;
  /* Energetic Orange for CTAs */
  --secondary-hover: #e65c00;

  /* Neutral Colors */
  --bg-color: #f8fafc;
  --white: #ffffff;
  --text-main: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;

  /* Gradients */
  --hero-gradient: linear-gradient(135deg, #128484 0%, #1ab5b5 100%);

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);
  --glass-bg: rgba(255, 255, 255, 0.95);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  filter: brightness(1.2);
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Header & Navbar */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

header {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  width: 180px;
  flex-shrink: 0;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.header-actions {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section with Slider */
.hero {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  color: var(--white);
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease backwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease backwards 0.2s;
}

.hero .hero-btns {
  display: flex;
  gap: 15px;
  animation: fadeInUp 0.8s ease backwards 0.4s;
}

/* Hero Slider (Right Side) */
.hero-slider-container {
  flex: 1;
  max-width: 500px;
  height: 350px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category Navigation (Tabs) */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* Slider Containers (Trending & YouTube) */
.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.slider-col-4 .product-card,
.slider-col-4 .video-card {
  min-width: calc(25% - 22.5px);
}

/* YouTube Video Section */
.video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.video-thumbnail {
  position: relative;
  height: 180px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition);
}

.video-thumbnail i {
  position: absolute;
  font-size: 3rem;
  color: #ff0000;
  z-index: 2;
}

.video-thumbnail:hover img {
  opacity: 1;
}

.video-info {
  padding: 15px;
}

.video-info h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 5px;
}

/* Sticky Widgets */
.sticky-widget {
  position: fixed;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.sticky-widget.left {
  left: 20px;
  align-items: flex-start;
}

.sticky-widget.right {
  right: 20px;
  align-items: flex-end;
}

.widget-btn,
.widget-popup {
  pointer-events: auto;
}

.mobile-only-catalog {
  display: none;
}

.desktop-only-catalog {
  display: flex;
}

.widget-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s;
}

.widget-btn:hover {
  transform: scale(1.1);
  animation: none;
}

.widget-whatsapp {
  background-color: #25D366;
  animation: pulse-wa 2s infinite;
}

.widget-call {
  background-color: var(--primary);
  animation: pulse-call 2s infinite;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-call {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 132, 132, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(18, 132, 132, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(18, 132, 132, 0);
  }
}

.widget-popup {
  background: var(--white);
  padding: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  border: 1px solid var(--border-color);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  transform: translateY(20px);
}

.sticky-widget.left .widget-popup {
  transform-origin: bottom left;
}

.sticky-widget.right .widget-popup {
  transform-origin: bottom right;
}

.widget-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.widget-popup h5 {
  font-size: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 5px;
  color: var(--text-main);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  background: var(--bg-color);
  color: var(--text-main);
  font-weight: 600;
  transition: var(--transition);
}

.contact-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.contact-link.wa:hover {
  background: #e8fbed;
  color: #128c7e;
}

/* Inquiry Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-close:hover {
  color: red;
}

.modal-content h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Old CSS Imports (keeping layout structure from earlier) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-content {
  padding: 20px;
}

.product-category {
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.product-title a {
  color: var(--text-main);
}

.product-title a:hover {
  color: var(--primary);
}

.product-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Trust Badges */
.trust-badges {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.badges-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  background: var(--primary-light);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
}

.badge-item i {
  font-size: 2rem;
  color: var(--secondary);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Footer */
footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #9ca3af;
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #374151;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Details Additions */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
}

.main-image img {
  width: 100%;
  display: block;
}

.thumbnails {
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.thumbnail.active {
  border-color: var(--primary);
}

.product-info-wrapper h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--primary-light);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.product-meta {
  margin-bottom: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-light);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.specs-table th,
.specs-table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.specs-table th {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 40%;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-slider-container {
    width: 100%;
    margin-top: 30px;
  }

  .slider-col-4 .product-card,
  .slider-col-4 .video-card {
    min-width: calc(50% - 15px);
  }

  .product-detail-layout,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    width: 250px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    transition: var(--transition);
    z-index: 10001;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .mobile-logo-header {
    display: block !important;
    padding: 30px 20px;
    width: 100%;
    border-bottom: 5px solid var(--border-color);
    background: #fdfdfd;
    margin-bottom: 0;
  }

  .nav-links a {
    font-size: 1rem;
    font-weight: 600;
    padding: 18px 20px;
    width: 100%;
    text-align: left;
    color: var(--text-main);
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10002;
    cursor: pointer;
    pointer-events: auto;
  }

  .nav-links a.active {
    color: var(--secondary);
    background: #fffaf5;
    border-left: 5px solid var(--secondary);
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 10005;
    position: relative;
    width: 45px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu-btn i {
    font-size: 1.2rem;
    color: #333;
  }

  .mobile-only-catalog {
    display: flex !important;
    border: none;
    width: 100%;
    border-bottom: 2px solid #f1f5f9;
    color: var(--secondary) !important;
    background: #fffaf5 !important;
    font-weight: 800 !important;
  }

  .desktop-only-catalog {
    display: none !important;
  }

  .nav-links.active {
    left: 0;
  }

  /* Overlay when menu is active */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
  }

  .menu-overlay.active {
    display: block;
  }

  .slider-col-4 .product-card,
  .slider-col-4 .video-card {
    min-width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .about-img div {
    height: 300px !important;
  }

  .widget-btn {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    animation: none !important;
  }

  .sticky-widget.left {
    bottom: 15px;
    left: 12px;
  }

  .sticky-widget.right {
    bottom: 15px;
    right: 12px;
  }

  .category-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .tab-btn {
    width: 100%;
  }

  .badges-grid {
    flex-direction: column;
  }

  .badge-item {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-info-wrapper h1 {
    font-size: 1.8rem;
  }
}