/*
Theme Name: Photos by Lala
Theme URI: https://photosbylala.com/
Author: Photos by Lala
Description: A lightweight, accessible photography portfolio and booking theme designed for the Photos by Lala studio.
Version: 1.2.2
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: photos-by-lala
*/

:root {
  --pbl-ink: #121212;
  --pbl-muted: #696862;
  --pbl-cream: #f7f4ee;
  --pbl-paper: #fff;
  --pbl-line: #dedbd4;
  --pbl-soft: #efede8;
  --pbl-focus: #725c48;
  --pbl-shadow: 0 18px 55px rgba(28, 24, 20, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pbl-cream);
  color: var(--pbl-ink);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  margin: 0;
  background: #fff;
  border: 2px solid var(--pbl-ink);
}
:focus-visible { outline: 3px solid var(--pbl-focus); outline-offset: 3px; }

.pbl-eyebrow {
  margin: 0 0 13px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.pbl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--pbl-ink);
  background: var(--pbl-ink);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.pbl-button:hover { background: #333; }
.pbl-text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pbl-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(26px, 4.8vw, 78px);
  background: #faf9f6;
  border-bottom: 1px solid var(--pbl-line);
  position: relative;
  z-index: 20;
}
.pbl-wordmark {
  display: grid;
  width: max-content;
  color: var(--pbl-ink);
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.pbl-wordmark strong {
  font: 500 43px/34px "Cormorant Garamond", Georgia, serif;
  letter-spacing: .04em;
}
.pbl-wordmark span {
  padding-left: .52em;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .52em;
}
.pbl-wordmark small {
  margin-top: 8px;
  color: var(--pbl-muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .25em;
}
.pbl-custom-logo-link img { max-height: 64px; width: auto; }
.pbl-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 48px); }
.pbl-nav a { font-size: 12px; text-decoration: none; }
.pbl-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.pbl-nav-book { justify-self: end; width: 180px; }

.pbl-hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 38% 62%;
  background: #f5f1ea;
}
.pbl-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px clamp(34px, 5vw, 80px);
}
.pbl-hero h1,
.pbl-section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  text-transform: uppercase;
}
.pbl-hero h1 {
  margin: 0 0 25px;
  font-size: clamp(58px, 6vw, 93px);
  line-height: .82;
  letter-spacing: -.045em;
}
.pbl-hero-copy > p:not(.pbl-eyebrow) {
  max-width: 390px;
  margin: 0 0 24px;
  font: 400 20px/1.25 "Cormorant Garamond", Georgia, serif;
}
.pbl-hero-image {
  min-height: 610px;
  background: url("https://photosbylala.com/wp-content/uploads/2026/10/photos-by-lala-photographer.webp") center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.pbl-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 244, 238, .12), transparent 23%);
}
.pbl-hero-image p {
  position: absolute;
  right: 6%;
  top: 29%;
  z-index: 1;
  margin: 0;
  font: 400 clamp(50px, 5vw, 82px)/.75 "Mrs Saint Delafield", cursive;
  text-align: center;
  transform: rotate(-7deg);
}

.pbl-sessions { padding: 88px clamp(24px, 6vw, 100px); background: #fff; }
.pbl-section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.pbl-section-title { margin: 0 0 10px; font-size: clamp(43px, 5vw, 66px); line-height: .95; letter-spacing: -.03em; }
.pbl-section-heading > p:last-child { margin: 0; color: var(--pbl-muted); line-height: 1.7; }
.pbl-session-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pbl-session-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  border: 1px solid var(--pbl-line);
  background: #fff;
  color: var(--pbl-ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pbl-session-card:hover { transform: translateY(-3px); box-shadow: var(--pbl-shadow); }
.pbl-session-card img { width: 132px; height: 132px; object-fit: cover; }
.pbl-session-card span { display: grid; gap: 7px; padding: 20px; }
.pbl-session-card strong { font: 500 26px/1 "Cormorant Garamond", Georgia, serif; }
.pbl-session-card small { color: var(--pbl-muted); font-size: 11px; line-height: 1.5; }

.pbl-booking { padding: 92px clamp(22px, 7vw, 116px); background: #eee9e0; }
.pbl-booking-shell {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  border: 1px solid var(--pbl-line);
  background: var(--pbl-paper);
  box-shadow: var(--pbl-shadow);
}
.pbl-booking-intro { padding: clamp(34px, 5vw, 68px); background: var(--pbl-ink); color: #fff; }
.pbl-booking-intro .pbl-section-title { font-size: clamp(42px, 5vw, 65px); }
.pbl-booking-intro > p:not(.pbl-eyebrow) { color: #d6d2ca; font: 400 20px/1.55 "Cormorant Garamond", Georgia, serif; }
.pbl-booking-promise { list-style: none; display: grid; gap: 17px; padding: 25px 0 0; margin: 25px 0 0; border-top: 1px solid #424242; }
.pbl-booking-promise li { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; font-size: 11px; line-height: 1.5; }
.pbl-booking-promise b { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #777; border-radius: 50%; font-size: 10px; }
.pbl-booking-form { min-width: 0; padding: clamp(30px, 5vw, 66px); }
.pbl-booking-form > h3 { margin: 0 0 8px; font: 500 34px/1.1 "Cormorant Garamond", Georgia, serif; }
.pbl-booking-form > p { margin: 0 0 28px; color: var(--pbl-muted); font-size: 13px; line-height: 1.6; }
.pbl-booking-fallback { padding: 24px; border: 1px solid var(--pbl-line); background: #fbfaf7; }
.pbl-booking-fallback h4 { margin: 0 0 8px; font: 500 26px/1.1 "Cormorant Garamond", Georgia, serif; }
.pbl-booking-fallback p { margin: 0 0 18px; color: var(--pbl-muted); line-height: 1.6; }
.pbl-booking-fallback code { overflow-wrap: anywhere; }

/* Keep the Fluent Forms booking form visually native to the theme. */
.pbl-booking-form .frm-fluent-form { margin: 0 !important; }
.pbl-booking-form .ff-el-group { margin-bottom: 18px !important; }
.pbl-booking-form .ff-el-input--label label { margin-bottom: 7px !important; color: var(--pbl-ink) !important; font-size: 12px !important; font-weight: 700 !important; }
.pbl-booking-form .ff-el-form-control,
.pbl-booking-form .choices__inner,
.pbl-booking-form input[type="date"],
.pbl-booking-form input[type="time"] {
  min-height: 50px !important;
  border: 1px solid var(--pbl-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--pbl-ink) !important;
  box-shadow: none !important;
}
.pbl-booking-form textarea.ff-el-form-control { min-height: 118px !important; padding: 13px !important; }
.pbl-booking-form .ff-btn-submit {
  min-height: 52px !important;
  padding: 14px 24px !important;
  border-radius: 0 !important;
  background: var(--pbl-ink) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
.pbl-booking-form .ff-btn-submit:hover { background: #333 !important; }
.pbl-booking-form .ff-message-success { border-radius: 0 !important; }

.pbl-portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding: 100px clamp(28px, 9vw, 145px);
  background: #171717;
  color: #fff;
}
.pbl-portfolio .pbl-section-title { margin: 0; }
.pbl-portfolio > p { max-width: 540px; margin: 0; color: #cbc8c1; font: 400 20px/1.65 "Cormorant Garamond", Georgia, serif; }
.pbl-about { padding: 100px clamp(28px, 9vw, 145px); background: #eee9e0; }
.pbl-about .pbl-section-title { margin: 0 0 20px; }
.pbl-about > p:not(.pbl-eyebrow) { max-width: 650px; color: var(--pbl-muted); font: 400 20px/1.65 "Cormorant Garamond", Georgia, serif; }

.pbl-page { max-width: 1000px; min-height: 60vh; margin: 0 auto; padding: 70px 24px; }
.pbl-page h1 { font: 500 clamp(44px, 6vw, 72px)/1 "Cormorant Garamond", Georgia, serif; }
.pbl-page-content { font-size: 17px; line-height: 1.75; }

.pbl-footer {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 35px;
  align-items: start;
  padding: 38px clamp(26px, 4.8vw, 78px) 25px;
  background: #faf9f6;
  border-top: 1px solid var(--pbl-line);
}
.pbl-footer-nav { display: flex; justify-content: center; gap: 38px; padding-top: 15px; }
.pbl-footer-nav a { font-size: 11px; text-decoration: none; }
.pbl-footer-note { display: grid; gap: 7px; justify-self: end; padding-top: 10px; text-align: right; }
.pbl-footer-note strong { font: 500 21px "Cormorant Garamond", Georgia, serif; }
.pbl-footer-note span { color: var(--pbl-muted); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.pbl-footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; margin-top: 22px; border-top: 1px solid var(--pbl-line); color: var(--pbl-muted); font-size: 9px; }
.pbl-footer-bottom a { text-decoration: none; }

/* The booking card is already introduced by the Photos by Lala page heading.
   Keep the scheduling widget focused on the session details, not its WordPress
   administrator username. */
.fluent_booking_app .fcal_author { display: none !important; }
.pbl-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pbl-collection-card { border: 1px solid var(--pbl-line); background: #fffdf9; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.pbl-collection-card h3 { font: 500 36px/1.2 Georgia, serif; margin: 0 0 10px; }
.pbl-collection-card .pbl-price { font: 400 42px/1.2 Georgia, serif; margin: 8px 0; }
.pbl-collection-card p { line-height: 1.7; }
.pbl-collection-card .pbl-button { margin-top: auto; }
.pbl-policy { max-width: 900px; margin: 28px auto 0; line-height: 1.8; color: var(--pbl-muted); font-size: 14px; }
@media (max-width: 760px) { .pbl-collection-grid { grid-template-columns: 1fr; } }

@media (max-width: 1180px) {
  .pbl-header { grid-template-columns: 230px 1fr 145px; }
  .pbl-nav { gap: 22px; }
  .pbl-nav-book { width: 145px; }
  .pbl-hero { grid-template-columns: 42% 58%; }
  .pbl-session-grid { grid-template-columns: 1fr 1fr; }
  .pbl-footer-note { display: none; }
  .pbl-footer { grid-template-columns: 260px 1fr; }
}

@media (max-width: 820px) {
  .pbl-header { min-height: 76px; grid-template-columns: 1fr auto; padding: 10px 20px; }
  .pbl-wordmark strong { font-size: 36px; line-height: 29px; }
  .pbl-wordmark span { font-size: 9px; }
  .pbl-wordmark small { font-size: 6px; }
  .pbl-nav { display: none; }
  .pbl-nav-book { width: auto; min-height: 42px; padding: 0 17px; font-size: 10px; }
  .pbl-hero { display: flex; flex-direction: column; min-height: 0; }
  .pbl-hero-copy { padding: 64px 24px 48px; }
  .pbl-hero h1 { font-size: 66px; }
  .pbl-hero-image { min-height: 460px; background-position: 58% center; }
  .pbl-hero-image p { top: auto; bottom: 40px; color: #fff; font-size: 58px; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
  .pbl-sessions { padding: 70px 20px; }
  .pbl-session-grid { grid-template-columns: 1fr; }
  .pbl-booking { padding: 65px 19px; }
  .pbl-booking-shell { grid-template-columns: 1fr; }
  .pbl-booking-intro, .pbl-booking-form { padding: 38px 27px; }
  .pbl-portfolio { grid-template-columns: 1fr; gap: 28px; padding: 72px 24px; }
  .pbl-about { padding: 72px 24px; }
  .pbl-footer { grid-template-columns: 1fr; padding: 38px 24px 24px; }
  .pbl-footer .pbl-wordmark { margin: auto; }
  .pbl-footer-nav { flex-wrap: wrap; gap: 20px; }
  .pbl-footer-bottom { margin-top: 10px; }
}

@media (max-width: 520px) {
  .pbl-booking-form { padding: 28px 12px; min-width: 0; }
  .pbl-booking .fcal_side { min-width: 0 !important; width: 100%; max-width: 100%; }
  .pbl-booking .fcal_icon_item > span { min-width: 0; overflow-wrap: anywhere; }
  .pbl-portfolio > div { min-width: 0; }
  .pbl-booking .fcal_calendar_inner .fcal_date_wrapper .calendar .day-name { font-size: 11px; }
  .pbl-booking .fcal_date_wrapper,
  .pbl-booking .fcal_day_picker_wrap,
  .pbl-booking .fcal_calendar_slot_wrap,
  .pbl-booking .fcal_slot_picker,
  .pbl-booking .calendar-container,
  .pbl-booking .fcal_date_event_details { transition: none !important; }
  .pbl-booking input, .pbl-booking textarea, .pbl-booking select { font-size: 16px; }
  .pbl-hero-copy { padding-top: 54px; }
  .pbl-hero h1 { font-size: 58px; }
  .pbl-hero-copy > p:not(.pbl-eyebrow) { font-size: 18px; }
  .pbl-hero-image { min-height: 360px; }
  .pbl-session-card { grid-template-columns: 104px 1fr; }
  .pbl-session-card img { width: 104px; height: 112px; }
  .pbl-session-card strong { font-size: 23px; }
  .pbl-portfolio .pbl-section-title, .pbl-about .pbl-section-title { font-size: clamp(38px, 9.2vw, 48px); }
  .pbl-portfolio > p, .pbl-about > p:not(.pbl-eyebrow) { font-size: 18px; }
  .pbl-footer-nav { display: none; }
  .pbl-footer-bottom { display: grid; justify-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
