* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #eeeeee;
  color: #000000;
  font-family: "Laila", Arial, sans-serif;
}

:root {
  --coffee-brown: #95674e;
  --coffee-gradient: linear-gradient(to top right, #5f3422 0%, #95674e 46%, #c8906c 100%);
}

.page-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: #95674e;
  background-image: var(--coffee-gradient);
  min-height: 100vh;
}

.site-header {
  width: 100vw;
  min-height: 75px;
  padding: 8px max(18px, calc((100vw - 430px) / 2 + 18px));
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #95674e;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  text-decoration: none;
}

.logo {
  width: 52px;
  height: auto;
  transition: filter 0.8s ease;
}

.brand-link:hover .logo {
  filter: drop-shadow(0 0 7px rgba(255, 232, 190, 0.55));
}

h2 {
  margin: 0;
  font-weight: normal;
}

h1 {
  font-family: "Mountains of Christmas", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.dropdown-menu {
  position: relative;
}

.menu-icon {
  width: 42px;
  display: block;
  cursor: pointer;
  list-style: none;
  transition: transform 0.9s ease;
}

.menu-icon span {
  display: block;
  height: 4px;
  margin: 7px 0;
  background-color: #dddddd;
}

.menu-icon:hover {
  transform: scale(1.18);
}

.menu-links {
  width: 150px;
  padding: 8px 0;
  position: absolute;
  top: 48px;
  right: 0;
  background-color: #dfdfdf;
  border: 2px solid #70472f;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  z-index: 5;
}

.menu-links a {
  padding: 8px 14px;
  display: block;
  color: #000000;
  font-family: "Playpen Sans Arabic", Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.menu-links a:hover {
  background-color: #cfcfcf;
}

.drink-title {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #dfdfdf;
}

.drink-title h2 {
  font-family: "Playpen Sans Arabic", Arial, sans-serif;
  font-size: 34px;
}

.drink-section {
  min-height: 360px;
  padding: 32px 24px 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  justify-items: center;
  background-color: #95674e;
  background-image: var(--coffee-gradient);
}

.drink-image,
.coffee-subpage-image {
  width: min(100%, 330px);
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
  justify-self: center;
  transition: transform 0.9s ease, box-shadow 0.9s ease;
}

.drink-image:hover,
.coffee-subpage-image:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.drink-info {
  min-width: 0;
  width: 100%;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-family: "Laila", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.drink-info p {
  margin: 0;
}

.drink-info ul {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding-left: 20px;
  text-align: left;
}

.button {
  width: 205px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 12px;
  display: block;
  background-color: #dfdfdf;
  color: #000000;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
    transition: background-color 0.2s ease, transform 0.2s;
}

.button:hover {
  background-color: #cfcfcf;
  transform: scale(1.06);
}

.coffee-subpage {
  border-top: 48px solid #dfdfdf;
  padding: 36px 20px 30px;
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
  background-color: #95674e;
  background-image: var(--coffee-gradient);
}

.coffee-subpage-text {
  display: contents;
}

.coffee-subpage-image {
  width: min(100%, 310px);
  max-width: 100%;
  border-radius: 18px;
  display: block;
  justify-self: center;
  order: 2;
}

.coffee-subpage-text h2 {
  margin: 0 0 10px;
  font-family: "Playpen Sans Arabic", Arial, sans-serif;
  font-size: 40px;
  font-weight: normal;
  order: 1;
}

.coffee-subpage-text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  order: 3;
}

.content-section {
  padding: 28px 24px 42px;
  background-color: #dfdfdf;
  font-size: 17px;
  line-height: 1.65;
}

.content-section h3 {
  margin: 22px 0 6px;
  font-family: "Playpen Sans Arabic", Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.content-section h3:first-child {
  margin-top: 0;
}

.content-section p {
  margin: 0 0 10px;
}

.content-section ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

@media (min-width: 768px) {
  .page-shell {
    max-width: 900px;
  }

  .site-header {
    padding: 14px max(36px, calc((100vw - 900px) / 2 + 36px));
  }

  .logo {
    width: 66px;
  }

  h1 {
    font-size: 52px;
  }

  .menu-links {
    width: 180px;
    top: 56px;
  }

  .menu-links a {
    padding: 10px 14px;
    font-size: 15px;
  }

  .drink-title {
    height: 62px;
  }

  .drink-title h2 {
    font-size: 44px;
  }

  .drink-section {
    height: 360px;
    min-height: 0;
    padding: 48px 44px;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
    justify-items: stretch;
  }

  .drink-image {
    width: 320px;
  }

  .drink-info {
    max-width: none;
    height: 100%;
    justify-content: center;
    font-size: 18px;
    gap: 16px;
  }

  .button {
    width: 230px;
    font-size: 16px;
  }

  .coffee-subpage {
    border-top-width: 62px;
    padding: 56px 46px;
    grid-template-columns: 310px 1fr;
    align-items: center;
    text-align: left;
  }

  .coffee-subpage-text {
    display: block;
  }

  .coffee-subpage-image {
    width: 310px;
    order: 0;
  }

  .coffee-subpage-text h2 {
    font-size: 54px;
  }

  .coffee-subpage-text p {
    font-size: 21px;
  }

  .content-section {
    padding: 38px 56px 54px;
    font-size: 19px;
  }

  .content-section h3 {
    font-size: 27px;
  }
}

@media (min-width: 1024px) {
  .page-shell {
    max-width: 1100px;
  }

  .site-header {
    padding: 16px max(54px, calc((100vw - 1100px) / 2 + 54px));
  }

  .logo {
    width: 76px;
  }

  h1 {
    font-size: 60px;
  }

  .menu-links a {
    font-size: 17px;
  }

  .drink-title {
    height: 70px;
  }

  .drink-title h2 {
    font-size: 52px;
  }

  .drink-section {
    height: 420px;
    padding: 58px 72px;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 70px;
  }

  .drink-image {
    width: 400px;
  }

  .drink-info {
    font-size: 20px;
    gap: 18px;
  }

  .coffee-subpage {
    padding: 66px 72px;
    grid-template-columns: 380px 1fr;
    gap: 64px;
  }

  .coffee-subpage-image {
    width: 380px;
  }

  .coffee-subpage-text h2 {
    font-size: 64px;
  }

  .coffee-subpage-text p {
    font-size: 23px;
  }

  .content-section {
    padding: 46px 80px 64px;
    font-size: 20px;
  }

  .content-section h3 {
    font-size: 30px;
  }
}
