/* ==========================================================================
   lw.css — Lexden Wood shared site styles
   --------------------------------------------------------------------------
   One place for the components that every page used to re-declare in its own
   inline <style> block. Loaded by assets/includes/head.php on every page,
   AFTER the theme stylesheet (assets/css/style.css), so these rules win over
   the theme but a page-level <style> block still wins over these.

   Contents
     1. Design tokens
     2. Base / global polish
     3. Section rhythm & headings
     4. Cards
     5. Buttons, chips & rows
     6. Lists
     7. Page hero (breadcrumb banner overlay)
     8. Homepage action bar
     9. Media grid (Instagram embeds)
    10. Points membership panel & steps
    11. Navbar buttons
    12. Opening-times accordion
    13. WhatsApp button
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --lw-ink: #0f1a18;
  --lw-muted: rgba(15, 26, 24, 0.68);
  --lw-line: rgba(15, 26, 24, 0.10);
  --lw-paper: #f6f5f1;
  --lw-card: #ffffff;
  --lw-dark: #324241;   /* brand deep green (navbar/footer) */
  --lw-sand: #d2caaf;   /* brand sand */
  --lw-gold: #c79a2b;   /* single accent */

  --lw-radius: 12px;    /* cards, panels */
  --lw-radius-sm: 6px;  /* buttons, chips, inputs */

  --lw-shadow: 0 1px 2px rgba(15, 26, 24, 0.04), 0 6px 20px rgba(15, 26, 24, 0.06);
  --lw-shadow-hover: 0 2px 4px rgba(15, 26, 24, 0.05), 0 12px 28px rgba(15, 26, 24, 0.09);
}

/* 2. Base / global polish ------------------------------------------------ */
html { scroll-behavior: smooth; }

/* 3. Section rhythm & headings ------------------------------------------ */
.rts-section-gap2 { padding: 72px 0; }
.rts-section-gapBottom { padding-bottom: 72px; }

.lw-head { text-align: center; margin-bottom: 34px; }
.lw-head .kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--lw-muted);
  font-weight: 700;
  margin-bottom: 8px;
}
.lw-head h2 { margin: 0; }
.lw-head p {
  margin: 10px auto 0;
  max-width: 820px;
  color: var(--lw-muted);
  line-height: 1.7;
}

.lw-divider {
  width: 86%;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--lw-line);
}

.lw-muted { color: var(--lw-muted); }

/* 4. Cards ---------------------------------------------------------------- */
.lw-card {
  background: var(--lw-card);
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--lw-shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.lw-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--lw-shadow-hover);
}
.lw-card .img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.lw-card .body { padding: 20px; }
.lw-card .title { margin: 0 0 6px; font-weight: 700; }
.lw-card .desc { margin: 0 0 12px; color: var(--lw-muted); line-height: 1.6; }

/* A simple bordered list row inside a card (news/offers strips) */
.lw-card .row-item { padding: 10px 0; border-top: 1px solid var(--lw-line); }
.lw-card .row-item .date {
  font-size: 12px;
  color: var(--lw-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lw-card .row-item a {
  text-decoration: none;
  font-weight: 700;
  color: var(--lw-ink);
}
.lw-card .row-item .meta { font-size: 13px; color: var(--lw-muted); margin-top: 2px; }

/* 5. Buttons, chips & rows ------------------------------------------------ */
.lw-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.lw-center-btn { display: flex; justify-content: center; }

.banner-btn-area {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.banner-btn-area .banner-btn { margin-left: 0 !important; }

.lw-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.lw-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--lw-radius-sm);
  border: 1px solid var(--lw-line);
  background: var(--lw-card);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: inherit;
}
.lw-chip:hover { border-color: rgba(15, 26, 24, 0.25); }

/* 6. Lists ----------------------------------------------------------------- */
.lw-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.lw-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
}
.lw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lw-gold);
}

/* 7. Page hero (breadcrumb banner overlay) -------------------------------- */
.lw-hero.lexden-breadcrumb-area {
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}
.lw-hero.lexden-breadcrumb-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.36) 55%, rgba(0, 0, 0, 0.78));
  z-index: 0;
}
.lw-hero .breadcrumb-inner { position: relative; z-index: 2; }
.lw-hero-sub {
  max-width: 980px;
  margin: 10px auto 0;
  color: #fff;
  line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  font-size: 16px;
}
.lw-hero-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.lw-hero-cta .rts-btn { border-radius: var(--lw-radius-sm); padding: 12px 18px; }

/* 8. Homepage action bar ---------------------------------------------------
   Five equal columns on desktop — no spacer columns. */
.lw-actions { margin-top: -26px; position: relative; z-index: 3; }
.lw-actions .actions-wrap {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  padding: 12px;
  box-shadow: var(--lw-shadow);
}
.lw-actions .actions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.lw-actions .action {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: var(--lw-radius-sm);
  border: 1px solid var(--lw-line);
  background: #fff;
  text-decoration: none;
  color: var(--lw-ink);
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  height: 100%;
}
.lw-actions .action:hover {
  transform: translateY(-2px);
  box-shadow: var(--lw-shadow-hover);
  border-color: rgba(15, 26, 24, 0.18);
}
.lw-actions .action.primary { background: var(--lw-gold); }
.lw-actions .action.whatsapp { background: #25d366; color: #fff; }
.lw-actions .action .small {
  font-size: 12px;
  opacity: 0.78;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}
.lw-actions .action .big { font-size: 14px; font-weight: 700; line-height: 1.2; }

@media (max-width: 991px) {
  .lw-actions { margin-top: 14px; }
  .lw-actions .actions-grid { grid-template-columns: 1fr 1fr; }
  .lw-actions .action.whatsapp { grid-column: 1 / -1; }
}

/* 9. Media grid (Instagram embeds) ----------------------------------------
   Two equal columns; reel left, two feeds stacked right. */
.lw-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}
.lw-media-card {
  background: var(--lw-card);
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  overflow: hidden;
  box-shadow: var(--lw-shadow);
  height: 100%;
}
.lw-media-head { padding: 14px 14px 10px; border-bottom: 1px solid var(--lw-line); }
.lw-media-head b { display: block; font-weight: 700; }
.lw-media-head span {
  display: block;
  font-size: 13px;
  color: var(--lw-muted);
  margin-top: 2px;
}
.lw-media-body { padding: 14px; }
.lw-media-grid blockquote.instagram-media {
  width: 100% !important;
  margin: 0 !important;
}
.lw-right-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 100%;
}
.lw-ig-iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--lw-radius-sm);
}
@media (max-width: 991px) {
  .lw-media-grid { grid-template-columns: 1fr; }
  .lw-right-stack { grid-template-rows: auto; }
  .lw-ig-iframe { height: 520px; }
}

/* 10. Points membership panel & steps -------------------------------------- */
.lw-points {
  background: linear-gradient(135deg, rgba(199, 154, 43, 0.14), rgba(50, 66, 65, 0.06));
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  overflow: hidden;
}
.lw-points .left { padding: 44px 34px; }
.lw-points .eyebrow {
  color: var(--lw-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.lw-points h2 { margin: 0 0 10px; }
.lw-points p { margin: 0 0 14px; color: var(--lw-muted); line-height: 1.75; }

.lw-steps { display: grid; gap: 10px; margin-top: 14px; }
.lw-step {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--lw-radius-sm);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--lw-line);
}
.lw-step .num {
  width: 34px;
  height: 34px;
  border-radius: var(--lw-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lw-dark);
  color: #fff;
  font-weight: 700;
  flex: 0 0 34px;
}
.lw-step .txt b { display: block; }
.lw-step .txt span { color: var(--lw-muted); font-size: 14px; display: block; margin-top: 2px; }

/* 11. Navbar buttons --------------------------------------------------------
   Previously inlined in navbar.php with a -90px negative-margin hack. */
.lexden-menu-btn .nav-buttons {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lexden-menu-btn .nav-button {
  padding: 12px 24px;
  background-color: var(--lw-sand);
  color: var(--lw-dark);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 140px;
  min-height: 80px;
  text-align: center;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lexden-menu-btn .nav-button:hover {
  background-color: var(--lw-dark);
  color: var(--lw-sand);
}
@media only screen and (max-width: 991px) {
  .lexden-menu-btn .nav-buttons { display: none; }
}
@media only screen and (min-width: 992px) {
  .lexden-menu-btn .lexden-header-menu-bar { display: none; }
}

/* 12. Opening-times accordion ----------------------------------------------- */
#accordionOpeningTimes .accordion-button {
  justify-content: center;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  padding: 22px 18px;
}
#accordionOpeningTimes .accordion-button::after { margin-left: 12px; }
@media (max-width: 575px) {
  #accordionOpeningTimes .accordion-button { font-size: 20px; padding: 18px 16px; }
}

/* 13. Contact strip (icon / link columns, centred) -------------------------- */
.lw-contact-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.lw-contact-strip .single {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

/* 14. WhatsApp button --------------------------------------------------------- */
.lw-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--lw-radius-sm);
  font-weight: 700;
  text-decoration: none;
  background: #25d366;
  color: #fff !important;
  border: 1px solid var(--lw-line);
  box-shadow: var(--lw-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lw-wa-btn:hover { transform: translateY(-2px); box-shadow: var(--lw-shadow-hover); }
.lw-wa-btn i { font-size: 18px; }
