/* =========================
   GLOBAL BASE
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;

  font-family: Arial, Helvetica, sans-serif;

  /* premium blue gradient */
  background: linear-gradient(
    135deg,
    #315a99 0%,
    #2b4f86 45%,
    #1f3f6e 100%
  );

  color: white;
}

/* optional subtle light overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255,255,255,0.08),
    transparent 60%
  );
  pointer-events: none;
}

/* =========================
   SIDEBAR (INTEGRATED)
========================= */

.sidebar {
  width: 260px;
  height: 100vh;

  position: fixed;
  top: 0;
  left: 0;

  display: flex;
  flex-direction: column;

  padding: 20px;

  overflow: hidden;

  background: linear-gradient(
    160deg,
    rgba(31, 63, 110, 0.98) 0%,
    rgba(43, 79, 134, 0.98) 50%,
    rgba(49, 90, 153, 0.98) 100%
  );

  box-shadow: 6px 0 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

/* =========================
   SIDEBAR SCROLL AREA
========================= */

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding-right: 5px;
}

/* scrollbar */
.sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

/* =========================
   SIDEBAR LINKS / BUTTONS
========================= */

.sidebar a,
.accordion {
  color: white;
  background: none;
  border: none;

  text-align: left;
  padding: 10px;

  cursor: pointer;
  text-decoration: none;
  font-size: 16px;

  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.2;

  border-radius: 8px;
}

.sidebar a:hover,
.accordion:hover {
  background: rgba(255,255,255,0.08);
}

/* active link */
.sidebar a.active {
  background: #FFA500;
  color: #111;
  font-weight: bold;
}

/* =========================
   ACCORDION PANELS
========================= */

.panel {
  display: none;
  flex-direction: column;
  padding-left: 12px;
}

.panel.open {
  display: flex;
}

.panel a {
  font-size: 14px;
  opacity: 0.9;
  padding: 6px 10px;
}

/* =========================
   MAIN CONTENT
========================= */

.main {
  margin-left: 260px;
  padding: 30px;
}

/* optional content readability */
.content-section {
  background: rgba(0,0,0,0.20);
  padding: 20px;
  border-radius: 12px;
}

/* =========================
   MOBILE HEADER
========================= */

.mobile-header {
  display: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .mobile-header {
    display: block;
    background: #111;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 2000;
  }

  #menu-toggle {
    background: #FFA500;
    border: none;
    padding: 12px 18px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 80%;
    z-index: 2000;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main {
    margin-left: 0;
  }
}

/* =========================
   OVERLAY
========================= */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
}

/* =========================
   DOG GRID (RESPONSIVE)
========================= */

.dog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(140px, 12vw, 220px), 1fr));
  gap: 18px;

  margin-top: 20px;

  justify-items: center;
}

/* =========================
   DOG CARDS
========================= */

.dog-card {
  background: #fff;
  color: #000;

  border-radius: 12px;
  padding: 12px;

  text-align: center;
  text-decoration: none;

  width: 100%;
  max-width: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.dog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;

  background: linear-gradient(135deg, #315a99 0%, #1f3f73 100%);
  position: relative;
  overflow-x: hidden;
}

/* CENTERED ORANGE GLOW */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* glow originates near content center */
  background:
    radial-gradient(
      circle at 55% 40%,   /* tweak this to match your content column */
      rgba(255, 165, 0, 0.22),
      rgba(255, 120, 0, 0.10) 25%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 70%,
      rgba(255, 165, 0, 0.10),
      transparent 65%
    );
}