/* ===========================
   MkDocs built-in theme:
   Remove the LEFT sidebar nav
   =========================== */

/* Hide the sidebar (navigation) */
.bs-sidebar{
  display: none !important;
}

/* Make the main content column take the full row */
.col-md-9{
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Optional: reduce the empty gutter where sidebar lived */
@media (min-width: 992px){
  .container{
    max-width: 1100px; /* match your site max if you want */
  }
}

/* =========================================================
   MyDoggy.ai â€” Standard Light Theme (custom.css)
   Goals:
   - Match current homepage: airy, friendly, bright CTA blue
   - White cards, soft borders, subtle shadows
   - Reusable across MkDocs + PHP + showcase pages
   ========================================================= */

/* Design tokens */
:root{
  --bg: #f5f9ff;
  --bg-accent: #eaf3ff;

  --bg1:#fdfdfd;
  --bg2:#e0f2fe;            /* very light blue tint */

  --card: #ffffff;
  --card-2: #f8fbff;

  --text: #1f2937;       /* slate-800 */
  --muted: #475569;      /* slate-600 */
  --muted-2: #64748b;    /* slate-500 */

  --border: #dbe7ff;
  --border-2: #cfe0ff;

  --brand: #1677ff;      /* bright, friendly blue */
  --brand-2: #6a5cff;    /* gentle purple accent */
  --brand-dark: #0b5bd3;

  --success: #16a34a;
  --warning-bg: #fff7d6;
  --warning-border: #ffe08a;
  --warning-text: #7a5b00;

  --shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  --shadow-2: 0 14px 34px rgba(16, 24, 40, 0.10);

  --radius: 18px;
  --radius-sm: 14px;

  --max: 1100px;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";

  --my-doggy-nav: #4a5568;     /* override bootstrap “primary” #1677ff */
}

/* Override MkDocs bootstrap top navbar */
.navbar.navbar-dark.bg-primary,
.navbar.bg-primary {
  background-color: var(--my-doggy-nav) !important;   /* dog color */
  border-bottom: 1px solid var(--border);
}

*{ box-sizing: border-box; }
html{
  height: 100%;
  background: var(--bg); /* solid fallback */
}

body{
  min-height: 100%;
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.55;

  /* âœ… Single smooth background, no bands */
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 800px at 12% 0%, rgba(22,119,255,.10), rgba(22,119,255,0) 60%),
    radial-gradient(1000px 700px at 92% 8%, rgba(106,92,255,.09), rgba(106,92,255,0) 58%),
    linear-gradient(180deg, #f7fbff 0%, #f5f9ff 60%, #f5f9ff 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

a{ color: var(--brand-dark); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* Header / nav */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 249, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text);
}
.badge{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22,119,255,.25);
  background: rgba(22,119,255,.08);
  color: var(--brand-dark);
  font-weight: 800;
}
.navlinks{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items:center;
  justify-content:flex-end;
}
.navlinks a{
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.navlinks a:hover{ color: var(--text); text-decoration: none; }
.navlinks a.primary{
  color: #ffffff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  padding: 9px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(22,119,255,.16);
}
.navlinks a.primary:hover{ opacity: .95; }

/* --- Gallery section replaces rotating carousel --- */
#showcase-gallery{
  margin: 34px auto 10px;
  text-align:center;
  max-width: var(--max);
}
#showcase-gallery h2{ margin-bottom: 10px; }

.gallery-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .gallery-grid{ grid-template-columns: 1fr; }
}

.gallery-card{
  text-align:left;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 14px;
}
.gallery-card__top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.gallery-card__title{
  font-weight: 950;
  font-size: 15px;
  color: var(--text);
}
.gallery-card__hint{
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-main{
  margin: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(234,243,255,.35);
  overflow:hidden;
}
.gallery-main img{
  width: 100%;
  height: 440px;
  object-fit: cover;
  display:block;
}
@media (max-width: 980px){
  .gallery-main img{ height: 420px; }
}
@media (max-width: 520px){
  .gallery-main img{ height: 340px; }
}
.gallery-main .caption{
  margin: 0;
  padding: 10px 12px;
  font-style: italic;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.75);
}

.thumbs{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 520px){
  .thumbs{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.thumb{
  display:flex;
  flex-direction:column;
  gap: 6px;
  align-items:center;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor:pointer;
  font-weight: 900;
  color: var(--text);
}
.thumb:hover{
  box-shadow: 0 10px 18px rgba(16,24,40,.08);
  border-color: rgba(22,119,255,.25);
}
.thumb.active{
  border-color: rgba(22,119,255,.45);
  box-shadow: 0 12px 22px rgba(22,119,255,.12);
  background: rgba(234,243,255,.55);
}
.thumb img{
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(219,231,255,.9);
  background: #fff;
}
.thumb span{
  font-size: 12px;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.1;
}

/* --- Make thumbs feel more interactive --- */
.thumbs{ scroll-snap-type: x mandatory; }

.thumb{
  position: relative; /* for Selected pill */
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.thumb:hover{ transform: translateY(-2px); }
.thumb:active{ transform: translateY(0px) scale(0.99); }

.thumb:focus-visible{
  outline: 3px solid rgba(22,119,255,.35);
  outline-offset: 4px;
}

/* Selected pill (only on active thumb) */
.thumb.active::after{
  content: "Selected";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 16px rgba(22,119,255,.18);
  pointer-events: none;
}

.thumb img{ transition: transform .12s ease, filter .12s ease; }
.thumb:hover img{ transform: scale(1.02); filter: saturate(1.05); }

/* Layout helpers */
main{ padding: 26px 0 64px; }
.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 760px){
  .grid2{ grid-template-columns: 1fr; }
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card.soft{
  background: var(--card-2);
  border-color: var(--border);
  box-shadow: none;
  border-radius: var(--radius-sm);
}

.h1{
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 950;
}
.sub{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}
h2{ margin: 0 0 10px; font-size: 20px; }
h3{ margin: 0 0 8px; font-size: 16px; }

.muted{ color: var(--muted); }
.small{ color: var(--muted-2); font-size: 13px; }

.meta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 2px;
}
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(234,243,255,.65);
  color: var(--muted);
}
.tag strong{ color: var(--text); }

.callout{
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-text);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.callout b{ color: #6b4f00; }

.ctaRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  background: #ffffff;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}
.btn:hover{ text-decoration:none; border-color: var(--border); box-shadow: 0 8px 18px rgba(16,24,40,.06); }
.btn.primary{
  border: none;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.btn.primary:hover{ opacity: .95; }

.list{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); }

.portrait{ display:flex; gap: 14px; align-items:center; }
.portrait img{
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 10px 18px rgba(16,24,40,.10);
  background: #ffffff;
}

.panel{
  border: 1px solid var(--border);
  background: rgba(248,251,255,.8);
  border-radius: var(--radius-sm);
  padding: 12px;
}

/* Code / sample chat blocks */
.codebox{
  font-family: var(--mono);
  font-size: 12px;
  white-space: pre-wrap;
  color: #0f172a;
  border: 1px solid var(--border);
  background: rgba(234,243,255,.55);
  border-radius: var(--radius-sm);
  padding: 12px;
  overflow: auto;
}

/* Dividers / footer */
.divider{ height: 1px; background: var(--border); margin: 18px 0; }

.site-footer{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 13px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.site-footer a{ color: var(--muted-2); }
.site-footer a:hover{ color: var(--text); text-decoration: underline; }

/* Optional: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* --- Mobile: thumbs become a swipeable strip --- */
@media (max-width: 520px){
  .thumbs{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .thumb{
    flex: 0 0 44%;
    scroll-snap-align: start;
  }
}

/* ===== MkDocs built-in theme: override the top navbar ===== */

/* 1) Kill Bootstrap's bg-primary (it uses !important) */
.navbar.fixed-top.navbar-dark.bg-primary{
  background-color: var(--my-doggy-nav) !important; /* your header color */
  background-image: none !important;
  border-bottom: 1px solid rgba(219,231,255,.95);
  backdrop-filter: blur(10px);
}

/* White-ish text */
.navbar.fixed-top.navbar-dark.bg-primary .navbar-brand,
.navbar.fixed-top.navbar-dark.bg-primary .nav-link,
.navbar.fixed-top.navbar-dark.bg-primary .navbar-text{
  color: rgba(255,255,255,.92) !important;
}

/* Hover/focus a touch brighter */
.navbar.fixed-top.navbar-dark.bg-primary .nav-link:hover,
.navbar.fixed-top.navbar-dark.bg-primary .nav-link:focus,
.navbar.fixed-top.navbar-dark.bg-primary .navbar-brand:hover,
.navbar.fixed-top.navbar-dark.bg-primary .navbar-brand:focus{
  color: rgba(255,255,255,.98) !important;
}

/* Dropdown toggle caret color */
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-toggle::after{
  border-top-color: rgba(255,255,255,.85) !important;
}

/* ===== Dropdown matches the navbar ===== */
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-menu{
  background-color: var(--my-doggy-nav) !important; /* match header */
  background-image: none !important;
  border: 1px solid rgba(219,231,255,.35) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
  border-radius: 12px;
  padding: 6px;
}

/* Dropdown items: same white-ish */
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-item{
  color: rgba(255,255,255,.92) !important;
  font-weight: 400;
  border-radius: 10px;
  padding: 8px 10px;
}

/* Hover/focus: subtle light overlay (no guessing on a new color) */
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-item:hover,
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-item:focus{
  background: rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.98) !important;
}

/* Active/selected: use your existing brand token */
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-item.active,
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-item:active{
  background: var(--brand) !important;
  color: #fff !important;
}

/* If a divider ever appears */
.navbar.fixed-top.navbar-dark.bg-primary .dropdown-divider{
  border-top-color: rgba(255,255,255,.16) !important;
}

/* footer p:last-child { display:none; } */

/* DOGPARK */
    .dog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 1.0rem;
      margin-top: 1.5rem;
    }

    .dog-card {
      background: white;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .dog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .dog-card a {
      display: block;
      padding: 0.3rem 0.25rem;
      color: inherit;
      text-decoration: none;
    }

    .dog-card img {
      max-width: 100px;
      height: 100px;
      object-fit: cover;
      margin-bottom: 0.2rem;
      border-radius: 8px;
    }

    .dog-card h3 {
      margin: 0.1rem 0;
      font-size: 1rem;
      color: var(--primary);
    }

    .dog-card a:hover h3 {
      color: var(--primary-dark);
      text-decoration: underline;
    }

    .dog-card p {
      font-size: 0.85rem;
      color: #555;
      margin: 0;
      font-style: italic;
    }

