/*
 Theme Name:   Twenty Twenty-Five Child
 Theme URI:    https://example.com/
 Description:  Child theme for Twenty Twenty-Five
 Author:       FP Automation
 Template:     twentytwentyfive
 Version:      1.0.0
*/

/* Home hero box */
.home .home-hero {
  position: absolute;
  top: calc(12vh + 20px); /* move DOWN */
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(85vh,85vw);
  height: min(85vh,85vw);
  pointer-events: none;
  z-index: 0;
}

.letterglitch-bg {
  width: 100%;
  height: 100%;
}

.letterglitch-bg canvas {
  background: #000;
}

/* On the privacy page, let the main content span the full viewport width */
.privacy-policy .wp-site-blocks {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-inline: 0 !important;
}

/* privacy policy page: LetterGlitch full-screen background */
.privacy-policy .orb-hero {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.privacy-policy main.wp-block-group.has-global-padding.wp-block-group-is-layout-constrained {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

/* The main privacy policy content wrapper */
.privacy-policy .wp-block-group.alignfull.has-global-padding.wp-block-group-is-layout-constrained {
  max-width: 900px; /* readable width */
  width: calc(100% - 2rem); /* small side padding on phones */
  margin-left: auto;
  margin-right: auto; /* center within full-width page */
}



/* Center the policy text on the privacy page only */
.privacy-policy .wp-block-post-title,
.privacy-policy .entry-content {
  text-align: center;
}

/* Make the text readable */
.privacy-policy .entry-content p,
.privacy-policy .entry-content h2,
.privacy-policy .entry-content h3,
.privacy-policy .entry-content li {
  color: #f9fafb;
}

/* Center the metallic logo inside the hero box */
.home .metallic-wrapper {
  width: 70%;
  max-width: 440px;
  aspect-ratio: 1/1;
  margin: auto;     /* centers inside the box */
}

/* Let MetallicPaint fill wrapper */
.home .paint-container {
  width: 100%;
  height: 100%;
  display: block;
}

/* Particles overlay, covering the same hero box */
.home .particles-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2; /* above metallic */
}

/* HOME: push blocks down so they start below the hero */
.home .wp-site-blocks > main {
  margin-top: 0 !important;               /* remove theme's default top margin */
  padding-top: calc(12vh + 85vh);  /* hero top + hero size + extra gap */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.home .wp-site-blocks > main .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


.home .hero-tagline {
  margin-top: 18px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  user-select: none;
}

.home #react-bg-root.orb-hero {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wp-site-blocks {
  position: relative;
  z-index: 10;
}

html, body {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.fp-nav-shell {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 999;
  pointer-events: none;
}

body.admin-bar .fp-nav-shell {
  top: 3.5rem; /* extra space when admin bar is visible */
}

.fp-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;

  padding: 0.75rem 1.9rem;
  border-radius: 999px;

  /* pure tinted glass */
  background: rgba(0, 0, 0, 0.55); /* semi-transparent black */
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  max-width: 920px;
  width: min(92%, 920px);
}

.fp-nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fp-nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  display: block;
  filter: brightness(0) invert(1); /* tint to white */
}

.fp-nav-title {
  color: #f9fafb;
  font-weight: 600;
}

.fp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.9rem;
}

.fp-nav-links a {
  position: relative;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: color 0.18s ease;
}

.fp-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9ffc, #7dd3fc);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.fp-nav-links a:hover {
  color: #ffffff;
}

.fp-nav-links a:hover::after {
  transform: scaleX(1);
}

/* Optional: tighten line-length on large screens for readability */
@media (min-width: 900px) {
  .privacy-policy .entry-content {
    max-width: 720px;
    margin-inline: auto;
  }
}

/* Simple responsive tweak */
@media (max-width: 720px) {
  .fp-nav {
    gap: 1.2rem;
    padding: 0.6rem 1.2rem;
  }

  .fp-nav-title {
    display: none;
  }

  .fp-nav-links {
    gap: 1.1rem;
    font-size: 0.78rem;
  }

  .fp-nav-links a {
    letter-spacing: 0.08em;
  }
}
