/* ==========================================================
   peacock.css - Peacock Residency overrides (site-wide)
   Loaded last on every page so it wins over base/webflow.css,
   the exported template styles (never edit that file by hand).

   Contents
     1. Webflow badge removal
     2. "Made with ASI" badge
     3. Page background photos
     4. Home hero text
     5. Home "At a glance" spacing
     6. Responsive safety net
   Page parts live in components/, one-page styles in pages/.
   ========================================================== */


/* ----------------------------------------------------------
   1. Webflow badge
   webflow.js injects a "Made in Webflow" badge at runtime. Hide it.
   ---------------------------------------------------------- */
.w-webflow-badge {
  display: none !important;
}


/* ----------------------------------------------------------
   2. "Made with ASI" badge (bottom-right, on every page)
   Markup is created by scripts/core/peacock.js.
   ---------------------------------------------------------- */
.asi-badge {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2147483647; /* above every template layer */
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font: 600 12px/1 Arial, sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.asi-badge.in-footer { position: static; z-index: auto; box-shadow: none; }
.copyright-box .footer-links-box { align-items: center; }
.asi-badge img {
  display: block;
  height: 20px;
  width: auto;
}


/* ----------------------------------------------------------
   3. Page background photos
   The home hero picture is in components/home-hero.css.
   ---------------------------------------------------------- */
.bg.page-bg {
  background-image: url("../images/peacock/pool-wide-2400.jpg");
}

.bg.service-bg {
  background-image: url("../images/hero/golden-sunrise.jpg");
}


/* ----------------------------------------------------------
   4. Home hero text: dark gradient on the left so the
      headline reads over the photo (home-hero.css tints it warm)
   ---------------------------------------------------------- */
.bg.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 75%);
}

.hero-title,
.hero-text {
  color: #fff;
}


/* ----------------------------------------------------------
   5. Home "At a glance": breathing room under the cards before
      the "Made for Your Comfort" picture starts
   ---------------------------------------------------------- */
.section.funfact-section {
  padding-bottom: 7rem;
}

@media (max-width: 767px) {
  .section.funfact-section {
    padding-bottom: 4rem;
  }
}


/* ----------------------------------------------------------
   6. Responsive safety net
   Nothing may widen the page sideways on phones (zoom and slide
   animations start slightly off screen).
   ---------------------------------------------------------- */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

.page-wrapper {
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
}

/* Section labels ("Our Spaces", ...): the peacock icon instead of the template glyph */
.subtitle-icon { background-color: transparent; padding: 0; width: 34px; height: 34px; }
.subtitle-icon-img { width: 34px; height: 34px; object-fit: contain; }

/* Scrolling text strips: the peacock icon between the phrases */
.marquee-icon { max-width: none; width: 46px; height: 46px; object-fit: contain; margin-bottom: 0; }

/* Footer "Follow us": only the social icons, in one row of round buttons (the names stay for screen readers) */
.footer-links-box:has(> .social-box-two) { display: flex; flex-flow: row nowrap; align-items: center; gap: .7rem; }
.footer-box-two .social-box-two { flex: none; width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; opacity: 1; transition: background-color .3s, border-color .3s, transform .3s; }
.footer-box-two .social-box-two:hover { background-color: rgba(255, 255, 255, .14); border-color: #fff; transform: translateY(-3px); }
.footer-box-two .social-two-icon { width: 18px; height: 18px; object-fit: contain; }
.footer-box-two .social-two-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
