/* ---------------------------------------
 * Fonts
 * ------------------------------------ */

/* Gentium Plus */
@import url("https://fonts.googleapis.com/css2?family=Gentium+Plus:wght@400;700&display=swap&subset=greek");
/* IBM Plex Sans */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap&subset=greek");

/* ---------------------------------------
 * Root & Resets
 * ------------------------------------ */

:root {
  --font-family-display: "Gentium Plus", Arial, serif;
  --font-family-body: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --color-bg-main: #0a0b0a;
  --color-bg-overlay: rgba(10, 11, 10, 0.65);
  --color-text-primary: #efe7d2;
  --color-text-secondary: #f5f2ea;
  --color-accent: #efe7d2;
  --color-accent-strong: #00bc8b;
  --color-border-subtle: #333330;

  --layout-max-width: 700px;

  --transition-fast: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-family: var(--font-family-body);
  user-select: none;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* ---------------------------------------
 * Body / Background
 * ------------------------------------ */

.site-body {
  min-height: 100vh;
  background-color: var(--color-bg-main);
  background-image: url("https://raw.githubusercontent.com/whiskakii/kaif_oc/refs/heads/main/images/hbgr.png");
  background-size: cover;
  background-position: center;
  background-attachment:scroll;
  color: var(--color-text-primary);
}

/* ---------------------------------------
 * Generic elements
 * ------------------------------------ */

button {
  cursor: pointer;
}

button:focus {
  outline: none;
  border: none;
}

/* ---------------------------------------
 * Header
 * ------------------------------------ */

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  background-image: url("https://raw.githubusercontent.com/whiskakii/kaif_oc/refs/heads/main/images/hbgr.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  position: relative;
  z-index: 1000;
}

.site-header__inner {
  width: 100%;
  max-width: var(--layout-max-width);
  padding: 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.site-logo {
  font-size: 22px;
  font-weight: bold;
  display: flex;
  justify-content: center;
}

.site-logo__image {
  width: 100px;
  height: auto;
  display: block;
}

.site-header__title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-header__subtitle {
  margin: 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.site-header__title {
  margin: 0;
  font-size: 20px;
  font-family: var(--font-family-display);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.site-header__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-header__social-link {
  position: relative;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  color: #efe7d2;
  text-decoration: none;
  padding-bottom: 2px;
}

.site-header__social-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #efe7d2;
  transform: translateX(-50%);
  transform-origin: center;
  transition: width var(--transition-fast);
}

.site-header__social-link:hover::after {
  width: 100%;
}

/* ---------------------------------------
 * Category navigation (sticky)
 * ------------------------------------ */

.menu-category-nav-wrapper {
  width: 100%;
  background: rgba(10, 11, 10, 0.65);
  position: sticky;
  top: 0;
  z-index: 999;
  scroll-behavior: smooth;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  backdrop-filter: blur(5px);
}

.menu-category-list {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: var(--layout-max-width);
  padding: 10px;
  gap: 10px;
  margin: 0 auto;
}

.menu-category-list::-webkit-scrollbar {
  display: none;
}

.menu-category-button {
  padding: 10px 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  flex: 0 0 auto;
  color: #efe7d2;
  position: relative;
  font-weight: 700;
  background: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.menu-category-button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background: #efe7d2;
  transition: transform var(--transition-fast);
}

.menu-category-button:hover::after,
.menu-category-button--active::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-category-button--active {
  font-weight: 800;
}

/* ---------------------------------------
 * Offer banner
 * ------------------------------------ */

.menu-offer-banner {
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  height: 300px;
  background-image: url("https://i.pinimg.com/1200x/81/d5/a9/81d5a912b086ae1d83a5a395fc9a8e39.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px var(--color-border-subtle) dashed;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.menu-offer-banner__overlay {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 10, 0) 0%,
    rgba(10, 11, 10, 0.85) 100%
  );
  text-align: center;
  color: #fff;
}

.menu-offer-banner__label {
  margin: 0 0 6px 0;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-family-display);
}

.menu-offer-banner__text {
  margin: 0;
  font-size: 14px;
}

/* ---------------------------------------
 * Main / Sections
 * ------------------------------------ */

.site-main {
  padding: 24px 16px 40px 16px;
}

.menu-sections {
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  background-color: rgba(10, 11, 10, 0.45);
}

/* Generic sections inside main */
.menu-sections section {
  padding: 25px;
  text-align: center;
}

.menu-section__title {
  font-family: var(--font-family-display);
  text-transform: uppercase;
  color: var(--color-text-primary);
  letter-spacing: 5px;
  font-size: 18px;
  margin: 0 0 16px 0;
}

/* ---------------------------------------
 * Menu items
 * ------------------------------------ */

.menu-item {
  margin-bottom: 25px;
  text-align: left;
  padding: 15px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.menu-item__header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
  border-bottom: 1px var(--color-border-subtle) dashed;
  padding-bottom: 4px;
}

.menu-item__name {
  text-transform: uppercase;
}

.menu-item__price {
  margin-left: 8px;
}

.menu-item__description {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 6px 0 0 0;
}

.menu-item__discount-label {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 2px;
  float: right;
  font-weight: bold;
  background: rgba(0, 188, 138, 0.15);
  color: var(--color-accent-strong);
}

.discount {
  background-color: #00bc8a26;
  color: #00bc8b;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 3px;
  display: inline-block;
  float: right;              /* πάει στα δεξιά */
  margin-left: 8px;
  text-transform: uppercase;
}


/* ---------------------------------------
 * Footer
 * ------------------------------------ */

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: #0a0b0a;
  padding: 20px;
  color: #fff;
  text-align: center;
  margin-top: 40px;
  font-size: 10px;
  flex-wrap: wrap;
}

.site-footer__logo-image {
  width: 70px;
  height: auto;
  display: block;
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 10px;
  max-width: 420px;
}

/* ---------------------------------------
 * Google review banner
 * ------------------------------------ */

.google-review-banner {
  display: none;
  background: #0a0b0a;
  color: #efe7d2;
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  border-top: 1px #333330 dashed;
}

.google-review-banner__stars {
  color: gold;
  text-shadow: 0 0 5px goldenrod;
}

/* ---------------------------------------
 * Back to top button
 * ------------------------------------ */

.back-to-top-button {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(239, 231, 210, 0.3);
  background: rgba(10, 11, 10, 0.8);
  color: #efe7d2;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999;
  backdrop-filter: blur(4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.back-to-top-button:hover {
  transform: translateY(-2px);
}

/* ---------------------------------------
 * Responsive
 * ------------------------------------ */

@media (max-width: 600px) {
  .site-header__inner {
    max-width: 370px;
  }

  .menu-category-list {
    max-width: 370px;
  }

  .menu-item {
    padding: 12px;
  }

  .menu-item__header {
    font-size: 16px;
  }

  .site-footer {
    font-size: 11px;
    padding: 16px;
  }
}
