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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  line-height: 1.6;
  background-color: #f8f5f2;
  color: #2e221b;
  padding-top: 90px;
}

.header {
  background-color: #4b2e2b;
  color: white;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

section {
  scroll-margin-top: 100px;
}

#menu {
  scroll-margin-top: 30vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: inline-block;
  background: transparent;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  background: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #e9ded4;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #d6a77a;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(rgba(233, 222, 212, 0.78), rgba(233, 222, 212, 0.78)),
              url("images/home-bg.jpg") center/cover no-repeat;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #4b2e2b;
}

.hero-logo {
  width: 360px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

.hero p {
  margin-bottom: 1rem;
}

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-card {
  width: 300px;
  height: 200px;
  border-radius: 16px;
  text-decoration: none;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 1rem;
  color: #e9ded4;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-card span {
  position: relative;
  z-index: 1;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.coffee-card {
  background-image: url("images/coffee.jpg");
}

.pastries-card {
  background-image: url("images/pastries.jpg");
}

.coffee-page {
  background: url("images/coffee-bg.jpg") center / cover fixed no-repeat;
}

.pastries-page {
  background: url("images/pastries-bg.jpg") center / cover fixed no-repeat;
}

.menu-page {
  padding: 3rem 2rem 4rem;
  min-height: 100vh;
  background-color: rgba(248, 245, 242, 0.85);
}

.item-section {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  font-size: 3rem;
  font-family: Georgia, "Times New Roman", serif;
  color: #4b2e2b;
  margin-bottom: 2rem;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.item-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  background: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.item-toggle {
  width: 100%;
  height: 280px;
  border: none;
  cursor: pointer;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 1.25rem;
}

.item-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.item-name {
  position: relative;
  z-index: 1;
  color: #e9ded4;
  font-size: 1.8rem;
  font-weight: 700;
}

.item-description {
  display: none;
  padding: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #2e221b;
  background-color: #e9ded4;
}

.item-card.active .item-description {
  display: block;
}

.coffee-latte .item-toggle {
  background-image: url("images/latte.jpg");
}

.coffee-mocha .item-toggle {
  background-image: url("images/mocha.jpg");
}

.coffee-cappuccino .item-toggle {
  background-image: url("images/cappuccino.jpg");
}

.coffee-flatwhite .item-toggle {
  background-image: url("images/flat-white.jpg");
}

.coffee-americano .item-toggle {
  background-image: url("images/americano.jpg");
}

.coffee-hazelnutlatte .item-toggle {
  background-image: url("images/hazelnut-latte.jpg");
}

.coffee-espresso .item-toggle {
  background-image: url("images/espresso.jpg");
}

.coffee-macchiato .item-toggle {
  background-image: url("images/macchiato.jpg");
}

.coffee-icedlatte .item-toggle {
  background-image: url("images/iced-latte.jpg");
}

.pastry-croissant .item-toggle {
  background-image: url("images/croissant.jpg");
}

.pastry-roll .item-toggle {
  background-image: url("images/cinnamon-roll.jpg");
}

.pastry-tart .item-toggle {
  background-image: url("images/berry-tart.jpg");
}

.pastry-painauchocolat .item-toggle {
  background-image: url("images/pain-au-chocolat.jpg");
}

.pastry-almonddanish .item-toggle {
  background-image: url("images/almond-danish.jpg");
}

.pastry-blueberrymuffin .item-toggle {
  background-image: url("images/blueberry-muffin.jpg");
}

.pastry-chocolatetwist .item-toggle {
  background-image: url("images/chocolate-twist.jpg");
}

.pastry-lemonslice .item-toggle {
  background-image: url("images/lemon-slice.jpg");
}

.pastry-appleturnover .item-toggle {
  background-image: url("images/apple-turnover.jpg");
}

.about,
.contact {
  padding: 4rem 2rem;
  text-align: center;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  max-width: 1200px;
  margin: 4rem auto;
  background-color: #f3ece6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0;
  text-align: left;
}

.about-image {
  min-height: 340px;
  background: url("images/about-bg.jpg") center/cover no-repeat;
}

.about-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: #4b2e2b;
  font-family: Georgia, "Times New Roman", serif;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 100%;
}

.about-content p:last-of-type {
  margin-bottom: 0;
}

.contact {
  background-color: #e9ded4;
}

.footer {
  text-align: center;
  padding: 1rem;
  background-color: #4b2e2b;
  color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #4b2e2b;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

.about {
  grid-template-columns: 1fr;
  margin: 3rem 1.5rem;
}

.about-image {
  min-height: 280px;
}

.about-content {
  padding: 2rem 1.5rem;
}

.about-content h2 {
  font-size: 2rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
}
}