/* === Base & Reset === */
/* Sets up full height, removes default margin, and applies base font */
html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inconsolata", sans-serif;
  background: #f5f5f5;
}

/* === Top Navigation === */
/* Fixed top menu that stays visible while scrolling */
.kc-top {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: #000; /* black background for nav */
}

/* Links inside the top menu */
.kc-top .kc-row a.kc-button {
  color: #fff; /* white text */
  padding: 14px 20px; /* spacing inside buttons */
  text-decoration: none; /* remove underline */
  display: inline-block; /* standard inline-block button style */
}

/* Hover effect for nav links */
.kc-top .kc-row a.kc-button:hover {
  background: #444; /* slightly lighter black on hover */
}

/* Keep top menu links side by side and evenly spaced */
.kc-row {
  display: flex;
  justify-content: space-around;
}

/* === Hero Image Section === */
/* Main header image with background cover */
.bgimg {
  background: url("../images/cafeCounter.jpeg") center center / cover no-repeat;
  min-height: 100vh; /* full viewport height */
  display: flex;
  align-items: center; /* vertical center of content */
  justify-content: center; /* horizontal center */
  position: relative; /* allows absolute positioning of child elements */
}

/* Hero text: Cafe name */
.bgimg .kc-display-topmiddle span {
  font-size: 64px !important; /* large, enforced font size */
  color: #fff !important; /* forced white text */
  font-weight: normal !important; /* not bold */
}

/* Bottom-left and bottom-right info (opening times / address) */
.kc-display-bottomleft,
.kc-display-bottomright {
  position: absolute;
  bottom: 10px;
  font-size: 16px;
  color: #fff;
}
.kc-display-bottomleft {
  left: 20px;
}
.kc-display-bottomright {
  right: 20px;
}

/* === Section Layout === */
/* Central container for each section */
.kc-container {
  max-width: 700px; /* limits width for readability */
  margin: 0 auto; /* center horizontally */
  padding: 64px 16px;
}

/* Ensure sections take up at least 2/3 viewport height */
.kc-sand.kc-grayscale.kc-large > .kc-container {
  min-height: 66vh;
}

/* === Menu Section Controls === */
/* Wrapper for menu level buttons */
.level {
  display: flex; /* horizontal button layout */
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ccc; /* separator under buttons */
}

/* Individual menu buttons */
.level button {
  flex: 1; /* evenly distribute buttons */
  padding: 10px; /* spacing inside buttons */
  cursor: pointer;
  border: 1px solid #ccc; /* button border */
  border-right: none; /* avoid double borders */
  background: #f0f0f0; /* light grey background */
  font-size: 16px;
}

/* Last button gets right border to complete the box */
.level button:last-child {
  border-right: 1px solid #ccc;
}
.level button.active {
  background: #000;
  color: #fff;
}
/* === Current clicked button highlight === */
/* Only the currently clicked button is highlighted */
.level button.current {
  background: #000; /* black background for clicked button */
  color: #fff; /* white text for contrast */
}

/* Align item box with menu level containers */
#items {
  max-width: 700px; /* same width as section container */
  margin: 0 auto; /* center horizontally */
  padding: 12px; /* spacing inside box */
  border: 1px solid #ccc; /* subtle border */
  background: #fff; /* white background for readability */
  box-sizing: border-box; /* padding does not expand width */
}

/* Individual item lines */
#items div {
  padding: 8px 0; /* double vertical spacing */
  line-height: 2; /* double line height for readability */
  border-bottom: 1px solid #eee; /* light separator line */
}
#items div:last-child {
  border-bottom: none; /* remove border for last item */
}

/* === Footer === */
.kc-light-grey {
  background: #f1f1f1;
  color: #000;
  text-align: center;
  padding: 48px 16px;
}

/* === Anchor Scroll Offset for fixed top nav === */
/* Ensures section is visible below fixed nav when scrolling */
#menu {
  scroll-margin-top: 1cm;
  padding-top: 1cm;
}

/* === Utility Classes === */
/* Text centering */
.kc-center {
  text-align: center;
}

/* Tag styling used for headers or small labels */
.kc-tag {
  background-color: #000; /* black background */
  color: #fff; /* white text */
  display: inline-block;
  padding: 0 8px;
  letter-spacing: 4px; /* spaced letters for visual effect */
}
