/* ============================================
   Legal Pages Stylesheet
   Shared styles for obchodni-informace.vto,
   obchodni-podminky.vto, ochrana-osobnich-udaju.vto
   ============================================ */

/* ============================================
   Legal Page Container
   ============================================ */

.legal-page {
  min-height: 100vh;
  background: #fafaf8;
}

/* ============================================
   Legal Hero Section
   ============================================ */

.legal-hero {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-bottom: 4px solid #22c55e;
}

section {
    padding: 10px 0 !important;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

.legal-breadcrumb__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-breadcrumb__link:hover {
  color: #22c55e;
}

.legal-breadcrumb__link img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.legal-breadcrumb__sep {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.legal-breadcrumb__current {
  color: #22c55e;
  font-weight: 500;
}

.legal-hero__title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.legal-hero__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Legal Content Section
   ============================================ */

.legal-content {
  padding: 60px 0 80px;
}

.legal-main {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

/* ============================================
   Legal Sections
   ============================================ */

.legal-section {
  margin-bottom: 36px;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.legal-section__title img {
  filter: sepia(1) saturate(5) hue-rotate(90deg) brightness(0.9);
}

/* ============================================
   Legal Cards
   ============================================ */

.legal-card {
  background: #fafaf8;
  border-radius: 12px;
  padding: 32px;
  border-left: 4px solid #22c55e;
}

.legal-card p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 16px 0;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.legal-card__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-card__row:first-child {
  padding-top: 0;
}

.legal-card__row--vertical {
  flex-direction: column;
  gap: 12px;
}

.legal-card__label {
  font-size: 15px;
  font-weight: 600;
  color: #666;
  min-width: 200px;
}

.legal-card__value {
  font-size: 16px;
  color: #1a1a1a;
  text-align: right;
  flex: 1;
}

.legal-card__value strong {
  color: #22c55e;
  font-weight: 700;
}

.legal-card__value a {
  color: #22c55e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-card__value a:hover {
  color: #16a34a;
  text-decoration: underline;
}

.legal-card__note {
  font-size: 14px;
  color: #666;
  font-style: italic;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.legal-card--notice {
  background: #fff3cd;
  border-left-color: #ffc107;
}

.legal-card--notice p {
  color: #856404;
}

/* ============================================
   Legal Lists
   ============================================ */

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.legal-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: 700;
  font-size: 18px;
}

/* ============================================
   Legal CTA Box
   ============================================ */

.legal-cta {
  margin-top: 60px;
  padding: 48px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
}

.legal-cta__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px 0;
}

.legal-cta__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.legal-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.legal-cta__btn--primary {
  background: #fff;
  color: #22c55e;
}

.legal-cta__btn--primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.legal-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.legal-cta__btn--secondary:hover {
  background: #fff;
  color: #22c55e;
  transform: translateY(-2px);
}

.legal-cta__btn img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(75%) saturate(533%) hue-rotate(80deg) brightness(95%) contrast(91%);
}

.legal-cta__btn--secondary:hover img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(75%) saturate(533%) hue-rotate(80deg) brightness(95%) contrast(91%);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .legal-hero {
    padding: 70px 0 30px;
  }

  .legal-hero__title {
    font-size: 32px;
  }

  .legal-hero__desc {
    font-size: 16px;
  }

  .legal-content {
    padding: 40px 0 60px;
  }

  .legal-main {
    padding: 30px 24px;
    border-radius: 12px;
  }

  .legal-section__title {
    font-size: 20px;
  }

  .legal-card {
    padding: 24px;
  }

  .legal-card__row {
    flex-direction: column;
    gap: 8px;
  }

  .legal-card__label {
    min-width: auto;
  }

  .legal-card__value {
    text-align: left;
  }

  .legal-cta {
    padding: 32px 24px;
  }

  .legal-cta__title {
    font-size: 24px;
  }

  .legal-cta__buttons {
    flex-direction: column;
  }

  .legal-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .legal-hero__title {
    font-size: 28px;
  }

  .legal-main {
    padding: 32px 20px;
  }

  .legal-section__title {
    font-size: 18px;
    gap: 8px;
  }

  .legal-section__title img {
    width: 20px;
    height: 20px;
  }

  .legal-card {
    padding: 20px;
  }

  .legal-card p {
    font-size: 15px;
  }

  .legal-list li {
    font-size: 15px;
  }

  .legal-cta__title {
    font-size: 20px;
  }

  .legal-cta__desc {
    font-size: 15px;
  }
}

@media (max-width: 375px) {
  .legal-container {
    padding: 0 16px;
  }

  .legal-hero {
    padding: 30px 0;
  }

  .legal-hero__title {
    font-size: 24px;
  }

  .legal-main {
    padding: 24px 16px;
  }

  .legal-breadcrumb {
    font-size: 13px;
    gap: 8px;
  }

  .legal-breadcrumb img {
    width: 12px;
    height: 12px;
  }

  .legal-cta {
    padding: 24px 16px;
  }
}
