/* 🎨 BigDogDaily Final Custom CSS – Brand Colors, Clean Layout, Optimized UX */

:root {
  --color-primary: #11324d;
  --color-accent: #f8fafc;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e2e8f0;
  --font-base: "Inter", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

/* Header (post-nav) */
header {
  background-color: var(--color-surface);
  color: var(--color-text);
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

header img {
  max-width: 140px;
  margin-bottom: 1rem;
}

header p.tagline {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  line-height: 1.6;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Site Navigation */
.site-nav {
  background-color: var(--color-primary);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-border);
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Hero Section */
.hero {
  background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero-content {
  max-width: 720px;
  margin: auto;
}

.hero img {
  max-width: 160px;
  height: auto;
  margin-bottom: 1rem;
}

.site-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.site-description {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero .cta {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}

.hero .cta:hover {
  background-color: #0e2a42;
}

/* Main Content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.2rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--color-text);
  margin: 1.5rem 0 1rem;
}

h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Article Cards */
article {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  transition: transform 0.2s ease;
}

/* CTA Boxes */
.cta {
  background: var(--color-primary);
  color: #fff;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 3rem 0;
}

.cta a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 2rem 1rem;
  border-top: 1px solid var(--color-border);
}

/* Media */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Responsive Enhancements */
@media (min-width: 768px) {
  body {
    font-size: 1.05rem;
  }
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 2rem;
  }
  nav {
    gap: 1.5rem;
  }
}

@media (min-width: 600px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 2rem;
  }
}
