/* ============================================================
   WEDDING WEBSITE – FULLY RESPONSIVE CSS
   Mohammed Afreed & Ayshath Mufeeda · 19 April 2026
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  font-size: 16px;
  overscroll-behavior: none;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0f0a;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== PARTICLES ===== */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

/* ===== FALLING PETALS ===== */
#petals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -30px;
  animation: petalFall linear infinite;
  opacity: 0;
}

@keyframes petalFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(110vh) rotate(720deg) translateX(50px);
    opacity: 0;
  }
}

/* ===== STARS ===== */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkleAnim ease-in-out infinite alternate;
}

@keyframes twinkleAnim {
  from {
    opacity: 0.1;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2b0d 0%, #1a3300 35%, #0d1a0d 70%, #000d00 100%);
  padding: 2rem clamp(1rem, 5vw, 4rem);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(76, 175, 80, 0.18) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 1;
  }
}

/* Hero content left column */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: min(600px, 55vw);
  padding: 2rem 0;
  animation: fadeInDown 1.4s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bismillah {
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: #ffd700;
  animation: glow 2.5s ease-in-out infinite alternate;
  margin-bottom: 0.3rem;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
  }

  to {
    text-shadow: 0 0 25px #ffd700, 0 0 50px #ff6600, 0 0 80px #ffd700;
  }
}

.sub-title {
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  color: #a5d6a7;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.save-the-date {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: #ffd700;
  text-shadow: 3px 3px 12px rgba(255, 215, 0, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
  line-height: 1.1;
}

.for-wedding {
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: #c8e6c9;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0.6rem 0 0.2rem;
}

.groom-name,
.bride-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  color: #fff;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
  animation: slideIn 1s ease;
  line-height: 1.2;
}

.bride-name {
  color: #f8bbd0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.weds {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #a5d6a7;
  margin: 0.2rem 0;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.date-badge {
  display: inline-block;
  margin: 1.2rem auto 1.5rem;
  padding: 0.6rem 2rem;
  background: linear-gradient(135deg, #ffd700, #ff6600);
  color: #000;
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  border-radius: 50px;
  letter-spacing: 0.1em;
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
    transform: scale(1.04);
  }
}

.scroll-btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border: 2px solid #ffd700;
  border-radius: 50px;
  color: #ffd700;
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.scroll-btn:hover {
  background: #ffd700;
  color: #000;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* Hero Pixar Image – Walk Animation */
@keyframes heroWalk {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scaleX(1);
  }

  10% {
    transform: translateY(-14px) translateX(6px) rotate(1deg) scaleX(1);
  }

  20% {
    transform: translateY(-6px) translateX(12px) rotate(0deg) scaleX(1);
  }

  30% {
    transform: translateY(-18px) translateX(18px) rotate(-1deg) scaleX(1);
  }

  40% {
    transform: translateY(-8px) translateX(22px) rotate(0deg) scaleX(1);
  }

  50% {
    transform: translateY(-4px) translateX(24px) rotate(0deg) scaleX(1);
  }

  52% {
    transform: translateY(-4px) translateX(24px) rotate(0deg) scaleX(-1);
  }

  60% {
    transform: translateY(-14px) translateX(16px) rotate(1deg) scaleX(-1);
  }

  70% {
    transform: translateY(-6px) translateX(10px) rotate(0deg) scaleX(-1);
  }

  80% {
    transform: translateY(-18px) translateX(4px) rotate(-1deg) scaleX(-1);
  }

  90% {
    transform: translateY(-8px) translateX(0px) rotate(0deg) scaleX(-1);
  }

  96% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scaleX(-1);
  }

  98% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scaleX(1);
  }

  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg) scaleX(1);
  }
}

@keyframes heroPulse {
  from {
    filter: brightness(1) saturate(1);
  }

  to {
    filter: brightness(1.06) saturate(1.08);
  }
}

.hero-pixar-img {
  position: absolute;
  bottom: 0;
  right: 4%;
  width: min(480px, 46vw);
  z-index: 5;
  animation: heroWalk 8s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(76, 200, 80, 0.45));
  transform-origin: bottom center;
}

.hero-pixar-img img {
  width: 100%;
  height: auto;
  border-radius: 24px 24px 0 0;
  animation: heroPulse 2s ease-in-out infinite alternate;
}

/* ===== SHARED SECTION STYLES ===== */
.section-header {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(1.2rem, 3.5vw, 2.4rem);
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.divider {
  margin-top: 0.8rem;
  font-size: 1.8rem;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

/* ===== DETAILS SECTION ===== */
.details-section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2rem);
  background: linear-gradient(180deg, #0d1a00 0%, #1a2e00 50%, #0d1a00 100%);
  text-align: center;
}

.family-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
}

.host-line {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ffd700;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.host-address {
  font-size: clamp(0.75rem, 1.8vw, 0.88rem);
  color: #a5d6a7;
  margin-bottom: 0.8rem;
}

.host-desc {
  color: #ccc;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.7;
}

.couple-names-detail {
  margin: 1.5rem 0 2.5rem;
}

.name-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #fff;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.2);
  line-height: 1.2;
}

.bride-color {
  color: #f8bbd0;
}

.weds-small {
  color: #a5d6a7;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin: 0.3rem 0;
  font-style: italic;
}

.bride-parents {
  color: #bbb;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  margin-top: 0.4rem;
}

.insha {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #ffd700;
  margin-top: 0.8rem;
  animation: glow 3s ease-in-out infinite alternate;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 42vw), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  max-width: 900px;
  margin: 0 auto 2rem;
}

.info-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(0.8rem, 2vw, 1.2rem);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.6s ease both;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-icon {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.info-card h4 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  color: #ffd700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #e0e0e0;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  line-height: 1.5;
}

.info-card .small {
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  color: #aaa;
  margin-top: 0.3rem;
}

.compliments {
  color: #888;
  font-size: clamp(0.75rem, 1.8vw, 0.88rem);
  font-style: italic;
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 7vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(135deg, #0a0a0a, #1a1000);
  text-align: center;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

.countdown-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(1rem, 3vw, 2rem);
  color: #ffd700;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.countdown-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 100, 0, 0.1));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 16px;
  padding: clamp(0.8rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 2rem);
  min-width: clamp(70px, 18vw, 110px);
  backdrop-filter: blur(8px);
  transition: transform 0.2s;
}

.countdown-box:hover {
  transform: scale(1.07);
}

.countdown-box span {
  display: block;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  font-family: 'Cinzel Decorative', cursive;
}

.countdown-box label {
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== COUPLE PORTRAIT SECTION ===== */
.couple-portrait-section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, #030d03 0%, #0a1800 50%, #030d03 100%);
  text-align: center;
  overflow: hidden;
}

.couple-portrait-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(76, 175, 80, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.couple-portrait-wrap {
  position: relative;
  max-width: min(560px, 92vw);
  margin: 0 auto;
  display: inline-block;
}

.couple-portrait-glow {
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(76, 175, 80, 0.25), rgba(255, 215, 0, 0.3));
  filter: blur(28px);
  animation: glowPulse 3s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes glowPulse {
  from {
    opacity: 0.4;
    transform: scale(0.98);
  }

  to {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.couple-portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 28px;
  border: 3px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(76, 175, 80, 0.2);
  animation: portraitFloat 4s ease-in-out infinite;
}

@keyframes portraitFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.couple-portrait-caption {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
}

.caption-bismillah {
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #ffd700;
  animation: glow 3s ease-in-out infinite alternate;
  margin-bottom: 0.5rem;
  font-family: serif;
}

.caption-date {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  color: #a5d6a7;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.caption-venue {
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  color: #888;
}

/* ===== PIXAR GALLERY SECTION ===== */
.pixar-gallery-section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, #030d03 0%, #0d1a00 50%, #030d03 100%);
  text-align: center;
  overflow: hidden;
}

.pixar-gallery-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  animation: pulseGlow 5s ease-in-out infinite alternate;
}

.pixar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 85vw), 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pixar-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.4s cubic-bezier(.175, .885, .32, 1.275), box-shadow 0.4s, border-color 0.4s;
  animation: fadeInUp 0.8s ease both;
}

.pixar-card::before {
  content: attr(data-label);
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #ffd700;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  z-index: 3;
  letter-spacing: 0.05em;
}

.pixar-card img {
  width: 100%;
  height: clamp(220px, 35vw, 340px);
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pixar-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 70px rgba(255, 215, 0, 0.25);
  border-color: rgba(255, 215, 0, 0.5);
}

.pixar-card:hover img {
  transform: scale(1.08);
}

.pixar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 2.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.pixar-card:hover .pixar-overlay {
  transform: translateY(0);
}

.pixar-overlay p {
  color: #fff;
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.pixar-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 60%;
  height: 180%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.pixar-card:hover::after {
  left: 140%;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(135deg, #0a0a00, #000900);
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-dua {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
}

.footer-dua p:first-child {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: #ffd700;
  margin-bottom: 0.5rem;
  font-family: serif;
  direction: rtl;
}

.dua-trans {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: #aaa;
  font-style: italic;
  line-height: 1.6;
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.footer-date,
.footer-venue {
  color: #a5d6a7;
  margin-top: 0.4rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* ===== MOBILE HERO ADJUSTMENTS ===== */
/* On small screens, stack hero content on top, image below */
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    min-height: 100svh;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: clamp(1.2rem, 5vw, 2rem) clamp(1rem, 5vw, 1.5rem) 0;
    order: 1;
    text-align: center;
  }

  .hero-pixar-img {
    position: relative;
    bottom: auto;
    right: auto;
    width: min(380px, 90vw);
    margin: 0 auto;
    order: 2;
    animation: heroWalk 8s ease-in-out infinite;
    filter: drop-shadow(0 16px 30px rgba(76, 200, 80, 0.5));
  }

  .hero-pixar-img img {
    border-radius: 20px 20px 0 0;
  }
}

/* ===== SMALL PHONE ===== */
@media (max-width: 400px) {
  .bismillah {
    font-size: 1.7rem;
  }

  .save-the-date {
    font-size: 2.5rem;
  }

  .groom-name,
  .bride-name {
    font-size: 1.9rem;
  }

  .date-badge {
    padding: 0.5rem 1.3rem;
    font-size: 0.85rem;
  }

  .countdown-box {
    min-width: 60px;
    padding: 0.6rem 0.8rem;
  }

  .countdown-box span {
    font-size: 1.6rem;
  }
}

/* ============================================================
   HERO SECTION – ENHANCED ANIMATIONS
   ============================================================ */

/* Aurora shifting background */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg,
      #001a00 0%, #0d2b0d 20%,
      #1a3300 40%, #0a1a00 60%,
      #002200 80%, #0d1a0d 100%);
  background-size: 400% 400%;
  animation: auroraShift 10s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg) brightness(1);
  }

  33% {
    background-position: 50% 0%;
    filter: hue-rotate(15deg) brightness(1.15);
  }

  66% {
    background-position: 100% 50%;
    filter: hue-rotate(-10deg) brightness(1.1);
  }

  100% {
    background-position: 50% 100%;
    filter: hue-rotate(20deg) brightness(1.2);
  }
}

/* Hero centred layout */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0f0a;
  padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 5vw, 4rem);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: min(680px, 90vw);
  animation: fadeInDown 1.4s ease;
}

/* Sparkle canvas */
.sparkle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ── Rotating golden rings ── */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.ring-1 {
  width: min(520px, 78vw);
  height: min(520px, 78vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 215, 0, 0.18);
  border-top-color: rgba(255, 215, 0, 0.7);
  animation: spinRing 8s linear infinite;
  z-index: 3;
}

.ring-2 {
  width: min(680px, 95vw);
  height: min(680px, 95vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(76, 175, 80, 0.12);
  border-right-color: rgba(76, 175, 80, 0.55);
  animation: spinRing 14s linear infinite reverse;
  z-index: 3;
}

.ring-3 {
  width: min(360px, 55vw);
  height: min(360px, 55vw);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 180, 0, 0.1);
  border-bottom-color: rgba(255, 180, 0, 0.5);
  animation: spinRing 6s linear infinite;
  z-index: 3;
}

@keyframes spinRing {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ── Crescent moon ── */
.hero-crescent {
  position: absolute;
  top: clamp(12px, 4vw, 28px);
  right: clamp(14px, 5vw, 50px);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  animation: moonRock 4s ease-in-out infinite;
  z-index: 6;
  filter: drop-shadow(0 0 16px #ffd700);
}

@keyframes moonRock {

  0%,
  100% {
    transform: rotate(-10deg) scale(1);
  }

  50% {
    transform: rotate(10deg) scale(1.12);
  }
}

/* ── Floating lanterns ── */
.lantern {
  position: absolute;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  z-index: 4;
  filter: drop-shadow(0 0 12px rgba(255, 100, 0, 0.7));
}

.lantern-1 {
  left: 4%;
  top: 18%;
  animation: lanternFloat 5s ease-in-out infinite;
}

.lantern-2 {
  left: 10%;
  top: 62%;
  animation: lanternFloat 7s ease-in-out 1s infinite reverse;
}

.lantern-3 {
  right: 6%;
  top: 55%;
  animation: lanternFloat 6s ease-in-out 2s infinite;
}

@keyframes lanternFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-28px) rotate(6deg);
  }
}

/* ── Floating flowers ── */
.hero-flower {
  position: absolute;
  z-index: 4;
  font-size: clamp(1.2rem, 3vw, 2rem);
  pointer-events: none;
}

.f1 {
  top: 8%;
  left: 18%;
  animation: bloomFloat 4s ease-in-out infinite;
}

.f2 {
  top: 14%;
  right: 22%;
  animation: bloomFloat 5s ease-in-out 0.8s infinite;
}

.f3 {
  bottom: 20%;
  left: 8%;
  animation: bloomFloat 4.5s ease-in-out 1.5s infinite;
}

.f4 {
  bottom: 28%;
  right: 10%;
  animation: bloomFloat 3.8s ease-in-out 0.4s infinite;
}

.f5 {
  top: 40%;
  left: 5%;
  animation: bloomFloat 3s ease-in-out 0.9s infinite;
}

.f6 {
  top: 35%;
  right: 5%;
  animation: bloomFloat 4.2s ease-in-out 1.2s infinite;
}

@keyframes bloomFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.85;
  }

  33% {
    transform: translateY(-18px) rotate(15deg) scale(1.2);
    opacity: 1;
  }

  66% {
    transform: translateY(-8px) rotate(-10deg) scale(0.9);
    opacity: 0.7;
  }
}

/* ── Bismillah with glowing ring ── */
.bismillah-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 0.3rem;
}



.bismillah {
  position: relative;
  z-index: 1;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: #ffd700;
  animation: glow 2.5s ease-in-out infinite alternate;
}

/* ── Animated hero divider ── */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  animation: lineGlow 2s ease-in-out infinite alternate;
}

.divider-gem {
  font-size: 1.2rem;
  animation: gemSpin 4s linear infinite;
  display: inline-block;
}

@keyframes gemSpin {
  from {
    transform: rotate(0) scale(1)
  }

  50% {
    transform: rotate(180deg) scale(1.3)
  }

  to {
    transform: rotate(360deg) scale(1)
  }
}

@keyframes lineGlow {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}

/* ── Names block ── */
.names-block {
  margin: 0.8rem 0;
}

.groom-name,
.bride-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}

.bride-name {
  background: linear-gradient(135deg, #f8bbd0 0%, #ffd700 50%, #f8bbd0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerText 3s linear infinite 0.5s;
}

@keyframes shimmerText {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* ── Heart connector between names ── */
.heart-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.3rem 0;
}

.connector-line {
  flex: 1;
  max-width: 100px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.heart-icon {
  font-size: 1.5rem;
  animation: heartBeat 1.2s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartBeat {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(1);
  }
}

/* ── Date badge ── */
.date-badge-wrap {
  margin: 1.2rem 0 0.8rem;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.8rem;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ffd700);
  background-size: 200% auto;
  color: #000;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  border-radius: 50px;
  letter-spacing: 0.08em;
  animation: badgeShimmer 3s linear infinite, pulseBadge 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes badgeShimmer {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 200%
  }
}

@keyframes pulseBadge {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4)
  }

  50% {
    box-shadow: 0 0 45px rgba(255, 215, 0, 0.85)
  }
}

/* ── Event info pills ── */
.event-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin: 0.8rem 0 1.4rem;
}

.pill {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  color: #a5d6a7;
  font-size: clamp(0.72rem, 1.8vw, 0.88rem);
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  animation: pillPulse 3s ease-in-out infinite alternate;
  transition: all 0.3s;
}

.pill:nth-child(2) {
  animation-delay: 0.6s;
}

.pill:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  color: #ffd700;
}

@keyframes pillPulse {
  from {
    box-shadow: none
  }

  to {
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.25)
  }
}

/* Scroll button */
.scroll-btn {
  display: inline-block;
  padding: 0.65rem 2rem;
  border: 2px solid #ffd700;
  border-radius: 50px;
  color: #ffd700;
  text-decoration: none;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  letter-spacing: 0.1em;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  animation: fadeInDown 2s ease;
}

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

.scroll-btn:hover {
  background: #ffd700;
  color: #000;
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.7);
}

.scroll-btn:hover::before {
  left: 100%;
}

/* ── Mobile hero adjustments ── */
@media (max-width: 600px) {
  .ring-1 {
    width: 90vw;
    height: 90vw;
  }

  .ring-2 {
    width: 115vw;
    height: 115vw;
  }

  .ring-3 {
    width: 65vw;
    height: 65vw;
  }

  .lantern {
    font-size: 1.4rem;
  }

  .hero-flower {
    font-size: 1rem;
  }

  .hero-crescent {
    font-size: 1.8rem;
  }
}

/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location-section {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2rem);
  background: linear-gradient(180deg, #030d03 0%, #0a1500 50%, #030d03 100%);
  text-align: center;
  overflow: hidden;
}

.location-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(76, 175, 80, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 88vw), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.location-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2rem);
  backdrop-filter: blur(12px);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  animation: fadeInUp 0.7s ease both;
}

.location-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(255, 215, 0, 0.18);
  border-color: rgba(255, 215, 0, 0.45);
}

.location-icon {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.5rem;
  animation: bloomFloat 4s ease-in-out infinite;
}

.location-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #ffd700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.location-name {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 0.3rem;
}

.location-addr {
  color: #a5d6a7;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.2);
  margin-bottom: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.map-wrap iframe {
  display: block;
  border-radius: 12px;
  filter: invert(0.88) hue-rotate(150deg) saturate(0.9) brightness(0.9);
  transition: filter 0.3s;
}

.map-wrap:hover iframe {
  filter: invert(0) hue-rotate(0deg) saturate(1) brightness(1);
}

.map-btn {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(76, 175, 80, 0.15));
  border: 1.5px solid rgba(255, 215, 0, 0.5);
  border-radius: 50px;
  color: #ffd700;
  text-decoration: none;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.map-btn:hover {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  border-color: #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.55);
  transform: scale(1.05);
}

/* ============================================================
   FOOTER DUA ENHANCEMENTS
   ============================================================ */
.dua-arabic {
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #ffd700;
  direction: rtl;
  font-family: 'Scheherazade New', 'Amiri', serif;
  line-height: 2;
  margin-bottom: 0.6rem;
  animation: glow 3s ease-in-out infinite alternate;
}

.small-arabic {
  font-size: clamp(1rem, 3vw, 1.5rem);
}

.dua-source {
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  color: #4caf50;
  font-style: italic;
  margin-top: 0.4rem;
  letter-spacing: 0.06em;
}

.footer-dua-secondary {
  margin-top: 1.2rem;
  background: rgba(255, 215, 0, 0.03);
  border-color: rgba(255, 215, 0, 0.12);
}

/* Dua request box */
.dua-request {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  max-width: 560px;
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 1.4rem) clamp(1.2rem, 4vw, 2rem);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(255, 215, 0, 0.08));
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  animation: pillPulse 4s ease-in-out infinite alternate;
}

.dua-request-icon {
  font-size: clamp(1.5rem, 4vw, 2rem);
  animation: heartBeat 2s ease-in-out infinite;
}

.dua-request p {
  color: #c8e6c9;
  font-size: clamp(0.8rem, 2.2vw, 0.95rem);
  font-style: italic;
  line-height: 1.5;
}

/* AI image disclaimer */
.ai-disclaimer {
  margin-top: 1.2rem;
  font-size: clamp(0.68rem, 1.8vw, 0.8rem);
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  letter-spacing: 0.04em;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}