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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding: 40px;
}

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

header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

h1 {
  font-size: 2.5rem;
  color: #f39c12;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
}

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 12px 12px 0 0;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.03);
}

figure {
  margin: 0;
}

figcaption {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  color: #2c3e50;
  background: white;
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
