@import url("https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&family=EB+Garamond:wght@400;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: "EB Garamond", serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  background-color: #f3d6a2; /* yellowish brown */
  background: url("../assets/cafe-ghibli-2.png") no-repeat;
  background-size: 100% auto;
  background-attachment: fixed;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-title-name {
  font-family: "UnifrakturCook", cursive;
  font-size: 3.4rem;
  color: #4b2e0e;
  margin-bottom: 0.2em;
  padding-top: 1rem;
}

header p {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  color: #4b2e0e;
  margin-top: 0;
  margin-bottom: 5rem;
}

.site-title-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.site-title-banner h1 {
  margin: 0;
  text-align: center;
}

.social-link {
  position: absolute;
  right: -4rem;
  top: 1.5rem;
}

.social-icon {
  width: 3.5rem;
  height: 3.5rem;
}

.menu-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.menu-item {
  background: #cba552;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  min-width: 180px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  font-family: "EB Garamond", serif;
}

.menu-title,
.menu-container {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#page1 .menu-item {
  transition: background 0.3s, color 0.3s;
}

#page1 .menu-item:hover {
  background: #f3d6a2;
  color: #4b2e0e;
}

footer {
  font-family: "EB Garamond", serif;
  position: fixed;
  right: 2rem;
  bottom: 1rem;
  color: #4b2e0e;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(75, 46, 14, 0.08);
  margin: auto;
}

.welcome-message {
  background: rgba(245, 226, 184, 0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(75, 46, 14, 0.12);
  padding: 1rem 2rem;
  margin: 1rem auto;
  /* max-width: 700px; */
  max-width: 60rem;
  text-align: center;
  font-family: "Brush Script MT", cursive;
  /* font-size: 1.35rem; */
  color: #b8860b;
  letter-spacing: 0.5px;
}

.welcome-message h2 {
  font-family: "Brush Script MT", cursive;
  font-size: 2.2rem;
  color: #b8860b;
  margin-bottom: 0.5rem;
}

.welcome-message p {
  font-family: "Brush Script MT", cursive;
  font-size: 1.5rem;
  color: #b8860b;
  margin: 0;
}

.welcome-message .social-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  top: 0.7rem;
}

.welcome-message .grab-icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  /* margin-left: 0.5rem; */
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.welcome-message .grab-icon:hover {
  transform: scale(1.1);
}

.welcome-message .grab-icon {
  filter: brightness(0) saturate(100%) invert(29%) sepia(65%) saturate(519%)
    hue-rotate(92deg) brightness(97%) contrast(86%);
}

.menu-title {
  font-family: "UnifrakturCook", cursive;
  font-size: 2.4rem;
  color: #4b2e0e;
  text-shadow: 1px 2px 8px rgba(75, 46, 14, 0.12);
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  text-align: center;
  background: #cba552;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  display: block;
  margin-left: 5%;
  margin-right: 5%;
  transition: background 0.3s, color 0.3s;
}

.menu-title:hover {
  background: #f3d6a2;
  color: #4b2e0e;
}

#page1 {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  /* padding-bottom: 2rem; */
}

.logo {
  position: absolute;
  left: 1.5rem;
  top: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(75, 46, 14, 0.12);
  z-index: 20;
}

.page-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.menu-item-category {
  width: 50vw;
  height: 50vh;
  display: flex;
  align-items: center; /* Vertically centers content */
  margin: 0;
}

.left-hand-side {
  justify-content: flex-start; /* Image to left */
}

.light-color {
  background: rgba(243, 214, 162, 0.5); /* slightly transparent */
}

.light-color .menu-item {
  background: #cba552;
}

.right-hand-side {
  justify-content: flex-end; /* Image to left */
}

.dark-color {
  background: rgba(203, 165, 82, 0.5); /* slightly transparent */
}

.dark-color .menu-item {
  background: #f3d6a2;
}

/* Content next to sandwich */
.menu-items-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* margin-left: 2rem; */
  padding: 2rem 2rem;
  gap: 1rem;
}

#page2 .dish-img {
  height: 65%;
  max-width: 65%;
  object-fit: contain;
  padding-left: 2.5rem;
}

#page3 .dish-img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  padding-right: 3rem;
}

#page4 .dish-img {
  height: 50%;
  max-width: 50%;
  object-fit: contain;
  padding-left: 3rem;
}

#page5 .dish-img {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
  padding-right: 0.5rem;
}

#page6 .dish-img {
  height: 100%;
  max-width: 40%;
  object-fit: contain;
  padding-left: 3rem;
}

#page7 .dish-img {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
  padding-right: 3rem;
}

#page8 .dish-img {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
  padding-left: 3rem;
}

#page9 .dish-img {
  max-width: 50%;
  max-height: 50%;
  object-fit: contain;
  padding-right: 3rem;
}
