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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FFF3E6;
  color: #6b4f4f;
  padding: 20px;
  line-height: 1.6;
  text-align: center;
}

h1 {
  font-size: 2.4em;
  padding: 1em 0;
  font-family: 'DM Serif Display', serif;
  background-color: #F7D6D0;
  color: #A94E4E;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(169, 78, 78, 0.3);
  letter-spacing: 0.05em;
  margin: 1em auto;
  max-width: 600px;
}

h4 {
  font-size: 1.4em;
  padding: 0.8em 1em;
  font-family: 'DM Serif Display', serif;
  color: #C57D7D;
  margin: 0 auto 1.5em auto;
  max-width: 700px;
  letter-spacing: 0.03em;
  text-align: center;
}

.container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

.image-box {
  border: 2px solid #f7c6c7;
  border-radius: 14px;
  background: #fff6f6;
  width: 180px;
  box-shadow: 0 6px 12px rgba(247, 198, 199, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(247, 198, 199, 0.6);
}

.image-box img {
  width: 100%;
  height: auto;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: block;
  transition: transform 0.3s ease;
}

.image-box:hover img {
  transform: scale(1.05);
}

.caption {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #ad6a64;
  padding: 14px 12px;
  text-align: center;
  line-height: 1.3;
  background: #fff0e5;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  transition: background 0.3s ease, color 0.3s ease;
}

.image-box:hover .caption {
  background: #ffe4d9;
  color: #9a3836;
}

button {
  background-color: #F7D6D0;
  color: #9a3836;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #F7D6D0;
}