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

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.invitation {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.page {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  position: relative;
}

.page img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.invitation-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #8A6B6E;
  width: 90%;
  max-width: 800px;
  z-index: 10;
  padding: 1rem;
  box-sizing: border-box;
}

.invitation-text p {
  margin: 0;
  padding: 0;
  margin-bottom: 1em;
}

.invitation-text p:last-child {
  margin-bottom: 0;
}

.text-regular {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: 1.6;
}

.text-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.4;
  margin-bottom: 1em;
}

.page-two-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #8A6B6E;
  width: 90%;
  max-width: 600px;
  z-index: 10;
  padding: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2em;
}

.whatsapp-button {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #8A6B6E;
  background-color: transparent;
  border: 2px solid #8A6B6E;
  padding: 0.8em 2em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
}

.whatsapp-button:hover {
  background-color: #8A6B6E;
  color: #fff;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
}

.info-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.6;
  margin: 0;
  color: #8A6B6E;
}

.envelope-icon {
  display: inline-block;
  margin: 0 0.3em;
  font-size: 1.2em;
}

.info-link {
  color: #8A6B6E;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.info-link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .invitation-text {
    padding: 1.5rem 1rem;
    width: 85%;
  }
  
  .text-regular {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
  }
  
  .text-name {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  }
  
  .page-two-content {
    padding: 1.5rem 1rem;
    width: 85%;
    gap: 1.5em;
  }
  
  .whatsapp-button {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    padding: 0.7em 1.5em;
  }
  
  .info-text {
    font-size: clamp(0.9rem, 2.8vw, 1.3rem);
  }
}
