/* ==========================================================================
   Bagnodesign Theme — Main Stylesheet
   ========================================================================== */

:lang(en) .display-fr {
  display: none;
}

:lang(fr) .display-en {
  display: none;
}

/* ── Utility Classes ────────────────────────────────────────────────────────── */
.text-justify {
  text-align: justify;
}

/* ── CSS Custom Properties ──────────────────────────────────────────────────── */
:root {
  --color-primary: #1a1a2e;
  --color-secondary: #c9a96e;
  --color-accent: #e8d5b7;
  --color-text: #333333;
  --color-text-light: #6c757d;
  --color-bg: #ffffff;
  /* --color-bg-alt:        #f8f8f6; */
  --color-bg-alt: #D9D9D924;
  --color-border: #e8e4dc;
  --color-grey: #D9D9D924;
  --color-light-grey: #B0B0B0;


  --font-heading: 'Gothic A1', sans-serif;
  --font-body: 'Gothic A1', sans-serif;

  --navbar-height: 80px;
  --banner-min-height: 300px;
  --transition: 0.3s ease;
  --border-radius: 4px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

}

/* ── Container max-width override ───────────────────────────────────────────── */
/* Bootstrap's .container is capped at 1320px on xxl; we want 1300px everywhere. */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1300px !important;
}

/* ── Reset / Base ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1;
  letter-spacing: 0;
  overflow-x: hidden;
}

/* Offset for fixed navbar */
body.has-navbar-fixed {
  padding-top: var(--navbar-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 2rem;
}

p {
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 0 0;
  transition: padding var(--transition);
}

#main-navbar {
  height: var(--navbar-height);
  background-color: transparent;
  border-radius: 0;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    border-radius var(--transition),
    border-color var(--transition);
}

/* Transparent state (default, when at top of page) */
.site-header.navbar-transparent #main-navbar {
  background-color: transparent;
}

.site-header.navbar-transparent .navbar-brand,
.site-header.navbar-transparent .nav-link,
.site-header.navbar-transparent .header-phone {
  color: #ffffff;
}

/* Glass state (after scroll) — macOS vibrancy pill */
.site-header.navbar-scrolled {
  padding: 0.6rem 1.25rem;
}

.site-header.navbar-scrolled #main-navbar {
  background: rgba(18, 18, 22, 0.68);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  /* border: 1px solid rgba(255, 255, 255, 0.10); */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header.navbar-scrolled .navbar-brand,
.site-header.navbar-scrolled .nav-link,
.site-header.navbar-scrolled .header-phone {
  color: #ffffff;
}

/* Front page: solid white navbar at top (overrides transparent state) */
body.home .site-header.navbar-transparent #main-navbar {
  background-color: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

body.home .site-header.navbar-transparent .navbar-brand,
body.home .site-header.navbar-transparent .nav-link,
body.home .site-header.navbar-transparent .header-phone {
  color: var(--color-primary);
}

body.home .site-header.navbar-transparent .burger-bar {
  background-color: var(--color-primary);
}

body.home .site-header.navbar-transparent .site-logo--white {
  display: none;
}

body.home .site-header.navbar-transparent .site-logo--dark {
  display: block;
}

/* Hover effect: dark tint for white navbar on homepage */
body.home .site-header.navbar-transparent .nav-link::before {
  background: linear-gradient(120deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.04) 40%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.04) 60%,
      rgba(0, 0, 0, 0) 100%);
}

body.home .site-header.navbar-transparent .nav-link::after {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06),
    0 0 12px rgba(0, 0, 0, 0.02);
}

/* Mobile: glass pill (matches desktop scrolled style) */
@media (max-width: 991.98px) {
  #site-header {
    padding: 0.6rem 0.75rem !important;
  }

  #main-navbar {
    background: rgba(18, 18, 22, 0.80) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 1rem !important;
    height: auto !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28) !important;
  }

  .navbar-brand,
  .nav-link,
  .header-phone {
    color: #ffffff !important;
  }

  #primaryMenu {
    background-color: transparent;
    padding: 0.75rem 0 1rem;
    animation: menuSlideDown 0.3s ease forwards;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav links */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Glass / mirror reflection overlay */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 40%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.08) 60%,
      rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 12px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.6s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scale(1);
}

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  min-width: 200px;
  background-color: #ffffff;
}

.dropdown-item {
  color: var(--color-primary);
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-item:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

/* Polylang flag images inside nav links */
.nav-link img,
.dropdown-item img {
  height: 14px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.35rem;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Logo */
.navbar-brand img {
  max-height: 50px;
  width: auto;
}

.site-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: inherit;
}

/* Dual-logo swap logic
   ─────────────────────────────────────────────────────────────────
   White logo visible on transparent header (top of page).
   Dark logo visible when header is scrolled or on mobile.
   Both logos are rendered in the DOM; CSS controls visibility so
   the swap is instant with no layout shift.
   ───────────────────────────────────────────────────────────────── */
.site-logo {
  display: block;
  max-height: 50px;
  width: auto;
  transition: max-height var(--transition), opacity 0.2s ease;
}

/* Transparent state → full-size white logo */
.site-header.navbar-transparent .site-logo--white {
  display: block;
}

.site-header.navbar-transparent .site-logo--dark {
  display: none;
}

/* Scrolled state → white logo (navbar bg is dark), smaller */
.site-header.navbar-scrolled .site-logo--white {
  display: block;
}

.site-header.navbar-scrolled .site-logo--dark {
  display: none;
}

.site-header.navbar-scrolled .site-logo {
  max-height: 44px;
}

/* Mobile (always solid dark navbar) → white logo, compact */
@media (max-width: 991.98px) {
  .site-logo--white {
    display: block !important;
  }

  .site-logo--dark {
    display: none !important;
  }

  .site-logo {
    max-height: 44px;
  }
}

/* Edge case: only one logo uploaded
   If only white is uploaded and we're scrolled, still show it
   (better than nothing). Override happens via JS class. */

/* Header contact */
.header-phone {
  font-size: 0.875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Burger button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger-btn:focus {
  box-shadow: none;
}

.burger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.burger-btn[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Page Banner ─────────────────────────────────────────────────────────────── */
.page-banner {
  position: relative;
  min-height: var(--banner-min-height);
  display: flex;
  align-items: flex-end;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  /* header is fixed, no margin needed */
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(26, 26, 46, 0.6) 0%,
      rgba(26, 26, 46, 0.1) 100%);
}

.banner-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--navbar-height) + 2rem);
  /* padding-bottom: 3rem; */
  color: #ffffff;
}

.banner-title {
  /* font-size: clamp(2rem, 5vw, 3.5rem); */
  font-size: 41px;
  font-weight: lighter;
  color: #ffffff;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.banner-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.banner-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.banner-breadcrumb .breadcrumb-item,
.banner-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.banner-breadcrumb .breadcrumb-item.active {
  color: #ffffff;
}

.banner-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ── Card Base ───────────────────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--color-border);
  border-radius: 0.75rem !important;
  overflow: hidden;
  background-color: var(--color-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-size: 18px;
}

.card-text {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── Blog & Post Cards ───────────────────────────────────────────────────────── */
.post-card {
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: 0.75rem !important;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.post-card .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .card-img-top {
  transform: scale(1.03);
}

/* ── Event Cards ─────────────────────────────────────────────────────────────── */
.event-card {
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: 0.75rem !important;
  overflow: hidden;
  position: relative;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.event-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.event-card.event-past {
  opacity: 0.7;
}

.event-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-day {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--color-secondary);
}

.event-month-year {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

/* ── Event Detail ────────────────────────────────────────────────────────────── */
.event-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.event-info-item:last-child {
  border-bottom: none;
}

.event-info-item i {
  font-size: 1.25rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.event-info-item div {
  display: flex;
  flex-direction: column;
}

.event-info-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.event-info-item span {
  font-size: 1rem;
  color: var(--color-text);
}

/* ── Project Cards ───────────────────────────────────────────────────────────── */
.project-card {
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: 0.75rem !important;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

.project-card .card-img-top {
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .card-img-top {
  transform: scale(1.03);
}

.project-year-heading {
  font-size: 2rem;
  color: var(--color-primary);
  position: relative;
  padding-bottom: 0.75rem;
}

.project-year-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--color-secondary);
}

.mb-6 {
  margin-bottom: 4rem;
}

/* Year filter buttons */
.filter-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.project-year-group[hidden] {
  display: none;
}

/* ── Project Detail ──────────────────────────────────────────────────────────── */
.project-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.project-info-item:last-child {
  border-bottom: none;
}

.project-info-item i {
  font-size: 1.25rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.project-info-item div {
  display: flex;
  flex-direction: column;
}

.project-info-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.project-info-item span {
  font-size: 1rem;
  color: var(--color-text);
}

/* ── Pagination ─────────────────────────────────────────────────────────────── */
.bagno-pagination .page-link {

  color: var(--color-light-grey);
  /* border-color: var(--color-border); */
}

.bagno-pagination .page-link:focus {
  outline: none;
}

.bagno-pagination .page-item.active .page-link {
  /* background-color: var(--color-primary); */
  /* border-color: var(--color-primary); */
  color: var(--color-primary);
  background-color: transparent;
}

.bagno-pagination .page-link:hover {
  /* background-color: var(--color-accent); */
  color: var(--color-primary);
}

.page-link {
  border: none;
  background-color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn-primary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-secondary {
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-grey);
  color: #1E1E1E;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1E1E1E;
  margin-bottom: 1.25rem;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: rgba(30, 30, 30, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-menu a:hover {
  color: var(--color-secondary);
}

.footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact a {
  color: rgba(30, 30, 30, 0.8);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-secondary);
}

.footer-contact i {
  color: var(--color-secondary);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* background: rgba(30, 30, 30, 0.1); */
  border: 1px solid #000;
  color: #1E1E1E;
  font-size: 1rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--color-secondary);
  color: #ffffff;
}

.footer-col1-social {
  margin-top: 1.25rem;
  text-align: center;
}

.footer-col1-social__label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 20px;
}

.footer-col1-social__icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.footer-main .col-sm-6 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-bar {
  background-color: rgba(30, 30, 30, 0.06);
  color: rgba(30, 30, 30, 0.6);
  font-size: 0.85rem;
}


.footer-address {
  margin-left: 0
}

.footer-heading {
  text-transform: none;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.footer-address {
  font-size: 0.9rem;
  position: relative;
  margin-left: 15px
}

.footer-address::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 15px;
  margin-right: 6px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='15' viewBox='0 0 12 15' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.2465 14.546C5.2465 14.546 0 10.1274 0 5.77968C0 4.24681 0.608929 2.77673 1.69283 1.69283C2.77673 0.608929 4.24681 0 5.77968 0C7.31254 0 8.78263 0.608929 9.86652 1.69283C10.9504 2.77673 11.5594 4.24681 11.5594 5.77968C11.5594 10.1274 6.31285 14.546 6.31285 14.546C6.02098 14.8148 5.54054 14.8119 5.2465 14.546ZM5.77968 8.30828C6.11174 8.30828 6.44055 8.24288 6.74733 8.11581C7.05412 7.98873 7.33287 7.80247 7.56767 7.56767C7.80247 7.33287 7.98873 7.05412 8.11581 6.74733C8.24288 6.44055 8.30828 6.11174 8.30828 5.77968C8.30828 5.44761 8.24288 5.1188 8.11581 4.81202C7.98873 4.50523 7.80247 4.22648 7.56767 3.99168C7.33287 3.75688 7.05412 3.57062 6.74733 3.44355C6.44055 3.31647 6.11174 3.25107 5.77968 3.25107C5.10905 3.25107 4.46589 3.51747 3.99168 3.99168C3.51747 4.46589 3.25107 5.10905 3.25107 5.77968C3.25107 6.4503 3.51747 7.09347 3.99168 7.56767C4.46589 8.04188 5.10905 8.30828 5.77968 8.30828Z' fill='%231E1E1E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: -17px;
  top: 2px
}

.footer-address__wrapper {
  min-height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.btn-address {
  font-family: "ITC Avant Garde Gothic Pro", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 133%;
  text-align: center;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1E1E1E;
  text-decoration: none;
  transition: gap 0.3s ease, opacity 0.3s ease;
}

.btn-address:hover {
  color: #1E1E1E;
  gap: 12px;
  opacity: 0.7;
}

.btn-address::before {
  content: "";
  display: inline-block;
  width: 33px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='14' viewBox='0 0 21 14' fill='none'%3E%3Cpath d='M13.9728 12.5474L19.8442 6.67595M19.8442 6.67595L13.9728 0.761963M19.8442 6.67595L0.762133 6.67595' stroke='%231E1E1E' stroke-width='1.52381' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.btn-address:hover::before {
  transform: translateX(4px);
}

/* Showroom "Locate us" button — use the custom long arrow instead of the default one */
.showroom-row__contact-btn {
  gap: 20px;
  line-height: 126%;
  font-size: 17px;
}

.showroom-row__contact-btn:hover {
  gap: 20px;
}

.showroom-row__contact-btn::before {
  display: none;
}

.showroom-row__contact-arrow {
  width: 68px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.showroom-row__contact-btn:hover .showroom-row__contact-arrow {
  transform: translateX(4px);
}

.footer-description {
  color: rgba(30, 30, 30, 0.6) !important;
  font-size: 0.9rem;
}

.footer-site-name {
  color: #1E1E1E;
  font-size: 1.5rem;
}

/* ── Footer widget overrides ─────────────────────────────────────────────────── */
.site-footer .widget,
.site-footer .widget *,
.site-footer .widget p {
  color: #1E1E1E;
}

.site-footer .widget a {
  color: rgba(30, 30, 30, 0.7);
}

.site-footer .widget a:hover {
  color: var(--color-secondary);
}

/* ── Sidebar / Widgets ───────────────────────────────────────────────────────── */
.widget-area .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
}

.widget-area .widget-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-secondary);
}

/* ── Single Post ─────────────────────────────────────────────────────────────── */
.single-post .entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ── Entry Content (General) ─────────────────────────────────────────────────── */
.entry-content img {
  border-radius: var(--border-radius);
}

.entry-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ── Utilities ───────────────────────────────────────────────────────────────── */
.text-primary-custom {
  color: var(--color-primary) !important;
}

.text-secondary-custom {
  color: var(--color-secondary) !important;
}

.bg-alt {
  background-color: var(--color-bg-alt);
}

/* ── Section label (eyebrow) — shared across all page templates ─────────────── */
.fp-section-label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #443827;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 27px;
  color: var(--color-primary);
  position: relative;
  font-weight: 200;
  /* padding-bottom: 0.75rem; */
  /* margin-bottom: 3rem; */
  line-height: 125%;
  /* text-transform: uppercase; */
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: var(--color-secondary);
} */
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ── Core Values Section ─────────────────────────────────────────────────────── */

/* Large: 3 per row */
@media (min-width: 992px) {
  .fp-core-value {
    box-shadow: 1px 0 0 0 black, 0 1px 0 0 black;
  }

  .fp-core-value:nth-child(3n) {
    box-shadow: 0 1px 0 0 black;
  }

  .fp-core-value:nth-child(n+4) {
    box-shadow: 1px 0 0 0 black;
  }

  .fp-core-value:nth-child(n+4):nth-child(3n) {
    box-shadow: none;
  }
}

/* Medium: 2 per row */
@media (min-width: 768px) and (max-width: 991.98px) {
  .fp-core-values .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .fp-core-value {
    box-shadow: 1px 0 0 0 black, 0 1px 0 0 black;
  }

  .fp-core-value:nth-child(even) {
    box-shadow: 0 1px 0 0 black;
  }

  .fp-core-value:nth-child(n+5) {
    box-shadow: 1px 0 0 0 black;
  }

  .fp-core-value:nth-child(n+5):nth-child(even) {
    box-shadow: none;
  }
}

/* Small: 1 per row */
@media (max-width: 767.98px) {
  .fp-core-value {
    box-shadow: 0 1px 0 0 black;
  }

  .fp-core-value:last-child {
    box-shadow: none;
  }
}

.bg-grey {
  background-color: var(--color-grey);
}

/* ── Bootstrap Icons (CDN via JS) ────────────────────────────────────────────── */
/* Loaded via Bootstrap Icons CDN in enqueue.php if needed */

/* ── Our Showrooms page ──────────────────────────────────────────────────────── */

/* Hero banner */
.showrooms-hero {
  padding: 3rem 0 2rem;
}

.showrooms-hero__card {
  background-color: #f5f5f5;
  border-radius: 160px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.5rem 3rem 1.5rem 2rem;
  gap: 2rem;
  /* max-height: 141px; */
}

@media (max-width: 767.98px) {
  .showrooms-hero__card {
    flex-direction: column;
    max-height: none;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
    align-items: center;
  }

  .showrooms-hero__body {
    align-items: center;
  }
}

.showrooms-hero__image-wrap {
  flex-shrink: 0;
  width: clamp(180px, 25vw, 280px);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.showrooms-hero__map-img {
  width: 100%;
  height: auto;
  display: block;
  animation: bounce 3.5s infinite ease-in-out;
}

.showrooms-hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.showrooms-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--color-primary);
  margin: 0;
}

.showrooms-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 2rem;
  padding: 0.55rem 1.4rem;
  font-size: 1.25rem;
  font-family: 'ITC Avant Garde Gothic Pro';
  font-weight: 400;
  color: var(--color-primary);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.showrooms-hero__btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.our-showrooms-page .py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Showrooms map — match the grayscale treatment from the contact page */
.contact-map iframe {
  filter: grayscale(100%);
}

.showroom-row {
  /* padding-top: 4rem; */
  padding-bottom: 4rem;
  /* border-bottom: 1px solid rgba(30, 30, 30, 0.08); */
}

.showroom-row:last-child {
  border-bottom: none;
}

.showroom-row__image {
  display: flex;
}

.showroom-row__img {
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  width: 100%;
}

@media (min-width: 992px) {
  .showroom-row__image {
    align-self: stretch;
    padding: 0 0 4rem;
  }

  .showroom-row__img {
    height: 100%;
  }
}

.showroom-row__img-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--color-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(30, 30, 0.2);
  width: 100%;
}

.showroom-row__text-inner {
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .showroom-row__text-inner {
    padding: 0 3rem;
  }

  /* Text on the left (first column): drop left padding so it aligns with the image */
  .showroom-row__text:first-child .showroom-row__text-inner {
    padding-left: 0;
  }
}

.showroom-row__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.showroom-row__content {
  color: rgba(30, 30, 30, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.showroom-row__contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 2rem;
  border-top: 1px solid var(--color-border);
}

.showroom-row__contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.showroom-row__contact-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-secondary);
}

.showroom-row__contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.showroom-row__contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-light-grey);
}

.showroom-row__contact-value {
  font-size: 0.9rem;
  color: var(--color-primary);
  line-height: 1.4;
}

.showroom-row__contact-link {
  text-decoration: none;
  transition: color var(--transition);
}

.showroom-row__contact-link:hover {
  color: var(--color-secondary);
}