/* =========================================================
   DISTRITO CARMEN
   DIGITAL MENU SYSTEM
   ========================================================= */


/* =========================
   FONTS
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');


/* =========================
   GLOBAL
   ========================= */

html,
body {
  margin: 0;
  padding: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background: #000000;

  font-family: 'Inter', sans-serif;
}


/* =========================================================
   HERO LAYOUT
   PUB FELIX
   ========================================================= */

.menu-container {
  position: relative;

  width: 100vw;
  height: 100vh;

  overflow: hidden;

  background: #ffffff;
}


/* =========================
   COCKTAIL IMAGES
   ========================= */

.cocktail-image {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center center;

  background: #ffffff;

  opacity: 0;

  transition: opacity 0.4s ease-in-out;

  z-index: 0;
}

.cocktail-image.active {
  opacity: 1;
}


/* =========================
   BACKGROUND VIDEO
   ========================= */

#background-video {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  background: #ffffff;

  opacity: 0;

  transition: opacity 0.4s ease-in-out;
}


/* =========================
   OVERLAY
   ========================= */

.overlay {
  position: absolute;

  inset: 0;

  background: transparent;

  z-index: 1;

  pointer-events: none;
}


/* =========================
   LOGO - HERO
   ========================= */

.logo {
  position: absolute;

  top: 40px;
  left: 40px;

  z-index: 20;

  pointer-events: none;
}

.logo img {
  display: block;

  height: 60px;
  width: auto;

  object-fit: contain;

  opacity: 0.95;
}


/* =========================
   HERO CONTENT
   ========================= */

.menu-content {
  position: absolute;

  left: 100px;
  bottom: 100px;

  max-width: 700px;

  color: #666666;

  opacity: 1;

  z-index: 10;

  transition: opacity 0.4s ease-in-out;
}


/* =========================
   COCKTAIL NAME
   ========================= */

#cocktail-name {
  margin: 0;

  font-family: 'Playfair Display', serif;

  font-size: 96px;
  font-weight: 700;

  line-height: 1;

  letter-spacing: -2px;

  color: #666666;
}


/* =========================
   DESCRIPTION
   ========================= */

#cocktail-description {
  margin-top: 24px;
  margin-bottom: 0;

  font-size: 28px;
  font-weight: 300;

  line-height: 1.5;

  color: #666666;

  opacity: 0.9;
}


/* =========================
   PRICE
   ========================= */

#cocktail-price {
  margin-top: 32px;

  font-size: 44px;
  font-weight: 500;

  color: #666666;
}


/* =========================
   HERO FADE
   ========================= */

.menu-content.hero-fade-out {
  opacity: 0;
}


/* =========================
   PROGRESS BAR
   ========================= */

.progress-bar {
  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 6px;

  background: rgba(102, 102, 102, 0.10);

  z-index: 30;

  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;

  background: #666666;
}


/* =========================================================
   KITCHEN
   MERCADITO LA CALIFORNIA
   ========================================================= */

#grid-layout {
  position: absolute;

  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  box-sizing: border-box;

  display: none;

  grid-template-columns:
    minmax(0, 45fr)
    minmax(0, 55fr);

  background: #000000;

  color: #B6FF00;

  overflow: hidden;

  z-index: 40;
}


/* =========================================================
   KITCHEN - LEFT PANEL
   ========================================================= */

.kitchen-menu {
  position: relative;

  box-sizing: border-box;

  width: 100%;
  height: 100%;

  padding:
    clamp(30px, 4vh, 55px)
    clamp(45px, 4vw, 75px);

  display: flex;
  flex-direction: column;

  justify-content: flex-start;

  background: #000000;

  overflow: hidden;

  z-index: 2;
}


/* =========================
   KITCHEN HEADER
   ========================= */

.kitchen-header {
  width: 100%;

  margin: 0 0 18px 0;
}


/* =========================
   KITCHEN BRAND / LOGO
   ========================= */

.kitchen-brand {
  width: 100%;

  margin: 0 0 30px 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

#kitchen-logo {
  display: block;

  width: 260px;
  height: auto;

  max-height: 190px;

  object-fit: contain;
  object-position: center;
}


/* Old text eyebrow
   Kept in case it is ever used again
   ========================= */

.kitchen-eyebrow {
  margin-bottom: 12px;

  font-size:
    clamp(14px, 1.1vw, 22px);

  font-weight: 500;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: #B6FF00;
}


/* =========================
   KITCHEN TITLE
   ========================= */

.kitchen-title {
  margin: 0;

  font-family:
    'Playfair Display',
    serif;

  font-size:
    clamp(58px, 5.5vw, 92px);

  font-weight: 700;

  line-height: 0.95;

  letter-spacing: -2px;

  color: #B6FF00;
}


/* =========================
   KITCHEN ITEMS CONTAINER
   ========================= */

#kitchen-items {
  width: 100%;

  display: flex;
  flex-direction: column;

  flex: 0 0 auto;
}


/* =========================
   KITCHEN ITEM
   ========================= */

.kitchen-item {
  width: 100%;

  box-sizing: border-box;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  column-gap: 25px;

  padding:
    clamp(14px, 1.7vh, 22px)
    0;

  border-bottom:
    1px solid rgba(182, 255, 0, 0.22);
}

.kitchen-item:first-child {
  border-top:
    1px solid rgba(182, 255, 0, 0.22);
}


/* =========================
   KITCHEN ITEM NAME
   ========================= */

.kitchen-item-name {
  min-width: 0;

  font-size:
    clamp(22px, 1.8vw, 34px);

  font-weight: 400;

  line-height: 1.12;

  letter-spacing: -0.02em;

  color: #B6FF00;
}


/* =========================
   KITCHEN ITEM PRICE
   ========================= */

.kitchen-item-price {
  flex-shrink: 0;

  white-space: nowrap;

  font-size:
    clamp(22px, 1.7vw, 32px);

  font-weight: 500;

  line-height: 1;

  color: #B6FF00;

  text-align: right;
}


/* =========================================================
   KITCHEN - RIGHT PHOTO PANEL
   ========================================================= */

.kitchen-media {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;

  background: #000000;

  z-index: 1;
}


/* =========================
   KITCHEN IMAGES
   ========================= */

.kitchen-image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center center;

  opacity: 0;

  transition: opacity 0.4s ease-in-out;

  background: transparent;
}

.kitchen-image.active {
  opacity: 1;
}


/* =========================================================
   LARGE 16:9 TV
   ========================================================= */

@media (min-width: 1600px) {

  .kitchen-menu {
    padding:
      45px
      75px;
  }

  #kitchen-logo {
    width: 260px;
    max-height: 190px;
  }

  .kitchen-brand {
    margin-bottom: 18px;
  }

  .kitchen-header {
    margin-bottom: 18px;
  }

  .kitchen-title {
    font-size: 88px;
  }

  .kitchen-item {
    padding: 18px 0;
  }

  .kitchen-item-name {
    font-size: 32px;
  }

  .kitchen-item-price {
    font-size: 30px;
  }
}


/* =========================================================
   SMALLER SCREENS
   ========================================================= */

@media (max-width: 1100px) {

  #grid-layout {
    grid-template-columns:
      minmax(0, 50fr)
      minmax(0, 50fr);
  }

  .kitchen-menu {
    padding:
      30px
      38px;
  }

  #kitchen-logo {
    width: 120px;
    max-height: 90px;
  }

  .kitchen-brand {
    margin-bottom: 12px;
  }

  .kitchen-header {
    margin-bottom: 14px;
  }

  .kitchen-title {
    font-size: 58px;
  }

  .kitchen-item {
    padding: 13px 0;
  }

  .kitchen-item-name {
    font-size: 22px;
  }

  .kitchen-item-price {
    font-size: 21px;
  }
}