/*
 * Brooks Painting — Cookie Consent Banner Styles
 * Palette pulled from live site:
 *   Footer/banner bg:  #1a2d42  (deep navy, darker than footer blue for contrast)
 *   Brand blue:        #015591  (site primary button/footer blue)
 *   Link color:        #7ab8e8  (lightened brand blue — readable on dark bg)
 *   White:             #ffffff
 *   Muted text:        #cccccc
 */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a2d42;           /* deep navy — matches site's dark design language */
  color: #f0f0f0;
  border-top: 3px solid #015591; /* brand blue top accent line */
  padding: 14px 24px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
  color: #d8d8d8;
}

.cookie-banner__text strong {
  color: #ffffff;
  font-weight: 700;
}

.cookie-banner__link {
  color: #7ab8e8;
  text-decoration: underline;
}

.cookie-banner__link:hover {
  color: #ffffff;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Accept — matches site primary button color exactly */
.cookie-btn--accept {
  background: #015591;
  color: #ffffff;
  border: 2px solid #015591;
}

.cookie-btn--accept:hover {
  background: #014475;
  border-color: #014475;
}

/* Opt Out — low-weight outlined style */
.cookie-btn--decline {
  background: transparent;
  color: #cccccc;
  border: 2px solid #555555;
}

.cookie-btn--decline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #888888;
  color: #ffffff;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cookie-banner {
    padding: 14px 16px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
