/* The International Dog Sitter — Custom styles (Bulma base) */

:root {
  --primary: #2d6a4f;
  --primary-light: #52b788;
  --primary-dark: #1b4332;
  --accent: #d4a853;
  --accent-dark: #b8860b;
  --bg: #ffffff;
  --bg-alt: #f6f9f7;
  --bg-dark: #1b4332;
  --text: #1f3023;
  --text-light: #4a5e50;
  --text-muted: #7a8f80;
  --border: #d8e8de;
  --hero-overlay: rgba(27, 67, 50, 0.55);
}

/* ===== GLOBAL ===== */
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
h1, h2, h3, h4, h5, .nav-site-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-light); }

/* ===== NAVBAR ===== */
.navbar-site {
  background: var(--bg-dark);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.navbar-site .navbar-brand {
  padding: 0.75rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff !important;
  letter-spacing: 0.01em;
  gap: 0.5rem;
  align-items: center;
}
.navbar-site .navbar-brand:hover { color: var(--accent) !important; text-decoration: none; }
.paw-icon { font-size: 1.25rem; }
.navbar-site .navbar-menu { background: transparent; }
.navbar-site .navbar-item,
.navbar-site .navbar-link {
  color: rgba(255,255,255,0.82) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.navbar-site .navbar-item:hover,
.navbar-site .navbar-item.is-active {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
}
.navbar-site .navbar-item.has-dropdown:hover .navbar-link { background: transparent !important; }
.navbar-site .navbar-dropdown {
  background: var(--primary-dark);
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border-radius: 6px;
}
.navbar-site .navbar-dropdown .navbar-item {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.80rem;
}
.navbar-site .navbar-dropdown .navbar-item:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
.navbar-burger span { background: #fff; }

/* ===== HERO ===== */
.site-hero {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.site-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.site-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 2rem;
}
.site-hero .hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.site-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}
.site-hero .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  max-width: 560px;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.page-hero h1 { color: #ffffff; font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: 0.6rem; }
.page-hero .hero-desc { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===== SECTIONS ===== */
.section-main { padding: 4rem 1.5rem; }
.section-alt { background: var(--bg-alt); padding: 4rem 1.5rem; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

/* ===== CARDS ===== */
.resource-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(45, 106, 79, 0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(45, 106, 79, 0.15); }
.resource-card img { width: 100%; height: 200px; object-fit: cover; }
.resource-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.resource-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary-dark); }
.resource-card-body p { color: var(--text-light); font-size: 0.95rem; flex: 1; }
.resource-card-body a.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}
.resource-card-body a.card-link::after { content: ' →'; }
.resource-card-body a.card-link:hover { color: var(--accent-dark); }

/* ===== FEATURE LIST ===== */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* ===== ARTICLE / PAGE CONTENT ===== */
.article-body { max-width: 800px; margin: 0 auto; }
.article-body h2 {
  font-size: 1.55rem;
  color: var(--primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  border-top: 3px solid var(--border);
}
.article-body h3 { font-size: 1.2rem; color: var(--primary); margin-top: 1.75rem; margin-bottom: 0.5rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin-bottom: 1.1rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body a { color: var(--primary); font-weight: 500; }
.article-body a:hover { color: var(--accent-dark); }
.article-body strong { color: var(--primary-dark); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.article-body th { background: var(--bg-alt); padding: 10px 14px; text-align: left; border: 1px solid var(--border); font-family: 'Montserrat', sans-serif; font-size: 0.82rem; }
.article-body td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-light); }
.article-body tr:nth-child(even) td { background: #fafdf9; }

/* ===== ARTICLE IMAGE ===== */
.article-image {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 8px;
  margin: 1.5rem 0 2rem;
}
.image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -1.25rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  background: var(--bg-alt);
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-bar a { color: var(--primary); text-decoration: none; }
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar span { margin: 0 0.4rem; }

/* ===== SIDEBAR ===== */
.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card ul li { margin-bottom: 0.5rem; }
.sidebar-card ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.sidebar-card ul li a:hover { color: var(--primary); }
.sidebar-card ul li a::before { content: '→ '; color: var(--primary-light); }
.authority-link { color: var(--primary-dark) !important; font-size: 0.88rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 3.5rem 2rem;
  text-align: center;
  border-radius: 12px;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT FORM ===== */
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Lora', serif;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary-light); outline: none; }
.btn-submit {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 1.5rem 2rem;
}
.site-footer h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.9rem; line-height: 1.6; margin-bottom: 0; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 2rem 0 1.25rem; }
.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-hero { min-height: 380px; }
  .site-hero .hero-content { padding: 2rem 1.5rem; }
  .section-main, .section-alt { padding: 2.5rem 1rem; }
  .resource-card img { height: 160px; }
}
