/* General */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff8fa;
    color: #333;
  }
  
/* Encabezado */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ← Sombra gris sutil hacia abajo */
  }
  
    .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
  }
  
  .logo img {
    max-height: 80px;           /* Limita el espacio que ocupa */
    height: auto;
    display: block;
    transform: scale(1.2);      /* Aumenta visualmente el tamaño */
    transform-origin: left;     /* Ancla el crecimiento hacia la izquierda */
  }
  
  /* Menú a la derecha */
  nav {
    display: flex;
    gap: 50px;
    margin: 0;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-style: italic;
    font-size: 1.1em;
    transition: all 0.3s;
  }
  
  nav a:hover {
    background-color: #b03060;
    color: #fff;
  }
  
  /* Títulos */
  h2 {
    font-size: 2.3em;
    color: #b03060;
    font-style: italic;
    text-align: center;
    margin-top: 7px;
  }
  
  /* Galería */
  .gallery {
    padding: 10px 30px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto 0 auto;
  }
  
  .card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }
  
  .card img {
    width: 100%;
    display: block;
  }
  
  /* Footer */
  footer {
    text-align: center;
    background-color: #fff0f5;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
  }
  
  footer a {
    color: #b03060;
    text-decoration: none;
    font-weight: bold;
  }
  .card figcaption { /*epígrafe de las fotos de las enaguas*/
    padding: 10px;
    text-align: center;
    font-size: 0.95em;
    color: #555;
    background-color: #f9f9f9;
    font-style: italic;
  }
.gallery .card img {/* Estilo para las imágenes al hacer hover */
  transition: transform 0.3s ease;
  cursor: pointer;
 }
.gallery .card img:hover {
  transform: scale(1.2); /* Aumenta el tamaño un 20% */
  z-index: 10;
 }
 .card {
  border-radius: 12px;
  overflow: hidden;          /* ← evita que la imagen se desborde */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;        /* ← permite controlar el z-index del hover */
}

.contacto {
  padding: 40px 20px;
  background-color: #fff8fa;
  font-family: 'Segoe UI', sans-serif;
}

.contacto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: space-between;
}

form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 10px;
  font-weight: bold;
  color: #b03060;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
}

form input[type="file"] {
  border: none;
}

form button {
  margin-top: 15px;
  background-color: #b03060;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #902850;
}

.info-contacto {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background-color: #fff0f5;
  border-radius: 10px;
  color: #333;
}

.info-contacto h3 {
  color: #b03060;
  margin-bottom: 5px;
}
