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

html { scroll-behavior: smooth; }
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  max-width: 100vw;
}


body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #333;
  
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

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


.top-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
}

.top-controls button {
  margin-left: 6px;
  padding: 6px 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.bg-section {
  position: relative;
  min-height: 80vh;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  
  background: rgb(193 193 193 / 42%);
  /* backdrop-filter: blur(2px);
  
  background: rgba(250,246,241,0.9); */

}
.bg2-overlay {
  position: absolute;
  inset: 0;
  
 background: rgb(193 193 193 / 68%);
  /* backdrop-filter: blur(2px);
  
  background: rgba(250,246,241,0.9); */

}

.bg-overlay.dark {
  background: rgb(57 41 46 / 85%);
    
}

.section-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 100%;
  margin-top: 35px;
}

.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 20px;
}

/* Background images */
.hero-bg { background-image: url("1.png");}
.counter-bg { background-image: url("11.jpg"); }
.save-bg { background-image: url("new1.png"); }
.invitation-bg { background-image: url("2nd image.png"); }
.events-bg { background-image: url("download678.jpg"); }
.venue-bg { background-image: url("4.jpg"); }
.story-bg { background-image: url("story.jpg"); }
.gallery-bg { background-image: url("gallery.jpg"); }
.rsvp-bg { background-image: url("footer.png"); }
.bgsec-bg { background-image: url("bgsec.jpg"); }
.detail-bg { background-image: url("new2.jpg"); }
.wardrobe-bg { background-image: url("bg3.jpg"); }

.bride-bg { background-image: url("bride.jpg"); }

h1, h2 {
  
  font-family: 'Ephesis', cursive;

  color: #7B1E3A;
}

.ganesha {
  font-family: 'Cinzel', serif;
  letter-spacing: 6px;
  color: #805a06;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  border-radius: 50px;
  background: #7B1E3A;
  color: #805a06;
  text-decoration: none;
}

.btn.gold {
  background: #805a06;
  color: #7B1E3A;
}

.btn.outline {
  background: transparent;
  border: 2px solid #805a06;
}

.event-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* .event-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
} */

.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 16px;
}

footer {
  padding: 60px 20px;
  text-align: center;
}

/* Animations */
/* .animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
} */

.animate {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

.animate.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}


/* Mobile */
@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* Section Headings */
.section-tag {
  letter-spacing: 4px;
  
  color: #805a06;
  font-size: 20px;
  margin-bottom: 10px;
  /*margin-top: 30px;*/
}

.section-title-big {
  
  font-family: 'Ephesis', cursive;




  font-size: 40px;
  color: #7B1E3A;
  
}


/* ============================
   Royal Indian Wedding Cards
============================ */
.event-grid.fancy {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}




.event-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* THIS centers incomplete rows */
  gap: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.event-card {
  width: 300px;  /* fixed premium width */
  max-width: 100%;
}

@media (max-width: 480px) {
  .event-card {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .bg-section {
    padding: 80px 16px;
  }
}



.event-card.luxury {
  background: linear-gradient(135deg, #fffaf3, #ffffff);
  padding: 40px 30px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(201, 162, 77, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  transition: all 0.45s ease;
}

/* Golden ornamental frame */
.event-card.luxury::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 1.5px dashed rgba(201, 162, 77, 0.6);
  pointer-events: none;
}

/* Soft glow background */
.event-card.luxury::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(201,162,77,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-card.luxury:hover::after {
  opacity: 1;
}

.event-card.luxury:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* Highlight card special look */
.event-card.highlight {
  border: 2px solid #805a06;
  background: linear-gradient(135deg, #fff3d6, #ffffff);
}

/* Date badge more royal */
.event-day {
  font-size: 12px;
  color: #7B1E3A;
  background: linear-gradient(135deg, #fff1cf, #f7e2a8);
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Event title more premium */
.event-card h3 {
  
  font-family: 'Ephesis', cursive;




  font-size: 28px;
  color: #7B1E3A;
  margin-bottom: 6px;
  position: relative;
}

/* Theme styling */
.event-theme {
  font-style: italic;
  color: #805a06;
  margin-bottom: 18px;
  font-size: 15px;
}

/* Divider more decorative */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, #805a06, transparent);
  margin: 18px auto;
}

/* Text inside card */
.event-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Mobile refinement */
@media (max-width: 768px) {
  .event-card.luxury {
    padding: 30px 22px;
  }

  .event-card h3 {
    font-size: 24px;
  }
}




/* Venue Luxury Layout */
.venue-luxury {
  max-width: 1100px;
  margin: auto;
}

.venue-card {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Venue Image */
.venue-image img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* Venue Details */
.venue-details h3 {
  
  font-family: 'Ephesis', cursive;




  font-size: 34px;
  color: #7B1E3A;
  margin-bottom: 8px;
}

.venue-location {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #805a06;
  margin-bottom: 20px;
}

.venue-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
}

/* Mobile */
@media (max-width: 768px) {
  .venue-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 22px;
  }

  .venue-details h3 {
    font-size: 28px;
  }
}
/* Invitation Luxury */


/* .invitation-card {
  position: relative;
  animation: cardFloat 6s ease-in-out infinite;
} */


@media (max-width: 768px) {
  .invitation-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.invitation-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

/* subtle floating */
@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* glowing border effect */
.invitation-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(201,162,77,0.35),
    transparent
  );
  opacity: 0.6;
  pointer-events: none;
}



/* ==============================
   INVITATION FLOWING BACKGROUND
================================ */

.invitation-animated {
  overflow: hidden;
}

/* moving golden texture */
.invitation-flow {
  
   position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,162,77,0.15), transparent 40%),
    radial-gradient(circle at 80% 40%, rgba(123,30,58,0.12), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(201,162,77,0.18), transparent 40%);
  animation: invitationFlow 28s linear infinite;
  z-index: 0;
  subtle: true;
}

@keyframes invitationFlow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(20%);
  }
}

/* Family Blocks */
.family-block {
  position: relative;
  transition: transform 0.4s ease;
}

.family-block:hover {
  transform: translateY(-6px);
}

.family-block h3 {
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  color: #805a06;
  margin-bottom: 10px;
}
.bride-groom{
  font-family: 'Ephesis', cursive;
  font-size: 24px;
  color: #805a06;
  margin-bottom: 8px;
}

.family-block h4 {
  
  font-family: 'Ephesis', cursive;




  font-size: 32px;
  color: #7B1E3A;
  margin-bottom: 18px;
}

.family-block p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.family-block .grandparents {
  margin-top: 14px;
  font-size: 14px;
  color: #666;
}

/* Divider */
.invite-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.invite-divider span {
  animation: diyaPulse 2.8s ease-in-out infinite;
}

@keyframes diyaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(201,162,77,0);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(201,162,77,0.45);
  }
}


.invite-divider span {
  font-size: 26px;
  color: #805a06;
  padding: 14px;
  border: 1px solid #805a06;
  border-radius: 50%;
}

/* Blessing Text */
.blessing-text {
  margin-top: 40px;
   font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: #590e0e;
}

/* Mobile */
@media (max-width: 768px) {
  .invitation-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }

  .invite-divider {
    margin: 20px 0;
  }

  .family-block h4 {
    font-size: 26px;
  }
}
/* HERO LUXURY */
.hero-luxury {
  min-height: 100vh;
}

.hero-content {
  max-width: 900px;
  margin: auto;
  margin-bottom: 350px;
}

/* Blessing */
.hero-blessing {
  font-family: 'Cinzel', serif;
  letter-spacing: 0px;
  color: #805a06;
  font-size: 14px;
  margin-bottom: 18px;
}

/* Divider */
.hero-divider {
  margin: 20px auto 30px;
}

.hero-divider span {
  display: inline-block;
  font-size: 28px;
  color: #805a06;
  padding: 12px;
  border: 1px solid #805a06;
  border-radius: 50%;
}

/* Names */
.hero-names {
  
  font-family: 'Ephesis', cursive;




  font-size: 68px;
  line-height: 1.15;
  color: #7B1E3A;
  margin-bottom: 20px;
}

/* Tagline */
.hero-tagline {
  font-size: 18px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 36px;
}

/* Details */
.hero-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 46px;
}

.hero-date {
  font-weight: 500;
}

.dot {
  color: #805a06;
  font-size: 18px;
}

/* Hero Button */
.hero-btn {
  padding: 16px 42px;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero-names {
    font-size: 42px;
  }

  .hero-tagline {
       font-style: italic;
    font-size: 16px;
  }

  .hero-details {
    flex-direction: column;
    gap: 8px;
  }

  .hero-divider span {
    font-size: 22px;
  }
}
/* RSVP Luxury */
.rsvp-luxury {
  max-width: 900px;
  margin: auto;
}

/* Dark text variants */
.section-tag.light,
.section-title-big.light {
  color: #FAF6F1;
}

.rsvp-subtext {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 60px;
}

/* RSVP Card */
.rsvp-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 50px 40px;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* Names */
.rsvp-names {
  
  font-family: 'Ephesis', cursive;




  font-size: 36px;
  color: #FAF6F1;
  margin-bottom: 20px;
}

.rsvp-names span {
  color: #c89932b0;
}

/* Divider */
.divider.light {
  background: #805a06;
  margin: 24px auto;
}

/* Invite text */
.rsvp-invite-text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}

/* RSVP Button */
.rsvp-btn {
  padding: 18px 48px;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Note */
.rsvp-note {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* Mobile */
@media (max-width: 768px) {
  .rsvp-card {
    padding: 36px 26px;
  }

  .rsvp-names {
    font-size: 28px;
  }

  .rsvp-subtext {
    font-size: 16px;
  }
}







/* ===============================
   PREMIUM INVITATION EFFECTS
================================ */

/* Floating golden particles */
.gold-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(201,162,77,0.25) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: floatParticles 60s linear infinite;
  opacity: 0.25;
  z-index: 0;
}

@keyframes floatParticles {
  from { background-position: 0 0; }
  to { background-position: 0 -800px; }
}

/* Glass shine on invitation card */
.invitation-card {
  position: relative;
  padding: 20px;
  backdrop-filter: blur(6px);
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(255,255,255,0.95));
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  border: 1px solid rgba(201,162,77,0.35);
  overflow: hidden;
}

/* Moving shimmer light */
.invitation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(201,162,77,0.25),
    transparent
  );
  animation: shimmerMove 4.5s infinite;
}

@keyframes shimmerMove {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* Highlight names */
.family-block h4 {
  background: linear-gradient(to right, #7B1E3A, #805a06, #7B1E3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: nameGlow 3s ease-in-out infinite;
}

@keyframes nameGlow {
  0%,100% { filter: drop-shadow(0 0 0 rgba(201,162,77,0)); }
  50% { filter: drop-shadow(0 0 6px rgba(201,162,77,0.4)); }
}

/* Divider glow ring */
.invite-divider span {
  position: relative;
}

.invite-divider span::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,77,0.3);
  animation: ringPulse 2.8s infinite;
}

@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Blessing text fade glow */
.blessing-text {
  animation: softBlessingGlow 4s ease-in-out infinite;
}

@keyframes softBlessingGlow {
  0%,100% { text-shadow: 0 0 0 rgba(201,162,77,0); }
  50% { text-shadow: 0 0 18px rgba(201,162,77,0.25); }
}

.countdown-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 16px 20px;
  border-radius: 16px;
  min-width: 70px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  text-align: center;
  border: 2px solid rgba(201,162,77,0.4);
}

.time-box span {
  font-size: 32px;
  font-weight: 600;
  color: #7B1E3A;
  
  font-family: 'Ephesis', cursive;




}

.time-box small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #805a06;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 480px) {
  .time-box {
    min-width: 70px;
    padding: 14px 16px;
  }

  .time-box span {
    font-size: 24px;
  }
}


.compliments-section {
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.compliments-block h4 {
  
  font-family: 'Ephesis', cursive;




  font-size: 20px;
  color: #7B1E3A;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.compliments-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  letter-spacing: 0.3px;
  max-width: 700px;
  margin: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .compliments-block h4 {
    font-size: 18px;
  }

  .compliments-block p {
    font-size: 14px;
  }
}


/* ===========================
   WARDROBE PLANNER CARDS
=========================== */

.wardrobe-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}


.best-text{
  font-size: 20px;
 
}

/* Divider */
.wardrobe-divider {
  width: 70px;
  height: 2px;
  margin: 16px auto;
  background: linear-gradient(to right, transparent, #C9A24D, transparent);
}


.wardrobe-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 100px 0;
}

.wardrobe-row.reverse {
  flex-direction: row-reverse;
}

.wardrobe-img img {
  max-width: 350px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wardrobe-text {
  max-width: 420px;
}

.wardrobe-text h3 {
      font-style: italic;
  font-size: 42px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 15px;
}

.wardrobe-text p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.8;
}

/* Center heading */
.center {
  text-align: center;
}

/* Responsive */
/* @media (max-width: 768px) {
  .wardrobe-row,
  .wardrobe-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .wardrobe-text h3 {
    font-size: 32px;
  }
} */


@media (max-width: 768px) {
  .wardrobe-row {
    flex-direction: row !important; /* reset all */
    gap: 15px;
  }

  /* ONLY wardrobe rows count honge */
  .section-content > .wardrobe-row:nth-of-type(even) {
    flex-direction: row-reverse !important;
  }

  .wardrobe-img {
    width: 45%;
  }

  .wardrobe-text {
    width: 50%;
  }

  .wardrobe-text h3 {
    font-size: 22px;
  }

  .wardrobe-text p {
    font-size: 14px;
  }
}


@media (max-width: 480px) {
  .wardrobe-img {
    width: 42%;
  }

  .wardrobe-text {
    width: 55%;
  }

  .wardrobe-row {
    margin: 5px 0;
  }
}


.wardrobe-bg .bg-overlay {
  background: rgba(255, 255, 255, 0.35); /* light overlay */
}


.detail-footer {
  margin-top: 60px;
  text-align: center;
}

.detail-footer p {
  font-size: 14px;          /* same as venue-text */
  line-height: 1.7;
  color: #444;             /* same tone */
  margin-bottom: 10px;
}
