/* ========================
   Base Styles
======================== */
/* merriweather-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/merriweather-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {font-size: 16px;}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: false;
  line-height: 1.65;
}

p {
  font-size: 1em;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Open Sans', sans-serif;
  font-weight: true;
  line-height: 1.15;
}

h1,
.text-size-h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  margin-top: 0;
  font-size: 3.05em;
}

h2,
.text-size-h2 { font-size: 2.44em; }

h3,
.text-size-h3 { font-size: 1.95em; }

h4,
.text-size-h4 { font-size: 1.56em; }

h5,
.text-size-h5 { font-size: 1.25em; }

.text-caption { font-size: 0.8em; }

small,
.text-small {
  font-size: 0.64em;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #fff8e7;
  color: rgb(48, 68, 35);
}

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

/* ========================
   Header & Navigation
======================== */
header.site-header {
  background: #182414;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: center;
}

header.site-header h1 {
  color: #fffbe6;
  font-family: 'Merriweather', serif;
  margin: 0 0 10px 0;
}

.primary-nav a {
  color: #fffbe6;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  margin: 0 10px;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.primary-nav a:hover {
  color: #d4f4dd;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

/* ========================
   Hero Section
======================== */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: url('images/hero-placeholder.jpg') center/cover no-repeat;
  color: #fffbe6;
}

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 15px;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.95;
}

/* ========================
   Features Section
======================== */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  padding: 50px 20px;
}

.feature-card {
  flex: 1 1 250px;
  max-width: 300px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 100%;
  padding: 10px;
  text-align: center;
}

/* ========================
   Grids & Cards
======================== */
.plants-grid, .articles-grid, .videos-grid, .seed-grid, .issues-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 40px 20px;
}

.plant-card, .card, .video-card, .seed-card, .issue-card {
  background: #fff8e7;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}

.plant-card img, .seed-card img, .issue-card img, .card img, .video-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: 0 auto 10px;
  border-radius: 12px;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
}

/* ========================
   Buttons & Forms
======================== */
button, .trade-btn {
  display: inline-block;
  background: #88b04b;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  margin: 5px;
  text-decoration: none;
}

button:hover, .trade-btn:hover {
  background: #6e9e34;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #c7d3b3;
  margin-bottom: 15px;
  font-size: 1rem;
  font-family: inherit;
}

.submit-seed-form {
  max-width: 600px;
  margin: 30px auto;
  background: #fff8e7;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.seed-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* ========================
   Footer
======================== */
footer {
  text-align: center;
  background: #3b5a30;
  color: #fdf6e3;
  padding: 30px 0;
  font-size: clamp(0.8rem, 2vw, 1rem);
}

/* ========================
   Responsive adjustments
======================== */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }
}
.hero {
  text-align: center;
  padding: 100px 20px;
  background: url('img/close.jpg') center/cover no-repeat;
  color: #fffbe6;
}

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 15px;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.95;
}
