/* Alliance Generic - Global Styles */
:root {
  --primary: #0066CC;
  --primary-dark: #004d99;
  --secondary: #00a3a3;
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --text: #333;
  --text-light: #666;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: var(--primary); }
img { max-width: 100%; height: auto; }

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 40px; }
.logo-text h1 {
  font-size: 20px;
  color: var(--primary);
  line-height: 1.2;
}
.logo-text span {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav a {
  margin-left: 32px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--primary); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 100px 24px;
  text-align: center;
}
.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 40px;
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  margin-left: 16px;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h3 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-light);
  font-size: 18px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat-card .number {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
}
.stat-card .label {
  color: var(--text-light);
  margin-top: 8px;
}

/* Product Grid */
.product-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.search-box {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 14px 24px 14px 48px;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
.search-box input:focus {
  border-color: var(--primary);
}
.search-box::before {
  content: "🔍";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 20px;
}
.product-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.product-info {
  padding: 20px;
}
.product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.product-generic {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.product-spec {
  font-size: 13px;
  color: var(--text-light);
  background: var(--light);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* Modal - Enlarged for better product image viewing */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 1000px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  z-index: 10;
}
.modal-close:hover { color: var(--dark); }
.modal-body {
  padding: 24px;
}
.modal-img {
  text-align: center;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
}
.modal-img img {
  max-height: 520px;
  max-width: 100%;
  object-fit: contain;
}
.modal h2 {
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 8px;
}
.modal .generic {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.modal .spec-tag {
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 20px;
}
.modal-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.modal-section h4 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 10px;
}
.modal-section p {
  color: var(--text-light);
  line-height: 1.7;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark);
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feature .icon {
  font-size: 24px;
}
.about-feature h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.about-feature p {
  font-size: 14px;
  color: var(--text-light);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item .icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-item p {
  color: var(--text-light);
  font-size: 14px;
}
.contact-item a {
  color: var(--primary);
  font-weight: 500;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 16px;
  transition: transform 0.2s;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}
.footer h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer a {
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}
.footer-bottom .disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .modal { max-width: 100%; }
  .modal-img img { max-height: 350px; }
}
