/**
 * Destination Barter - Print Styles
 * Used for PDF export and print layouts
 */

@media print {
  /* Hide navigation and non-essential elements */
  header,
  footer,
  .mobile-menu,
  nav[aria-label="Breadcrumb"],
  .no-print,
  button,
  .hero-bg::before,
  .hero-bg::after {
    display: none !important;
  }

  /* Reset backgrounds and colors for print */
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Ensure text is readable */
  * {
    color: black !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Links */
  a {
    text-decoration: underline;
  }

  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666 !important;
  }

  /* Images */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Page breaks */
  h1, h2, h3 {
    page-break-after: avoid;
  }

  section {
    page-break-inside: avoid;
  }

  /* Itinerary day sections */
  .day-section {
    page-break-inside: avoid;
    margin-bottom: 2rem;
  }

  /* Remove hover effects */
  .card-hover-effect {
    transform: none !important;
    box-shadow: none !important;
  }

  /* Ensure full width */
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* PDF Export specific styles (used by html2pdf) */
.pdf-export-container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.pdf-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #0284c7;
}

.pdf-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  color: #0284c7;
  margin-bottom: 8px;
}

.pdf-header p {
  font-size: 16px;
  color: #64748b;
}

.pdf-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.pdf-logo .serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.pdf-logo .brand {
  color: #0284c7;
}

.pdf-section {
  margin-bottom: 32px;
  page-break-inside: avoid;
}

.pdf-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  color: #1e293b;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.pdf-day {
  margin-bottom: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  page-break-inside: avoid;
}

.pdf-day-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.pdf-day-number {
  width: 32px;
  height: 32px;
  background: #0284c7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
}

.pdf-day-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.pdf-activity {
  margin-left: 44px;
  margin-bottom: 12px;
}

.pdf-activity-time {
  font-weight: 600;
  color: #0284c7;
  margin-bottom: 4px;
}

.pdf-activity-description {
  color: #475569;
  font-size: 14px;
}

.pdf-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}

.pdf-footer a {
  color: #0284c7;
  text-decoration: none;
}

.pdf-packing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.pdf-packing-item {
  display: flex;
  align-items: flex-start;
}

.pdf-packing-item::before {
  content: "\2713";
  color: #22c55e;
  margin-right: 8px;
  font-weight: bold;
}

.pdf-tips {
  background: #fef3c7;
  padding: 16px;
  border-radius: 8px;
  margin-top: 24px;
}

.pdf-tips h3 {
  color: #92400e;
  margin-bottom: 12px;
  font-size: 16px;
}

.pdf-tips ul {
  list-style: disc;
  margin-left: 20px;
  color: #78350f;
}

.pdf-tips li {
  margin-bottom: 8px;
}

.pdf-contact {
  background: #e0f2fe;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-top: 24px;
}

.pdf-contact h3 {
  color: #0369a1;
  margin-bottom: 8px;
}

.pdf-contact p {
  color: #0c4a6e;
  font-size: 14px;
}
