/* === IMPORT FONT === */
@import url('https://fonts.bunny.net/css?family=plus-jakarta-sans:400,500,600,700,800&display=swap');

/* === TOKEN SYSTEM === */
:root {
  --green-deep: #1e4a2b;
  --green-light: #4a8c5c;
  --rust: #c4622d;
  --stone: #e8e0d0;
  --soil: #2a1f14;
  --mist: #f5f3ee;
  --white: #ffffff;
}

/* === GLOBAL RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-variant-ligatures: no-common-ligatures;
  color: var(--soil);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === SIGNATURE: LINIE ACCENT CORTEN (stânga carduri) === */
.card-accent {
  border-left: 3px solid var(--rust);
  padding-left: 1.25rem;
}

/* === SIGNATURE: DIVIDER CURBĂ ORGANICĂ === */
.curve-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.curve-divider svg {
  display: block;
  width: 100%;
}

/* === WHATSAPP PULSE === */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-btn { animation: wa-pulse 2.5s infinite; }
}

/* === LIGHTBOX === */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  object-fit: contain;
  border-radius: 4px;
}
#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

/* === NAVBAR SCROLL === */
#navbar {
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: var(--green-deep) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* === HERO OVERLAY === */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(30,74,43,0.88) 0%,
    rgba(30,74,43,0.55) 55%,
    rgba(30,74,43,0.15) 100%
  );
}

/* === BENTO GRID HOVER === */
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(30,74,43,0.15);
}

/* === GALERIE MASONRY === */
.gallery-masonry {
  columns: 3;
  column-gap: 0.75rem;
}
.gallery-masonry img {
  width: 100%;
  break-inside: avoid;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.gallery-masonry img:hover { opacity: 0.88; }

@media (max-width: 768px) {
  .gallery-masonry { columns: 2; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
}

/* === TRUST PILLS === */
.trust-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1;
}

/* === FOOTER === */
footer {
  font-size: 0.6875rem;
  color: #888;
}
footer a { color: #888; text-decoration: none; }
footer a:hover { color: var(--soil); }
