/* Eco Fresh Cleaning — shared styles
   Converted from the Claude Design source into a standalone static site. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f6f8f1;
  color: #18301a;
  font-family: 'Nunito Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---- Image placeholder frame ----
   Shows a labelled placeholder until a real photo exists at the given src.
   Drop a matching file into /images and it appears automatically; if the
   file is missing the <img> hides itself and the placeholder shows through. */
.img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  overflow: hidden;
  background-color: #e7f1df;
  background-image: repeating-linear-gradient(135deg, #dcebd1 0 11px, #e7f1df 11px 22px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-frame .img-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #6f8064;
  text-align: center;
  padding: 0 18px;
  z-index: 1;
  text-transform: uppercase;
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* ---- Form fields ---- */
input::placeholder, textarea::placeholder { color: #9aa893; }

.field {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid #dde5d3;
  border-radius: 13px;
  background: #fafcf7;
  color: #18301a;
  width: 100%;
}
.field:focus {
  outline: none;
  border-color: #3a9d4e;
  box-shadow: 0 0 0 3px rgba(58, 157, 78, 0.15);
}

/* Respect users who prefer reduced motion for the smooth scroll on submit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
