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

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}

@font-face {
  font-family: script;
  src: url(../RougeScript-Regular.ttf);
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Floating Navigation */
.navbar {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 400;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-1px);
}


.hero {
  position: relative; 
  height: 100vh;
  background-image: url('../June\ 27th_\ 2025/055_8YM6900.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.hero-content {
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: script;
  font-weight: 400;
  font-style: normal;
  font-size: 10rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 400;
}


.scroll-icon {
  text-decoration: none;
  color: inherit;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 5rem;
  z-index: 2;
  animation: bounce 2s infinite;
}


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

.save-the-date {
  min-height: 100vh;
  font-family: "proxima-nova", sans-serif !important;
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #fefcf8 0%, #f8f4f0 50%, #f5f1ec 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.save-the-date::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><text x="10" y="15" text-anchor="middle" fill="rgba(255,255,255,0.1)" font-size="12">♥</text></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>') repeat;
  opacity: 0.3;
}

.date-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push top and bottom content apart */
  align-items: center;
  padding: 4rem 2rem; /* Reduced padding so it doesn’t get too tall */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15);
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: slideInUp 1s ease-out;
}

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

.date-wrapper {
  padding: 0.5rem;
}

.invite-text {
  font-size: 1.2rem;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 3rem;
  color: #8b7355;
  text-transform: uppercase;
  opacity: 0.9;
}

.countdown-text {
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 2rem;
  color: #8b7355;
  background: linear-gradient(45deg, #d4af37, #f4c2c2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s ease-in-out infinite;
}

.save-the-date .divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 2rem auto;
  border-radius: 2px;
}

.main-date {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0 1rem 0;
  color: #8b7355;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
  letter-spacing: 2px;
}

.day-of-week {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(139, 115, 85, 0.8);
  margin-bottom: 2rem;
  font-style: italic;
}

/* Additional Information */
.additional-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dress-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(139, 115, 85, 0.8);
  font-weight: 500;
  margin: 0;
}

.dress-code i {
  color: #d4af37;
}

.celebration-note {
  font-size: 1rem;
  color: rgba(139, 115, 85, 0.7);
  font-style: italic;
  font-weight: 300;
  margin: 0;
  line-height: 1.4;
}

/* === Mobile Responsive Styles === */
@media (max-width: 768px) {
 .navbar {
    top: 15px;
    padding: 0.5rem 1rem;
    gap: 1rem;
    font-size: 0.7rem;
    border-radius: 25px;
  }
  
  .nav-link {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    gap: 0.3rem;
  }

  .hero-content h1 {
    font-size: 4.5rem;
  }

  .hero-content p {
    font-size: 0.8rem;
    padding: 0 1rem;
  }

  .scroll-icon {
    font-size: 3rem;
    bottom: 10px;
  }

  .save-the-date {
    padding: 2rem 1rem;
  }

  .invite-text, .countdown-text {
    font-size: 1rem;
  }

  .main-date {
    font-size: 1.5rem;
  }

  .save-the-date hr {
    width: 80%;
  }
}