/* =========================================================================
   Our Outdoor Kitchen Layouts — shared styles
   Used by our-layouts.php and each layout page (e.g. corona-cascade.php).
   Matches the main site: Ubuntu, navy #0f2353, teal #00978b.
   All classes are prefixed "pl-" so nothing leaks into the rest of the site.
   ========================================================================= */

.pl-page {
  --pl-navy: #0f2353;
  --pl-navy-2: #273e75;
  --pl-navy-deep: #0a1838;
  --pl-teal: #00978b;
  --pl-teal-bright: #01c0b1;
  --pl-teal-soft: #e6f5f3;
  --pl-text: #555f6d;
  --pl-line: #e3e8ef;
  --pl-bg-soft: #f5f7fb;
  --pl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--pl-text);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 10px;
}

.pl-page *,
.pl-page *::before,
.pl-page *::after {
  box-sizing: border-box;
}

.pl-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* The site's global a:hover adds an underline image — reset it inside our blocks */
.pl-page a:hover {
  background-image: none;
}

/* ---------- Shared bits ---------- */
.pl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pl-teal);
  margin-bottom: 10px;
}

.pl-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--pl-teal);
  border-radius: 2px;
}

.pl-section {
  margin: 0 0 64px;
}

.pl-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.pl-section-head .pl-eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--pl-teal);
  border-radius: 2px;
}

.pl-page h2.pl-h2 {
  font-size: 34px;
  line-height: 1.2;
  color: var(--pl-navy);
  padding: 0;
  margin: 0 0 12px;
}

.pl-page h3.pl-h3 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--pl-navy);
  padding: 0;
  margin: 0 0 10px;
}

.pl-lead {
  font-size: 17px;
  color: var(--pl-text);
  margin: 0;
}

/* Buttons */
.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s var(--pl-ease), box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pl-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.pl-btn .fa {
  font-size: 16px;
}

.pl-page a.pl-btn-primary {
  color: #ffffff;
}

.pl-btn-primary {
  background-color: var(--pl-teal);
  box-shadow: 0 10px 24px -10px rgba(0, 151, 139, 0.8);
}

/* Hover matches the site's own buttons ("Learn More"): navy with bright teal text */
.pl-page a.pl-btn-primary:hover {
  color: var(--pl-teal-bright);
  background-color: var(--pl-navy);
  box-shadow: 0 16px 30px -12px rgba(15, 35, 83, 0.75);
}

.pl-page a.pl-btn-ghost {
  color: var(--pl-navy);
  background-color: #ffffff;
  border: 2px solid var(--pl-line);
}

.pl-page a.pl-btn-ghost:hover {
  color: var(--pl-navy);
  background-color: #ffffff;
  border-color: var(--pl-navy);
  box-shadow: 0 12px 24px -14px rgba(15, 35, 83, 0.5);
}

.pl-page a.pl-btn-light {
  color: var(--pl-navy);
  background-color: #ffffff;
}

.pl-page a.pl-btn-light:hover {
  color: var(--pl-navy);
  background-color: #ffffff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

.pl-page a.pl-btn-outline-light {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background-color: transparent;
}

.pl-page a.pl-btn-outline-light:hover {
  color: #ffffff;
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Layout page: hero ---------- */
.pl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.pl-hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(15, 35, 83, 0.45);
  aspect-ratio: 4 / 5;
  background: var(--pl-navy);
}

.pl-hero-media a,
.pl-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.pl-hero-media img {
  object-fit: cover;
  transition: transform 1s var(--pl-ease);
}

.pl-hero-media:hover img {
  transform: scale(1.04);
}

.pl-hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 35, 83, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.pl-hero-badge .fa {
  color: var(--pl-teal-bright);
}

.pl-page .pl-hero-title {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--pl-navy);
  letter-spacing: -1px;
  padding: 0;
  margin: 0 0 16px;
}

.pl-hero-title span {
  color: var(--pl-teal);
}

.pl-hero-text {
  font-size: 17px;
  margin: 0 0 26px;
}

/* Size panel: light and simple, split in two with a thin divider */
.pl-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--pl-bg-soft);
  border: 1px solid var(--pl-line);
}

.pl-spec {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}

.pl-spec + .pl-spec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--pl-line);
}

.pl-spec-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--pl-line);
  color: var(--pl-teal);
  font-size: 17px;
}

.pl-spec-text {
  display: block;
  min-width: 0;
}

.pl-spec-value {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: var(--pl-navy);
  margin-bottom: 5px;
}

.pl-spec-value small {
  font-size: 15px;
  font-weight: 700;
  color: var(--pl-teal);
  margin-left: 3px;
}

.pl-spec-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7a8597;
}

/* Full-size photo lightbox (layout pages only) */
.pl-mfp .mfp-img {
  border-radius: 8px;
}

.pl-mfp .mfp-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  padding-right: 60px;
}

.pl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pl-page .pl-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  margin: 0;
  border-radius: 999px;
  background: var(--pl-teal-soft);
  color: #00695f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.pl-tags .fa {
  font-size: 12px;
}

.pl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Layout breakdown: alternating split rows ---------- */
.pl-parts {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 8px;
}

.pl-part {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.pl-part-reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.pl-part-reverse .pl-part-media {
  order: 2;
}

/* Photo with a solid offset frame behind it */
.pl-part-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--pl-navy);
  box-shadow:
    18px 18px 0 0 var(--pl-teal-soft),
    0 30px 50px -30px rgba(15, 35, 83, 0.55);
}

.pl-part-reverse .pl-part-media {
  box-shadow:
    -18px 18px 0 0 var(--pl-teal-soft),
    0 30px 50px -30px rgba(15, 35, 83, 0.55);
}

.pl-part-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--pl-ease);
}

.pl-part-media:hover img {
  transform: scale(1.04);
}

.pl-part-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pl-part-num {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pl-teal);
}

.pl-part-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--pl-navy-2);
}

.pl-part-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #c3ccda;
}

.pl-page .pl-part-title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--pl-navy);
  padding: 0;
  margin: 0 0 18px;
}

.pl-part-size {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--pl-line);
}

.pl-part-size strong {
  font-size: 64px;
  line-height: 0.9;
  font-weight: 700;
  color: var(--pl-navy);
  letter-spacing: -2px;
}

.pl-part-size span {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--pl-teal);
}

.pl-part-text {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 22px;
}

.pl-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--pl-line);
}

.pl-page .pl-feature-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid var(--pl-line);
}

.pl-page .pl-feature-grid li.pl-feature-wide {
  grid-column: 1 / -1;
}

.pl-feature-grid .fa {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pl-teal-soft);
  color: var(--pl-teal);
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s var(--pl-ease);
}

.pl-feature-grid li:hover .fa {
  background: var(--pl-navy);
  color: var(--pl-teal-bright);
  transform: translateY(-2px);
}

.pl-feature-grid span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pl-text);
}

.pl-feature-grid strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--pl-navy);
  margin-bottom: 2px;
}

.pl-checks {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.pl-page .pl-checks li {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
}

.pl-checks li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pl-teal-soft);
  color: var(--pl-teal);
  font-size: 10px;
  line-height: 20px;
  text-align: center;
}

.pl-checks strong {
  color: var(--pl-navy);
  font-weight: 700;
}

/* ---------- Photo gallery ---------- */
.pl-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pl-gallery a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--pl-navy);
  box-shadow: 0 12px 28px -20px rgba(15, 35, 83, 0.6);
}

.pl-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--pl-ease), filter 0.5s ease;
}

.pl-gallery a::after {
  content: "\f00e";
  font-family: FontAwesome;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 35, 83, 0) 40%, rgba(15, 35, 83, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pl-gallery a:hover img {
  transform: scale(1.07);
  filter: saturate(1.1);
}

.pl-gallery a:hover::after {
  opacity: 1;
}

.pl-gallery-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--pl-ease);
}

.pl-gallery a:hover .pl-gallery-cap {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Make it yours ---------- */
.pl-custom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pl-custom-item {
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--pl-bg-soft);
  border: 1px solid transparent;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--pl-ease), box-shadow 0.35s ease;
}

.pl-custom-item:hover {
  background: #ffffff;
  border-color: var(--pl-line);
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -24px rgba(15, 35, 83, 0.5);
}

.pl-custom-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pl-navy);
  color: #ffffff;
  font-size: 22px;
  transition: background-color 0.3s ease, transform 0.4s var(--pl-ease);
}

.pl-custom-item:hover .pl-custom-icon {
  background: var(--pl-teal);
  transform: rotate(-6deg) scale(1.06);
}

.pl-custom-item p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- CTA band ---------- */
.pl-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 24px;
  color: #c9d3e6;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(1, 192, 177, 0.28), transparent 60%),
    linear-gradient(135deg, var(--pl-navy-deep) 0%, var(--pl-navy) 55%, var(--pl-navy-2) 100%);
  box-shadow: 0 30px 60px -30px rgba(15, 35, 83, 0.8);
}

.pl-page .pl-cta h2 {
  font-size: 32px;
  line-height: 1.2;
  color: #ffffff;
  padding: 0;
  margin: 0 0 10px;
}

.pl-cta p {
  margin: 0;
  font-size: 16px;
}

.pl-cta .pl-eyebrow {
  color: var(--pl-teal-bright);
}

.pl-cta .pl-eyebrow::before {
  background: var(--pl-teal-bright);
}

.pl-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-cta-actions .pl-btn {
  width: 100%;
}

/* ---------- Index page: layout cards (clean & simple) ---------- */
.pl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
  justify-content: center;
  gap: 32px;
  margin: 10px 0 64px;
}

.pl-page a.pl-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--pl-line);
  box-shadow: 0 2px 6px rgba(15, 35, 83, 0.04);
  color: var(--pl-text);
  text-decoration: none;
  transition: transform 0.4s var(--pl-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.pl-page a.pl-card:hover {
  transform: translateY(-4px);
  border-color: #d3dbe6;
  box-shadow: 0 24px 40px -24px rgba(15, 35, 83, 0.4);
  text-decoration: none;
}

.pl-card-img {
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
  background: var(--pl-navy);
}

.pl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 0.9s var(--pl-ease);
}

.pl-card:hover .pl-card-img img {
  transform: scale(1.05);
}

.pl-card-body {
  padding: 22px 24px 24px;
}

.pl-card-name {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--pl-navy);
  margin: 0 0 10px;
}

.pl-page .pl-card-specs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px solid var(--pl-line);
}

.pl-page .pl-card-specs li {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pl-text);
}

.pl-page .pl-card-specs li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 3px;
  border-radius: 50%;
  background: #b8c2d2;
}

.pl-card-specs strong {
  font-weight: 700;
  color: var(--pl-navy);
}

.pl-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pl-teal);
  transition: color 0.3s ease;
}

.pl-card-link .fa {
  transition: transform 0.3s var(--pl-ease);
}

.pl-card:hover .pl-card-link {
  color: var(--pl-navy);
}

.pl-card:hover .pl-card-link .fa {
  transform: translateX(5px);
}

/* ---------- Scroll reveal (class added by inline script) ---------- */
.pl-js .pl-reveal {
  opacity: 0;
  translate: 0 24px;
  /* keeps each element's own hover transitions working too */
  transition:
    opacity 0.8s var(--pl-ease) var(--reveal-delay, 0ms),
    translate 0.8s var(--pl-ease) var(--reveal-delay, 0ms),
    transform 0.4s var(--pl-ease),
    box-shadow 0.4s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.pl-js .pl-reveal.pl-in {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .pl-page *,
  .pl-page *::before,
  .pl-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .pl-js .pl-reveal {
    opacity: 1;
    translate: none;
  }
}

/* ---------- Mobile site (narrow screens) ---------- */
@media (max-width: 900px) {
  .pl-page {
    font-size: 15px;
  }

  .pl-hero,
  .pl-part,
  .pl-part-reverse,
  .pl-cta {
    grid-template-columns: 1fr;
  }

  .pl-parts {
    gap: 52px;
  }

  .pl-part {
    gap: 30px;
  }

  .pl-part-reverse .pl-part-media {
    order: 0;
  }

  .pl-part-media,
  .pl-part-reverse .pl-part-media {
    aspect-ratio: 4 / 3.6;
    border-radius: 16px;
    margin-right: 12px;
    box-shadow:
      12px 12px 0 0 var(--pl-teal-soft),
      0 24px 40px -28px rgba(15, 35, 83, 0.55);
  }

  .pl-page .pl-part-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .pl-part-size strong {
    font-size: 50px;
  }

  .pl-part-text {
    font-size: 15px;
  }

  .pl-feature-grid {
    grid-template-columns: 1fr;
  }

  .pl-hero {
    gap: 26px;
    margin-bottom: 40px;
  }

  .pl-hero-media {
    aspect-ratio: 4 / 4.4;
    border-radius: 16px;
  }

  .pl-page .pl-hero-title {
    font-size: 40px;
  }

  .pl-hero-text {
    font-size: 15px;
  }

  .pl-spec-value {
    font-size: 28px;
  }

  .pl-hero-actions .pl-btn {
    flex: 1 1 100%;
  }

  .pl-section {
    margin-bottom: 44px;
  }

  .pl-page h2.pl-h2 {
    font-size: 27px;
  }

  .pl-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pl-gallery a {
    border-radius: 12px;
  }

  .pl-gallery-cap {
    opacity: 1;
    transform: none;
    font-size: 12px;
  }

  .pl-custom {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pl-custom-item {
    padding: 18px 12px;
  }

  .pl-custom-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .pl-cta {
    padding: 32px 22px;
    border-radius: 18px;
    text-align: center;
  }

  .pl-cta .pl-eyebrow {
    justify-content: center;
  }

  .pl-page .pl-cta h2 {
    font-size: 25px;
  }

  .pl-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 44px;
  }
}

@media (max-width: 420px) {
  .pl-page .pl-hero-title {
    font-size: 34px;
  }


  .pl-spec {
    gap: 10px;
    padding: 16px 12px;
  }

  .pl-spec-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .pl-spec-value {
    font-size: 26px;
  }

  .pl-spec-label {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .pl-btn {
    padding: 0 18px;
  }
}
