/* styles.css - Plant-themed */
/* Overall Theme:clean, organic feel */

:root {
  /* Colors: green and earth accents */
  --brand-dark: #1f4f2b; /* Forest green for headers */
  --brand-medium: #2f7f4f;  /* Primary green */
  --brand-light: #daf3e0;   /* Light green background */
  --accent: #ffeec2;  /* Warm highlight */
  --soil: #6b5e4b;   /* Earthy brown */
  --text: #22332b;   /* Dark greenish text */
  --radius: 14px;
  --shadow: 0 12px 32px rgba(31,79,43,0.12);
  --font-stack: "Inter", system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  --line-height: 1.55;
}

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

body {
  margin:0;
  font-family: var(--font-stack);
  background: 
    radial-gradient(circle at 25% 25%, rgba(223,243,224,0.6) 0%, transparent 60%),
    radial-gradient(circle at 75% 80%, rgba(223,243,224,0.5) 0%, transparent 55%),
    linear-gradient(135deg, #f7faf6 0%, #e9f2ec 100%);
  color: var(--text);
  line-height: var(--line-height);
  min-height: 100%;
  padding:1rem;
}

/* Leaf texture overlay */
body::before {
  content: "";
  position: fixed;
  inset:0;
  pointer-events:none;
  background: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="%232f7f4f" stroke-opacity="0.08" stroke-width="1"><path d="M50 100c20-40 80-40 100 0"/><path d="M0 50c40-20 40-80 0-100"/><path d="M150 150c20-40 80-40 100 0"/></g></svg>') repeat;
  mix-blend-mode: overlay;
  opacity:0.5;
  z-index:0;
}

/* Layout adjustments */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  position: relative; /* Background texture */
  z-index:1;
}

.grid {
  display:grid;
  gap:1rem;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}

.flex {
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  padding:1.25rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
  border: 1px solid rgba(31,79,43,0.08);
}

.card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(47,127,79,0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events:none;
}

/* Headings */
h1 {
  font-size:2.6rem;
  margin:0.2rem 0;
  font-weight:700;
}

h2 {
  font-size:1.9rem;
  margin:1rem 0 0.5rem;
  color: var(--brand-dark);
}

h3 {
  font-size:1.3rem;
  margin:0.6rem 0 0.25rem;
}

/* Text */
p {
  margin:0.7rem 0;
}

small {
  font-size:0.75rem;
  color: rgba(34,51,43,0.8);
}


.button {
  background: linear-gradient(135deg, var(--brand-medium), var(--brand-dark));
  color: white;
  border:none;
  padding:0.75rem 1.1rem;
  border-radius: 999px;
  cursor:pointer;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition: transform .15s ease, filter .15s ease;
}

.button:hover,
.button:focus {
  filter: brightness(1.08);
  transform: translateY(-1px);
  outline: none;
}

/* Links */
a {
  color: var(--brand-medium);
  text-decoration:none;
  font-weight:600;
}

a:hover {
  text-decoration: underline;
}

/* Badges */
.badge {
  background: var(--brand-medium);
  color:white;
  padding:0.35em .8em;
  border-radius:999px;
  font-size:0.65rem;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* Forms */
label {
  display:block;
  font-weight:600;
  margin-bottom:4px;
}

input, select, textarea {
  width:100%;
  padding:0.65rem .9rem;
  border-radius:8px;
  border:1px solid rgba(31,79,43,0.2);
  font-size:1rem;
  font-family: inherit;
  margin-bottom:0.75rem;
}

/* Images */
.responsive-img {
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  object-fit:cover;
}

/* Accessibility */
.visually-hidden {
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:2px;
}

/* Footer */
footer {
  margin-top:3rem;
  padding:1.5rem;
  text-align:center;
  font-size:0.85rem;
  color: #556d5a;
}

/* Responsive adjustments */
@media (max-width: 900px){
  h1 { font-size:2.2rem; }
  h2 { font-size:1.6rem; }
  .grid { grid-template-columns: 1fr; }
}
Example snippet in HTML using the plant theme
html
Copy
Edit
<section class="card">
  <h2>Featured Starter Plants</h2>
  <p>Easy-to-care-for indoor plants for beginners. Learn light, water, and placement tips.</p>
  <div class="grid">
    <article class="card">
      <h3>Snake Plant</h3>
      <p>Low light, infrequent watering. Tough and forgiving.</p>
      <a class="button" href="#">Learn More</a>
    </article>
    <article class="card">
      <h3>Pothos</h3>
      <p>Trailing vine, thrives in indirect light, great air purifier.</p>
      <a class="button" href="#">Learn More</a>
    </article>
  </div>
</section>