/*=============== VARIABLES CSS ===============*/
@font-face {
  font-family: 'Anton';
  src: url('../assets/fonts/Anton-Regular.ttf');
  font-weight: 400;
}

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-VariableFont.ttf');
}

:root {
  /*========== Colors ==========*/
  --navy-blue-clr: #202a45;
  --gold-clr: #fff5be;
  --green-clr: #10c455;
  --dark-gold-clr: #c4934e;
  --black-clr: #000000;
  --white-clr: #fff9ec;
  --bg-clr: #faf8f2;

  /*========== Font and Typography ==========*/
  --body-ff: 'Manrope', sans-serif;
  --heading-ff: 'Anton', sans-serif;
  --fs-heading-1: calc(96rem / 16);
  --fs-heading-2: calc(64rem / 16);
  --fs-heading-3: calc(40rem / 16);
  --fs-heading-4: calc(28rem / 16);
  --fs-heading-5: calc(24rem / 16);
  --fs-heading-6: calc(20rem / 16);
  --fs-paragraph: calc(16rem / 16);
  --fs-small-1: calc(14rem / 16);
  --fs-small-2: calc(12rem / 16);

  --lh-heading-1: 1.2;
  --lh-heading-2: 1.09;
  --lh-heading-3: 1.25;

  /*========== Font weight ==========*/
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semi-bold: 600;
  --weight-bold: 700;
  --weight-bolder: 800;
}

/*=============== BASE ===============*/
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: inherit;
  line-height: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-ff);
  font-size: var(--fs-paragraph);
  font-weight: var(--weight-normal);
  background-color: var(--bg-clr);
  color: var(--navy-blue-clr);
  overflow-x: hidden;
  overflow-y: auto;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: unset;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

.container {
  max-width: calc(1200rem / 16);
  width: calc(100% - calc(44rem / 16));
  margin: 0 auto;
}

.h-100 {
  height: 100%;
}

/*=============== Header ===============*/
.header {
  background-image: url('../assets/images/hero.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: calc(970rem / 16);
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.header-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.header-menu {
  position: fixed;
  top: calc(16rem / 16);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: transparent;
  transition: all 250ms ease;
}

.header-menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(16rem / 16);
  max-width: calc(1200rem / 16);
  margin: 0 auto;
  padding: calc(20rem / 16) calc(16rem / 16);
  border-bottom: 1px solid var(--white-clr);
}

.header-background {
  background-color: var(--navy-blue-clr);
  top: 0;
  max-width: 100%;
  padding: 0 0 calc(20rem / 16);
}

.header-menu-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(32rem / 16);
}

.header-menu-logo > img {
  height: calc(60rem / 16);
}

.header-menu-nav {
  display: flex;
  align-items: center;
  gap: calc(20rem / 16);
}

.header-menu-navlink {
  color: var(--white-clr);
  border-bottom: 1px solid transparent;
  transition: border 250ms ease;
}

.header-menu-navlink:hover {
  border-bottom: 1px solid var(--white-clr);
}

.header-menu-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(10rem / 16);
  background-color: var(--white-clr);
  border-radius: calc(32rem / 16);
  padding: calc(12rem / 16) calc(32rem / 16);
  transition: background-color 250ms ease;
}

.header-menu-cta:hover {
  background-color: var(--bg-clr);
}

.header-info {
  max-width: calc(584rem / 16);
  margin-left: auto;
}

.header-info > img {
  width: calc(152rem / 16);
  margin: 0 auto;
}

.header-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-1);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-1);
  color: var(--white-clr);
  text-align: center;
  margin-top: calc(16rem / 16);
}

.header-text {
  font-size: var(--fs-heading-5);
  text-align: center;
  color: var(--white-clr);
  margin-top: calc(16rem / 16);
}

.menu-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: none;
}

.menu-btn > img {
  width: calc(48rem / 16);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 90%;
  right: calc(16rem / 16);
  z-index: 10;
  width: calc(260rem / 16);
  background: var(--navy-blue-clr);
  border-radius: calc(8rem / 16);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--white-clr);
  padding: calc(20rem / 16);
}

.mobile-menu.active {
  display: block;
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: calc(20rem / 16);
}

.menu-navlink {
  color: var(--white-clr);
  border-bottom: 1px solid transparent;
  transition: border 250ms ease;
  font-size: var(--fs-paragraph);
  width: fit-content;
}

.menu-navlink:hover {
  border-bottom: 1px solid var(--white-clr);
}

.menu-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(10rem / 16);
  background-color: var(--white-clr);
  border-radius: calc(32rem / 16);
  padding: calc(12rem / 16) calc(32rem / 16);
  transition: background-color 250ms ease;
  margin-top: calc(24rem / 16);
}

.menu-cta:hover {
  background-color: var(--bg-clr);
}

.fade-in-bottom {
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.39, 0.575, 0.565, 1)
    both;
  animation: fade-in-bottom 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

/*=============== About ===============*/
.about {
  padding: calc(160rem / 16) 0;
  overflow-x: hidden;
}

.about-tag {
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-bolder);
}

.about-title {
  max-width: calc(892rem / 16);
  width: 100%;
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-2);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-2);
  margin-top: calc(12rem / 16);
}

.about-info {
  padding: calc(60rem / 16) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(12rem / 16);
}

.about-info-text {
  max-width: calc(800rem / 16);
  padding-left: calc(100rem / 16);
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-bolder);
}

.about-info > img {
  height: calc(120rem / 16);
}

.reviewsSlider {
  margin-right: -55%;
}

/*=============== Beers ===============*/
.beers {
  padding: calc(60rem / 16) 0 calc(120rem / 16);
  background-color: var(--navy-blue-clr);
  color: var(--white-clr);
}

.beers-title {
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-bolder);
  padding-bottom: calc(12rem / 16);
  border-bottom: 1px solid var(--white-clr);
}

.beers-content {
  display: flex;
  justify-content: space-between;
  gap: calc(32rem / 16);
  margin-top: calc(100rem / 16);
}

.beers-image {
  width: calc(420rem / 16);
  padding-left: calc(60rem / 16);
}

.beers-image > img {
  width: 100%;
}

.divider {
  border-right: 1px solid var(--white-clr);
}

.beers-info {
  flex: 1;
  padding-right: calc(60rem / 16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(40rem / 16);
}

.beers-info-title {
  max-width: calc(892rem / 16);
  width: 100%;
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-2);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-2);
}

.beers-info-text {
  margin-top: calc(20rem / 16);
}

.beers-info-list {
  display: flex;
}

.beers-info-item {
  padding: 0 calc(40rem / 16);
  display: flex;
  flex-direction: column;
  gap: calc(20rem / 16);
  border-right: 1px solid var(--white-clr);
}

.beers-info-item:first-child {
  padding-left: 0;
}

.beers-info-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.beers-info-item-title {
  font-size: var(--fs-heading-2);
  line-height: var(--lh-heading-2);
  font-weight: var(--weight-normal);
}

.beers-info-item-text {
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-bolder);
}

.beers-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(10rem / 16);
  background-color: var(--white-clr);
  border-radius: calc(32rem / 16);
  padding: calc(12rem / 16) calc(32rem / 16);
  transition: background-color 250ms ease;
  width: fit-content;
  color: var(--navy-blue-clr);
}

.beers-btn:hover {
  background-color: var(--bg-clr);
}

.beers .swiper-button-next,
.beers .swiper-button-prev {
  width: 40px;
  height: 156px;
}

.beers .swiper-button-next:after {
  content: url('../assets/svg/chevron-right.svg');
  transform: rotate(180deg);
}

.beers .swiper-button-prev:after {
  content: url('../assets/svg/chevron-right.svg');
}

/*=============== Products ===============*/
.products {
  padding: calc(160rem / 16) 0;
}

.products-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-2);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-2);
  text-align: center;
}

.products-text {
  max-width: calc(584rem / 16);
  width: 100%;
  margin: 0 auto;
  margin-top: calc(20rem / 16);
  text-align: center;
}

.products-cards {
  display: flex;
  justify-content: space-between;
  gap: calc(16rem / 16);
  margin-top: calc(60rem / 16);
}

.products-card {
  flex: 1 1 33.333%;
  background-color: var(--bg-clr);
}

.products-card > img {
  height: calc(372rem / 16);
  object-position: top;
  object-fit: cover;
  width: 100%;
}

.products-divider {
  border-right: 1px solid var(--dark-gold-clr);
}

.product-card-body {
  padding-top: calc(20rem / 16);
  display: flex;
  flex-direction: column;
  gap: calc(4rem / 16);
}

.product-card-title {
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-bolder);
}

.product-card-desc {
  font-size: var(--fs-small-2);
  opacity: 0.3;
}

.product-card-desc > span {
  font-weight: var(--weight-semi-bold);
}

/*=============== Process ===============*/
.process {
  padding: 0 0 calc(160rem / 16);
}

.process-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-2);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-2);
  text-align: center;
}

.process-text {
  max-width: calc(584rem / 16);
  width: 100%;
  margin: 0 auto;
  margin-top: calc(20rem / 16);
  text-align: center;
}

.process-ps-text {
  max-width: calc(584rem / 16);
  width: 100%;
  margin: 0 auto;
  margin-top: calc(60rem / 16);
  text-align: center;
}

.process-content {
  display: flex;
  justify-content: space-between;
  gap: calc(32rem / 16);
  margin-top: calc(60rem / 16);
}

.process-step {
  flex: 1 1 33.333%;
}

.process-step-no {
  font-size: var(--fs-heading-3);
  line-height: var(--lh-heading-3);
  font-weight: var(--weight-normal);
  font-family: var(--heading-ff);
  width: calc(80rem / 16);
  height: calc(80rem / 16);
  margin: 0 auto;
  border-radius: 50%;
  background-color: var(--navy-blue-clr);
  color: var(--white-clr);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.process-step-no::before {
  content: '';
  position: absolute;
  top: calc(40rem / 16);
  left: 0;
  margin-left: calc(124rem / 16);
  transform: translateY(-50%);
  width: calc(70rem / 16);
  height: 1px;
  background-color: var(--dark-gold-clr);
}

.process-step-no::after {
  content: '';
  position: absolute;
  top: calc(40rem / 16);
  right: 0;
  margin-right: calc(124rem / 16);
  transform: translateY(-50%);
  width: calc(70rem / 16);
  height: 1px;
  background-color: var(--dark-gold-clr);
}

.process-step:last-child .process-step-no::before {
  display: none;
}

.process-step:first-child .process-step-no::after {
  display: none;
}

.process-step-title {
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-bolder);
  text-align: center;
  margin-top: calc(20rem / 16);
}

.process-step-text {
  text-align: center;
  margin-top: calc(12rem / 16);
}

.process-step-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(10rem / 16);
  background-color: var(--green-clr);
  border-radius: calc(32rem / 16);
  padding: calc(12rem / 16) calc(32rem / 16);
  transition: background-color 250ms ease;
  width: fit-content;
  color: var(--navy-blue-clr);
  margin: 0 auto;
  margin-top: calc(20rem / 16);
  font-weight: var(--weight-bolder);
  color: var(--white-clr);
}

.process-step-btn:hover {
  background-color: var(--navy-blue-clr);
}

/* Events */
.events {
  padding: 0 0 calc(160rem / 16);
  margin-top: calc(100rem / 16);
}

.events-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: calc(16rem / 16);
  padding-bottom: calc(20rem / 16);
  border-bottom: 1px solid var(--dark-gold-clr);
}

.events-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-2);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-2);
  height: calc(70rem / 16);
  display: flex;
  align-items: center;
  gap: calc(32rem / 16);

}

#events-tab.active,
#news-tab.active {
  opacity: 0.3;
}

#events-tab {
  cursor: pointer;
}

#news-tab {
  cursor: pointer;
}

.events-link {
  font-size: var(--fs-heading-5);
  font-weight: var(--weight-normal);
  transition: opacity 250ms ease;
}

.events-link:hover {
  opacity: 0.7;
}

.events-cards {
  display: flex;
  justify-content: space-between;
  gap: calc(32rem / 16);
  margin-top: calc(60rem / 16);
}

.events-card {
  max-width: calc(356rem / 16);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(12rem / 16);
}

.events-card > img {
  height: calc(282rem / 16);
  object-position: center;
  object-fit: cover;
}

.events-divider {
  border-right: 1px solid var(--dark-gold-clr);
}

.events-card-date {
  font-size: var(--fs-small-1);
  color: var(--black-clr);
}

.events-card-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-3);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-3);
}

/* Footer */
.footer {
  padding-bottom: calc(40rem / 16);
  background-color: var(--navy-blue-clr);
  color: var(--white-clr);
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-info {
  width: calc(480rem / 16);
  padding-right: calc(32rem / 16);
  padding-top: calc(20rem / 16);
  padding-bottom: calc(20rem / 16);
}

.footer-info-images {
  display: flex;
  align-items: center;
  gap: calc(32rem / 16);
}

.footer-info-text {
  margin-top: calc(32rem / 16);
}

.footer-links {
  flex: 1;
  padding: 0 calc(32rem / 16);
  border-right: 1px solid var(--white-clr);
  border-left: 1px solid var(--white-clr);
  padding-top: calc(20rem / 16);
  padding-bottom: calc(20rem / 16);
  display: flex;
  flex-direction: column;
  gap: calc(20rem / 16);
}

.footer-links-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-3);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-3);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(12rem / 16);
  flex: 1;
  margin-top: auto;
}

.footer-navlink {
  width: fit-content;
  color: var(--white-clr);
  border-bottom: 1px solid transparent;
  transition: border 250ms ease;
}

.footer-navlink:hover {
  border-bottom: 1px solid var(--white-clr);
}

.footer-contact {
  flex: 1;
  padding-left: calc(32rem / 16);
  padding-top: calc(20rem / 16);
  padding-bottom: calc(20rem / 16);
  display: flex;
  flex-direction: column;
  gap: calc(20rem / 16);
}

.footer-contact-title {
  font-family: var(--heading-ff);
  font-size: var(--fs-heading-3);
  font-weight: var(--weight-normal);
  line-height: var(--lh-heading-3);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(12rem / 16);
  margin-top: auto;
  flex: 1;
}

.footer-contact-text > a {
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--white-clr);
}

.footer-bottom-links {
  padding-top: calc(20rem / 16);
  display: flex;
  align-items: center;
  gap: calc(20rem / 16);
}

/* Media Queries */
@media (max-width: 1023px) {
  .header-info {
    margin: 0 auto;
  }

  .header-menu {
    top: 0;
    padding-bottom: 0;
  }

  .header-menu-cta {
    display: none;
  }

  .header-menu-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .about-info-text {
    padding-left: 0;
  }

  .beers-content {
    flex-direction: column;
    gap: calc(40rem / 16);
  }

  .divider {
    display: none;
  }

  .beers-image {
    margin: 0 auto;
    padding-left: 0;
    width: calc(340rem / 16);
  }

  .beers-info {
    padding: 0 calc(80rem / 16);
  }

  .products {
    padding: calc(120rem / 16) 0;
  }

  .products-card > img {
    height: calc(240rem / 16);
  }

  .product-card-title {
    font-size: var(--fs-paragraph);
  }

  .process {
    padding: 0 0 calc(120rem / 16);
  }

  .process-step-no::before {
    width: calc(40rem / 16);
  }

  .process-step-no::after {
    width: calc(40rem / 16);
  }

  .process-step-title {
    font-size: var(--fs-heading-6);
  }

  .process-content {
    gap: calc(16rem / 16);
  }

  .process-step-btn {
    padding: calc(12rem / 16) calc(16rem / 16);
  }

  .about-info > img {
    height: calc(100rem / 16);
  }

  .events {
    padding: 0 0 calc(120rem / 16);
  }

  .events-cards {
    gap: calc(16rem / 16);
  }

  .footer-info {
    width: calc(240rem / 16);
    padding-right: calc(16rem / 16);
  }

  .footer-info-images {
    gap: calc(20rem / 16);
  }

  .footer-info-images > img {
    height: calc(60rem / 16);
  }

  .footer-links {
    padding-left: calc(16rem / 16);
    padding-right: calc(16rem / 16);
  }

  .footer-contact {
    padding-left: calc(16rem / 16);
  }

  .footer-nav {
    flex: none;
  }
}

@media (max-width: 767px) {
  .header-title {
    font-size: var(--fs-heading-2);
    line-height: var(--lh-heading-2);
  }

  .container {
    width: calc(100% - calc(32rem / 16));
  }

  .about-title {
    font-size: var(--fs-heading-3);
    line-height: var(--lh-heading-3);
  }

  .about-info > img {
    display: none;
  }

  .beers-image {
    width: calc(190rem / 16);
  }

  .beers-info-title {
    font-size: var(--fs-heading-3);
    line-height: var(--lh-heading-3);
  }

  .beers .swiper-button-next,
  .beers .swiper-button-prev {
    width: 24px;
    height: 90px;
    top: 52.5%;
  }

  .beers .swiper-button-next {
    right: 0;
  }

  .beers .swiper-button-prev {
    left: 0;
  }

  .beers .swiper-button-next:after {
    content: url('../assets/svg/chevron-right-small.svg');
    transform: rotate(0deg);
  }

  .beers .swiper-button-prev:after {
    content: url('../assets/svg/chevron-right-small.svg');
    transform: rotate(180deg);
  }

  .beers-info-item-title {
    font-size: var(--fs-heading-3);
    line-height: var(--lh-heading-3);
  }

  .beers-info-item-text {
    font-size: var(--fs-heading-5);
  }

  .beers-info-item {
    padding: 0 calc(20rem / 16);
    gap: calc(12rem / 16);
  }

  .beers {
    padding-bottom: calc(60rem / 16);
  }

  .products-title {
    font-size: var(--fs-heading-3);
    line-height: var(--lh-heading-3);
  }

  .products-cards {
    flex-wrap: wrap;
  }

  .products-divider {
    display: none;
  }

  .products-card > img {
    height: calc(420rem / 16);
  }

  .product-card-body {
    gap: 0;
  }

  .product-card-title {
    font-size: var(--fs-heading-5);
  }

  .process-title {
    font-size: var(--fs-heading-3);
    line-height: var(--lh-heading-3);
  }

  .process-content {
    flex-direction: column;
    gap: calc(32rem / 16);
  }

  .process-step-no::before {
    display: none;
  }

  .process-step-no::after {
    display: none;
  }

  .events-title {
    font-size: var(--fs-heading-3);
    line-height: var(--lh-heading-3);
    height: calc(50rem / 16);
    gap: calc(20rem / 16);
  }

  .events-link {
    display: none;
  }

  .events-cards {
    flex-direction: column;
  }

  .events-card {
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-info {
    width: 100%;
    padding-right: 0;
  }

  .footer-links {
    padding-left: 0;
    padding-right: 0;
    border: none;
  }

  .footer-contact {
    padding-left: 0;
  }

  .beers-info {
    padding: 0 calc(44rem / 16);
  }
}

@media (max-width: 640px) {
  .products-cards {
    flex-direction: column;
  }
}
