/*
Theme Name: Evergreen KPG Group- Arpna2.1
Theme URI: https://evergreenkpggroup.com/
Author: Evergreen KPG Group Development
Author URI: https://evergreenkpggroup.com/
Description: Complete, 100% turnkey bespoke luxury WordPress theme for Evergreen KPG Group. .
Version: 2.7.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: evergreen-kpg
License: GNU General Public License v2 or later
*/

:root {
  --ekpg-pine-dark: #276738;
  --ekpg-pine-light: #367c3f;
  --ekpg-sapphire: #006eb5;
  --ekpg-charcoal: #18181b;
  --ekpg-bg: #090d0b;
}

/* Base Styles & Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #276738;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1f522d;
}

/* -----------------------------------------------------------------------
   Soft Light Effect — a gentle glass-like highlight applied to hero,
   photo panels, gallery tiles and property/blog imagery. Works the same
   on touch (mobile) and hover (desktop) since it's always-on, not a
   hover-only effect.
------------------------------------------------------------------------ */
.ekpg-sheen {
  position: relative;
}
.ekpg-sheen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.06) 32%, rgba(255,255,255,0) 55%);
  mix-blend-mode: overlay;
}
.ekpg-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.22), rgba(255,255,255,0));
}
.ekpg-sheen > img,
.ekpg-sheen > .ekpg-sheen-fill {
  filter: brightness(1.04) saturate(1.02);
}

/* A softer variant for large hero imagery, tuned for both mobile and desktop widths */
.ekpg-sheen-hero {
  position: relative;
}
.ekpg-sheen-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0) 65%);
  mix-blend-mode: overlay;
}
.ekpg-sheen-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.18), rgba(255,255,255,0));
}

/* -----------------------------------------------------------------------
   Hero Ken Burns Drift — a slow, subtle zoom/pan on the hero photo so the
   banner feels alive instead of static. Runs the same on mobile and
   desktop; very gentle so it never feels distracting.
------------------------------------------------------------------------ */
.ekpg-hero-media {
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: ekpgHeroDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ekpgHeroDrift {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .ekpg-hero-media {
    animation: none;
  }
}
