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

:root {
  --main-font: "Source Sans Pro", sans-serif;
  --secondary-font: "Poiret One", cursive;
  --body-font: "Cabin", sans-serif;
  --headings-font: "Herr Von Muellerhoff", cursive;
  --main-font-color-dark: #252525;
  --secondary-font-color: #e1b164;
  --body-font-color: #515151;
  --white-color: #fff;
  --dark-bg: #121212;
}

html {
  font-family: var(--body-font);
  font-size: 10px;
  color: var(--body-font-color);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

section {
  padding: 3.9rem 0;
  overflow: hidden;
}

img {
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.6rem;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 122.5rem;
  margin: 0 auto;
  padding: 0 2.4rem;
}

/* NEW PAGE*/

.slideshow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  .slider {
    width: 100vw;
    height: 100vw;
    z-index: 2;

    * {
      outline: none;
    }

    .item {
      height: 100vh;
      width: 100vw;
      position: relative;
      overflow: hidden;
      border: none;

      .text {
        display: none;
      }

      img {
        min-width: 101%;
        min-height: 101%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }

  .slick-dots {
    position: fixed;
    z-index: 100;
    width: 40px;
    height: auto;
    bottom: auto;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    left: auto;
    color: #fff;
    display: block;

    li {
      display: block;
      width: 100%;
      height: auto;

      & button {
        position: relative;
        width: 20px;
        height: 15px;
        text-align: center;

        &:before {
          content: "";
          background: #fff;
          color: #fff;
          height: 2px;
          width: 20px;
          border-radius: 0;
          position: absolute;
          top: 50%;
          right: 0;
          left: auto;
          transform: translateY(-50%);
          transition: all 0.3s ease-in-out;
          opacity: 0.6;
        }
      }

      &.slick-active {
        button {
          &:before {
            width: 40px;
            opacity: 1;
          }
        }
      }
    }
  }

  &.slideshow-right {
    left: 0;
    z-index: 1;
    width: 50vw;
    pointer-events: none;

    .slider {
      left: 0;
      position: absolute;
    }
  }
}

.slideshow-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  font-size: 80px;
  width: 100vw;
  text-align: center;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 100;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 20px;
  line-height: 0.8;

  @media (max-width: 767px) {
    font-size: 40px;
  }
}

.the-most {
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 50vw;
  max-width: 200px;
  padding: 10px;

  img {
    max-width: 100%;
  }
}

/* NEW PAGE END */
/* HEADER */

header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.navbar {
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2.5rem;
  color: var(--white-color);
  letter-spacing: 0.1rem;
  transition: color 0.4s;
}

.logo:hover {
  color: var(--secondary-font-color);
}

.menu-toggle {
  color: var(--white-color);
  font-size: 2.2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.5rem;
  cursor: pointer;
  z-index: 1500;
}

.fa-times {
  display: none;
}

.nav-list {
  list-style: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  min-height: 100vh;
  background-color: var(--main-font-color-dark);
  padding: 4.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  z-index: 1250;
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.navbar::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s;
}

.show .fa-times {
  display: block;
}

.show .fa-bars {
  display: none;
}

.show .nav-list {
  transform: translateX(0);
}

.show .nav::before {
  opacity: 1;
  transform: scale(1);
}

.nav-item {
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.nav-link {
  display: block;
  color: var(--white-color);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: -2px;
  transition: color 0.5s;
}

.nav-link:hover {
  color: var(--secondary-font-color);
}

/* HERO SECTION*/

.hero {
  width: 100%;
  height: 100vh;
  background: url("images/hero-bg.jpg") center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

.headline {
  font-family: var(--main-font);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white-color);
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  margin-right: -0.5rem;
  opacity: 0;
  animation-name: scaleBigger;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

h1.headline {
  font-family: var(--secondary-font);
  margin-bottom: 4rem;
  font-weight: 400;
  font-size: 5.5rem;
  opacity: 0;
  animation-name: scaleBigger;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.sub-headline {
  font-size: 8.5rem;
  font-family: var(--headings-font);
  color: var(--secondary-font-color);
  font-weight: 100;
  line-height: 0.4;
  letter-spacing: 2px;
  opacity: 0;
  animation-name: fadeUp;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-delay: 0.5s;
}

.sub-headline::first-letter {
  text-transform: uppercase;
  font-size: 10.3rem;
}

.btn {
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--secondary-font-color);
  color: var(--white-color);
  padding: 2rem 3rem;
  transition: all 0.4s;
}

.btn-primary:hover {
  background-color: var(--white-color);
  color: var(--secondary-font-color);
}

/* STORY SECTION*/

.global-headline {
  margin-top: 3.9rem;
  text-align: center;
}

.our-story .global-headline {
  margin-top: 6.9rem;
}

.asterisk {
  font-size: 1.2rem;
  color: var(--body-font-color);
  margin: 2.4rem 0;
  opacity: 0;
  animation-name: spin;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-delay: 0.7s;
}

.headline-dark {
  color: var(--main-font-color-dark);
  letter-spacing: 0.7rem;
  margin-right: -0.7rem;
}

.global-headline .sub-headline {
  letter-spacing: -1px;
  line-height: 0.42;
}

.row {
  text-align: center;
}

.description {
  margin-bottom: 3rem;
}

.description p {
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.btn-secondary {
  color: var(--secondary-font-color);
  position: relative;
  transition: color 0.5s;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-font-color);
  transition: background-color 0.5s;
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--main-font-color-dark);
}

.btn-secondary:hover::before,
.btn-secondary:focus::before {
  background-color: var(--main-font-color-dark);
}

/* ALWAYS FRESH */

.always-fresh {
  background: url("images/tasteful-recipes.jpg") center no-repeat;
  background-size: cover;
}

.shared {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MENU SECTION */

.image-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.5rem;
}

.menu .description {
  padding-top: 3rem;
  margin-bottom: 0;
}

/* TASTY SECTION */

.tasty {
  background: url("images/tasty.jpg") center no-repeat;
  background-size: cover;
}

/* FOOTER */

footer {
  background-color: var(--dark-bg);
  color: var(--white-color);
  padding: 7rem 0 5rem;
  position: relative;
  text-align: center;
}

.back-to-top {
  background-color: var(--dark-bg);
  border-radius: 50%;
  position: absolute;
  top: -3rem;
  left: 50%;
  width: 7rem;
  height: 7rem;
  transform: translateX(-50%);
}

.back-to-top i {
  display: block;
  color: var(--white-color);
  font-size: 2rem;
  padding: 2rem;
  animation-name: showsUp;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.footer__content {
  overflow: hidden;
}

.footer__content h4 {
  font-size: 1.9rem;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 3rem;
}

footer .asterisk {
  color: var(--secondary-font-color);
  margin: 2.4rem;
}

.footer__content-about {
  margin-bottom: 5.4rem;
}

.footer__content-about p {
  line-height: 1.8;
}

.social-icons {
  margin-bottom: 5.4rem;
  display: flex;
  justify-content: center;
}

.social-icons i {
  font-size: 2rem;
  color: var(--white-color);
  padding: 0.8rem 2rem;
  opacity: 0.5;
  transition: color 0.5s;
}

.social-icons i:hover,
.social-icons i:focus {
  color: var(--secondary-font-color);
}

.newsletter-form {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.newsletter-input {
  width: 100%;
  max-width: 25rem;
  padding: 1rem;
  border: none;
  outline: none;
}

.newsletter-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--main-font-color-dark);
  font-size: 1.6rem;
  padding: 1px 0.6rem;
  outline: none;
}

.newsletter-form-box {
  background-color: var(--white-color);
  border-radius: 0.4rem;
  display: flex;
  overflow-x: hidden;
}

/*                    ABOUT PAGE                      */

/* RESERVATION SECTION */

.small-size-hero {
  height: 20vh;
}

.reservation__container {
  margin: 3rem 0;
}

.reservation__form > * {
  display: block;
  width: 100%;
}

.reservation h4 {
  font-size: 2.5rem;
  font-weight: 100;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 3rem;
}

.reservation__form input,
.reservation__form select {
  background: transparent;
  border: 1px solid var(--secondary-font-color);
  margin-bottom: 3rem;
  padding: 1.8rem 2rem;
  outline: none;
  color: var(--body-font-color);
  font-size: 1.3rem;
  font-family: var(--body-font);
}

.reservation__form select {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit__reservation {
  border: 1px solid transparent;
  outline: none;
  cursor: pointer;
}

.submit__reservation:hover {
  border: 1px solid var(--secondary-font-color);
}

.margin-bottom {
  margin-bottom: 5rem;
}

/*                    BAKERS PAGE                      */

/* BAKERS SECTION */

.bakers h4 {
  font-size: 2.5rem;
  font-weight: 100;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 3rem;
}

.bakers__container img {
  width: 26.5rem;
  height: 36.5rem;
}

.baker {
  text-align: center;
  margin-bottom: 7rem;
}

.baker:last-child {
  margin-bottom: 0;
}

.baker h5 {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-top: 2rem;
  letter-spacing: 0.3rem;
}

.baker .social-icons {
  margin: 1rem 0 0em;
  display: flex;
  justify-content: center;
}

.baker .social-icons i {
  font-size: 2rem;
  color: var(--secondary-font-color);
  padding: 0.8rem;
}

.baker .social-icons i:hover,
.baker .social-icons i:focus {
  color: #241f17;
}

/* JOIN US SECTION */

.join-us .image {
  display: none;
}

/*                         MEDIA QUERIES                  */

@media screen and (min-width: 900px) {
  section {
    padding: 7.9rem;
  }

  .menu-toggle {
    display: none;
  }

  .navbar {
    justify-content: space-between;
  }

  .nav-list {
    position: initial;
    width: initial;
    min-height: initial;
    background-color: transparent;
    padding: 0;
    justify-content: initial;
    flex-direction: row;
    transform: initial;
    transition: initial;
  }

  .nav-item {
    border: none;
    margin: 0 2.4rem;
  }

  .nav-item:last-child {
    margin-right: 0;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .active {
    position: relative;
  }

  .active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--white-color);
    left: 0;
    bottom: -3px;
  }

  .sub-headline {
    font-size: 10rem;
  }

  .headline {
    font-size: 4.7rem;
  }

  .story-img {
    max-width: 40rem;
  }

  .row {
    display: flex;
    align-items: center;
  }

  .row > div {
    flex: 1;
  }

  .padding-right {
    padding-right: 7rem;
  }

  .footer__content {
    max-width: 77.5rem;
    margin: auto;
  }

  .footer__content-about {
    max-width: 51.3rem;
    margin: 0 auto 5.4rem;
  }

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

  .social-media,
  .newsletter-form {
    width: 100%;
    max-width: 27.3rem;
    margin: 0 1rem;
  }

  .social-icons i {
    opacity: 1;
  }

  .reservation__form {
    display: flex;
    align-items: flex-start;
    margin: 4rem 0 2rem;
  }

  .reservation__form > *:not(:last-child) {
    margin-right: 2rem;
  }

  .bakers__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
  }

  .bakers__container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .baker:last-child {
    margin-bottom: 7rem;
  }

  .join-us .image {
    display: block;
  }
}

/* MENU */
/* Ensure consistent layout like about.html */
.menu-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: white;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.2s ease;
}

.menu-item:hover {
  background-color: #f0f8ff; /* Light blue-ish hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); /* Lift effect */
}

.menu-thumb {
  width: 40px;
  height: 40px;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-thumb {
  transform: scale(1.05);
}

/*          ANIMATIONS           */

@keyframes fadeUp {
  0% {
    transform: translateY(4rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleBigger {
  0% {
    transform: scale(2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    opacity: 1;
    transform: scale(-360deg);
  }
}

@keyframes showsUp {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  /* MENU PAGE */

  /* MENU PAGE */
}
.gallery {
  margin-top: 5%;
  padding-top: 60px;
  text-align: center;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full height of viewport */
  width: 100vw; /* Full width of viewport */
  margin: 0; /* Remove extra margins */
}

.image-container {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain; /* Maintain aspect ratio */
}

#myModal {
  z-index: 101;
}

.scrollable-images {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  gap: 10px;
  transition: 700ms cubic-bezier(0.075, 0.02, 0.165, 1);
  transform-origin: center;
}

.scrollable-images::-webkit-scrollbar {
  display: none;
}

.scrollable-images img {
  width: 80px;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  filter: grayscale(100%);
}

.scrollable-images img:hover {
  filter: grayscale(0%);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  background-size: contain;
  margin: auto;
  display: block;
  width: auto;
  height: auto;
}
#caption {
  margin: auto;
  display: block;
  font-family: "Hubballi", sans-serif;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
@keyframes zoom {
  from {
    transform: scale(0.1);
  }
  to {
    transform: scale(1);
  }
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .modal-content {
    margin-top: 20%;
    width: 100%;
  }
}
@media (min-width: 769px) {
  .modal-content {
    /*max-width: none; */
    max-height: 100%;
    width: auto;
  }
}


