/* Importing Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@300;400;500&display=swap');

/* Main Body */
body {
  background: linear-gradient(135deg, #fdf6f0, #ffe4ec); /* Soft pastel gradient */
  font-family: 'Poppins', sans-serif;
  color: #5b0a0a;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* Main Card */
.card {
  background: #fffdf9;
  border: 10px solid transparent;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(128, 0, 0, 0.1);
  width: 720px;
  padding: 30px 25px;
  text-align: center;
  animation: fadeIn 1.2s ease-in;
}

/* Header Section */
header {
  margin-bottom: 20px;
}

header img.ganesh {
  width: 65px;
  margin: 0 auto 6px;
  display: block;
}

header p.shlok {
  font-family: 'Noto Sans Devanagari', serif;
  font-size: 1.1em;
  color: #a00000;
  margin: 0;
  line-height: 1.5;
  white-space: pre-line;
}

header h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.4em;
  color: #d2691e;
  margin: 8px 0 4px;
}

header h1 {
  font-size: 2em;
  color: #c1440e;
  margin: 4px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

header p:nth-of-type(2) {
  font-size: 0.95em;
  color: #6f4e37;
  margin: 4px 0;
}

/* Couple Section */
.couple {
  margin-top: 25px;
}

.couple-photo {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
  display: block;
}

.couple h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5em;
  color: #a00000;
  margin-bottom: 10px;
}

.couple h3 {
  font-size: 1.3em;
  color: #800000;
  margin: 8px 0;
  text-transform: capitalize;
}

.couple h4 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.3em;
  color: #b8860b;
  margin: 5px 0;
}

.couple p {
  font-size: 0.95em;
  color: #333;
  margin: 3px 0;
}

/* Ceremony & Program Section */
.details, .program, .family {
  margin: 25px 0;
}

.details h2, .program h2, .family h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6em;
  color: #a00000;
  border-bottom: 2px dashed #d4af37;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.details p, .program li, .family p {
  color: #333;
  font-size: 0.95em;
  margin: 4px 0;
}

ul {
  list-style: none;
  padding: 0;
}

ul li strong {
  color: #800000;
}

/* Gallery (if used later) */
.gallery {
  margin: 25px 0;
}

.gallery h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6em;
  color: #a00000;
  border-bottom: 2px dashed #d4af37;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 12px;
}

.photos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.photos img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(128, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photos img:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #a00000;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
  margin: 5px;
}

.btn:hover {
  background: #800000;
}

.btn.whatsapp {
  background: #25d366;
}

.btn.whatsapp:hover {
  background: #1da851;
}

.wa-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

/* Call Buttons */
.call-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 0.9em;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  width: 70%;
  max-width: 240px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.call-btn:hover {
  background-color: #1da851;
}

.call-btn img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* Map Button Styling */
.btn.map {
  background: #007bff;
  color: white;
  font-weight: 600;
  padding: 8px 18px;
  font-size: 0.95em;
  width: 90%;
  max-width: 220px;
  margin: 10px auto;
}

.btn.map:hover {
  background: #0056b3;
}

/* Footer */
footer {
  margin-top: 20px;
  border-top: 2px dashed #d4af37;
  padding-top: 12px;
  color: #333;
  font-size: 0.9em;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile View Adjustments */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .card {
    width: 100%;
    padding: 20px 15px;
  }

  header h1 {
    font-size: 1.5em;
  }

  header h2 {
    font-size: 1.2em;
  }

  .couple h2 {
    font-size: 1.2em;
  }

  .couple h3 {
    font-size: 1.1em;
  }

  .couple p {
    font-size: 0.85em;
  }

  .details h2, .program h2, .family h2 {
    font-size: 1.3em;
  }

  .details p, .program li, .family p {
    font-size: 0.85em;
  }

  .btn {
    font-size: 0.85em;
    padding: 8px 16px;
  }

  .btn.map {
    font-size: 0.8em;
  }

  .photos img {
    width: 100px;
    height: 100px;
  }

  footer {
    font-size: 0.8em;
  }

  .call-btn {
    font-size: 0.85em;
  }

  .couple-photo {
    max-width: 90%;
  }
}
