/* ==================================================================
   MORRY'S PROPERTY SERVICES — DESIGN SYSTEM
   Premium landscaping theme for Adelaide
   ================================================================== */

/* ------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ------------------------------------------------------------------ */

:root {
  /* === Primary Palette (matched to logo navy) === */
  --forest: #1A3A5C;
  --forest-light: #2A5580;
  --sage: #4A7BA8;
  --sage-light: #6B9FCC;
  --sage-muted: rgba(42, 85, 128, 0.12);

  /* === Earth Tones === */
  --earth: #8B6914;
  --earth-light: #A88A3D;
  --sand: #F5F0E8;
  --sand-dark: #E8E0D0;
  --cream: #FAF8F4;

  /* === Neutrals === */
  --charcoal: #2C2C2C;
  --slate: #4A5568;
  --gray: #718096;
  --gray-light: #CBD5E0;
  --gray-lightest: #F7FAFC;
  --white: #FFFFFF;

  /* === Accent (from logo) === */
  --orange: #E8701A;
  --orange-light: #F28D3C;
  --orange-glow: rgba(232, 112, 26, 0.2);

  /* === Dark === */
  --navy: #1A3A5C;
  --navy-dark: #0F2640;
  --navy-light: #2A5580;

  /* === Semantic === */
  --headerBg: transparent;
  --headerBgSolid: var(--white);
  --headerText: var(--white);
  --headerTextSolid: var(--forest);

  --heroBg: var(--forest);
  --heroText: var(--white);

  --bg1Background: var(--white);
  --bg1Text: var(--charcoal);
  --bg1Title: var(--forest);

  --bg2Background: var(--sand);
  --bg2Text: var(--charcoal);
  --bg2Title: var(--forest);

  --ctaBarBg: var(--orange);
  --ctaBarText: var(--white);

  --footerBg: var(--navy-dark);
  --footerText: rgba(255, 255, 255, 0.85);
  --footerHeading: var(--white);
  --footerAccent: var(--sage-light);

  --cardBg: var(--white);
  --cardShadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --cardShadowHover: 0 12px 40px rgba(0, 0, 0, 0.14);

  /* === Typography === */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* === Spacing === */
  --section-py: 100px;
  --section-py-mobile: 60px;

  /* === Transitions === */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* === Border Radius === */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* ------------------------------------------------------------------
   BASE / RESET OVERRIDES
   ------------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
}

.page,
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: var(--forest);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--sage);
}
a:visited {
  color: var(--forest);
}

/* ------------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
  text-transform: none;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}
h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 12px;
}

p, li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate);
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content h2:not(:first-child) {
  margin-top: 40px;
}

.section-content ol,
.section-content ul {
  padding-left: 1.2em;
}

/* ------------------------------------------------------------------
   TOP UTILITY BAR
   ------------------------------------------------------------------ */

.top-bar {
  background-color: var(--forest);
  padding: 8px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1001;
}

.top-bar a {
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.top-bar a:hover {
  opacity: 0.8;
  color: var(--white);
}
.top-bar a:visited {
  color: var(--white);
}

.top-bar i {
  margin-right: 6px;
  color: var(--sage-light);
}

.top-bar .container-fluid {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding: 0 30px;
}

@media (max-width: 767px) {
  .top-bar {
    text-align: center;
  }
  .top-bar .container-fluid {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ------------------------------------------------------------------
   HEADER / NAVBAR
   ------------------------------------------------------------------ */

#header-desktop {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

#header-desktop .navbar {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 0;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#header-desktop .navbar .container-fluid {
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header-desktop.scrolled .navbar {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  border-bottom-color: transparent;
}

/* --- Logo --- */
.navbar-brand {
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin: 0;
  flex-shrink: 0;
}
.navbar-brand img {
  height: 90px;
  width: auto;
  transition: box-shadow var(--transition-base);
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(232, 112, 26, 0.25);
}
.navbar-brand:hover img {
  box-shadow: 0 4px 20px rgba(232, 112, 26, 0.4);
}

/* --- Animated Burger Button --- */
.burger-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1010;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}
.burger-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.burger-toggle:focus {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.3s ease,
              width 0.3s ease;
  position: absolute;
}
.burger-line:nth-child(1) {
  transform: translateY(-7px);
}
.burger-line:nth-child(2) {
  transform: translateY(0);
}
.burger-line:nth-child(3) {
  transform: translateY(7px);
}

/* Burger → X animation */
.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translateY(0);
}
.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(0);
}

/* --- Desktop Nav Menu --- */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-menu-wrapper .navbar-nav {
  display: flex;
  align-items: center;
}

/* Nav Links */
#primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
}
#primary-menu li {
  list-style: none;
  margin-left: 4px;
}
#primary-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.93rem;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
  position: relative;
}
#primary-menu a:visited {
  color: rgba(255, 255, 255, 0.85);
}
#primary-menu a:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
}
#primary-menu .current_page_item a,
#primary-menu .current_page_item a:visited {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

/* Nav CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  transition: all var(--transition-base) !important;
  box-shadow: 0 4px 15px rgba(232, 112, 26, 0.3);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 112, 26, 0.45) !important;
  background: linear-gradient(135deg, var(--orange-light), var(--orange)) !important;
  color: var(--white) !important;
}
.nav-cta i {
  animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  50% { transform: rotate(0); }
}

/* --- Mobile Styles (below xl breakpoint) --- */
@media (max-width: 1199px) {
  .burger-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100dvh;
    background: rgba(15, 38, 64, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.35s ease;
    opacity: 0;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.25);
    z-index: 1005;
    overflow-y: auto;
  }
  .nav-menu-wrapper.open {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-menu-wrapper .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  #primary-menu {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 2px;
  }
  #primary-menu li {
    margin: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .nav-menu-wrapper.open #primary-menu li {
    opacity: 1;
    transform: translateX(0);
  }
  /* Stagger the menu items */
  .nav-menu-wrapper.open #primary-menu li:nth-child(1) { transition-delay: 0.08s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(2) { transition-delay: 0.14s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(3) { transition-delay: 0.20s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(4) { transition-delay: 0.26s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(5) { transition-delay: 0.32s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(6) { transition-delay: 0.38s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(7) { transition-delay: 0.44s; }
  .nav-menu-wrapper.open #primary-menu li:nth-child(8) { transition-delay: 0.50s; }

  #primary-menu a,
  #primary-menu a:visited {
    display: block;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.85);
  }
  #primary-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }
  #primary-menu .current_page_item a,
  #primary-menu .current_page_item a:visited {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-weight: 600;
  }

  .nav-cta {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.45s, transform 0.4s ease 0.45s, background 0.3s ease, box-shadow 0.3s ease !important;
  }
  .nav-menu-wrapper.open .nav-cta {
    opacity: 1;
    transform: translateY(0);
  }

  /* Overlay — transparent, no darkening, just catches clicks to close */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1004;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    cursor: pointer;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ------------------------------------------------------------------
   HERO / BANNER
   ------------------------------------------------------------------ */

.wrapper-banner {
  position: relative;
  overflow: hidden;
}

#banner-section {
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#banner-section::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 58, 92, 0.7) 0%,
    rgba(26, 58, 92, 0.5) 60%,
    rgba(26, 58, 92, 0.8) 100%
  );
  z-index: 1;
}

.banner {
  width: 100%;
  min-height: 85vh;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Banner modifier: anchor background image to the top edge. */
.banner--top {
  background-position: center top;
}

/* Contact hero — Morry's team beside their work ute. The two men are clustered
   left-of-centre, so a crop biased left keeps both of them (and their heads)
   in frame across screen sizes; the right side (ute) is what gets cropped.
   Double class (.banner.banner--contact) keeps this ahead of the responsive
   `.banner` min-height overrides further down the file. */
.banner.banner--contact {
  position: relative;
  min-height: 70vh;
  background-image: url(../images/morrys-gardening-landscaping-team-adelaide.webp);
  background-size: cover;
  background-position: 34% 28%;
}
.banner.banner--contact::before {
  /* Readability overlay for the white heading/text. */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 38, 64, 0.32) 0%, rgba(15, 38, 64, 0.45) 100%);
  z-index: 1;
}
/* .banner-content-section already has z-index:10, so text sits above the overlay. */

/* Bias the crop a touch further left on narrower screens (more side-cropping
   there) so the left-hand team member is never cut off. */
@media (max-width: 767px) {
  .banner.banner--contact {
    background-position: 38% 26%;
  }
}

/* Homepage hero — image rendered as a real <img> for SEO, layered as background. */
.banner--home {
  position: relative;
  overflow: hidden;
}
.banner--home .banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.banner--home::after {
  /* Readability overlay so the white heading/text stay legible over the bright garden. */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 38, 64, 0.30) 0%, rgba(15, 38, 64, 0.50) 100%);
  z-index: 2;
}
/* .banner-content-section already has z-index:10, so it sits above the image + overlay. */

.banner-content-section {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 30px;
  animation: fadeInUp 1s ease-out;
}

#main-title {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 36px;
  display: inline-block;
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: none;
  letter-spacing: 0.02em;
}

.banner-content-section p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.banner h1,
.banner h2 {
  color: var(--white);
  font-family: var(--font-heading);
  text-shadow: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .banner {
    min-height: 70vh;
  }
  .banner-content-section {
    padding: 30px 20px;
  }
}

@media (max-width: 500px) {
  .banner {
    min-height: 80vh;
  }
}

/* Banner slider overrides */
#banner-section .slick-list {
  width: 100%;
}

/* ------------------------------------------------------------------
   CTA BAR / BOOK TODAY
   ------------------------------------------------------------------ */

.book-in-today {
  position: relative;
  z-index: 5;
}

.book-in-today p {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  margin: 0;
  padding: 16px 0;
  letter-spacing: 0.03em;
}

.book-in-today p a {
  color: var(--white);
  text-decoration: none;
  margin-left: 12px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}
.book-in-today p a:hover {
  border-color: var(--white);
  color: var(--white);
}
.book-in-today p a:visited {
  color: var(--white);
}

.book-in-today p i {
  margin-right: 6px;
  animation: pulse-phone 2s infinite;
}

.book-in-today.gray p {
  background: var(--slate);
}

@media (max-width: 767px) {
  .book-in-today p {
    font-size: 1.1rem;
    padding: 14px 20px;
  }
  .book-in-today p a {
    display: block;
    margin: 8px 0 0 0;
  }
}

/* ------------------------------------------------------------------
   WAVE / SECTION DIVIDER
   ------------------------------------------------------------------ */

.section-wave {
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}
.section-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}
.section-wave.wave-flip {
  transform: scaleY(-1);
  margin-top: 0;
  margin-bottom: -2px;
}

/* ------------------------------------------------------------------
   SECTION BACKGROUNDS
   ------------------------------------------------------------------ */

.section-page {
  padding: var(--section-py) 0;
}

@media (max-width: 767px) {
  .section-page {
    padding: var(--section-py-mobile) 0;
  }
}

.section-content {
  padding: var(--section-py) 0;
}

@media (max-width: 767px) {
  .section-content {
    padding: var(--section-py-mobile) 0;
  }
}

/* BG-1: White */
.bg-1 {
  background: var(--bg1Background);
  color: var(--bg1Text);
}
.bg-1 h1, .bg-1 h2, .bg-1 h3, .bg-1 h4 {
  color: var(--bg1Title);
}
.bg-1 a {
  color: var(--forest);
}
.bg-1 p, .bg-1 li {
  color: var(--slate);
}

/* BG-2: Sand */
.bg-2 {
  background: var(--bg2Background);
  color: var(--bg2Text);
}
.bg-2 h1, .bg-2 h2, .bg-2 h3, .bg-2 h4 {
  color: var(--bg2Title);
}
.bg-2 a {
  color: var(--forest);
}
.bg-2 p, .bg-2 li {
  color: var(--slate);
}

/* ------------------------------------------------------------------
   CONTENT SECTIONS — IMAGE + TEXT LAYOUTS
   ------------------------------------------------------------------ */

.section-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--cardShadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.section-content img:hover {
  transform: scale(1.02);
  box-shadow: var(--cardShadowHover);
}

.section-content .p-5 {
  padding: 3rem !important;
}

@media (max-width: 991px) {
  .section-content .p-5 {
    padding: 2rem 1rem !important;
  }
}

/* ------------------------------------------------------------------
   SERVICE CARDS / LIST ITEMS
   ------------------------------------------------------------------ */

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--cardShadow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--forest));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cardShadowHover);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--sage-muted), rgba(42, 85, 128, 0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}
.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--forest), var(--sage));
  transform: scale(1.1);
}
.service-card .icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: var(--forest);
  transition: fill var(--transition-base);
}
.service-card:hover .icon-wrap svg {
  fill: var(--white);
}
.service-card .icon-wrap i {
  font-size: 28px;
  color: var(--forest);
  transition: color var(--transition-base);
}
.service-card:hover .icon-wrap i {
  color: var(--white);
}

.service-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Legacy list items override */
.section-content .service-icon-svg {
  width: 50px;
  height: 50px;
}

/* ------------------------------------------------------------------
   SERVICES PAGE — About intro, services list, closing quote
   ------------------------------------------------------------------ */

.lead-paragraph {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--slate);
}

/* About Us team photo */
.about-team-photo {
  margin-left: auto;
  margin-right: auto;
}
.about-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(15, 38, 64, 0.14);
}

/* Services list — icon + label rows */
.service-list-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(15, 38, 64, 0.06);
  border: 1px solid rgba(15, 38, 64, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 38, 64, 0.12);
}

.service-list-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sage-muted, #eef3f8), rgba(74, 123, 168, 0.12));
  color: var(--forest);
  font-size: 20px;
  transition: background var(--transition-base), color var(--transition-base);
}

.service-list-item:hover .service-list-icon {
  background: linear-gradient(135deg, var(--forest), var(--sage));
  color: var(--white);
}

.service-list-text {
  font-weight: 500;
  font-size: 1rem;
  color: var(--navy-dark, #0F2640);
  line-height: 1.45;
}

/* Closing reassurance quote */
.services-closing {
  position: relative;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 10px 30px rgba(15, 38, 64, 0.07);
}

.services-closing i {
  color: var(--sage);
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.services-closing p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--forest);
  margin: 0;
}

@media (max-width: 575px) {
  .service-list-item {
    padding: 16px 18px;
    gap: 14px;
  }
  .service-list-icon {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
  .services-closing {
    padding: 28px 22px;
  }
  .services-closing p {
    font-size: 1.05rem;
  }
}

/* ------------------------------------------------------------------
   CONTENT BUTTONS
   ------------------------------------------------------------------ */

.btn,
.content-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary,
.content-button {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--white) !important;
  border-color: var(--forest);
}
.btn-primary:hover,
.content-button:hover {
  background: transparent;
  color: var(--forest) !important;
  border-color: var(--forest);
  transform: translateY(-2px);
}

.section-content strong a {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--white);
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--forest);
  border-radius: var(--radius-xl);
  text-decoration: none;
  text-transform: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
}
.section-content strong a:hover {
  background: transparent;
  color: var(--forest);
}

.btn-accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white) !important;
  border-color: var(--orange);
}
.btn-accent:hover {
  background: transparent;
  color: var(--orange) !important;
  border-color: var(--orange);
}

/* ------------------------------------------------------------------
   GALLERY / SLIDER
   ------------------------------------------------------------------ */

.slick-dots {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 1rem 0;
  list-style-type: none;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--gray-light);
  text-indent: -9999px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slick-dots li.slick-active button {
  background-color: var(--forest);
  transform: scale(1.3);
}

.inner-slider {
  margin-top: 15px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.inner-slider img {
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* Slider arrows (homepage) */
.inner-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest, #2c5530);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 38, 64, 0.18);
  transition: background var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  padding: 0;
}
.inner-slider .slider-arrow:hover,
.inner-slider .slider-arrow:focus-visible {
  background: var(--forest, #2c5530);
  color: var(--white, #fff);
  transform: translateY(-50%) scale(1.06);
  outline: none;
}
.inner-slider .slick-prev.slider-arrow {
  left: 16px;
}
.inner-slider .slick-next.slider-arrow {
  right: 16px;
}
/* Hide Slick's default ::before pseudo-arrows so only our icon shows */
.inner-slider .slider-arrow::before {
  display: none;
}

@media (max-width: 575px) {
  .inner-slider .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
  .inner-slider .slick-prev.slider-arrow { left: 8px; }
  .inner-slider .slick-next.slider-arrow { right: 8px; }
}

.bg-1 .slick-dots button { background-color: var(--gray-light); }
.bg-1 .slick-dots .slick-active button { background-color: var(--forest); }
.bg-2 .slick-dots button { background-color: var(--gray-light); }
.bg-2 .slick-dots .slick-active button { background-color: var(--forest); }

/* ------------------------------------------------------------------
   CONTACT PAGE
   ------------------------------------------------------------------ */

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--cardShadow);
  transition: all var(--transition-base);
  height: 100%;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cardShadowHover);
}
.contact-info-card .icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--sage-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-card .icon-wrap i {
  font-size: 24px;
  color: var(--forest);
}
.contact-info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.contact-info-card a {
  color: var(--forest);
  font-weight: 500;
}
.contact-info-card a:hover {
  color: var(--sage);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--cardShadow);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md) !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--white);
  color: var(--charcoal);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-muted);
}

.contact-form input[type="submit"],
.contact-form button[type="submit"],
.contact-form .gform_button {
  background: linear-gradient(135deg, var(--forest), var(--forest-light)) !important;
  color: var(--white) !important;
  padding: 14px 36px !important;
  border: 2px solid var(--forest) !important;
  border-radius: var(--radius-xl) !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer;
  transition: all var(--transition-base) !important;
  width: auto;
}
.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover,
.contact-form .gform_button:hover {
  background: transparent !important;
  color: var(--forest) !important;
  transform: translateY(-2px);
}

/* Gravity Forms overrides */
.gfield_label {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  color: var(--charcoal) !important;
  font-size: 0.9rem !important;
  margin-bottom: 6px !important;
}

.gsection_title {
  font-family: var(--font-heading) !important;
  font-size: 1.6rem !important;
  color: var(--forest) !important;
  margin-top: 30px;
}

input,
textarea,
select {
  border-radius: var(--radius-md) !important;
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */

#footer-desktop {
  background: var(--footerBg);
  color: var(--footerText);
  position: relative;
  padding: 0;
  overflow: hidden;
}

.footer-main {
  padding: 48px 0 32px;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.footer-tagline {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 420px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--footerHeading);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none !important;
  transition: all var(--transition-fast);
  padding-left: 0;
}
.footer-links a:hover,
.footer-links a:visited:hover {
  color: var(--sage-light);
  padding-left: 6px;
}
.footer-links a:visited {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.93rem;
}
.footer-contact-item i {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--orange-light);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.footer-contact-item:hover i {
  background: var(--orange);
  color: var(--white);
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none !important;
  transition: color var(--transition-fast);
}
.footer-contact-item a:hover {
  color: var(--white);
}
.footer-contact-item a:visited {
  color: rgba(255, 255, 255, 0.8);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: all var(--transition-base);
  text-decoration: none !important;
}
.footer-social a:hover {
  background: var(--orange);
  transform: translateY(-3px);
  color: var(--white);
}
.footer-social a:visited {
  color: var(--white);
}

/* Service area badge */
.service-area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 8px 18px;
  margin-top: 12px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
}
.service-area-badge i {
  color: var(--orange-light);
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none !important;
}
.footer-bottom a:hover {
  color: var(--orange-light);
}
.footer-bottom a:visited {
  color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------------
   BACK TO TOP
   ------------------------------------------------------------------ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  border: none;
  box-shadow: 0 4px 15px rgba(26, 58, 92, 0.25);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--sage);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(26, 58, 92, 0.35);
}

/* ------------------------------------------------------------------
   404 PAGE
   ------------------------------------------------------------------ */

.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--sand);
}

.page-404 .error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--sage), var(--forest));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--charcoal);
  margin-bottom: 16px;
}

.page-404 p {
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

.page-404 .leaf-icon {
  font-size: 3rem;
  color: var(--sage);
  margin-bottom: 20px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* ------------------------------------------------------------------
   CARDS (GENERIC)
   ------------------------------------------------------------------ */

.card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--cardShadow);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cardShadowHover);
}

/* ------------------------------------------------------------------
   #page overflow
   ------------------------------------------------------------------ */

#page {
  overflow: hidden;
}

/* ------------------------------------------------------------------
   FORMS (GENERAL)
   ------------------------------------------------------------------ */

.iframe-maps {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ------------------------------------------------------------------
   DECORATION BARS – kept but refined
   ------------------------------------------------------------------ */

.decoration-bars {
  height: 4px;
  display: flex;
}
.decoration-bars div {
  height: 100%;
  flex: 1;
}
.decoration-bars .bar-1 { background-color: var(--forest); }
.decoration-bars .bar-2 { background-color: var(--sage); }
.decoration-bars .bar-3 { background-color: var(--orange); }

/* ------------------------------------------------------------------
   KEY SERVICES BAR (if re-enabled)
   ------------------------------------------------------------------ */

.key-services {
  background-color: var(--white);
  padding: 30px 0;
}
.key-services h4 {
  color: var(--charcoal);
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.key-services img {
  margin-right: 10px;
  width: 50px;
}

/* ------------------------------------------------------------------
   LOGO FOOTER
   ------------------------------------------------------------------ */

.bmworks-submark {
  max-width: 100%;
}

.img-footer {
  max-width: 100px;
}
.logo-ozict {
  width: 80px;
  display: block;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   ABOUT / WHY CHOOSE US SECTION
   ------------------------------------------------------------------ */

.why-choose-us {
  position: relative;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--sage-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-size: 20px;
}

.feature-item h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.feature-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* ------------------------------------------------------------------
   RESPONSIVE REFINEMENTS
   ------------------------------------------------------------------ */

@media (max-width: 1200px) {
  :root {
    --section-py: 80px;
  }
}

@media (max-width: 991px) {
  :root {
    --section-py: 70px;
    --section-py-mobile: 50px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-py: 50px;
    --section-py-mobile: 40px;
  }

  .footer-main .row > div {
    margin-bottom: 32px;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-contact-item {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
}

/* ------------------------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------------------------ */

.text-forest { color: var(--forest); }
.text-sage { color: var(--sage); }
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.bg-sand { background-color: var(--sand); }
.bg-forest { background-color: var(--forest); }
.bg-navy { background-color: var(--navy); }

.section-subtitle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-title-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-title-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--forest));
  border-radius: 2px;
}

.container-both-logos .female-friendly {
  width: 150px;
}

/* ------------------------------------------------------------------
   BEFORE & AFTER COMPARISON SLIDER
   ------------------------------------------------------------------ */

.before-after-section {
  padding: var(--section-py) 0 calc(var(--section-py) / 2);
  background: var(--sage-muted, #eef3ee);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.ba-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 38, 64, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 38, 64, 0.14);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: var(--gray-light, #e7e7e7);
  outline: none;
}

.ba-slider:focus-visible {
  box-shadow: inset 0 0 0 3px var(--sage, #5d8a5a);
}

.ba-slider {
  --ba-position: 50%;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ba-image-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--ba-position)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--ba-position)) 0 0);
  will-change: clip-path;
}

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(15, 38, 64, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-xl, 999px);
  pointer-events: none;
  z-index: 3;
}

.ba-label--before { left: 16px; }
.ba-label--after  { right: 16px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-position, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(15, 38, 64, 0.15);
}

.ba-handle-line {
  display: block;
  width: 100%;
  height: 100%;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--forest, #2c5530);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 6px 18px rgba(15, 38, 64, 0.25);
  font-size: 12px;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.ba-slider:hover .ba-handle-knob,
.ba-slider:focus-visible .ba-handle-knob {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-caption {
  padding: 20px 24px 24px;
}

.ba-title {
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--navy-dark, #0F2640);
}

.ba-description {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate, #5a6770);
}

@media (max-width: 991px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 575px) {
  .ba-handle-knob {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
  .ba-label {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* ------------------------------------------------------------------
   GALLERY PAGE
   ------------------------------------------------------------------ */

.gallery-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

/* Gallery Grid — uniform 4:3 tiles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
}

.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 100%;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Hover Overlay */
.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 58, 92, 0) 0%,
    rgba(26, 58, 92, 0.7) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  border-radius: var(--radius-md);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay-content {
  text-align: center;
  color: var(--white);
  transform: translateY(10px);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay-content {
  transform: translateY(0);
}

.gallery-item-overlay-content i {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.gallery-item-overlay-content span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Gallery Filter Buttons */
.gallery-filters {
  margin-bottom: 32px;
}

.gallery-filter-btn {
  background: transparent;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-xl);
  padding: 8px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin: 4px;
}
.gallery-filter-btn:hover {
  border-color: var(--sage);
  color: var(--forest);
}
.gallery-filter-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

/* Gallery Placeholder */
.gallery-placeholder {
  padding: 80px 20px;
}

.gallery-placeholder-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: var(--sage-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-placeholder-icon i {
  font-size: 40px;
  color: var(--sage);
}

.gallery-placeholder h3 {
  margin-bottom: 12px;
}
.gallery-placeholder p {
  max-width: 460px;
  margin: 0 auto 28px;
}

/* Gallery CTA Section */
.gallery-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--forest) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.gallery-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(42, 85, 128, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.gallery-cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 112, 26, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ------------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------------ */

.gallery-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-top: 16px;
  font-style: italic;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 18px;
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

/* Responsive Gallery */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gallery-cta {
    padding: 60px 0;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}

