/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
.invite-bg {
  background: linear-gradient(
    135deg,
    #faf8f5 0%,
    #f5e6e8 50%,
    #faf8f5 100%
  ) !important;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(216, 170, 149, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(186, 149, 168, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(223, 190, 180, 0.05) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Flower decorations in corners - Wedding theme with rose gold tint */
.flower {
  position: absolute;
  width: 350px;
  height: 350px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  filter: brightness(1.05) contrast(1.05) sepia(0.15) saturate(1.2)
    hue-rotate(320deg);
  max-width: none;
  transition: all 0.3s ease;
}

.flower-top-right {
  top: -20px;
  right: -20px;
  width: 350px;
  height: 350px;
  transform: rotate(15deg);
}

.flower-bottom-left {
  width: 400px;
  height: 400px;
  position: fixed;
  bottom: -20px;
  left: -20px;
  z-index: 1;
  transform: rotate(-10deg);
}

/* Floral Corners (use SVG/PNG or placeholder) */
.floral {
  position: absolute;
  width: 160px;
  height: 160px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}
.floral-top-left {
  top: 0;
  left: 0;
  background-image: url("https://svgshare.com/i/16kz.svg"); /* Placeholder, swap for your own */
}
.floral-top-right {
  top: 0;
  right: 0;
  background-image: url("https://svgshare.com/i/16kz.svg");
  transform: scaleX(-1);
}
.floral-bottom-left {
  bottom: 0;
  left: 0;
  background-image: url("https://svgshare.com/i/16kz.svg");
  transform: scaleY(-1);
}

.invite-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(139, 69, 83, 0.12),
    0 2px 8px rgba(139, 69, 83, 0.08);
  border-radius: 20px;
  padding: 55px 45px;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #5a3940;
  font-family: "Playfair Display", serif;
  text-align: center;
  position: relative;
  border: 2px solid rgba(216, 170, 149, 0.3);
  z-index: 2;
}

/* Remove all border and corner decoration styles */
.invite-card::before,
.invite-card::after,
.invite-card .corner-decoration,
.invite-card .corner-decoration.top-left,
.invite-card .corner-decoration.top-right,
.invite-card .corner-decoration.bottom-left,
.invite-card .corner-decoration.bottom-right {
  display: none !important;
}

.bismillah-text {
  font-family: "Cormorant", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #7d5a63;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}

.bismillah-img {
  display: block;
  max-width: 80%;
  width: 100%;
  filter: brightness(0) saturate(100%) invert(26%) sepia(25%) saturate(1478%)
    hue-rotate(304deg) brightness(90%) contrast(88%);
  opacity: 0.9;
  margin-bottom: 25px;
}

/* Remove .bismillah-arabic style if not needed */
.bismillah-arabic {
  display: none !important;
}

/* Remove unused bismillah-latin and bismillah-svg styles */
.bismillah-latin,
.bismillah-svg {
  display: none !important;
}

.invite-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  margin-bottom: 25px;
}
.name {
  font-family: "Great Vibes", cursive;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #8b4553;
  text-shadow: 0 1px 2px rgba(139, 69, 83, 0.1);
  line-height: 1.2;
}
.and-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0.5em 0;
  width: 100%;
  justify-content: center;
}
.and-line {
  flex: 0 0 70px;
  height: 1.5px;
  background: linear-gradient(
    to right,
    transparent,
    #8b4553 20%,
    #8b4553 80%,
    transparent
  );
  opacity: 0.4;
}
.and {
  font-family: "Cormorant", serif;
  font-size: 1.6rem;
  color: #8b4553;
  font-style: italic;
  font-weight: 300;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.parent-names {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 500;
  color: #7d5a63;
  letter-spacing: 0.12em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  opacity: 0.92;
  text-transform: uppercase;
}

.parent-names strong {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #6b4a52;
  letter-spacing: 0.08em;
}
.invite-details {
  font-family: "Playfair Display", serif;
  color: #5a3940;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
}
.invite-sub {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 0.5em;
  color: #6b4a52;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.invite-date {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #8b4553;
  margin: 0.5em 0 0.3em 0;
  position: relative;
  padding-bottom: 0.6em;
}
.invite-date::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ba8895, transparent);
  opacity: 0.5;
}
.invite-month {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #ba8895;
  font-style: italic;
}
.invite-time {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 500;
  color: #8b4553;
  margin: 0.3em 0 0.5em 0;
  letter-spacing: 0.05em;
}
.invite-venue {
  font-size: 1.05rem;
  margin-top: 0.6em;
  margin-bottom: 0.4em;
  line-height: 1.8;
  color: #7d5a63;
  text-align: center;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.invite-venue:hover {
  color: #8b4553;
  text-decoration: underline;
  transform: scale(1.02);
}

/* RSVP Text */
.rsvp-text {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: #5a3940;
  margin-top: 28px;
  margin-bottom: 16px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* RSVP Button */
.rsvp-button {
  background: linear-gradient(135deg, #8b4553 0%, #a05965 100%);
  color: #ffffff;
  border: 2px solid rgba(139, 69, 83, 0.3);
  padding: 14px 30px;
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(139, 69, 83, 0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkmark-icon {
  width: 16px;
  height: 16px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.rsvp-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.rsvp-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(139, 69, 83, 0.3);
  background: linear-gradient(135deg, #a05965 0%, #b86875 100%);
  border-color: rgba(216, 170, 149, 0.5);
}

.rsvp-button:hover .checkmark-icon {
  transform: scale(1.1);
}

.rsvp-button:hover::before {
  left: 100%;
}

.rsvp-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 15px rgba(139, 69, 83, 0.25);
}

/* Remove corner styles */
.corner,
.corner-top-left,
.corner-bottom-right {
  display: none !important;
}

/* Remove RSVP and other unused styles */
.rsvp-section,
.rsvp-title,
.form-container,
.rsvp-note,
.invite-header,
.details-row,
.details-date,
.details-location,
.details-reception,
.ampersand,
.name-script {
  display: none !important;
}

@media (max-width: 600px) {
  body,
  .invite-bg {
    align-items: flex-start;
    /* min-height: 100vh; */
  }

  .corner {
    width: 120px;
    height: 120px;
  }

  /* Responsive flower sizing for mobile */
  .flower {
    width: 180px;
    height: 180px;
    z-index: 1;
    opacity: 0.65;
  }

  .flower-top-right {
    width: 180px;
    height: 180px;
    top: -10px;
    right: -10px;
    position: absolute;
  }

  .flower-bottom-left {
    width: 200px;
    height: 200px;
    bottom: -15px;
    position: fixed;
    left: -15px;
    z-index: 1;
  }

  .invite-card {
    margin-top: 100px;
    max-width: 90vw;
    padding: 40px 30px;
  }
  .bismillah-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  .bismillah-svg svg {
    width: 60px;
    height: 40px;
  }
  .name {
    font-size: 2.8rem;
  }
  .and-container {
    gap: 10px;
  }
  .and-line {
    flex: 0 0 40px;
  }
  .and {
    font-size: 1.3rem;
  }
  .invite-sub {
    font-size: 1rem;
  }
  .parent-names {
    font-size: 0.9rem;
  }
  .invite-date {
    font-size: 1.6rem;
  }
  .invite-month {
    font-size: 1rem;
  }
  .invite-time {
    font-size: 1rem;
  }
  .invite-venue {
    font-size: 0.9rem;
  }

  .rsvp-text {
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 12px;
  }

  .rsvp-button {
    padding: 13px 26px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .checkmark-icon {
    width: 16px;
    height: 16px;
  }

  .rsvp-form-container {
    max-width: 100%;
  }

  .rsvp-form-container iframe {
    height: 900px;
    border-radius: 8px;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  text-align: center;
  padding: 60px 24px;
  border-radius: 24px 24px 0 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-content p {
  margin-bottom: 12px;
  opacity: 0.95;
  font-weight: 400;
}

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

.invite-card {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* RSVP Form Container */
.rsvp-form-container {
  margin-top: 25px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(20px);
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.rsvp-form-container iframe {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(139, 69, 83, 0.15);
  width: 450px;
  border: none;
  background: white;
}

.checkmark-icon {
  width: 16px;
  height: 16px;
}

.invite-note {
  font-size: 1.05rem;
  color: #8b4553;
  margin-top: 18px;
  margin-bottom: 5px;
  font-style: italic;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.03em;
  position: relative;
  padding-top: 0.8em;
}
.invite-note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, #ba8895, transparent);
  opacity: 0.5;
}

.contact-info {
  font-size: 0.95rem;
  color: #6b4a52;
  margin-top: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  opacity: 0.9;
  -webkit-text-fill-color: #6b4a52;
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .contact-info {
    font-size: 0.9rem;
    margin-top: 12px;
  }
}
