/* ============================================================
   RAPTURE Photography — Info Pages (info-page.css)
   Shared by: Digital Download License, Privacy Policy, Contact.

   Design tokens match the main site exactly:
   - Background: #EDF5FD
   - Font: Century Gothic → Futura → Nunito → sans-serif
   - Text: #1e2329 headings / #5a6472 body / #8e99a6 muted
   - Accent: #4a7fb5
   - Divider: #d6e4f0
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }


/* ── Page fade-in on load ── */

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  font-family: 'Century Gothic', 'Futura', 'Gill Sans', 'Gill Sans MT', 'Nunito', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: #1e2329;

  background: #EDF5FD;
  min-height: 100vh;
  background-attachment: fixed;

  animation: pageFadeIn 0.55s ease both;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

body.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}


/* ── Top navigation bar ── */

.info-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2.5rem;
  border-bottom: 1px solid #d6e4f0;
}

.info-nav__brand {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1e2329;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.info-nav__brand:hover { opacity: 1; }

.info-nav__back {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1e2329;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.info-nav__back:hover { opacity: 0.85; }


/* ── Page header ── */

.info-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.info-hero__title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #1e2329;
  margin-bottom: 1.75rem;
}

.info-hero__rule {
  width: 40px;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 1.75rem;
}

.info-hero__subtitle {
  font-size: clamp(0.825rem, 1.4vw, 0.9375rem);
  letter-spacing: 0.06em;
  font-style: italic;
  color: #5a6472;
  line-height: 1.75;
  max-width: 460px;
}


/* ── Section divider ── */

.info-divider {
  border: none;
  border-top: 1px solid #d6e4f0;
  max-width: 1200px;
  margin-inline: auto;
}


/* ── Content body ── */

.info-content {
  max-width: 720px;
  margin-inline: auto;
  padding: 5rem 2rem 8rem;
}

.info-content h2 {
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1e2329;
  margin-bottom: 1.25rem;
}

.info-content section + section {
  margin-top: 3.5rem;
}

.info-content p {
  font-size: 0.9375rem;
  color: #5a6472;
  margin-bottom: 1.25rem;
}

.info-content p:last-child { margin-bottom: 0; }

.info-content ul {
  margin-bottom: 1.25rem;
}

.info-content ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: #5a6472;
  margin-bottom: 0.6rem;
}

.info-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #8e99a6;
}

.info-content a {
  color: #4a7fb5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.info-content a:hover { opacity: 0.75; }

/* Note block — marks starter content for the owner to refine */
.info-content .info-note {
  font-size: 0.8125rem;
  font-style: italic;
  color: #8e99a6;
  border-top: 1px solid #d6e4f0;
  padding-top: 1.5rem;
  margin-top: 3.5rem;
}


/* ── Scroll fade-in animation ── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── Footer ── */

.info-footer {
  border-top: 1px solid #d6e4f0;
  padding-block: 2.5rem;
  text-align: center;
}

.info-footer p {
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #8e99a6;
}

.info-footer__links {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.info-footer__links a {
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #8e99a6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-footer__links a:hover { color: #4a7fb5; }

.footer-verse {
  max-width: 48rem;
  margin: 1.75rem auto 0;
  padding-inline: 1.5rem;
}

.footer-verse p {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #8e99a6;
}

.footer-verse p + p {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  font-style: normal;
}


/* ── Responsive — mobile ── */

@media (max-width: 768px) {

  .info-nav {
    padding: 1.2rem 1.5rem;
  }

  .info-hero {
    padding: 4rem 1.5rem 3rem;
  }

  .info-content {
    padding: 3.5rem 1.5rem 5rem;
  }
}


/* ── IMAGE PROTECTION ─────────────────────────────────────────
   Discourages casual copying of the photographs without changing
   how they look: blocks drag-to-desktop and long-press saving on
   mobile. Right-click and drag events are also handled by
   /image-protection.js. */
img {
  -webkit-user-drag: none;      /* Safari/Chrome: no dragging   */
  user-select: none;            /* no accidental selection      */
  -webkit-user-select: none;
  -webkit-touch-callout: none;  /* iOS: no long-press save menu */
}
