/* SJR TECH Industries - Modern Industrial UI Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #070c18;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-card: rgba(30, 41, 59, 0.5);
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.35);
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.2);
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides (Default) */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.85);
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  
  --border-color: rgba(15, 23, 42, 0.1);
  --border-gold: rgba(217, 119, 6, 0.45);
  
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.85)), url('assets/images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
}

[data-theme="light"] footer {
  background: #f1f5f9;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #475569;
}

[data-theme="light"] .product-img-wrapper {
  background: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Header & Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 2rem;
  transition: var(--transition);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-logo-img {
  height: 92px;
  max-height: 92px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.04);
}

.footer-brand .brand-logo-img {
  height: 120px;
  max-height: 120px;
  margin-bottom: 1rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: var(--shadow-gold);
}

.brand-title span {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap !important;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  font-size: 1.85rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.cart-badge-container {
  position: relative;
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: #000000;
  font-size: 0.85rem;
  font-weight: 900;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #e67e22);
  color: #0b1329;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  line-height: 1.2;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.mobile-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
  align-items: center;
  justify-content: center;
}

.mobile-toggle:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
  background: linear-gradient(to right, rgba(7, 12, 24, 0.95), rgba(7, 12, 24, 0.75)), url('assets/images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-gold), #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hero-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.capability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.capability-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

/* Main Layout & Sections */
section {
  padding: 6rem 2rem;
}

.section-container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

/* Controls Bar (Filter & Search) */
.controls-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) transparent;
}

.category-tab {
  white-space: nowrap;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.category-tab:hover, .category-tab.active {
  background: var(--accent-gold);
  color: #070c18;
  border-color: var(--accent-gold);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

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

.product-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #0f172a;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features-mini {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.feature-pill {
  background: var(--bg-card-hover);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.product-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-specs {
  flex: 1;
  background: var(--bg-card-hover);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
}

.btn-specs:hover {
  background: var(--accent-gold);
  color: #070c18;
  border-color: var(--accent-gold);
}

.btn-inquire-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-inquire-icon:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Modal Dialogs */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card), var(--shadow-gold);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
  background: #ef4444;
}

.modal-body {
  padding: 2.5rem;
}

.modal-header-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.modal-product-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-category {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.specs-section {
  margin-top: 2rem;
}

.specs-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.6rem;
}

.product-overview-box {
  background: rgba(245, 158, 11, 0.04);
  border-left: 4px solid var(--accent-gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.product-overview-box p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

.specs-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.specs-table th {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(245, 158, 11, 0.12));
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border-gold);
}

.specs-table tr {
  transition: var(--transition);
}

.specs-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .specs-table tr:nth-child(even) {
  background: rgba(15, 23, 42, 0.02);
}

.specs-table tr:hover {
  background: rgba(37, 99, 235, 0.08);
}

.specs-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.spec-param {
  font-weight: 700;
  color: var(--text-main);
  width: 38%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-val {
  color: var(--text-muted);
  line-height: 1.5;
}

/* Applications & Industry Badges */
.app-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

[data-theme="light"] .app-badge {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.3);
}

.app-badge:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

/* Product Range Variant Chips */
.range-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.range-chip {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--accent-gold);
  transition: var(--transition);
}

.range-chip:hover {
  background: var(--accent-gold);
  color: #000000;
  transform: scale(1.03);
}

/* Key Feature Cards Grid */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.feature-card-icon {
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.bullet-list li::before {
  content: '✔';
  color: var(--accent-gold);
  font-weight: bold;
}

/* Quote Drawer */
.quote-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-gold);
  z-index: 2500;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.quote-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--bg-card-hover);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.quote-item-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.quote-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.remove-quote-item {
  color: #ef4444;
  font-size: 1.2rem;
  padding: 0.25rem;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  padding: 0.75rem 1rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

/* Footer */
footer {
  background: #040810;
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-column h4 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Floating WhatsApp Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2900;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
  animation: pulseGlow 3s infinite;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Header Contact Badges */
.nav-contact-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-contact-badge {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0 !important;
  min-width: max-content !important;
}

.nav-contact-badge:hover {
  background: #25D366;
  color: #070c18;
}

/* Contact Grid & Section */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .grid-2col-responsive {
    grid-template-columns: 1fr !important;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.contact-card > div:not(.contact-card-icon) {
  flex: 1;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.contact-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-highlight {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.05rem;
  transition: var(--transition);
}

.contact-highlight:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-actions-mini {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.btn-whatsapp-sm {
  background: #25D366;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.btn-whatsapp-sm:hover {
  background: #1eb857;
  color: #000;
}

.btn-call-sm {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.btn-call-sm:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-email-sm {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.btn-email-sm:hover {
  background: var(--primary-hover);
}

.contact-form-box {
  background: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

/* Full Text Documentation Styling inside Modal */
.full-text-content {
  background: var(--bg-card-hover);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  max-height: 250px;
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.full-text-content p {
  margin-bottom: 0.5rem;
}

/* Responsive Breakdown & Mobile Optimization */
@media (max-width: 992px) {
  .navbar {
    padding: 0.65rem 1.25rem;
  }

  .nav-container {
    gap: 0.5rem;
    justify-content: space-between;
  }

  .nav-contact-header {
    display: none !important;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn-primary,
  .nav-actions .btn-secondary,
  #adminModalBtn {
    display: none !important;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-gold);
    padding: 1.5rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    display: none;
    z-index: 1001;
  }

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

  .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .explore-page-title {
    font-size: 2.2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .modal-header-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    width: 100%;
  }

  .contact-info-wrapper,
  .contact-form-box,
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .brand-logo-img {
    height: 64px;
    max-height: 64px;
  }

  .footer-brand .brand-logo-img {
    height: 85px;
    max-height: 85px;
  }

  .hide-mobile {
    display: none !important;
  }

  .nav-contact-badge {
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem;
  }

  .icon-btn {
    width: 48px;
    height: 48px;
    font-size: 1.65rem;
  }

  .hero {
    padding: 7rem 1.25rem 3.5rem;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1.12rem;
    line-height: 1.65;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-desc {
    font-size: 1.1rem;
  }

  .explore-page-header {
    padding: 6.5rem 1.25rem 2rem;
  }

  .explore-page-title {
    font-size: 2rem;
  }

  .explore-page-desc {
    font-size: 1.1rem;
  }

  .search-input {
    font-size: 1.05rem;
    padding: 0.95rem 1.25rem 0.95rem 3rem;
  }

  .category-tab {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
  }

  .product-title {
    font-size: 1.45rem;
  }

  .product-summary {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .feature-card {
    font-size: 1.05rem;
    padding: 1.1rem;
  }

  .specs-table th, .specs-table td {
    padding: 0.95rem 1.1rem;
    font-size: 1.02rem;
  }

  .modal-container {
    padding: 1.25rem;
    margin: 1rem;
  }

  .product-detail-img {
    height: 280px !important;
  }

  .modal-product-img {
    height: 250px !important;
  }

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

  .floating-whatsapp-btn span {
    display: none;
  }

  .floating-whatsapp-btn {
    padding: 0.85rem;
    border-radius: 50%;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .nav-contact-header {
    gap: 0.4rem;
  }
}

/* Floating Image Zoom Button */
.product-detail-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.img-zoom-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid var(--border-gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
  cursor: pointer;
}

[data-theme="light"] .img-zoom-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

.img-zoom-btn:hover {
  background: var(--accent-gold);
  color: #070c18;
  border-color: var(--accent-gold);
  transform: scale(1.05);
}


