/* Gardomist - Professional Gardening Website */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --green-dark: #1a4d1a;
  --green-mid: #2d7a2d;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --brown: #5d4037;
  --text-dark: #1c1c1c;
  --text-mid: #444444;
  --text-light: #666666;
  --white: #ffffff;
  --off-white: #f9f9f7;
  --border: #dde8dd;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', serif;
  line-height: 1.3;
  color: var(--green-dark);
}

a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---- HEADER ---- */
header {
  background: var(--white);
  border-bottom: 2px solid var(--green-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap img { height: 52px; width: auto; }
.logo-wrap { display: flex; align-items: center; }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul li a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--green-mid);
  border-bottom-color: var(--green-light);
  text-decoration: none;
}

/* ---- MOBILE NAV ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { width: 26px; height: 2px; background: var(--text-dark); display: block; }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,50,15,0.78) 0%, rgba(15,50,15,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 18px;
  max-width: 600px;
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.88);
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-light);
  color: var(--white);
  border-color: var(--green-light);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  margin-left: 12px;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

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

.card-body { padding: 22px; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card-body p { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 16px; }

.tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- TIPS SECTION ---- */
.tips-bg { background: var(--green-pale); }

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.tip-item {
  background: var(--white);
  border-radius: 6px;
  padding: 24px;
  border-left: 4px solid var(--green-light);
  box-shadow: var(--shadow);
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tip-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tip-item p { font-size: 0.93rem; color: var(--text-mid); }

/* ---- FEATURED STRIP ---- */
.featured-strip {
  background: var(--green-dark);
  color: var(--white);
  padding: 56px 0;
}

.featured-strip h2, .featured-strip h3 { color: var(--white); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.featured-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 6px;
}

.featured-text p { color: rgba(255,255,255,0.82); margin-bottom: 20px; font-size: 1.03rem; }

/* ---- STATS ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 48px 0;
}

.stat-box {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.stat-box .num {
  font-size: 2.4rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--green-mid);
}

.stat-box .label { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }

/* ---- NEWSLETTER ---- */
.newsletter {
  background: var(--off-white);
  padding: 56px 0;
  text-align: center;
}

.newsletter h2 { margin-bottom: 12px; }
.newsletter p { color: var(--text-light); margin-bottom: 28px; }

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-form input[type=email] {
  flex: 1;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

.newsletter-form input[type=email]:focus { border-color: var(--green-light); }

.newsletter-form button {
  padding: 13px 24px;
  background: var(--green-light);
  color: var(--white);
  border: 2px solid var(--green-light);
  border-radius: 0 4px 4px 0;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.newsletter-form button:hover { background: var(--green-mid); border-color: var(--green-mid); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 64px 0;
  color: var(--white);
}

.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 580px; font-size: 1.05rem; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--off-white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--green-mid); }
.breadcrumb span { margin: 0 8px; }

/* ---- ARTICLE LAYOUT ---- */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 56px 0;
}

.article-body h2 { font-size: 1.6rem; margin: 32px 0 14px; }
.article-body h3 { font-size: 1.25rem; margin: 24px 0 10px; color: var(--green-mid); }
.article-body p { margin-bottom: 18px; color: var(--text-mid); }
.article-body ul { margin: 0 0 18px 24px; }
.article-body ul li { margin-bottom: 8px; color: var(--text-mid); }
.article-body img { border-radius: 6px; margin: 24px 0; width: 100%; height: 320px; object-fit: cover; }

/* ---- SIDEBAR ---- */
.sidebar { }
.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 28px;
}

.sidebar-widget h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-light);
}

.sidebar-links li { list-style: none; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.sidebar-links li:last-child { border-bottom: none; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 { font-size: 0.95rem; color: var(--text-light); margin-bottom: 4px; font-family: 'Source Sans 3', sans-serif; }
.contact-info-item p { font-size: 1rem; font-weight: 600; color: var(--text-dark); }

.contact-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--green-light); }
.contact-form textarea { height: 130px; resize: vertical; }

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px;
}

.legal-content h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.legal-content h3 { font-size: 1.15rem; margin: 22px 0 8px; color: var(--green-mid); }
.legal-content p { margin-bottom: 16px; color: var(--text-mid); }
.legal-content ul { margin: 0 0 16px 24px; }
.legal-content ul li { margin-bottom: 6px; color: var(--text-mid); }
.last-updated { font-size: 0.88rem; color: var(--text-light); margin-bottom: 28px; }

/* ---- FOOTER ---- */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
}

.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 12px; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }

.footer-logo { height: 46px; margin-bottom: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover { color: var(--white); text-decoration: none; }

/* ---- ABOUT ---- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.about-intro-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
}

.about-intro-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-intro-text p { color: var(--text-mid); margin-bottom: 16px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 20px;
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.team-card h3 { font-size: 1rem; margin: 14px 0 4px; padding: 0 12px; }
.team-card p { font-size: 0.88rem; color: var(--text-light); padding: 0 12px; }

/* ---- BLOG PAGE ---- */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 56px 0;
}

.blog-post-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.blog-post-card img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.blog-post-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-post-card p { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 10px; }
.blog-meta { font-size: 0.83rem; color: var(--text-light); }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.highlight-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green-light);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
  margin: 24px 0;
}

.highlight-box p { margin: 0; color: var(--text-mid); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { height: 400px; }
  .hero-content h1 { font-size: 1.9rem; }
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px; }
  nav.open ul { flex-direction: column; gap: 0; }
  nav.open ul li a { display: block; padding: 11px 0; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type=email] { border-right: 2px solid var(--border); border-radius: 4px; }
  .newsletter-form button { border-radius: 4px; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}
