/* Privacy Policy Page Styles */

/* ============================================
   Privacy Header
   ============================================ */

.privacy-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 2rem 0 3rem;
  border-bottom: 3px solid #b8860b;
}

.privacy-header .container {
  max-width: 900px;
}

.privacy-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #b8860b;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.privacy-home-link:hover {
  color: #daa520;
}

.privacy-home-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.privacy-header h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #ffffff;
}

.privacy-updated {
  color: #aaaaaa;
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   Privacy Content
   ============================================ */

.privacy-content {
  padding: 3rem 0;
  background: #f9f9f9;
}

.privacy-content .container {
  max-width: 900px;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.privacy-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.privacy-intro a {
  color: #b8860b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.privacy-intro a:hover {
  border-bottom-color: #b8860b;
}

/* ============================================
   Table of Contents
   ============================================ */

.privacy-toc {
  background: #f8f5ed;
  border: 1px solid #e8dfc7;
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.privacy-toc h2 {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

.privacy-toc ol {
  margin: 0;
  padding-left: 1.5rem;
  line-height: 1.9;
}

.privacy-toc li {
  margin-bottom: 0.4rem;
}

.privacy-toc a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-toc a:hover {
  color: #b8860b;
  text-decoration: underline;
}

/* ============================================
   Privacy Sections
   ============================================ */

.privacy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.privacy-section:last-of-type {
  border-bottom: none;
}

.privacy-section h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
  font-weight: 700;
  scroll-margin-top: 2rem;
}

.privacy-section h3 {
  font-size: 1.3rem;
  color: #2d2d2d;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.privacy-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #333333;
}

.privacy-section ul,
.privacy-section ol {
  margin: 1rem 0;
  padding-left: 1.8rem;
  line-height: 1.8;
}

.privacy-section li {
  margin-bottom: 0.6rem;
  color: #333333;
}

.privacy-section li strong {
  color: #1a1a1a;
}

.privacy-section a {
  color: #b8860b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.privacy-section a:hover {
  border-bottom-color: #b8860b;
}

/* ============================================
   Privacy Note Callouts
   ============================================ */

.privacy-note {
  background: #f0f7ff;
  border-left: 4px solid #4a90e2;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Privacy Table
   ============================================ */

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.privacy-table thead {
  background: #f5f5f5;
}

.privacy-table th {
  text-align: left;
  padding: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 2px solid #b8860b;
}

.privacy-table td {
  padding: 0.9rem;
  border-bottom: 1px solid #e0e0e0;
  color: #333333;
}

.privacy-table tbody tr:hover {
  background: #fafafa;
}

/* ============================================
   Contact Box
   ============================================ */

.privacy-contact-box {
  background: #f8f5ed;
  border: 2px solid #b8860b;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.privacy-contact-box p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.privacy-contact-box strong {
  color: #1a1a1a;
}

.privacy-contact-box a {
  color: #b8860b;
  text-decoration: none;
  font-weight: 500;
}

.privacy-contact-box a:hover {
  text-decoration: underline;
}

/* ============================================
   Footer Section
   ============================================ */

.privacy-footer-section {
  background: #f8f5ed;
  border: 1px solid #e8dfc7;
  border-radius: 6px;
  padding: 2rem;
  margin-top: 3rem;
}

.privacy-footer-section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: #1a1a1a;
}

/* ============================================
   Mobile Responsive (Tablet and Below)
   ============================================ */

@media (max-width: 768px) {
  .privacy-header {
    padding: 1.5rem 0 2rem;
  }

  .privacy-header h1 {
    font-size: 2rem;
  }

  .privacy-content .container {
    padding: 1.5rem;
  }

  .privacy-section h2 {
    font-size: 1.5rem;
  }

  .privacy-section h3 {
    font-size: 1.2rem;
  }

  .privacy-toc {
    padding: 1.2rem 1.5rem;
  }

  .privacy-toc ol {
    padding-left: 1.2rem;
  }

  .privacy-table {
    font-size: 0.85rem;
  }

  .privacy-table th,
  .privacy-table td {
    padding: 0.6rem;
  }

  /* Stack table on very small screens */
  @media (max-width: 480px) {
    .privacy-table,
    .privacy-table thead,
    .privacy-table tbody,
    .privacy-table th,
    .privacy-table td,
    .privacy-table tr {
      display: block;
    }

    .privacy-table thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }

    .privacy-table tr {
      margin-bottom: 1rem;
      border: 1px solid #e0e0e0;
      border-radius: 4px;
    }

    .privacy-table td {
      border: none;
      position: relative;
      padding-left: 40%;
    }

    .privacy-table td::before {
      position: absolute;
      left: 0.6rem;
      width: 35%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: 600;
      content: attr(data-label);
    }
  }

  .privacy-contact-box {
    padding: 1.2rem;
  }

  .privacy-footer-section {
    padding: 1.5rem;
  }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .privacy-header,
  .site-footer {
    display: none;
  }

  .privacy-content {
    background: white;
  }

  .privacy-content .container {
    box-shadow: none;
    padding: 0;
  }

  .privacy-section {
    page-break-inside: avoid;
  }

  .privacy-section a {
    color: #000;
    border-bottom: none;
  }
}
