:root {
  --bg-color: #ff99aa; /* Pink from your homepage */
  --text-color: #2e1a47; /* Purple from your homepage */
  --impressionist-font: "Cinzel", serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--impressionist-font);
  min-height: 100vh;
  padding: 5vw;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Header --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12vh;
}

.logo-text {
  font-size: 0.8rem;
  letter-spacing: 5px;
  font-weight: bold;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.8rem;
  letter-spacing: 3px;
  margin-left: 30px;
  font-weight: bold;
}

.nav-link:hover {
  text-decoration: underline;
}

/* --- Gallery Layout --- */
.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

/* --- Image Box & Zoom Effect --- */
.image-box {
  width: 100%;
  aspect-ratio: 4 / 3;

  border-radius: 17px; /* Curved boundary from sketch */
  overflow: hidden; /* Clips the image as it zooms */
  margin-bottom: 25px;
  display: block;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Smooth transition for the zoom */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

/* Zoom Trigger */
.blog-card:hover .image-box img {
  transform: scale(1.1); /* 10% Zoom */
}

/* --- Impressionist Text Style --- */
.category-title {
  margin: 0;
  padding: 0;
}

.category-title a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.35em; /* Spaced out look from image */
  text-transform: uppercase;
  transition: all 0.4s ease;
}

.blog-card:hover .category-title a {
  font-style: italic;
  letter-spacing: 0.45em;
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .blog-gallery {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .image-box {
    width: 90%;
  }
}
