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

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: #0a1628;
  overflow-x: hidden;
  color: #ffffff;
}

/* Loader Styles */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  position: relative;
  width: 400px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.golden-circles {
  position: absolute;
  width: 280px;
  height: 280px;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #d4af37;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.circle-1 {
  width: 280px;
  height: 280px;
  animation-delay: 0s;
}

.circle-2 {
  width: 260px;
  height: 260px;
  animation-delay: 0.2s;
}

.circle-3 {
  width: 240px;
  height: 240px;
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

.initials {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #ffffff;
  font-size: 80px;
  font-family: "Georgia", serif;
  font-style: italic;
  animation: fadeIn 1.5s ease-in-out;
}

.letter-d,
.letter-s {
  font-size: 70px;
  letter-spacing: 2px;
}

.ampersand {
  font-size: 50px;
  margin: -10px 0;
}

.floral-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="%23d4af37" opacity="0.3"/><circle cx="40" cy="30" r="12" fill="%23d4af37" opacity="0.2"/><circle cx="25" cy="45" r="18" fill="%23d4af37" opacity="0.25"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
}

.floral-top-left {
  top: 20px;
  left: 20px;
}

.floral-bottom-right {
  bottom: 20px;
  right: 20px;
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Main Content Styles */
.main-container {
  width: 100%;
  background: linear-gradient(135deg, #0a1628 0%, #1a2942 50%, #0a1628 100%);
  transition: opacity 0.8s ease;
  position: relative;
}

.main-container.hidden {
  display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.3"/></svg>')
    repeat;
  opacity: 0.1;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
  animation: heroFadeIn 1.5s ease-out;
  padding: 40px 20px;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bismillah {
  font-size: 28px;
  color: #d4af37;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.save-date {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 2;
}

.couple-names {
  font-size: 84px;
  font-weight: 300;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.name-first,
.name-second {
  font-style: italic;
  background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
  padding: 0 10px;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.heart-divider {
  font-size: 48px;
  color: #d4af37;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1);
  }
}

.wedding-date {
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 3px;
  margin-top: 30px;
}

.scroll-indicator {
  margin-top: 60px;
  font-size: 32px;
  color: #d4af37;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Invitation Section */
.invitation-section {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.03) 50%,
    transparent 100%
  );
}

.invitation-text-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-heading {
  font-size: 42px;
  color: #d4af37;
  margin-bottom: 30px;
  font-weight: 300;
  font-style: italic;
}

.invitation-message {
  font-size: 20px;
  line-height: 1.8;
  color: #e0e0e0;
  font-weight: 300;
}

/* Couple Section */
.couple-section {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 41, 66, 0.5) 50%,
    transparent 100%
  );
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.couple-card {
  text-align: center;
  padding: 50px 30px;
  background: rgba(26, 41, 66, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.couple-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.couple-initial {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-style: italic;
  color: #0a1628;
  font-weight: bold;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.couple-name {
  font-size: 32px;
  color: #ffffff;
  margin: 20px 0;
  font-weight: 300;
  font-style: italic;
}

.couple-parents {
  font-size: 14px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 15px 0;
}

.couple-parents-names {
  font-size: 16px;
  color: #b0b0b0;
  margin-top: 10px;
  font-weight: 300;
}

.couple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-rings {
  width: 60px;
  height: 60px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="35" cy="50" r="20" fill="none" stroke="%23d4af37" stroke-width="3"/><circle cx="65" cy="50" r="20" fill="none" stroke="%23d4af37" stroke-width="3"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Event Section */
.event-section {
  padding: 100px 20px;
  text-align: center;
}

.event-timeline {
  max-width: 800px;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.timeline-item {
  flex: 1;
  text-align: center;
}

.timeline-icon {
  font-size: 64px;
  margin-bottom: 20px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.timeline-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 15px;
}

.timeline-content h4 {
  font-size: 24px;
  color: #d4af37;
  margin-bottom: 15px;
  font-weight: 300;
}

.timeline-content .time {
  font-size: 32px;
  color: #ffffff;
  margin: 10px 0;
  font-weight: bold;
}

.timeline-content .description {
  font-size: 16px;
  color: #b0b0b0;
  margin-top: 10px;
}

.timeline-connector {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #d4af37, transparent);
}

/* Details Section */
.details-section {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 41, 66, 0.5) 50%,
    transparent 100%
  );
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 60px auto 0;
}

.detail-card {
  text-align: center;
  padding: 50px 30px;
  background: rgba(26, 41, 66, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.detail-icon {
  font-size: 56px;
  margin-bottom: 25px;
}

.detail-card h3 {
  font-size: 24px;
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: 300;
}

.detail-main {
  font-size: 28px;
  color: #ffffff;
  margin: 15px 0;
  font-weight: 300;
}

.detail-sub {
  font-size: 16px;
  color: #b0b0b0;
  margin: 8px 0;
  font-weight: 300;
}

/* Map Section */
.map-section {
  padding: 100px 20px;
  text-align: center;
}

.map-container {
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-container iframe {
  display: block;
  width: 100%;
}

/* Footer Section */
.footer-section {
  padding: 80px 20px 60px;
  text-align: center;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 22, 40, 0.8) 100%
  );
}

.footer-message {
  font-size: 20px;
  color: #e0e0e0;
  margin-bottom: 30px;
  font-weight: 300;
}

.footer-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 30px auto;
}

.footer-signature {
  font-size: 22px;
  color: #d4af37;
  font-style: italic;
  font-weight: 300;
}

/* Decorative Elements */
.floral-bottom-left,
.floral-bottom-right-main {
  position: fixed;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

.floral-bottom-left {
  bottom: 0;
  left: 0;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.3) 0%,
    transparent 70%
  );
  animation: floralFloat1 8s ease-in-out infinite;
}

.floral-bottom-right-main {
  bottom: 0;
  right: 0;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.3) 0%,
    transparent 70%
  );
  animation: floralFloat2 10s ease-in-out infinite;
}

@keyframes floralFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, -20px) scale(1.1);
  }
}

@keyframes floralFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .couple-names {
    font-size: 48px;
    gap: 15px;
    flex-direction: column;
  }

  .heart-divider {
    font-size: 32px;
  }

  .section-heading {
    font-size: 32px;
  }

  .invitation-message {
    font-size: 18px;
  }

  .couple-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .couple-divider {
    display: flex;
    order: 2;
  }

  .groom-card {
    order: 1;
  }

  .bride-card {
    order: 3;
  }

  .event-timeline {
    flex-direction: column;
    gap: 40px;
  }

  .timeline-icon {
    width: 100px;
    height: 100px;
  }

  .timeline-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .bismillah {
    font-size: 22px;
  }

  .wedding-date {
    font-size: 20px;
  }
}

.detail-icon svg {
  width: 50px;
  height: 50px;
}
