:root {
  --bg-color: #f2efea;
  --primary-color: #4a4e69;
  --secondary-color: #9a8c98;
  --highlight-color: #c9ada7;
  --footer-color: #22223b;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin: 0;
}

.header-actions {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  gap: 12px;
}

.btn-header {
  background: #ffd363;
  color: #2c2c46;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(44,44,70,0.15);
  transition: background .2s, transform .1s ease-in-out;
}

.btn-header:hover {
  background: #fac93c;
}

.btn-header:active {
  transform: scale(0.98);
}

main {
  flex: 1;
  padding: 5px 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery {
  text-align: center;
  margin-bottom: 0.5rem;
}

.gallery-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.gallery-item {
  text-align: center;
}

.gallery-title {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
}

.gallery-item a {
  text-decoration: none;
}

.gallery-item img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

footer {
  background-color: var(--footer-color);
  color: var(--highlight-color);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 1rem;
}

.email-icon {
  margin-right: 8px;
  color: var(--highlight-color);
}

@media (max-width: 700px) {
  .gallery-items {
    flex-direction: column;
    gap: 20px;
  }
}
