/*
Theme Name: North Paws Ranch
Theme URI: https://northpawsranch.com
Author: North Paws Ranch
Author URI: https://northpawsranch.com
Description: Custom theme for North Paws Ranch — At Home Doggy Daycare in North Las Vegas.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: northpaws
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --green:       #2d6a4f;
  --green-light: #40916c;
  --green-pale:  #d8f3dc;
  --gold:        #f4a226;
  --gold-dark:   #c47d0e;
  --cream:       #fdf8f2;
  --charcoal:    #1a1a1a;
  --gray:        #555;
  --gray-light:  #f0ede8;
  --white:       #ffffff;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.13);
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Lato', 'Helvetica Neue', sans-serif;
  --max-width:   1140px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--charcoal);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(244,162,38,0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,162,38,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   SITE HEADER / NAV (shared across blog, pages)
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e8e3dc;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
}
.site-logo span { color: var(--gold); }
.site-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--green); }
.site-nav .nav-cta {
  background: var(--gold);
  color: var(--charcoal);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
}
.site-nav .nav-cta:hover {
  background: var(--gold-dark);
  color: var(--charcoal);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e8e3dc;
    padding: 20px 24px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ============================================================
   SITE FOOTER (shared)
   ============================================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   BLOG / INNER PAGE STYLES
   ============================================================ */
.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 60px 0;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 8px;
}
.blog-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card h2 a { color: var(--charcoal); }
.blog-card h2 a:hover { color: var(--green); }
.blog-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 16px; }
.blog-card-meta { font-size: 0.8rem; color: #999; }

/* Single post */
.post-content { max-width: 740px; margin: 60px auto; padding: 0 24px; }
.post-content h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; }
.post-meta { font-size: 0.85rem; color: #999; margin-bottom: 32px; border-bottom: 1px solid #e8e3dc; padding-bottom: 20px; }
.post-body { font-size: 1.05rem; line-height: 1.85; }
.post-body h2, .post-body h3 { margin: 32px 0 16px; }
.post-body p { margin-bottom: 20px; }
.post-body img { border-radius: var(--radius); margin: 24px 0; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 20px; }
.post-body li { margin-bottom: 8px; }

/* Generic page content */
.generic-page { max-width: 800px; margin: 60px auto; padding: 0 24px 80px; }
.generic-page h1 { margin-bottom: 24px; }
.generic-page .entry-content { font-size: 1.05rem; line-height: 1.85; }
.generic-page .entry-content p { margin-bottom: 20px; }
