/* ===== Reset & bas ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #f7f6f2;
}

/* ===== Container ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  background: #ffffff;
  border-bottom: 1px solid #dfe5d8;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5a7a55;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: #7d9a76;
  font-weight: 400;
}

.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #3d4a3a;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: #5a7a55;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 50px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #2f3d2c;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-text {
  font-size: 1.15rem;
  color: #3d4a3a;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Sektioner ===== */
.section {
  padding: 30px 0 70px;
}

.section-title {
  font-size: 1.7rem;
  color: #2f3d2c;
  margin-bottom: 28px;
  font-weight: 600;
}

/* ===== Växtkort ===== */
.plant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.plant-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dfe5d8;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: block;
}

.plant-card:hover {
  border-color: #b8cbb0;
  box-shadow: 0 6px 16px rgba(90, 122, 85, 0.1);
  transform: translateY(-2px);
}

.plant-card img,
.plant-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eae8e3;
}

.plant-card-content {
  padding: 18px;
}

.plant-card-content h3 {
  font-size: 1.15rem;
  color: #2f3d2c;
  margin-bottom: 6px;
  font-weight: 600;
}

.plant-card-content p {
  font-size: 0.95rem;
  color: #3d4a3a;
  line-height: 1.5;
}

/* ===== Guider ===== */
.guides-section {
  background: #f0f3ed;
  padding: 60px 0;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.guide-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #dfe5d8;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
  display: block;
}

.guide-card:hover {
  border-color: #b8cbb0;
}

.guide-card h3 {
  font-size: 1.1rem;
  color: #5a7a55;
  margin-bottom: 8px;
  font-weight: 600;
}

.guide-card p {
  font-size: 0.95rem;
  color: #3d4a3a;
  line-height: 1.5;
}

/* ===== Växtsida ===== */
.plant-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 60px 0 50px;
  align-items: center;
}

.plant-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.plant-intro h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #2f3d2c;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.1rem;
  color: #6b8a64;
  margin-bottom: 20px;
  font-style: italic;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #3d4a3a;
}

.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 80px;
}

.care-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #dfe5d8;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.care-card:hover {
  border-color: #b8cbb0;
  box-shadow: 0 4px 12px rgba(90, 122, 85, 0.08);
}

.care-card h2 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #5a7a55;
  font-weight: 600;
}

.care-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #3d4a3a;
}

/* ===== Footer ===== */
.footer {
  background: #ffffff;
  border-top: 1px solid #dfe5d8;
  padding: 30px 0;
  text-align: center;
  color: #6b7d66;
  font-size: 0.9rem;
}

/* ===== Responsivitet ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .hero {
    padding: 50px 0 40px;
  }

  .plant-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .care-grid {
    grid-template-columns: 1fr;
  }

  .plant-intro h1 {
    font-size: 2.2rem;
  }

  .nav a {
    margin-left: 16px;
    font-size: 0.9rem;
  }
}