/* Garden Edge Company - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0d1b2a;
  --blue: #1a5276;
  --blue-mid: #2471a3;
  --sky: #d6eaf8;
  --white: #ffffff;
  --off-white: #f8fafd;
  --black: #0a0a0a;
  --charcoal: #1c1c1c;
  --steel: #2c3e50;
  --corten: #b5651d;
  --corten-light: #d4842a;
  --text: #1a1a2e;
  --text-muted: #5a6475;
  --border: #dde4ef;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(13,27,42,0.10);
  --shadow-lg: 0 12px 48px rgba(13,27,42,0.18);
}

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

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  min-height: 52px;
  text-align: center;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

section { padding: 80px 0; }

/* NAVIGATION */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 32px;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nav-logo span { color: var(--corten-light); }
.nav-menu { display: flex; gap: 12px; align-items: center; }
.nav-menu a {
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none !important;
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--corten) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--corten-light) !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* MOBILE NAV OVERLAY */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--corten-light); }
.mobile-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  background: var(--corten);
  color: var(--white) !important;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(181,101,29,0.4);
  transition: all 0.22s ease;
  text-decoration: none !important;
  min-height: 52px;
  display: flex;
  align-items: center;
}
.sticky-cta:hover {
  background: var(--corten-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(181,101,29,0.5);
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  padding-bottom: 48px;
}
.footer-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--corten-light);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col p, .footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  display: block;
  text-decoration: none;
  margin-bottom: 4px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* BLOG ARTICLE */
.article-page { max-width: 800px; margin: 0 auto; padding: 120px 24px 80px; }
.article-page h2 { margin: 2rem 0 1rem; }
.article-page h3 { margin: 1.5rem 0 0.75rem; }
.article-page p { font-size: 1.05rem; }
.article-page ul, .article-page ol { margin: 0 0 1rem 1.5rem; }
.article-page li { margin-bottom: 0.5rem; }
.post-meta-bar {
  display: flex; gap: 16px; align-items: center;
  color: var(--text-muted); font-size: 0.85rem;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-mid);
  font-size: 0.9rem;
  margin-bottom: 32px;
  text-decoration: none !important;
  font-weight: 500;
}
.back-link:hover { color: var(--navy); }

/* BLOG INDEX */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.22s ease;
  text-decoration: none !important;
  display: block;
  color: var(--text);
}
.blog-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  text-decoration: none !important;
}
.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--corten);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* SEARCH BAR */
.search-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto 48px;
}
.search-wrap input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border 0.2s;
  background: var(--white);
}
.search-wrap input:focus { border-color: var(--blue-mid); }
.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* FAQ ACCORDION */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  color: var(--navy);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: all 0.25s;
  color: var(--navy);
}
.faq-item.open .faq-icon {
  background: var(--navy);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* LEGAL PAGES */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page h2 { margin: 2.5rem 0 1rem; font-size: 1.6rem; }
.legal-page h3 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
.legal-page p { color: var(--text-muted); }
.legal-page ul { margin: 0 0 1rem 1.5rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  section { padding: 56px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
