body {
  margin: 0;
  padding: 0;
  background: linear-gradient(120deg, #f3eed9, #e7dfc6, #dcccb0);
  color: #4d3b2a;
  font-family: 'Bodoni Moda', cursive;
}

header {
  text-align: center;
  padding: 40px 20px;
  background: none;
  margin-bottom: 20px;
}

header h1 {
  margin: 0;
  text-align: center;
  font-size: 3rem;
}

.intro {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 40px auto;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  padding: 20px 30px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.intro h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 0 20px 40px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.portfolio-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: 20px;
}

.portfolio-item img {
  max-width: 70%;
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}


.portfolio-caption {
  margin-top: 15px;
  text-align: center;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.portfolio-item:hover .portfolio-caption {
  background: rgba(255,255,255,0.4);
}
