/* ============================================
   PRIVACY POLICY PAGE STYLES
   File: public/assets/css/pages/privacy/index.css
   --------------------------------------------
   - Dark, cinematic layout
   - Legal / policy typography focus
   - Fully responsive (mobile-first)
   - Matches visual language of home / movies / about / contact
============================================ */

/* ---------- Page Shell ---------- */

/**
 * Root wrapper for all static legal pages.
 *
 * Applied to:
 * <section class="static-page static-page-legal">
 */
.static-page.static-page-legal {
  min-height: 100vh;
  color: #e5e7eb; /* slate-200 */
  background: radial-gradient(
      circle at top,
      rgba(59, 130, 246, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.98), #020617);
}

/* ============================================
   HERO
============================================ */

/**
 * Hero container (full-width, sits at top of page).
 */
.static-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

/**
 * Privacy-specific hero variant.
 * Use this for colour adjustments specific to privacy page if needed.
 */
.static-hero--privacy {
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.12),
    transparent 60%
  );
}

/**
 * Hero media wrapper.
 *
 * - Holds the main banner image.
 * - Use a wide aspect ratio (16:5 or similar).
 */
.static-hero-media {
  position: relative;
  max-height: 480px; /* recomm. hero height on large screens */
}

/**
 * Hero image element.
 *
 * Recommended source sizes:
 * - Desktop: 1440 x 480 px
 * - Tablet: 1024 x 360 px
 * - Mobile: 768 x 280 px
 */
.static-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/**
 * Dark gradient overlay over the hero image.
 * Creates cinematic fade into the content area.
 */
.static-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.35),
    rgba(2, 6, 23, 0.98)
  );
  display: flex;
  align-items: flex-end;
}

/**
 * Hero text container.
 * Constrained width for comfortable reading.
 */
.static-hero-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.75rem;
}

/**
 * Small label above title ("Privacy").
 */
.static-hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.9);
  color: #bfdbfe; /* blue-200 */
  margin-bottom: 0.8rem;
}

/**
 * Hero main title.
 */
.static-hero-title {
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

/**
 * Subtitle under hero title.
 */
.static-hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 40rem;
}

/* ============================================
   PAGE INNER LAYOUT
============================================ */

/**
 * Main layout wrapper for sidebar + content.
 *
 * On mobile:
 * - Single column (sidebar then content)
 *
 * On desktop:
 * - Two columns: sticky sidebar + main content
 */
.static-page-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* ============================================
   SIDEBAR
============================================ */

/**
 * Sidebar container holding:
 * - "On this page" nav
 * - "Last updated" block
 */
.static-legal-sidebar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/**
 * Inner navigation block for section anchors.
 */
.static-legal-nav {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1rem 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/**
 * Title "On this page" above nav list.
 */
.static-legal-nav-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

/**
 * Nav list (anchors to sections).
 */
.static-legal-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/**
 * Individual nav item.
 */
.static-legal-nav li + li {
  margin-top: 0.35rem;
}

/**
 * Nav anchors.
 */
.static-legal-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.25rem 0;
  border-radius: 0.35rem;
  transition: color 0.18s ease, background-color 0.18s ease,
    padding-left 0.18s ease;
}

.static-legal-nav a:hover,
.static-legal-nav a:focus-visible {
  color: #bfdbfe;
  background: rgba(30, 64, 175, 0.24);
  padding-left: 0.35rem;
}

/**
 * "Last updated" block under navigation.
 */
.static-legal-update {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: radial-gradient(
    circle at top left,
    rgba(30, 64, 175, 0.36),
    rgba(15, 23, 42, 0.98)
  );
  font-size: 0.78rem;
  line-height: 1.7;
}

.static-legal-update-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.static-legal-update-date {
  font-weight: 600;
  color: #e5e7eb;
}

/* ============================================
   MAIN LEGAL CONTENT
============================================ */

/**
 * Main content column.
 */
.static-legal-main {
  flex: 1 1 auto;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
  padding: 1.5rem 1.25rem 1.8rem;
}

/**
 * Individual legal section.
 *
 * Each section:
 * - Has a top margin for separation
 * - Contains headings, paragraphs and lists
 */
.static-legal-section + .static-legal-section {
  margin-top: 1.8rem;
}

/* Section headings */
.static-legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.static-legal-section h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.45rem;
}

/* Paragraphs */
.static-legal-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

/* Lists (unordered & ordered) */
.static-legal-section ul,
.static-legal-section ol {
  margin: 0.35rem 0 0.9rem 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.75;
}

.static-legal-section ul {
  list-style: disc;
}

.static-legal-section ol {
  list-style: decimal;
}

/* Links inside legal content */
.static-page-legal a {
  color: #93c5fd; /* blue-300 */
  text-decoration: none;
}

.static-page-legal a:hover {
  text-decoration: underline;
}

/* ============================================
   OPTIONAL LEGAL UTILITIES
   (for future expansions: summary boxes, tables, etc.)
============================================ */

/* Highlighted small text (if needed) */
.static-legal-highlight {
  color: #fbbf24;
  font-weight: 500;
}

/* Small helper/footnote text */
.static-legal-text-small {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Contact block variant (if you want extra styling) */
.static-legal-contact-block {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

/* ≥ 640px (small tablets) */
@media (min-width: 640px) {
  .static-hero-inner {
    padding: 3.6rem 1.6rem 3rem;
  }

  .static-hero-title {
    font-size: 2.1rem;
  }

  .static-hero-subtitle {
    font-size: 1rem;
  }

  .static-legal-main {
    padding: 1.7rem 1.6rem 2rem;
  }
}

/* ≥ 768px (tablets / small laptops) */
@media (min-width: 768px) {
  .static-hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .static-page-inner {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .static-hero-title {
    font-size: 2.3rem;
  }

  .static-legal-section p {
    font-size: 0.92rem;
  }
}

/* ≥ 1024px (desktops) */
@media (min-width: 1024px) {
  /* Two-column layout: sidebar + main content */
  .static-page-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  /* Make sidebar sticky as user scrolls the content */
  .static-legal-sidebar {
    position: sticky;
    top: 96px; /* sits below main header / nav */
    max-width: 260px;
  }

  .static-hero-title {
    font-size: 2.5rem;
  }

  .static-hero-subtitle {
    font-size: 1.03rem;
  }

  .static-page-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ≥ 1280px (large desktops) */
@media (min-width: 1280px) {
  .static-hero-inner {
    max-width: 1120px;
  }

  .static-page-inner {
    max-width: 1160px;
  }
}
