/* ===================================================================
   Policy Pages & Cookie Consent Styles
   =================================================================== */

/* ===== Policy Pages ===== */
.policy-section {
  padding: 80px 20px;
  background: #fafafa;
  min-height: 100vh;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.policy-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.policy-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.policy-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 48px;
  padding: 24px;
  background: #f8f9fa;
  border-left: 4px solid #f7931e;
  border-radius: 4px;
}

.policy-section-block {
  margin-bottom: 48px;
}

.policy-section-block h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.policy-section-block h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.policy-section-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 16px;
  margin-top: 32px;
}

.policy-section-block h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  margin-top: 24px;
}

.policy-section-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.policy-section-block ul,
.policy-section-block ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.policy-section-block li {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
  padding-left: 8px;
}

.policy-section-block a {
  color: #f7931e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.policy-section-block a:hover {
  color: #d67b15;
  text-decoration: underline;
}

.policy-section-block strong {
  font-weight: 600;
  color: #2a2a2a;
}

.policy-section-block em {
  font-style: italic;
  color: #666;
}

/* Responsive policy pages */
@media (max-width: 768px) {
  .policy-section {
    padding: 40px 20px;
  }

  .policy-content {
    padding: 32px 24px;
  }

  .policy-content h1 {
    font-size: 2rem;
  }

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

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

  .policy-intro {
    font-size: 1rem;
    padding: 20px;
  }
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent.hidden {
  display: none;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cookie-icon {
  flex-shrink: 0;
  color: #f7931e;
}

.cookie-consent-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.cookie-consent-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.cookie-consent-data-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.data-collection-section strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.data-collection-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.data-collection-section li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.data-collection-section li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #f7931e;
  font-weight: bold;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cookie-btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cookie-btn svg {
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: #f7931e;
  color: white;
  flex: 1;
  justify-content: center;
}

.cookie-btn-accept:hover {
  background: #d67b15;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 147, 30, 0.3);
}

.cookie-btn-reject {
  background: #6c757d;
  color: white;
  flex: 1;
  justify-content: center;
}

.cookie-btn-reject:hover {
  background: #5a6268;
}

.cookie-btn-customize {
  background: #e9ecef;
  color: #333;
  padding: 12px 20px;
}

.cookie-btn-customize:hover {
  background: #dee2e6;
}

.cookie-btn-save {
  background: #28a745;
  color: white;
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.cookie-btn-save:hover {
  background: #218838;
}

.cookie-settings {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}

.cookie-settings.hidden {
  display: none;
}

.cookie-settings h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.cookie-category {
  margin-bottom: 16px;
}

.cookie-category-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 12px;
  background: white;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  transition: border-color 0.2s ease;
}

.cookie-category-label:hover {
  border-color: #f7931e;
}

.cookie-category-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #f7931e;
}

.cookie-category-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-category-info {
  flex: 1;
}

.cookie-category-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.cookie-category-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

.cookie-consent-links {
  font-size: 0.85rem;
  color: #666;
  margin-top: 16px;
  text-align: center;
}

.cookie-consent-links a {
  color: #f7931e;
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-links a:hover {
  text-decoration: underline;
}

/* Responsive cookie consent */
@media (max-width: 768px) {
  .cookie-consent-content {
    padding: 24px 20px;
  }

  .cookie-consent-header h3 {
    font-size: 1.2rem;
  }

  .cookie-consent-data-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-consent-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn-customize {
    padding: 12px 24px;
  }
}

/* ===== Navigation Icon Styles ===== */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link svg {
  flex-shrink: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-link svg {
  flex-shrink: 0;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal a svg {
  flex-shrink: 0;
}

/* ===== Logo Consistency ===== */
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo a:hover {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

/* Scrollbar styling for cookie consent */
.cookie-consent::-webkit-scrollbar {
  width: 8px;
}

.cookie-consent::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.cookie-consent::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.cookie-consent::-webkit-scrollbar-thumb:hover {
  background: #555;
}
