/* ============================================
   UltraTyres Privacy Policy Page Styles
   ============================================ */

/* ============================================
   PAGE LAYOUT
   ============================================ */

.privacy-page {
  position: relative;
  min-height: 100vh;
  background-color: #e6e6e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  overflow-x: hidden;
}

/* Ensure tire pattern background fills entire page height */
.privacy-page .tire-pattern-background {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Make tire columns fill the full height of the background */
.privacy-page .tire-column {
  height: 100% !important;
  min-height: 100vh;
}

/* ============================================
   WHITE CONTENT CONTAINER
   ============================================ */

.privacy-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  background-color: #f1f1f1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  margin: 2rem auto;
}

@media (min-width: 768px) {
  .privacy-container {
    padding: 3rem 3rem;
    margin: 3rem auto;
  }
}

@media (min-width: 1024px) {
  .privacy-container {
    padding: 4rem 5rem;
    margin: 4rem auto;
  }
}

/* ============================================
   LOGO
   ============================================ */

.privacy-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.privacy-logo .logo-image {
  height: 50px;
  width: auto;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.privacy-logo a:hover .logo-image {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .privacy-logo {
    margin-bottom: 2.5rem;
  }

  .privacy-logo .logo-image {
    height: 60px;
  }
}

@media (min-width: 1024px) {
  .privacy-logo {
    margin-bottom: 3rem;
  }

  .privacy-logo .logo-image {
    height: 70px;
  }
}

/* ============================================
   CONTENT TYPOGRAPHY
   ============================================ */

.privacy-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #000000;
  line-height: 1.7;
}

.privacy-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff7714;
  text-align: center;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.privacy-date {
  font-size: 0.875rem;
  color: #737373;
  text-align: center;
  margin: 0 0 2rem 0;
  font-style: italic;
}

@media (min-width: 768px) {
  .privacy-title {
    font-size: 1.875rem;
  }

  .privacy-date {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .privacy-title {
    font-size: 2.25rem;
  }

  .privacy-date {
    margin-bottom: 3rem;
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.privacy-section {
  margin-bottom: 2rem;
}

.privacy-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.privacy-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.4;
}

.privacy-section p {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  line-height: 1.7;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .privacy-section {
    margin-bottom: 2.5rem;
  }

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

  .privacy-section h3 {
    font-size: 1.125rem;
    margin-top: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .privacy-section {
    margin-bottom: 3rem;
  }

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

/* ============================================
   LISTS
   ============================================ */

.privacy-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.privacy-section ul li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.privacy-section ul li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .privacy-section ul {
    padding-left: 2rem;
  }
}

/* ============================================
   TABLES
   ============================================ */

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

.privacy-table thead {
  background-color: #f8f8f8;
}

.privacy-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: #000000;
  border: 1px solid #e0e0e0;
}

.privacy-table td {
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  line-height: 1.6;
}

.privacy-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

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

@media (min-width: 768px) {
  .privacy-table {
    font-size: 1rem;
  }

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

/* Mobile table responsiveness */
@media (max-width: 640px) {
  .privacy-table {
    font-size: 0.85rem;
  }

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

/* ============================================
   LINKS
   ============================================ */

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

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

.privacy-section a:focus {
  outline: 2px solid #ff7714;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================
   SEPARATORS
   ============================================ */

.privacy-separator {
  border: none;
  height: 1px;
  background-color: #e0e0e0;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .privacy-separator {
    margin: 2.5rem 0;
  }
}

@media (min-width: 1024px) {
  .privacy-separator {
    margin: 3rem 0;
  }
}

/* ============================================
   BACK TO HOME LINK
   ============================================ */

.privacy-back {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.privacy-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  color: #ff7714;
  text-decoration: none;
  background-color: transparent;
  background-image: url('images/button-background.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  padding: 0.75rem 2.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, background-image 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  min-width: 196px;
  width: 196px;
  height: 44px;
  position: relative;
}

.privacy-back-link:hover {
  background-image: url('images/button-background-hover.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: #000000;
  transform: scale(1.05);
}

.privacy-back-link:active {
  background-color: transparent;
  color: #ff7714;
  transform: scale(1.05);
}

.privacy-back-link:focus {
  outline: 2px solid #ff7714;
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .privacy-back {
    margin-top: 3.5rem;
  }

  .privacy-back-link {
    font-size: 0.875rem;
  }
}

/* ============================================
   STRONG TEXT
   ============================================ */

.privacy-section strong {
  font-weight: 600;
  color: #000000;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
