:root {
  --leaf-green: #10b981;
  --forest-green: #047857;
  --soft-green: #d1fae5;
  --bg-green: #ecfdf5;
  --bg-white: #ffffff;
  --text-main: #064e3b;
  --text-light: #34d399;
  --font-main: "Nunito", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg-green);
  color: var(--text-main);
  background-image: 
    radial-gradient(#10b981 0.5px, transparent 0.5px),
    radial-gradient(#10b981 0.5px, var(--bg-green) 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--soft-green);
  padding: 15px 0;
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--forest-green);
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 25px;
  font-weight: 700;
  font-size: 1rem;
}

.nav-links a {
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-links a:hover {
  background: var(--soft-green);
  color: var(--forest-green);
}

/* Hero */
.hero {
  padding: 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
}

.eyebrow {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin: 0 0 15px;
  letter-spacing: 1px;
  background: white;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.1);
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 25px;
  line-height: 1.1;
  color: var(--forest-green);
  font-weight: 900;
}

.hero-desc {
  font-size: 1.15rem;
  color: #555;
  margin: 0 0 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 20px;
  transition: all 0.3s;
}

.btn:not(.ghost) {
  background: var(--leaf-green);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.btn:not(.ghost):hover {
  background: var(--forest-green);
  transform: translateY(-2px);
  box-shadow: 0 15px 20px -3px rgba(16, 185, 129, 0.4);
}

.btn.ghost {
  background: white;
  color: var(--forest-green);
  border: 2px solid var(--soft-green);
}

.btn.ghost:hover {
  border-color: var(--leaf-green);
  background: var(--soft-green);
}

.btn-icon {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 0;
}

.hero-media {
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
  transform: rotate(2deg);
}

.hero-image {
  width: 100%;
  border-radius: 20px;
}

/* Sections */
.section-title {
  text-align: center;
  margin: 0 0 60px;
  font-size: 2.2rem;
  color: var(--forest-green);
  font-weight: 800;
}

.features, .posts, .promotions, .comments, .gallery {
  padding: 80px 0;
}

.feature-grid, .comment-grid, .post-grid, .gallery-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card, .comment-card, .post-card {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid var(--soft-green);
  transition: all 0.3s;
}

.feature-card:hover, .comment-card:hover, .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.1);
  border-color: var(--leaf-green);
}

.feature-title, .comment-title, .post-title {
  color: var(--forest-green);
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-desc, .comment-desc {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-img {
  width: 100%;
  border-radius: 20px;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px rgba(16, 185, 129, 0.2);
}

/* Posts/Carousel */
.carousel-container {
  position: relative;
}

.carousel-track-container {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-track-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 30px;
  padding: 20px 5px;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  flex: 0 0 320px;
  scroll-snap-align: center;
}

.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-title a {
  color: var(--text-main);
}

.post-title a:hover {
  color: var(--leaf-green);
}

.post-meta {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.post-summary {
  flex: 1;
  color: #666;
  margin-bottom: 20px;
}

.post-link {
  color: var(--leaf-green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Promotions */
.promotion-card {
  background: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 20px;
  border: 1px solid var(--soft-green);
  transition: all 0.3s;
}

.promotion-card:hover {
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.1);
  border-color: var(--leaf-green);
}

.promotion-icon {
  width: 44px;
  height: 44px;
  background: var(--soft-green);
  padding: 8px;
  border-radius: 50%;
}

.promotion-title {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* Footer */
.footer {
  padding: 60px 0;
  background: white;
  border-top: 1px solid var(--soft-green);
  text-align: center;
  color: var(--text-main);
  font-size: 1rem;
}

/* Single Page */
.article {
  padding: 80px 0;
}

.article-card {
  background: white;
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.article-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--forest-green);
  font-weight: 900;
}

.article-meta {
  color: var(--leaf-green);
  margin-bottom: 40px;
  font-weight: 700;
}

.article-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content h2 {
  color: var(--forest-green);
  margin-top: 40px;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 1.8rem; }
  .nav-links { display: none; }
  .carousel-slide { flex: 0 0 280px; }
  .article-card { padding: 30px; }
}
