
:root {
    --gold: #e99a25;
    --gold-light: #ffc45c;
    --black: #080808;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-height: 100vh;
    color: white;

    background:
        radial-gradient(
            ellipse at top,
            #21170c 0%,
            #090909 48%,
            #050505 100%
        );

    font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */

.site-header {
    width: min(1180px, calc(100% - 36px));
    margin: auto;
    padding: 22px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    border-bottom: 1px solid rgba(233,154,37,.45);
}

/* LOGO */

.header-logo {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* BRAND TEXT */

.brand-copy {
    text-align: left;
}

.brand-copy h1 {
    color: var(--gold-light);

    font-family: Georgia, serif;
    font-size: clamp(22px, 4vw, 34px);

    font-weight: bold;
    letter-spacing: 2px;
}

.brand-copy p {
    margin-top: 4px;

    color: white;
    font-size: clamp(14px, 2vw, 20px);

    letter-spacing: 2px;
}

.brand-copy span {
    display: inline-block;
    margin-top: 10px;

    padding: 6px 15px;

    border: 1px solid var(--gold);
    border-radius: 30px;

    color: var(--gold-light);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

/* MAIN CONTENT */

.page-content {
    width: min(1180px, calc(100% - 36px));
    margin: 30px auto 50px;
}

/* MENU GALLERY */

.menu-gallery {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
    align-items: start;
}

.menu-poster {
    overflow: hidden;

    border: 1px solid rgba(233,154,37,.7);
    border-radius: 12px;

    background: #000;

    box-shadow: 0 12px 34px rgba(0,0,0,.4);

    line-height: 0;
    cursor: zoom-in;

    transition: .25s ease;
}

.menu-poster:hover {
    transform: translateY(-5px);

    border-color: var(--gold-light);

    box-shadow:
        0 15px 35px rgba(233,154,37,.15);
}

.menu-poster img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 60px 75px;

    background: rgba(0,0,0,.97);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

/* CLOSE BUTTON */

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;

    width: 45px;
    height: 45px;

    border: 1px solid #555;
    border-radius: 50%;

    color: white;
    background: #222;

    font-size: 30px;
    cursor: pointer;
}

/* NAVIGATION */

.lightbox-nav {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 58px;

    border: 1px solid #555;
    border-radius: 10px;

    color: white;
    background: rgba(30,30,30,.85);

    font-size: 23px;
    cursor: pointer;
}

.lightbox-nav.prev {
    left: 15px;
}

.lightbox-nav.next {
    right: 15px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
    background: var(--gold);
    color: black;
}

/* IMAGE COUNTER */

.image-counter {
    position: absolute;
    bottom: 20px;

    color: white;
    font-size: 14px;
}

/* TABLET */

@media (max-width: 900px) {

    .menu-gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .site-header {
        width: calc(100% - 24px);
        padding: 16px 0;
        gap: 12px;
    }

    .header-logo {
        width: 76px;
        height: 76px;
    }

    .brand-copy h1 {
        font-size: 21px;
        letter-spacing: 1px;
    }

    .brand-copy p {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .brand-copy span {
        margin-top: 7px;
        padding: 5px 10px;

        font-size: 9px;
        letter-spacing: 2px;
    }

    .page-content {
        width: calc(100% - 24px);
        margin: 20px auto 35px;
    }

    .menu-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .menu-poster {
        border-radius: 9px;
    }

    .lightbox {
        padding: 60px 12px;
    }

    .lightbox-nav {
        width: 38px;
        height: 48px;
        font-size: 18px;
    }

    .lightbox-nav.prev {
        left: 5px;
    }

    .lightbox-nav.next {
        right: 5px;
    }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* BOTTOM NAVIGATION */
.bottom-navigation {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 850px;
  min-height: 104px;
  background: #006b66;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 12px 8px;
  z-index: 99990;
  box-shadow: 0 8px 25px rgba(0,0,0,.16);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: .25s ease;
}

.nav-item svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:first-child svg {
  fill: currentColor;
  stroke: currentColor;
}

.nav-item.active {
  color: #ffd329;
}

.nav-item:active {
  transform: scale(.92);
}

/* Agar konten tidak tertutup navigasi */
body {
  padding-bottom: 125px;
}

/* Tampilan HP */
@media (max-width: 600px) {
  .bottom-navigation {
    bottom: 8px;
    width: calc(100% - 24px);
    min-height: 88px;
    border-radius: 28px;
  }

  .nav-item {
    font-size: 12px;
    gap: 5px;
  }

  .nav-item svg {
    width: 29px;
    height: 29px;
  }

  body {
    padding-bottom: 110px;
  }
}