/* ------------------------------------------
   save-the-date.css - Save The Date Section
------------------------------------------- */

/* Wrapper utama */
.save-the-date-grid {
  background-color: #8c9b84;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

/* Judul */
.save-title {
  font-size: 2.8rem;
  font-family: 'Georgia', serif;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s forwards;
}

.save-title span {
  font-family: 'Cursive';
  font-weight: lighter;
  color: #f5f5f5;
}

/* Ayat Al-Quran */
.quran-ar,
.quran-id,
.quran-ref {
  max-width: 700px;
  margin: 10px auto;
  line-height: 1.8;
  opacity: 0;
}

.quran-ar {
  font-size: 1.5rem;
  font-family: 'Scheherazade', serif;
  transform: translateX(-50px);
  animation: slideInLeft 1s 0.3s forwards;
}

.quran-id {
  font-size: 1.05rem;
  color: #eee;
  transform: translateX(50px);
  animation: slideInRight 1s 0.6s forwards;
}

.quran-ref {
  font-weight: bold;
  font-style: italic;
  opacity: 0.9;
  transform: translateX(-50px);
  animation: slideInLeft 1s 0.9s forwards;
}

/* SVG Ikon dekoratif */
.svg-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
}

.heart-icon,
.ring-icon {
  width: 48px;
  height: 48px;
  fill: #fff;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.heart-icon:hover,
.ring-icon:hover {
  transform: scale(1.2) rotate(5deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Grid kartu pasangan */
.save-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Kartu pasangan */
.save-card {
  background-color: #fefefe;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px;
  transition: all 0.6s ease-in-out;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.card-right {
  animation-delay: 1.2s;
}

.card-left {
  animation-delay: 1.5s;
}

/* Isi kartu */
.save-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.save-info {
  flex: 1;
  text-align: left;
  color: #333;
}

.save-info h4 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.save-date,
.save-location {
  margin: 5px 0;
  font-size: 1rem;
}

.save-map-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #8c9b84;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.save-map-btn:hover {
  background-color: #6d7f64;
}

/* Foto */
.save-photo img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Posisi foto */
.save-photo.right {
  order: 2;
}

.save-photo.left {
  order: 1;
}

/* Posisi isi kartu */
.card-right .save-content {
  flex-direction: row-reverse;
}

.card-left .save-content {
  flex-direction: row;
}

/* Keyframe Animasi */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .save-title {
    font-size: 2rem;
  }

  .save-content {
    flex-direction: column !important;
    text-align: center;
  }

  .save-info {
    text-align: center;
  }

  .save-photo img {
    width: 100px;
    height: auto;
  }

  .heart-icon,
  .ring-icon {
    width: 40px;
    height: 40px;
  }
}
