@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@300;400;500;600;700&display=swap");

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

html {
  scroll-behavior: smooth;
}

body {
  background: #fffaf3;
  color: #222;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* HERO */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(
      to right,
      rgba(255, 248, 238, 0.95) 35%,
      rgba(255, 255, 255, 0.1)
    ),
    url("https://images.unsplash.com/photo-1523438885200-e635ba2c371e?q=80&w=1600")
      center/cover;
  padding: 25px 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(180, 134, 44, 0.18);
  border-radius: 50%;
  top: 120px;
  left: -80px;
  filter: blur(20px);
  animation: float 5s ease-in-out infinite;
}

.hero::after {
  content: "♥";
  position: absolute;
  right: 120px;
  bottom: 80px;
  font-size: 90px;
  color: rgba(180, 134, 44, 0.18);
  animation: pulse 2s infinite;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 1s ease;
  position: relative;
  z-index: 5;
}

.logo {
  font-size: 34px;
  color: #b4862c;
  font-weight: bold;
  font-family: "Great Vibes", cursive;
}

.links a {
  margin: 0 18px;
  text-decoration: none;
  color: #222;
  font-size: 15px;
  position: relative;
}

.links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #b4862c;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.links a:hover::after {
  width: 100%;
}

.hero-content {
  margin-top: 120px;
  max-width: 560px;
  text-align: center;
  position: relative;
  z-index: 3;
  animation: fadeUp 1.2s ease;
}

.hero-content h1 {
  font-size: 90px;
  color: #a6781e;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  text-shadow: 0 8px 25px rgba(180, 134, 44, 0.25);
}

.hero-content h1 span {
  color: #d6bd82;
}

.hero-content > p {
  letter-spacing: 10px;
  margin: 20px 0;
  font-size: 13px;
  color: #555;
}

.date-place {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 30px 0;
  font-size: 14px;
}

.date-place span {
  background: rgba(255, 255, 255, 0.7);
  padding: 12px 18px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.invite-text {
  margin-top: 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  letter-spacing: 0 !important;
}

.main-btn {
  background: linear-gradient(135deg, #b4862c, #d5a33c);
  color: white;
  border: none;
  padding: 15px 32px;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(180, 134, 44, 0.35);
  transition: 0.3s;
  margin-top: 20px;
}

.main-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(180, 134, 44, 0.5);
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: 10px;
  background: #25d366;
  color: white;
  padding: 13px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
  transition: 0.3s;
}

.whatsapp-btn:hover {
  transform: translateY(-4px);
  background: #1ebc59;
}

/* SECTION TITLES */
.journey h2,
.location h2,
.gallery h2,
.countdown-section h2,
.schedule h2,
.dress-code h2 {
  font-family: "Great Vibes", cursive;
  font-size: 52px;
  font-weight: 400;
  color: #a6781e;
  margin-bottom: 35px;
}

/* INFO CARDS */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 70px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  padding: 38px;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(180, 134, 44, 0.15);
  transition: 0.35s;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 50px rgba(180, 134, 44, 0.25);
}

.card h2 {
  color: #b4862c;
  font-size: 42px;
}

.card h3 {
  margin: 15px 0;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
}

/* SCHEDULE */
.schedule {
  text-align: center;
  padding: 70px 20px;
  background: #fff3df;
}

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

.schedule-grid div {
  background: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  width: 240px;
  transition: 0.3s;
}

.schedule-grid div:hover {
  transform: translateY(-10px);
}

/* JOURNEY */
.journey {
  padding: 70px;
  text-align: center;
  background: linear-gradient(180deg, #fffaf3, #fff1dd);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.timeline div {
  background: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  transition: 0.35s;
}

.timeline div:hover {
  transform: scale(1.05);
}

.timeline h3 {
  font-size: 38px;
  color: #b4862c;
}

/* COUNTDOWN */
.countdown-section {
  text-align: center;
  padding: 70px 20px;
  background: linear-gradient(135deg, #fff3df, #fffaf3);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.countdown div {
  background: white;
  width: 135px;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(180, 134, 44, 0.18);
  transition: 0.3s;
}

.countdown div:hover {
  transform: translateY(-8px) rotate(1deg);
}

.countdown h3 {
  font-size: 38px;
  color: #b4862c;
}

/* DRESS CODE */
.dress-code {
  text-align: center;
  padding: 70px 20px;
}

.colors {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0;
}

.colors div {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.colors div:hover {
  transform: scale(1.15);
}

/* GALLERY */
.gallery {
  text-align: center;
  padding: 75px 20px;
  background: #fffaf3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 950px;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  transition: 0.4s;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* LOCATION */
.location {
  text-align: center;
  padding: 75px 20px;
  background: #fff3df;
}

.location-text {
  margin-bottom: 25px;
  font-size: 16px;
  color: #555;
}

.map-container {
  max-width: 850px;
  margin: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.location-btn {
  margin-top: 25px;
}

/* MUSIC */
.music-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: linear-gradient(135deg, #b4862c, #e1b64e);
  color: white;
  border: none;
  padding: 15px 24px;
  border-radius: 40px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 12px 30px rgba(180, 134, 44, 0.45);
  animation: bounce 2s infinite;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 28px;
  background: #111;
  color: white;
  font-size: 14px;
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(45px);
  }

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-35px);
  }

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

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

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

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

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

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 20px;
    min-height: 95vh;
  }

  .links {
    display: none;
  }

  .hero-content {
    margin-top: 100px;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .hero-content > p {
    letter-spacing: 5px;
  }

  .date-place {
    flex-direction: column;
  }

  .main-btn,
  .whatsapp-btn {
    display: block;
    width: fit-content;
    margin: 15px auto;
  }

  .info-cards,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .journey {
    padding: 50px 20px;
  }

  .gallery-grid img {
    height: 260px;
  }

  .countdown div {
    width: 120px;
  }

  .journey h2,
  .location h2,
  .gallery h2,
  .countdown-section h2,
  .schedule h2,
  .dress-code h2 {
    font-size: 42px;
  }
}
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fffaf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 9999;
}
.links a.active {
  color: #b4862c;
  font-weight: bold;
}
.flower,
.flower2 {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url("https://cdn-icons-png.flaticon.com/512/869/869869.png")
    no-repeat center/cover;
  animation: floatFlower 10s linear infinite;
}

.flower {
  left: 10%;
  top: 10%;
}
.flower2 {
  right: 10%;
  top: 20%;
}

@keyframes floatFlower {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(500px);
  }
}
.gallery {
  padding: 90px 0;
  text-align: center;
  background: radial-gradient(circle at top, #fff6e5, #fffaf3);
  overflow: hidden;
}

.cinema-gallery {
  width: 100%;
  overflow: hidden;
  margin-top: 35px;
  position: relative;
}

.cinema-gallery::before,
.cinema-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.cinema-gallery::before {
  left: 0;
  background: linear-gradient(to right, #fffaf3, transparent);
}

.cinema-gallery::after {
  right: 0;
  background: linear-gradient(to left, #fffaf3, transparent);
}

.track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: scrollGallery 28s linear infinite;
}

.track:hover {
  animation-play-state: paused;
}

.track img {
  width: 310px;
  height: 430px;
  object-fit: cover;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22);
  transition: 0.45s ease;
  filter: brightness(0.92);
}

.track img:nth-child(even) {
  margin-top: 55px;
}

.track img:hover {
  transform: scale(1.08) translateY(-18px);
  filter: brightness(1.08);
  box-shadow: 0 35px 80px rgba(180, 134, 44, 0.45);
}

@keyframes scrollGallery {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .track img {
    width: 240px;
    height: 330px;
  }

  .track img:nth-child(even) {
    margin-top: 35px;
  }
}
