/* =====================================================
   EL DORADO RESTAURANT
   FAMILY COMBOS
===================================================== */

/* =====================================================
   RESET
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   PAGE
===================================================== */

.chicken-page {
  min-height: 100vh;

  background: linear-gradient(
    135deg,
    #2b0507 0%,
    #5d0b10 45%,
    #7b1016 100%
  );

  color: #ffffff;
}

/* =====================================================
   MAIN
===================================================== */

.chicken-main {
  width: 100%;
  min-height: 100vh;
}

/* =====================================================
   HEADER
===================================================== */

.chicken-header {
  width: min(1000px, 92%);

  margin: 0 auto;

  padding: 24px 0 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

/* =====================================================
   BACK BUTTON
===================================================== */

.chicken-back {
  display: inline-block;

  padding: 10px 17px;

  border: 2px solid #e4b331;

  background: rgba(0, 0, 0, 0.18);

  color: #ffffff;

  text-decoration: none;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 1.2px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.chicken-back:hover {
  background: #e4b331;

  color: #2b0507;

  transform: translateY(-2px);
}

/* =====================================================
   LOGO
===================================================== */

.chicken-logo {
  display: block;

  width: 160px;
  height: auto;

  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.35));
}

/* =====================================================
   INTRO
===================================================== */

.chicken-intro {
  width: min(850px, 90%);

  margin: 45px auto 45px;

  text-align: center;
}

.chicken-small {
  display: block;

  margin-bottom: 10px;

  color: #e4b331;

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 4px;

  animation: comboFade 0.8s ease both;
}

.chicken-intro h1 {
  margin: 0;

  color: #ffffff;

  font-size: clamp(52px, 9vw, 90px);

  line-height: 0.95;

  font-weight: 900;

  letter-spacing: 3px;

  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);

  animation: comboTitle 0.9s ease 0.15s both;
}

/* =====================================================
   GOLD LINE
===================================================== */

.chicken-line {
  width: 90px;
  height: 5px;

  margin: 20px auto;

  background: #e4b331;

  border-radius: 20px;
}

/* =====================================================
   INTRO TEXT
===================================================== */

.chicken-intro p {
  max-width: 650px;

  margin: 0 auto;

  color: #ffe4c5;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 23px;
  font-style: italic;
  font-weight: 700;

  line-height: 1.4;
}

/* SEGUNDO TEXTO DE INFORMACIÓN */

.chicken-intro .combo-info {
  margin-top: 22px;

  padding: 15px 18px;

  border-top: 1px solid rgba(228, 179, 49, 0.45);
  border-bottom: 1px solid rgba(228, 179, 49, 0.45);

  font-family: Arial, Helvetica, sans-serif;

  font-size: 14px;
  font-style: normal;
  font-weight: 600;

  line-height: 1.6;

  color: #ffffff;
}

.combo-info strong {
  color: #e4b331;
}

/* =====================================================
   COMBOS CONTAINER
===================================================== */

.chicken-menu {
  width: min(1000px, 92%);

  margin: 0 auto;

  padding: 5px 0 30px;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 24px;
}

/* =====================================================
   COMBO CARD
===================================================== */

.chicken-item.combo-card {
  width: 100%;

  min-height: 0;

  padding: 0;

  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  align-items: stretch;

  gap: 0;

  overflow: hidden;

  border: 1px solid rgba(228, 179, 49, 0.6);

  border-radius: 12px;

  background: rgba(31, 2, 4, 0.55);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

  animation: comboItem 0.65s ease both;
}

/* =====================================================
   COMBO IMAGE
===================================================== */

.combo-image {
  width: 100%;

  height: 210px;

  overflow: hidden;

  background: #240305;
}

.combo-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}

/* =====================================================
   COMBO TEXT
===================================================== */

.combo-card .chicken-item-text {
  width: 100%;

  padding: 18px 18px 12px;
}

.combo-card .chicken-item-text h2 {
  margin: 0 0 8px;

  color: #e4b331;

  font-size: 22px;
  font-weight: 900;

  line-height: 1.2;

  letter-spacing: 1px;
}

.combo-card .chicken-item-text p {
  margin: 0;

  color: #f2dfcf;

  font-size: 14px;

  line-height: 1.55;
}

/* =====================================================
   PRICES
===================================================== */

.combo-card .chicken-prices {
  width: 100%;

  margin-top: auto;

  padding: 14px 18px 17px;

  display: flex;
  flex-direction: row;

  justify-content: space-between;
  align-items: center;

  gap: 15px;

  border-top: 1px solid rgba(228, 179, 49, 0.3);

  text-align: left;

  font-size: 13px;
  font-weight: 700;

  color: #ffffff;
}

.combo-card .chicken-prices span {
  white-space: nowrap;
}

.combo-card .chicken-prices strong {
  color: #e4b331;

  font-size: 17px;
  font-weight: 900;
}

/* =====================================================
   HOVER DESKTOP
===================================================== */

@media (hover: hover) and (pointer: fine) {
  .combo-card {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  }

  .combo-card:hover {
    transform: translateY(-5px);

    border-color: #e4b331;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  }

  .combo-card .combo-image img {
    transition: transform 0.35s ease;
  }

  .combo-card:hover .combo-image img {
    transform: scale(1.035);
  }
}

/* =====================================================
   RETURN
===================================================== */

.chicken-return {
  width: min(900px, 90%);

  margin: 35px auto 45px;

  text-align: center;
}

.chicken-return p {
  color: #e8cfb7;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.8px;

  text-transform: uppercase;
}

.chicken-return-btn {
  display: inline-block;

  padding: 14px 24px;

  border: 2px solid #e4b331;

  background: #e4b331;

  color: #3a0608;

  text-decoration: none;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 1.2px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.chicken-return-btn:hover {
  background: transparent;

  color: #ffffff;

  transform: translateY(-2px);
}

/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.chicken-navigation {
  width: 100%;

  padding: 20px 15px;

  background: #220305;

  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 10px;
}

.chicken-navigation a {
  padding: 9px 15px;

  border: 1px solid rgba(255, 255, 255, 0.3);

  color: #ffffff;

  text-decoration: none;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 1px;

  transition: 0.25s;
}

.chicken-navigation a:hover {
  background: #e4b331;

  border-color: #e4b331;

  color: #3a0608;
}

/* =====================================================
   ANIMATION DELAYS
===================================================== */

.combo-card:nth-child(1) {
  animation-delay: 0.05s;
}

.combo-card:nth-child(2) {
  animation-delay: 0.1s;
}

.combo-card:nth-child(3) {
  animation-delay: 0.15s;
}

.combo-card:nth-child(4) {
  animation-delay: 0.2s;
}

.combo-card:nth-child(5) {
  animation-delay: 0.25s;
}

.combo-card:nth-child(6) {
  animation-delay: 0.3s;
}

.combo-card:nth-child(7) {
  animation-delay: 0.35s;
}

.combo-card:nth-child(8) {
  animation-delay: 0.4s;
}

.combo-card:nth-child(9) {
  animation-delay: 0.45s;
}

.combo-card:nth-child(10) {
  animation-delay: 0.5s;
}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes comboFade {
  from {
    opacity: 0;

    transform: translateY(15px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes comboTitle {
  from {
    opacity: 0;

    transform: translateY(25px) scale(0.94);
  }

  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

@keyframes comboItem {
  from {
    opacity: 0;

    transform: translateY(15px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  /* HEADER */

  .chicken-header {
    width: 90%;

    padding: 18px 0 5px;

    gap: 12px;
  }

  /* LOGO */

  .chicken-logo {
    width: 120px;
  }

  /* BACK BUTTON */

  .chicken-back {
    padding: 8px 10px;

    font-size: 9px;

    letter-spacing: 0.8px;
  }

  /* INTRO */

  .chicken-intro {
    width: 90%;

    margin: 35px auto 35px;
  }

  .chicken-small {
    font-size: 10px;

    letter-spacing: 3px;
  }

  .chicken-intro h1 {
    font-size: 48px;

    line-height: 0.98;
  }

  .chicken-line {
    width: 70px;
    height: 4px;

    margin: 16px auto;
  }

  .chicken-intro p {
    font-size: 18px;

    line-height: 1.35;
  }

  .chicken-intro .combo-info {
    margin-top: 20px;

    padding: 13px 10px;

    font-size: 12px;

    line-height: 1.6;
  }

  /* ONE CARD PER ROW */

  .chicken-menu {
    width: 90%;

    grid-template-columns: 1fr;

    gap: 22px;
  }

  /* PHOTO */

  .combo-image {
    height: 190px;
  }

  /* TEXT */

  .combo-card .chicken-item-text {
    padding: 16px 16px 11px;
  }

  .combo-card .chicken-item-text h2 {
    font-size: 20px;
  }

  .combo-card .chicken-item-text p {
    font-size: 13px;

    line-height: 1.5;
  }

  /* PRICES */

  .combo-card .chicken-prices {
    padding: 13px 16px 15px;

    font-size: 12px;

    gap: 10px;
  }

  .combo-card .chicken-prices strong {
    font-size: 15px;
  }

  /* RETURN */

  .chicken-return {
    width: 90%;

    margin: 35px auto 45px;
  }

  .chicken-return-btn {
    width: 100%;

    padding: 13px 10px;

    font-size: 10px;
  }

  /* NAVIGATION */

  .chicken-navigation {
    padding: 16px 10px;

    gap: 7px;
  }

  .chicken-navigation a {
    padding: 8px 9px;

    font-size: 9px;
  }
}

/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

  .chicken-logo {
    width: 105px;
  }

  .chicken-back {
    padding: 7px 8px;

    font-size: 8px;
  }

  .chicken-intro h1 {
    font-size: 41px;
  }

  .combo-image {
    height: 175px;
  }

  .combo-card .chicken-prices {
    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (min-width: 601px) and (max-width: 1024px) {

  .chicken-menu {
    width: 88%;

    gap: 20px;
  }

  .combo-image {
    height: 190px;
  }

  .combo-card .chicken-item-text h2 {
    font-size: 20px;
  }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   FAMILY COMBOS - SHOPPING CART
===================================================== */

/* =====================================================
   HEADER NAV
===================================================== */

.chicken-header {
  flex-direction: column;
  align-items: center;
}

.chicken-header-nav {
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 15px;

  margin-bottom: 8px;
}

/* =====================================================
   CART HEADER LINK
===================================================== */

.cart-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 10px 18px;

  background: #ffffff;
  color: #6b0d14;

  border: 2px solid #e4b331;
  border-radius: 22px;

  text-decoration: none;

  font-size: 14px;
  font-weight: 900;

  letter-spacing: 0.8px;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.cart-header-link:hover {
  background: #e4b331;
  color: #3a0608;

  transform: translateY(-1px);
}

/* =====================================================
   CART COUNT
===================================================== */

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 21px;
  height: 21px;

  padding: 0 5px;

  background: #6b0d14;
  color: #ffffff;

  border-radius: 50%;

  font-size: 10px;
  font-weight: 900;
}

.cart-header-link:hover .cart-count {
  background: #3a0608;
  color: #ffffff;
}

/* =====================================================
   ADD TO CART BUTTON
===================================================== */

.combo-card .add-to-cart {
  align-self: center;

  width: auto;

  margin: 4px auto 20px;

  padding: 10px 20px;

  background: #ffffff;
  color: #6b0d14;

  border: 2px solid #e4b331;
  border-radius: 9px;

  font-size: 15px;
  font-weight: 900;

  letter-spacing: 0.4px;

  cursor: pointer;
}

.combo-card .add-to-cart:hover {
  background: #e4b331;
  color: #3a0608;

  transform: translateY(-1px);
}

.combo-card .add-to-cart:active {
  transform: scale(0.97);
}

/* =====================================================
   ADDED TO CART MESSAGE
===================================================== */

.cart-toast {
  position: fixed;

  left: 50%;
  bottom: 25px;

  transform: translateX(-50%);

  width: min(440px, 90%);

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 15px;

  padding: 14px 17px;

  background: #220305;
  color: #ffffff;

  border: 1px solid #e4b331;
  border-radius: 10px;

  box-shadow:
    0 5px 20px rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;

  z-index: 2000;

  transition:
    opacity 0.25s ease,
    bottom 0.25s ease;
}

.cart-toast.show {
  opacity: 1;
  visibility: visible;

  bottom: 35px;
}

.cart-toast span {
  font-size: 13px;
  font-weight: 700;
}

.cart-toast a {
  color: #e4b331;

  font-size: 12px;
  font-weight: 900;

  white-space: nowrap;
}

/* =====================================================
   MOBILE CART
===================================================== */

@media (max-width: 600px) {

  .chicken-header-nav {
    gap: 8px;
  }

  .cart-header-link {
    padding: 9px 15px;
    font-size: 13px;
  }

  .cart-count {
    min-width: 19px;
    height: 19px;

    font-size: 9px;
  }

  .combo-card .add-to-cart {
    padding: 10px 20px;
    font-size: 15px;
    margin-bottom: 18px;
  }

  .cart-toast {
    width: 90%;
    padding: 12px 14px;
  }
}

/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {

  .cart-header-link {
    padding: 8px 13px;
    font-size: 12px;
  }

  .combo-card .add-to-cart {
    padding: 9px 17px;
    font-size: 14px;
    margin-bottom: 16px;
  }
}
