/* ==========================================================================
   ADI Prints - Components & Modal Interactions
   ========================================================================== */

/* Urgent Countdown Bar */
.countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 10px;
}

.countdown-timer {
  font-family: monospace;
  font-size: 0.95rem;
  color: #dc2626;
  font-weight: 800;
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modal-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* Success Modal Details */
.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.success-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

.lead-summary-card {
  background: #f8fafc;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.lead-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

.lead-summary-row:last-child {
  border-bottom: none;
}

.btn-open-wa-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-open-wa-direct:hover {
  background: #1eb954;
  transform: translateY(-2px);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  box-shadow: var(--shadow-xl);
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 24px 20px;
}

.mobile-drawer.open {
  left: 0;
}

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

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--text-main);
}

.drawer-links a:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

.drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.drawer-overlay.open {
  display: block;
}

/* Hub Badge Badges */
.hub-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ==========================================================================
   Printo-Style Dual Banner Promo Carousel / Slider
   ========================================================================== */
.promo-slider-section {
  padding: 24px 0 10px;
  background: #ffffff;
  position: relative;
}

.promo-slider-wrapper {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 4px;
}

.promo-viewport {
  overflow: hidden;
  border-radius: 20px;
}

.promo-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.promo-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 4px;
  box-sizing: border-box;
}

/* Individual Promo Banner Card */
.promo-banner-card {
  background: linear-gradient(135deg, #fdfbf7 0%, #f6f2e9 100%);
  border: 1px solid #ebe5dc;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  min-height: 220px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: inherit;
}

.promo-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.1);
  border-color: #d1c7b8;
}

.promo-card-left {
  flex: 1.1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promo-headline {
  color: #064e3b; /* Deep rich forest green as in Printo screenshot */
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.promo-subtext {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 270px;
}

.promo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ea580c; /* Printo orange */
  color: #ffffff;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  transition: all 0.2s ease;
}

.promo-banner-card:hover .promo-cta-btn {
  background: #c2410c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}

.promo-card-right {
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  height: 100%;
}

.promo-banner-img {
  max-height: 195px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.promo-banner-card:hover .promo-banner-img {
  transform: scale(1.05);
}

/* Direct Image Banner Card for User Uploaded Graphic */
.promo-banner-card-img {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.promo-banner-card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner-card-img:hover img {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
}

/* Slider Controls: Arrows & Dots */
.promo-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #1e293b;
  transition: all 0.2s ease;
}

.promo-nav-btn:hover {
  background: #581c87;
  color: #ffffff;
  border-color: #581c87;
  transform: translateY(-50%) scale(1.08);
}

.promo-nav-btn.prev {
  left: -14px;
}

.promo-nav-btn.next {
  right: -14px;
}

.promo-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #ea580c;
}

/* Responsive adjustment */
@media (max-width: 960px) {
  .promo-slide {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .promo-nav-btn {
    display: none;
  }
  .promo-headline {
    font-size: 1.5rem;
  }
  .promo-banner-card {
    padding: 22px;
  }
}

/* Brand Logo Utility Classes */
.brand-logo,
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-logo-img {
  height: 34px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.drawer-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .site-logo-img {
    height: 38px;
    max-width: 165px;
  }
}

@media (max-width: 480px) {
  .site-logo-img {
    height: 34px;
    max-width: 145px;
  }
}
