/* =====================================================
   EL DORADO RESTAURANT
   HAPPY HOUR PAGE
===================================================== */

/* =====================================================
   RESET
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   PAGE
===================================================== */

.happy-page {
  min-height: 100vh;

  background: radial-gradient(
    circle at top,
    #3a0b12 0%,
    #17070a 42%,
    #070707 100%
  );

  color: #ffffff;
}

/* =====================================================
   MAIN
===================================================== */

.happy-main {
  width: 100%;
  min-height: 100vh;
}

/* =====================================================
   HEADER
===================================================== */

.happy-header {
  width: min(1200px, 92%);

  margin: 0 auto;

  padding: 24px 0 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =====================================================
   HOME BUTTON
===================================================== */

.happy-home {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 10px 17px;

  border: 2px solid #d5aa3a;

  background: rgba(0, 0, 0, 0.25);

  color: #ffffff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 1.3px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.happy-home:hover {
  background: #d5aa3a;

  color: #17070a;

  transform: translateY(-2px);
}

/* =====================================================
   LOGO
===================================================== */

.happy-logo {
  display: block;

  width: 160px;
  height: auto;

  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
}

/* =====================================================
   INTRO
===================================================== */

.happy-intro {
  width: min(900px, 90%);

  margin: 45px auto 45px;

  text-align: center;
}

/* SMALL TITLE */

.happy-small {
  display: block;

  margin-bottom: 10px;

  color: #d5aa3a;

  font-size: 13px;
  font-weight: 900;

  letter-spacing: 4px;

  animation: happyFade 0.8s ease both;
}

/* HAPPY HOUR */

.happy-intro h1 {
  margin: 0;

  color: #ffffff;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(52px, 9vw, 100px);

  font-weight: 900;

  line-height: 0.95;

  letter-spacing: 3px;

  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.75);

  animation: happyTitle 0.9s ease 0.15s both;
}

/* GOLD LINE */

.happy-line {
  width: 95px;
  height: 4px;

  margin: 20px auto;

  background: linear-gradient(90deg, #8f6817, #f1ce65, #8f6817);

  border-radius: 20px;

  animation: happyLine 0.8s ease 0.4s both;
}

/* SUBTITLE */

.happy-intro p {
  margin: 0 0 20px;

  color: #e7d5d7;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 24px;
  font-style: italic;
}

/* HOURS / SPECIALS */

.happy-hours {
  display: inline-block;

  padding: 10px 18px;

  border: 1px solid #d5aa3a;

  background: rgba(213, 170, 58, 0.1);

  color: #f1ce65;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 1.2px;
}

/* =====================================================
   CATEGORY NAVIGATION
===================================================== */

.happy-categories {
  width: min(700px, 90%);

  margin: 0 auto 65px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px;
}

.happy-categories a {
  display: block;

  padding: 13px 10px;

  text-align: center;

  border: 1px solid rgba(213, 170, 58, 0.55);

  background: rgba(0, 0, 0, 0.35);

  color: #ffffff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 900;

  letter-spacing: 1.2px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.happy-categories a:hover {
  background: #d5aa3a;

  color: #17070a;

  border-color: #d5aa3a;

  transform: translateY(-2px);
}

/* =====================================================
   DRINK SECTION
===================================================== */

.drink-section {
  width: min(1200px, 92%);

  margin: 0 auto 90px;
}

/* =====================================================
   SECTION TITLE
===================================================== */

.drink-section-title {
  margin-bottom: 32px;

  text-align: center;
}

.drink-section-title span {
  display: block;

  margin-bottom: 6px;

  color: #c49d39;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 3px;
}

.drink-section-title h2 {
  margin: 0;

  color: #ffffff;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(36px, 6vw, 60px);

  letter-spacing: 2px;
}

/* =====================================================
   GRID
===================================================== */

.drink-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 22px;
}

/* =====================================================
   DRINK CARD
===================================================== */

.drink-card {
  overflow: hidden;

  background: linear-gradient(145deg, #201416, #100b0c);

  border: 1px solid rgba(213, 170, 58, 0.28);

  border-radius: 16px;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  animation: drinkCard 0.8s ease both;
}

.drink-card:hover {
  transform: translateY(-6px);

  border-color: #d5aa3a;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
}

/* =====================================================
   IMAGE
===================================================== */

.drink-image {
  position: relative;

  width: 100%;
  height: 280px;

  overflow: hidden;

  background: #120c0d;
}

.drink-image::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 35%;

  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));

  pointer-events: none;
}

.drink-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.drink-card:hover .drink-image img {
  transform: scale(1.05);
}

/* =====================================================
   DRINK INFO
===================================================== */

.drink-info {
  padding: 18px 20px 22px;

  text-align: center;
}

.drink-info h3 {
  margin: 0 0 7px;

  color: #f0c95f;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 24px;
}

.drink-info p {
  margin: 0;

  color: #d5c8ca;

  font-size: 14px;

  line-height: 1.45;
}

/* =====================================================
   WINE SECTION
===================================================== */

.wine-section {
  padding-top: 10px;
}

/* =====================================================
   COCKTAIL SECTION
===================================================== */

.cocktail-section {
  padding-top: 10px;
}

/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.happy-navigation {
  width: 100%;

  padding: 20px;

  background: #050505;

  border-top: 1px solid rgba(213, 170, 58, 0.25);

  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 10px;
}

.happy-navigation a {
  display: inline-block;

  padding: 9px 15px;

  border: 1px solid rgba(213, 170, 58, 0.38);

  color: #ffffff;

  text-decoration: none;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: 1.1px;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.happy-navigation a:hover {
  background: #d5aa3a;

  color: #17070a;

  transform: translateY(-2px);
}

/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes happyFade {
  from {
    opacity: 0;

    transform: translateY(15px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes happyTitle {
  from {
    opacity: 0;

    transform: translateY(25px) scale(0.94);
  }

  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

@keyframes happyLine {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 95px;
    opacity: 1;
  }
}

@keyframes drinkCard {
  from {
    opacity: 0;

    transform: translateY(28px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =====================================================
   CELL PHONE
   0 - 600px
===================================================== */

@media (max-width: 600px) {
  .happy-header {
    width: 90%;

    padding: 18px 0 5px;
  }

  .happy-logo {
    width: 125px;
  }

  .happy-home {
    padding: 8px 11px;

    font-size: 10px;
  }

  .happy-intro {
    width: 92%;

    margin: 35px auto 35px;
  }

  .happy-small {
    font-size: 10px;

    letter-spacing: 3px;
  }

  .happy-intro h1 {
    font-size: 46px;

    letter-spacing: 1px;
  }

  .happy-intro p {
    font-size: 19px;
  }

  .happy-hours {
    padding: 9px 11px;

    font-size: 9px;
  }

  /* CATEGORY BUTTONS */

  .happy-categories {
    width: 90%;

    margin-bottom: 50px;

    gap: 7px;
  }

  .happy-categories a {
    padding: 10px 5px;

    font-size: 9px;

    letter-spacing: 0.7px;
  }

  /* =====================================================
   BEER BUCKET SPECIAL
===================================================== */

  /* =====================================================
   CUBETAZO SPECIAL
===================================================== */

  .bucket-special {
    width: min(900px, 92%);
    margin: 0 auto 75px;

    overflow: hidden;

    border: 3px solid #d5aa3a;
    border-radius: 20px;

    background: #080808;

    box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.65),
      0 0 25px rgba(213, 170, 58, 0.12);

    animation: bucketEntrance 0.9s ease both;
  }

  .bucket-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;

    transition:
      transform 0.6s ease,
      filter 0.6s ease;
  }

  .bucket-special:hover .bucket-image {
    transform: scale(1.025);

    filter: brightness(1.06) contrast(1.03);
  }

  /* =====================================================
   CUBETAZO ANIMATION
===================================================== */

  @keyframes bucketEntrance {
    from {
      opacity: 0;

      transform: translateY(25px) scale(0.97);
    }

    to {
      opacity: 1;

      transform: translateY(0) scale(1);
    }
  }

  /* =====================================================
   CUBETAZO - CELL PHONE
===================================================== */

  @media (max-width: 600px) {
    .bucket-special {
      width: min(960px, 94%);
      margin: 0 auto 70px;
    }
  }

  /* =====================================================
   CUBETAZO - TABLET
===================================================== */

  @media (min-width: 601px) and (max-width: 1024px) {
    .bucket-special {
      width: 90%;
      max-width: 780px;
    }
  }

  /* CELL PHONE */

  @media (max-width: 600px) {
    .bucket-special {
      width: 94%;
      margin-bottom: 50px;
    }

    .bucket-content {
      padding: 32px 15px;
    }

    .bucket-eyebrow {
      font-size: 9px;

      letter-spacing: 2px;
    }

    .bucket-content h2 {
      font-size: 42px;
    }

    .bucket-quantity {
      font-size: 14px;

      letter-spacing: 3px;
    }

    .bucket-price {
      font-size: 75px;
    }

    .bucket-description {
      font-size: 14px;
    }
  }
  /* DRINK SECTIONS */

  .drink-section {
    width: 90%;

    margin-bottom: 65px;
  }

  .drink-section-title {
    margin-bottom: 22px;
  }

  .drink-section-title span {
    font-size: 9px;
  }

  .drink-section-title h2 {
    font-size: 36px;
  }

  /* ONE CARD PER ROW */

  .drink-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .drink-image {
    height: 250px;
  }

  .drink-info {
    padding: 16px 18px 19px;
  }

  .drink-info h3 {
    font-size: 21px;
  }

  .drink-info p {
    font-size: 13px;
  }

  .happy-navigation {
    padding: 16px 10px;

    gap: 7px;
  }

  .happy-navigation a {
    padding: 8px 9px;

    font-size: 9px;

    letter-spacing: 0.7px;
  }
}

/* =====================================================
   TABLET
   601 - 1024px
===================================================== */

@media (min-width: 601px) and (max-width: 1024px) {
  .happy-header {
    width: 90%;
  }

  .happy-logo {
    width: 150px;
  }

  .happy-intro h1 {
    font-size: 72px;
  }

  .drink-section {
    width: 90%;
  }

  .drink-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
  }

  .drink-image {
    height: 260px;
  }
}

/* =====================================================
   LAPTOP / DESKTOP
   1025px +
===================================================== */

@media (min-width: 1025px) {
  .drink-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wine-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cocktail-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .drink-image {
    height: 285px;
  }
}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
