/* ===== Equipment Rental Catalog — GM Events Azerbaijan ===== */
/* Clean professional design with PDF catalog page images */

/* === Hero Section === */
#eq-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(19,39,69,0.85) 40%, rgba(26,58,92,0.82) 70%, rgba(13,33,55,0.90) 100%),
    url('https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=1600,fit=crop,q=90/8uycmqf30EzyGcL8/whatsapp-image-2025-12-21-at-17.09.07-ilWTJ5uKgaSau3YY.jpeg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
/* Fallback background if image fails to load */
#eq-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 200, 120, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#eq-hero .container {
  position: relative;
  z-index: 1;
}
#eq-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}
.eq-label {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(0, 200, 120, 0.15);
  border: 1px solid rgba(0, 200, 120, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #4ade80;
  margin-bottom: 20px;
}
#eq-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #ffffff; /* force white — prevents dark text on dark bg */
}
#eq-hero h1 .acc {
  background: linear-gradient(90deg, #4ade80, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eq-sub {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.eq-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Override amber btn-accent inside hero with green — !important to beat style.css */
#eq-hero .btn-accent,
#eq-hero .btn-accent:visited,
body #eq-hero a.btn.btn-accent {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border-color: #059669 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(5,150,105,.4) !important;
}
#eq-hero .btn-accent:hover,
#eq-hero .btn-accent:focus,
body #eq-hero a.btn.btn-accent:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
  border-color: #047857 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(5,150,105,.5) !important;
}
/* CTA section green button */
.eq-cta .btn-accent,
.eq-cta .btn-accent:visited,
body .eq-cta a.btn.btn-accent {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border-color: #059669 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
.eq-cta .btn-accent:hover,
body .eq-cta a.btn.btn-accent:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(5,150,105,.5) !important;
}

/* === Stats Bar === */
#eq-stats-bar {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid #eef1f5;
}
.eq-stat-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.eq-stat {
  text-align: center;
  position: relative;
}
.eq-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #e0e5ec;
}
.eq-stat strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f2847;
}
.eq-stat span {
  font-size: 0.8rem;
  color: #6b7b92;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* === Toolbar === */
.eq-toolbar {
  position: sticky;
  top: 62px;
  z-index: 90;
  background: #fff;
  padding: 16px 0 12px;
  border-bottom: 1px solid #eef1f5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.eq-toolbar-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.eq-search-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}
.eq-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 0.85rem;
}
.eq-search-wrap input {
  width: 100%;
  padding: 10px 40px 10px 40px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  transition: all 0.2s;
}
.eq-search-wrap input:focus {
  outline: none;
  border-color: #4ade80;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}
.eq-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #a0aec0;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 2px 6px;
  display: none;
}
.eq-clear-btn.show { display: block; }
.eq-toolbar-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.eq-sort-select {
  padding: 9px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}
.eq-view-toggle {
  display: flex;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.eq-view-btn {
  padding: 8px 12px;
  border: none;
  background: #f8fafc;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.eq-view-btn.active {
  background: #0f2847;
  color: #fff;
}

/* === Filter Row === */
.eq-filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  -webkit-overflow-scrolling: touch;
}
.eq-filter-row::-webkit-scrollbar {
  height: 4px;
}
.eq-filter-row::-webkit-scrollbar-track {
  background: transparent;
}
.eq-filter-row::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
.eq-fbtn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.eq-fbtn:hover {
  border-color: #4ade80;
  color: #166534;
  background: rgba(74, 222, 128, 0.05);
}
.eq-fbtn.active {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: #059669;
  color: #fff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
.eq-fbtn i {
  font-size: 0.75rem;
}
.eq-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(0,0,0,0.06);
  font-size: 0.65rem;
  font-weight: 700;
}
.eq-fbtn.active .eq-cat-count {
  background: rgba(255,255,255,0.25);
}

/* Results info */
.eq-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
}
.eq-total-label strong { color: #334155; }

/* === Product Grid === */
.eq-catalog {
  padding: 32px 0 60px;
  background: #f8fafc;
  min-height: 400px;
}
.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.eq-grid.eq-grid-list {
  grid-template-columns: 1fr;
}

/* === Product Cards === */
.eq-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef1f5;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: cardFadeIn 0.4s ease both;
}
.eq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.eq-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: #f1f5f9;
  overflow: hidden;
}
.eq-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.eq-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.eq-card-img img.loaded ~ .eq-card-placeholder {
  display: none;
}
/* Shimmer loading animation for PDF crop */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.eq-card-placeholder.eq-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  color: transparent;
}
.eq-card-placeholder.eq-shimmer i {
  display: none;
}
.eq-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(15, 40, 71, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.eq-qty-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(5, 150, 105, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}
.eq-card-body {
  padding: 14px 16px 16px;
}
.eq-card-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f2847;
  margin: 0 0 6px;
  line-height: 1.3;
}
.eq-card-body h3 mark {
  background: rgba(74, 222, 128, 0.25);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.eq-specs {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.eq-specs mark {
  background: rgba(74, 222, 128, 0.2);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.eq-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.eq-price-label {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.eq-price-val {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f2847;
}
.eq-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.eq-quote-btn:hover {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.3);
  transform: translateY(-1px);
}

/* === List View Overrides === */
.eq-grid-list .eq-card {
  display: flex;
  flex-direction: row;
}
.eq-grid-list .eq-card-img {
  width: 200px;
  min-width: 200px;
  aspect-ratio: auto;
  height: auto;
}
.eq-grid-list .eq-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eq-grid-list .eq-price-row {
  margin-top: auto;
}

/* === No Results === */
.eq-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  color: #94a3b8;
}
.eq-no-results i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}
.eq-no-results h3 {
  font-size: 1.2rem;
  color: #475569;
  margin: 0 0 8px;
}

/* === Modal === */
.eq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.eq-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.eq-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.eq-modal-overlay.active .eq-modal {
  transform: scale(1);
}
.eq-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #334155;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.eq-modal-close:hover {
  background: #f1f5f9;
  transform: scale(1.1);
}
.eq-modal-img-wrap {
  position: relative;
  background: #f1f5f9;
  min-height: 200px;
}
.eq-modal-img {
  width: 100%;
  display: block;
  border-radius: 18px 18px 0 0;
}
.eq-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 80px 20px;
  color: #94a3b8;
  font-size: 0.9rem;
}
.eq-modal-body {
  padding: 24px 28px 28px;
}
.eq-modal-cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.eq-modal-body h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f2847;
  margin: 0 0 10px;
}
.eq-modal-specs {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 18px;
}
.eq-modal-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.eq-modal-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
}
.eq-modal-meta-item i {
  color: #059669;
  font-size: 0.9rem;
}
.eq-modal-page-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 18px;
}
.eq-modal-page-info i {
  color: #ef4444;
}
.eq-modal-actions {
  display: flex;
  gap: 10px;
}
.eq-modal-actions .eq-quote-btn {
  flex: 1;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* === CTA Section === */
.eq-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, #0a1628 0%, #132745 50%, #1a3a5c 100%);
  color: #fff;
  text-align: center;
}
.eq-cta h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 14px;
}
.eq-cta p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .eq-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  #eq-hero { padding: 120px 0 60px; }
  .eq-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .eq-grid-list .eq-card { flex-direction: column; }
  .eq-grid-list .eq-card-img { width: 100%; min-width: 0; aspect-ratio: 4/3; }
  .eq-toolbar-top { flex-wrap: wrap; }
  .eq-search-wrap { max-width: 100%; }
  .eq-view-toggle { display: none; }
  .eq-stat-row { gap: 20px; }
  .eq-stat:not(:last-child)::after { display: none; }
  .eq-modal { max-width: 96%; max-height: 95vh; }
  .eq-modal-body { padding: 18px 20px 22px; }
}
@media (max-width: 480px) {
  #eq-hero { padding: 100px 0 50px; }
  #eq-hero h1 { font-size: 1.5rem; }
  .eq-sub { font-size: 0.9rem; }
  .eq-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .eq-card-body { padding: 10px 12px 14px; }
  .eq-card-body h3 { font-size: 0.8rem; }
  .eq-specs { font-size: 0.7rem; -webkit-line-clamp: 1; }
  .eq-price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .eq-quote-btn { width: 100%; justify-content: center; padding: 8px 10px; font-size: 0.7rem; }
  .eq-stat strong { font-size: 1.2rem; }
  .eq-fbtn { padding: 5px 10px; font-size: 0.7rem; }
  .eq-modal-meta { flex-direction: column; gap: 10px; }
}
@media (max-width: 360px) {
  .eq-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .eq-card-img { aspect-ratio: 1/1; }
}
