/* ============================================================
   SNAILHAS25000TEETH.COM — STYLESHEET
   Matches dinosaurhas500teeth.com layout & visual structure
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --green-dark:   #1a4a1a;
  --green-mid:    #2d6a2d;
  --green-light:  #3d8b3d;
  --green-pale:   #e8f5e9;
  --green-border: #c8e6c9;
  --accent:       #e65c00;
  --accent-hover: #bf4e00;
  --white:        #ffffff;
  --bg-light:     #f7f9f7;
  --bg-alt:       #f0f7f0;
  --text:         #1a1a1a;
  --text-body:    #333333;
  --text-muted:   #666666;
  --border:       #dde8dd;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.12);
  --shadow-hover: 0 6px 24px rgba(45,106,45,0.18);
  --radius:       8px;
  --font-head:    'Merriweather', Georgia, serif;
  --font-body:    'Open Sans', system-ui, sans-serif;
  --max-w:        1140px;
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--white); line-height: 1.7; }
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; }
ul { list-style: disc; padding-left: 20px; }

/* ===== HEADER ===== */
header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 58px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.2px;
}
.logo:hover { color: #a5d6a7; text-decoration: none; }

nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
  background: rgba(255,255,255,0.14);
  color: #fff;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
  border: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(230,92,0,0.32);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover { background: rgba(255,255,255,0.28); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-mid);
  padding: 11px 26px;
}
.btn-outline:hover { background: var(--green-pale); color: var(--green-dark); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(150deg, #0d2e0d 0%, #1a4a1a 40%, #2d6a2d 80%, #3d8b3d 100%);
  padding: 60px 24px 56px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 32px;
  align-items: center;
}
.hero-text {
  text-align: center;
  color: #fff;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-img { display: flex; justify-content: center; align-items: center; }
.hero-img img {
  width: 240px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  border: 3px solid rgba(255,255,255,0.18);
  transition: transform 0.3s;
}
.hero-img img:hover { transform: scale(1.03); }
.hero-img-left img { transform: rotate(-2deg); }
.hero-img-left img:hover { transform: rotate(-2deg) scale(1.03); }
.hero-img-right img { transform: rotate(2deg); }
.hero-img-right img:hover { transform: rotate(2deg) scale(1.03); }

/* ===== FEATURE CARDS ===== */
.features {
  background: var(--white);
  padding: 52px 24px;
  border-bottom: 1px solid var(--border);
}
.features-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 14px; line-height: 1; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.feature-card a { font-size: 0.88rem; font-weight: 700; color: var(--green-mid); }
.feature-card a:hover { color: var(--green-dark); }

/* ===== CONTENT BLOCKS ===== */
.content-block { padding: 56px 24px; }
.block-white { background: var(--white); }
.block-alt   { background: var(--bg-light); }

.block-inner { max-width: var(--max-w); margin: 0 auto; }

.block-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--green-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.block-emoji { font-size: 1.4rem; line-height: 1; }

/* ===== LINK CARDS GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.link-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.block-alt .link-card { background: var(--white); }
.link-card:hover { box-shadow: var(--shadow-hover); border-color: var(--green-light); transform: translateY(-2px); }
.link-card h3 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.link-card h3 a { color: var(--text); }
.link-card h3 a:hover { color: var(--green-mid); text-decoration: none; }
.link-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.card-link { font-size: 0.86rem; font-weight: 700; color: var(--green-mid); }
.card-link:hover { color: var(--green-dark); }

/* ===== ABOUT BLOCK ===== */
.about-block {
  background: var(--green-pale);
  border-top: 3px solid var(--green-border);
  border-bottom: 3px solid var(--green-border);
  padding: 56px 24px;
}
.about-block-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-block h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 18px;
}
.about-block p {
  font-size: 0.97rem;
  color: var(--text-body);
  margin-bottom: 14px;
  line-height: 1.75;
}
.about-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.65);
  padding: 32px 24px 28px;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
  font-style: italic;
}
.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto 16px;
}
.footer-copy {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.footer-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}
.footer-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }

/* ===== ARTICLE PAGES ===== */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--green-mid); }
.breadcrumb-inner { max-width: var(--max-w); margin: 0 auto; }

.article-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
  padding: 52px 24px 44px;
  text-align: center;
}
.article-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  max-width: 820px;
  margin: 0 auto 14px;
}
.article-hero p { max-width: 640px; margin: 0 auto; opacity: 0.9; font-size: 1rem; }

.article-wrap {
  max-width: var(--max-w);
  margin: 40px auto 70px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 44px;
  align-items: start;
}

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-border);
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 22px 0 10px;
}
.article-body p { margin-bottom: 16px; font-size: 0.97rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 16px; font-size: 0.97rem; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--green-dark); }

.tip-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green-mid);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0;
  font-size: 0.94rem;
  color: var(--text-body);
}

.fact-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.93rem; }
.fact-table th {
  background: var(--green-mid);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-family: var(--font-body);
}
.fact-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.fact-table tr:nth-child(even) td { background: var(--bg-alt); }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  background: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text);
  user-select: none;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-a {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 0.94rem;
  color: var(--text-body);
  background: var(--white);
}
.faq-item.open .faq-a { max-height: 300px; padding: 14px 18px; }
.faq-arrow { font-size: 0.75rem; transition: transform 0.3s; color: var(--green-mid); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.explore-more {
  background: var(--green-pale);
  border: 1px solid var(--green-border);
  border-top: 4px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 40px;
}
.explore-more h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.explore-more h3::before {
  content: "📚";
  font-size: 1.1rem;
}
.explore-more ul { list-style: none; padding: 0; margin: 0; display: block; }
.explore-more li {
  padding: 10px 0;
  border-bottom: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.explore-more li:last-child { border-bottom: none; }
.explore-more li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: var(--green-mid);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}
.explore-more a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--green-dark);
  transition: color 0.15s;
}
.explore-more a:hover { color: var(--green-light); text-decoration: none; }

/* Sidebar */
.sidebar {}
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.sidebar-box h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-border);
}
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; }
.sidebar-box li:last-child { border-bottom: none; }
.sidebar-box li a { color: var(--green-mid); font-weight: 600; }

/* Article inline images */
.article-img {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.article-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-img:hover img { transform: scale(1.02); }
.article-img figcaption {
  background: var(--bg-alt);
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* Simple pages */
.simple-page {
  max-width: 800px;
  margin: 44px auto 72px;
  padding: 0 24px;
}
.simple-page h1 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 22px;
  color: var(--text);
}
.simple-page h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--green-dark);
}
.simple-page p { margin-bottom: 14px; font-size: 0.97rem; line-height: 1.75; }
.simple-page ul { font-size: 0.97rem; margin-bottom: 14px; }
.simple-page li { margin-bottom: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 200px 1fr 200px; gap: 20px; }
  .hero-img img { width: 180px; height: 240px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-img { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 720px) {
  nav { display: none; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: var(--green-dark); padding: 10px 14px 14px; z-index: 199; border-top: 1px solid rgba(255,255,255,0.1); }
  nav.open { display: flex; }
  nav a { width: 100%; padding: 10px 14px; border-radius: 5px; }
  .nav-toggle { display: block; }
  .hero { padding: 44px 16px 40px; }
  .hero-text h1 { font-size: 1.75rem; }
  .content-block { padding: 40px 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .about-block { padding: 40px 16px; }
  .features { padding: 36px 16px; }
  .features-grid { gap: 16px; }
}
