/* styles.css — versiune pe culori deschise, pastrand structura originala */

/* Variabile luminoase */
:root {
  --primary-color: #0ea5e9;      /* albastru luminos */
  --secondary-color: orange;    /* albastru mai inchis */
  --text-color: #1f2937;         /* gri inchis usor */
  --light-bg: #f7fafc;           /* fundal deschis */
  --dark-overlay: rgba(0, 0, 0, 0.35);
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

h1, h2, h3 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #0b0f19;
}

p { margin-bottom: 1rem; color: #374151; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Butoane */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: transform .15s ease, background-color 0.3s ease;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 8px 22px rgba(14,165,233,.25);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background-color: var(--primary-color); }
.btn-primary:hover { background-color: #17b5ff; }

.btn-secondary { background-color: var(--secondary-color); }
.btn-secondary:hover { background-color: #0b89ce; }

/* Header */
header { background: #ffffff; border-bottom: 1px solid #e5e7eb; }
.brand { font-weight: 900; color: #0b0f19; }

/* Oferta badge */
.offer-badge {
  display: inline-block;
  background: linear-gradient(90deg, rgba(14,165,233,.15), rgba(3,105,161,.12));
  border: 1px solid rgba(14,165,233,.35);
  color: #0b0f19;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

/* HERO */
.hero {
  position: relative;
  height: 70vh;
  background-image: url('../images/foraje-puturi-apa.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  text-align: center;
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,.65), rgba(255,255,255,.35));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(3px);
  padding: 1.25rem 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(14,165,233,.20);
}
.hero h1 { font-size: 2.4rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.15rem; margin-bottom: 1rem; color: #1f2a37; }

/* Sectiuni */
section { padding: 3rem 0; }
section h2 { text-align: center; margin-bottom: 2rem; font-size: 2rem; }

/* Grile existente */
.features-grid, .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-item, .benefit-item {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
}
.feature-item .icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* CTA section (folosim clasa existenta .cta) */
.cta {
  background: linear-gradient(90deg, var(--primary-color), #22d3ee);
  color: #062231;
  text-align: center;
}
.cta h2 { margin-bottom: 1rem; color: #04202d; }
.cta p { color: #083345; margin-bottom: 1.25rem; }

/* Mobile sticky CTA din modelul tau */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  z-index: 1000;
  box-shadow: 0 -10px 24px rgba(14,165,233,.25);
}
.btn-mobile {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Galerie ca in model */
.gallery { padding: 3rem 1rem; background: #f8fafc; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2,6,23,.08);
  border: 1px solid #e5e7eb;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .mobile-cta { display: block; }
}


/* ===== UL / LI moderne (lipeste in styles.css) ===== */

/* Reset curat pentru liste */
ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

/* Varianta 1: puncte gradient — aplica pe <ul class="list-modern"> */
ul.list-modern > li {
  position: relative;
  padding-left: 1.6rem;
  margin: .45rem 0;
  line-height: 1.5;
}
ul.list-modern > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: linear-gradient(135deg,
    var(--secondary-color, #f59e0b),
    var(--primary-color, #4f46e5)
  );
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}

/* Varianta 2: checkmark accent — aplica pe <ul class="list-check"> */
ul.list-check > li {
  position: relative;
  padding-left: 1.8rem;
  margin: .45rem 0;
  line-height: 1.5;
}
ul.list-check > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: .6rem;
  display: inline-grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary-color, #2563eb);
  box-shadow: 0 6px 14px rgba(37, 99, 235, .18);
}

/* Varianta 3: lista numerotata stil steps — <ul class="list-steps"> */
ul.list-steps {
  counter-reset: step;
}
ul.list-steps > li {
  position: relative;
  padding-left: 2.2rem;
  margin: .5rem 0;
  line-height: 1.5;
  counter-increment: step;
}
ul.list-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.05rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: .8rem;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 2px 8px rgba(2, 6, 23, .06);
}

/* Micro-interactiunii */
ul.list-modern > li,
ul.list-check  > li,
ul.list-steps  > li {
  transition: transform .15s ease, background-color .15s ease;
}
ul.list-modern > li:hover,
ul.list-check  > li:hover,
ul.list-steps  > li:hover {
  transform: translateX(2px);
}

/* Integrare rapida in casetele tale (.benefit-item) */
.benefit-item ul {
  margin-top: .5rem;
}
.benefit-item ul > li + li {
  margin-top: .35rem;
}

/* Dark-mode optional (daca folosesti) */
@media (prefers-color-scheme: dark) {
  ul.list-modern > li::before { box-shadow: 0 0 0 3px rgba(99, 102, 241, .25); }
  ul.list-steps  > li::before {
    color: #e5e7eb;
    background: linear-gradient(180deg, #111827, #0b1220);
    border-color: rgba(229, 231, 235, .12);
  }
}


/* ===== Strip carduri sus ===== */
.cards-strip {
  padding: 1.25rem 0 1.75rem;
  background: linear-gradient(180deg, rgba(0,0,0,.02), transparent);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card-serviciu {
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(2,6,23,.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-serviciu h2 {
  font-size: clamp(1rem, .9rem + .4vw, 1.15rem);
  line-height: 1.35;
  margin: 0 0 .6rem 0;
  color: #0f172a;
}

.card-serviciu p {
  font-size: .9rem;
  line-height: 1.45;
  color: #334155;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-serviciu .btn {
  align-self: flex-start;
  padding: .55rem .9rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* hover/focus states */
.card-serviciu:hover,
.card-serviciu:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(2,6,23,.10);
  border-color: rgba(37,99,235,.22);
}

/* responsive */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card-serviciu { padding: 1rem; }
}
