/* The end of the page (portfolio and home): "Let's create together" over misty Tuscan hills and silk
   (images/outro-tuscany), then a quiet dark footer. Loaded after styles.css. */

/* ── The end of the page: misty Tuscan hills and silk (images/outro-tuscany), the films fade into it ── */
.portfolio-outro.pf-outro {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16vh 1.5rem 20rem;
  background: #ece5da;
  text-align: center;
}

.pf-outro-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/outro-tuscany.jpg');
  background-image: image-set(url('../images/outro-tuscany.webp') type('image/webp'), url('../images/outro-tuscany.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 62%;
}

/* white from the films above, a soft ivory wash behind the words, dark into the footer */
.pf-outro-bg::before,
.pf-outro-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.pf-outro-bg::before {
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.85) 10%, rgba(255, 255, 255, 0) 32%),
    radial-gradient(ellipse 60% 34% at 50% 26%, rgba(248, 244, 237, 0.85), rgba(248, 244, 237, 0) 100%);
}

.pf-outro-bg::after {
  background: linear-gradient(180deg, rgba(28, 26, 23, 0) 62%, rgba(28, 26, 23, 0.55) 86%, #1c1a17 100%);
}

.pf-outro .outro-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  transform: none !important;
  opacity: 1 !important;
}

.pf-outro h2 {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  white-space: nowrap;
  line-height: 1.1;
  color: #1c1b19;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.pf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #b08d4e;
  font-size: 0.9rem;
  margin: 0 auto 1.6rem;
}

.pf-divider i {
  width: clamp(60px, 12vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 141, 78, 0.7));
}

.pf-divider i:last-child {
  background: linear-gradient(90deg, rgba(176, 141, 78, 0.7), transparent);
}

.pf-outro p {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: #2a2621;
  opacity: 1 !important;
  margin: 0 0 2.6rem;
}

.pf-outro .portfolio-cta-button,
.pf-outro .portfolio-cta-button:hover {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 2.6rem;
  border: 1px solid #b08d4e;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.18);
  color: #1c1b19;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  box-shadow: none;
  transform: none;
  backdrop-filter: blur(2px);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.pf-outro .portfolio-cta-button::after {
  content: '→';
  letter-spacing: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pf-outro .portfolio-cta-button:hover {
  background: #1c1b19;
  border-color: #1c1b19;
  color: #fff;
}

.pf-outro .portfolio-cta-button:hover::after {
  transform: translateX(4px);
}

/* the footer continues the dark of the image: one quiet line, a star, small icons */
footer.pf-footer {
  background: #1c1a17;
  padding: 0.5rem 0 2.6rem;
  border-top: 0;
  opacity: 1;
  transform: none;
}

footer.pf-footer .container {
  gap: 1.2rem;
}

footer.pf-footer p {
  color: rgba(236, 226, 210, 0.72);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  line-height: 1.9;
}

footer.pf-footer .footer-tagline {
  letter-spacing: 0.06em;
  opacity: 0.55 !important;
}

footer.pf-footer .container::after {
  content: '✦';
  color: #b08d4e;
  font-size: 0.75rem;
  order: 3;
}

footer.pf-footer .social-links img {
  width: 18px;
  height: 18px;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.6);
  transition: opacity 0.3s ease;
}

footer.pf-footer .social-links a:hover img {
  opacity: 0.95;
}

@media (max-width: 768px) {
  .portfolio-outro.pf-outro {
    min-height: 86vh;
    padding: 12vh 1.4rem 14rem;
  }

  .pf-outro-bg {
    background-image: url('../images/outro-tuscany.jpg');
    background-image: image-set(url('../images/outro-tuscany-sm.webp') type('image/webp'), url('../images/outro-tuscany.jpg') type('image/jpeg'));
    background-position: 62% 62%;
  }

  .pf-outro h2 {
    letter-spacing: 0.08em;
    white-space: normal;
  }
}
