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

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/*
===========
VARIABLES
===========
*/

:root {
  /* Fonts */
  --font-primary: 'Playfair Display', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;

  /* Colors */
  --color-white: rgb(255, 255, 255);
  --color-black: rgb(1, 1, 1);
  --color-brown-1: rgb(234, 227, 218);
  --color-brown-2: rgb(177, 166, 152);
  --color-brown-3: rgb(188, 164, 134);
  --color-brown-4: rgb(121, 92, 64);
  --color-brown-5: rgb(95, 59, 25);
  --color-brown-6: rgb(26, 25, 25);

  /* Transitions */
  --transition-colors: all 0.8s linear;
  --transition-submit-button: all 0.25s linear;
  --transition-menu: all 0.4s ease-in-out;
  --transition-section-link: all 0.2s linear;

  /* Max width */
  --max-width: 800px;

  /* Radius */
  --radius: 0.4rem;
}

/*
========
STYLES
========
*/

*,
*::after,
*::before {
  padding: 0;
  border: 0;
  margin: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
  visibility: hidden;
  width: 0;
  background: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 16px;
  color: var(--color-black);
}

body {
  width: 100vw;
  overflow-x: hidden;
  text-align: center;
  background-color: var(--color-brown-3);
}

p {
  font-family: var(--font-secondary);
}

/*
=======
NAV
=======
*/

.nav {
  width: 100vw;
  padding: 0.4rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background-color: var(--color-brown-3);
  box-shadow: 0 5px 8px var(--color-brown-4);
}

.nav-header {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-header a {
  width: 120px;
  height: 60px;
}

.logo {
  width: 120px;
  height: 60px;
  object-fit: cover;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
  cursor: pointer;
}

/* Links */

.links-container {
  height: 0;
  overflow: hidden;
  transition: var(--transition-menu);
}

.links {
  list-style-type: none;
}

.links li {
  padding: 0.4rem 0;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition-section-link);
}

.links li:hover {
  color: var(--color-brown-4);
}

/* Change nav layout */

@media screen and (min-width: 700px) {
  .nav-toggle {
    display: none;
  }

  .nav-header {
    width: fit-content;
  }

  .nav,
  .links {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .links-container {
    height: auto !important;
    padding-right: 1rem;
  }

  .links li {
    padding: 0.4rem 0.6rem;
  }
}


/*
===========
SECTIONS
===========
*/

section {
  width: 100%;
  padding: 0.4rem 0.8rem;
  background: transparent;
}

.section-center {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.spacer {
  width: 100%;
  height: 20rem;
  background: transparent;
}


/* Main Section */

.main-section {
  height: 100vh;
  padding: 0;
  display: grid;
  place-items: center;
  background-color: var(--color-brown-3);
}

.main-image {
  height: 90vh;
  max-height: 650px;
  width: 100vw;
  object-fit: contain;
}


/* Intro Section */

.title {
  font-size: 3rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-black);
}

.intro-section p {
  font-size: 1.4rem;
  padding: 0.4rem 0;
}

.intro-section .description-container {
  padding: 2rem 0;
  padding-top: 1rem;
}

@media screen and (min-width: 600px) {
  .intro-section .description-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .intro-section .description-container p {
    width: 48%;
    text-align: left;
  }
}


/*
==================
Products Section
*/

.products-section h2 {
  font-size: 2.6rem;
}

.products-section-center {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Main Products */

.main-products .title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  margin: 0 auto;
  margin-top: 1rem;
}

.main-products .title-container .title-image {
  width: 100px;
  height: 65px;
  object-fit: cover;
}

.main-products .title-container .title-text {
  font-size: 2.1rem;
}

.main-products-container {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Main Product */

.main-product {
  width: 100%;
}

.main-product-title {
  font-size: 1.7rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--color-brown-4);
}

.main-product-image {
  width: 100%;
}

@media screen and (min-width: 480px) {
  .main-product {
    width: 48%;
  }
}

@media screen and (min-width: 960px) {
  .main-product {
    width: 24%;
  }
}

/* Full Selection Link */

.full-selection-link,
.full-selection-link:visited {
  display: block;
  width: fit-content;
  font-size: 2rem;
  padding: 0.6rem 0.8rem;
  margin: 1rem auto;
  background: transparent;
  text-decoration: none;
  color: var(--color-brown-5);
  border: 2px solid var(--color-brown-5);
  transition: var(--transition-submit-button);
}

.full-selection-link:hover {
  color: var(--color-brown-3);
  background-color: var(--color-brown-5);
}

@media screen and (max-width: 370px) {

  .full-selection-link,
  .full-selection-link:visited {
    font-size: 1.65rem;
  }
}


/*
====================
Product Categories
*/

.product-categories {
  width: 100%;
  padding-top: 2.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* Product Category */

.product-category {
  width: 100%;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.product-category .title-and-image-container {
  width: 100%;
}

.product-category .title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.product-category .title-container .title-image {
  height: 65px;
  margin: 0 auto;
  object-fit: contain;
  transform: scale(2.2);
}

.product-category:nth-child(4) .title-container .title-image,
.product-category:nth-child(5) .title-container .title-image,
.product-category:nth-child(6) .title-container .title-image {
  transform: scale(1.4);
}

.product-category:nth-child(5) .title-container .title-image {
  transform: scale(1.25);
}

.product-category:nth-child(8) .title-container .title-image {
  transform: scale(1);
}

.product-category .title-container .title-text {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.product-category .category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-category .category-desc {
  width: 95%;
  font-size: 1.4rem;
  text-align: justify;
}



@media screen and (min-width: 500px) {
  .product-category .category-image {
    height: 360px;
  }
}

@media screen and (min-width: 700px) {
  .product-category .category-image {
    height: 400px;
  }
}

/* Two column layout */

@media screen and (min-width: 800px) {
  .product-category {
    width: 48%;
  }

  .product-category .title-container .title-text {
    font-size: 1.4rem;
  }

  .product-category .category-image {
    height: 280px;
  }

  .product-category .category-desc {
    font-size: 1.25rem;
  }
}

@media screen and (min-width: 1000px) {
  .product-category .category-image {
    height: 340px;
  }
}

/* Three column layout */

@media screen and (min-width: 1420px) {
  .product-category {
    width: 24%;
  }

  .product-category .title-container .title-text {
    font-size: 1.4rem;
  }

  .product-category .category-image {
    height: 240px;
  }

  .product-category .category-desc {
    font-size: 1.25rem;
  }
}


/* Drinks */

.drinks-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  row-gap: 2rem;
  margin: 2.2rem auto;
  margin-bottom: 3.2rem;
}

.drinks-image {
  width: 100%;
  height: calc((100% - 1rem) / 2);
}

@media screen and (min-width: 500px) {
  .drinks-container {
    flex-direction: row;
  }

  .drinks-image {
    width: calc((100% - 2rem) / 2);
    height: 100%;
  }
}


/*
==================
Services Section
*/

.services-section h2 {
  font-size: 2.4rem;
}

/* Delivery Image */

.delivery-image {
  width: 90%;
  max-width: 400px;
  padding-top: 2rem;
}

/* Services */

.services {
  width: 100%;
  margin: 1rem 0;
  padding: 0 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Service */

.service {
  width: 100%;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 80px;
}

.service-title {
  font-size: 1.8rem;
  padding-left: 0.8rem;
  text-align: left;
  flex: 1;
}

@media screen and (max-width: 350px) {
  .service-icon {
    width: 65px;
  }

  .service-title {
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 800px) {
  .service {
    width: 48%;
  }

  .service:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service:nth-child(even) .service-title {
    padding-left: 0;
    padding-right: 0.8rem;
    text-align: right;
  }

  .service-title {
    font-size: 1.65rem;
  }
}


/*
==============
Info Section
*/

.info-section h2 {
  font-size: 2.2rem;
}

.opening-hours-and-map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Opening Hours */

.opening-hours-container {
  width: 100%;
  max-width: 320px;
  padding: 1.4rem 0;
  margin: 0 auto;
}

.opening-hours-title {
  font-size: 2rem;
}

.opening-hours {
  width: 100%;
}

.opening-hours-for-day {
  font-size: 1.55rem;
  font-family: var(--font-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Map */

.map-container {
  width: 100%;
  max-width: 840px;
  height: 300px;
  margin: 1rem auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.map {
  width: 100%;
  height: 100%;
}


/*
=========
Footer
*/

.footer {
  width: 100%;
  margin-top: 4rem;
  border-top: 2px solid var(--color-brown-4);
  padding-top: 0.8rem;
  box-shadow: 0 -5px 8px var(--color-brown-4);
}

.footer-center {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Details */

.contact-info-container {
  width: 100%;
  padding: 0 0.6rem;
  padding-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-and-email-container,
.social-icons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.phone-and-email-container {
  width: 65%;
}

.phone-and-email-container a,
.phone-and-email-container a:visited {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-black);
  text-decoration: none;
}

.phone-and-email-container a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 370px) {

  .phone-and-email-container a,
  .phone-and-email-container a:visited {
    font-size: 1.2rem;
  }
}

.social-icons-container {
  width: 35%;
  padding: 0 0.4rem;
  flex-direction: row;
}

.social-icons-container a,
.social-icons-container a:visited {
  width: 42%;
  height: 50px;
}

.social-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Promo */

.promo {
  width: 100%;
  padding: 1rem 0.2rem;
  border-top: 0.2px solid var(--color-black);
  box-shadow: 0 -0.5px 2px;
}

.promo-text {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
}

.promo-text a,
.promo-text a:visited {
  color: var(--color-black);
  text-decoration: none;
}

.promo-text a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 380px) {
  .promo-text {
    font-size: 0.95rem;
  }
}
