/* The Pawfect Pup - Global Styles */

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Navigation */
nav {
  background: #ef965a;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
}

nav img.logo {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  background: white;
  color: #ef965a;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #ef965a;
  flex-direction: column;
  z-index: 300;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-menu a:hover {
  background: rgba(0,0,0,0.1);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
}

.menu-overlay.open {
  display: block;
}

@media(max-width:640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* Page Layout */
.page-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

@media(max-width:1024px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
}

/* Article Styles */
main {
  max-width: 800px;
}

.article-hero {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.article-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #222;
}

@media(max-width:640px) {
  h1 {
    font-size: 2rem;
  }
}

.article-body h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #222;
}

.article-body p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body a {
  color: #ef965a;
  text-decoration: underline;
}

.article-body a:hover {
  color: #d4753a;
}

/* CTA Box */
.cta-box {
  background: #FEF3EB;
  border: 2px solid #ef965a;
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.cta-sub {
  color: #666;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: #ef965a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  margin: 0.5rem;
  transition: background 0.2s;
}

.cta-btn:hover {
  background: #d4753a;
}

.cta-btn-outline {
  display: inline-block;
  background: white;
  color: #ef965a;
  border: 2px solid #ef965a;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  margin: 0.5rem;
  transition: all 0.2s;
}

.cta-btn-outline:hover {
  background: #ef965a;
  color: white;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

/* Sidebar */
.ad-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border: 2px solid #ef965a;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card.gray {
  background: #f9f9f9;
  border-color: #ddd;
}

.sidebar-card .title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

.sidebar-card .sub {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.sidebar-btn {
  display: block;
  background: #ef965a;
  color: white;
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s;
}

.sidebar-btn:hover {
  background: #d4753a;
}

.sidebar-btn.outline {
  background: white;
  color: #ef965a;
  border: 2px solid #ef965a;
}

.sidebar-btn.outline:hover {
  background: #ef965a;
  color: white;
}

.sidebar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #222;
  color: white;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

footer a {
  color: #ef965a;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
