body {
  font-family: 'Hanken Grotesk', sans-serif;
  background-color: white;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 20px 40px; /* Top padding reduced */
  text-align: center;
}

h1, h2, h3, h4, h5, p {
  margin: 10px 0;
}

.great-vibes {
  font-family: 'Great Vibes', cursive;
  font-size: 90px;
  color: #000000;
  margin-bottom: 5px;
}

.hanken {
  font-family: 'Hanken Grotesk', sans-serif;
  color: #444;
}

.medium {
  font-size: 24px;
  font-weight: 600;
}

.smallest {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
}

.divider {
  border: none;
  border-top: 1px solid #ccc;
  width: 60%;
  margin: 20px auto;
}

form {
  margin-top: 30px;
  text-align: left;
}

label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

button {
  width: 100%; /* Makes it as wide as input fields */
  margin-top: 20px;
  padding: 12px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: 1px solid #000000;
  border-radius: 6px;
  font-size: 16px;
}

.updates-section {
  margin-top: 15px;
  text-align: left;
}

.updates-section p {
  font-weight: bold;
  margin: 10px 0 5px; /* Match label spacing */
  font-size: 16px;
}

.update-buttons {
  display: flex;
  gap: 8px; /* Slightly smaller than before */
}

.update-option {
  flex: 1;
  padding: 10px;
  background-color: rgb(255, 255, 255);
  border: 2px solid #f28ab2;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  margin-bottom: 10px; /* Match bottom margin of other inputs */
}


.update-buttons {
  display: flex;
  gap: 10px;
}

.update-option {
  flex: 1;
  padding: 10px;
  background-color: white;
  border: 2px solid #ea3f80;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.update-option.selected {
  background-color: #f28ab2;
  color: white;
}

/* === Mobile-Friendly Styling === */
@media (max-width: 600px) {
  .container {
    padding: 20px;
  }

  .great-vibes {
    font-size: 48px; /* scale down the large script font */
  }

  .medium {
    font-size: 18px;
  }

  .smallest {
    font-size: 12px;
    letter-spacing: 1px;
  }

  input, textarea, button {
    font-size: 16px;
    padding: 10px;
  }

  .update-buttons {
    flex-direction: column; /* stack buttons vertically on mobile */
  }

  .update-option {
    width: 100%;
    margin-bottom: 8px;
  }

  .divider {
    width: 80%;
  }
}

input, textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Homepage Fullscreen Photo Column */
.home-page {
  margin: 0;
  padding: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.photo-column {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.photo-column img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  scroll-snap-align: start;
}

/* Overlay text at the bottom */
.bottom-overlay {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1); /* more subtle */
  backdrop-filter: blur(4px); /* reduced blur */
  -webkit-backdrop-filter: blur(4px); /* for Safari */
  text-align: left;
  padding: 20px;
  box-sizing: border-box;
}

.bottom-overlay p {
  margin: 0;
  font-family: 'Great Vibes', cursive;
  font-size: 36px; /* Larger and elegant */
  font-weight: normal;
  color: #000;
  letter-spacing: 1px;
}

.great-vibes-line {
  margin: 0;
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  color: #000;
  letter-spacing: 1px;
}

.subtext-line {
  margin: 5px 0 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  color: #000;
  opacity: 0.8;
}

.bottom-overlay {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: left;
  padding: 20px 30px;
  box-sizing: border-box;
  animation: fadeInOverlay 1.5s ease-in-out;
  
animation-delay: 0.5s;
animation-fill-mode: both;
}

/* Animation keyframes */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bottom-overlay {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent); /* smooth fade */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: left;
  padding: 20px 30px;
  box-sizing: border-box;
  animation: fadeInOverlay 1.5s ease-in-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
  z-index: 10;
}

.overlay-title {
  margin: 0;
  font-family: 'Hanken Grotesk' !important;
  font-size: 52px !important;
  font-weight: 400;
  color: white !important;
  letter-spacing: 0.5px;
}

.overlay-subtext {
  margin: 5px 0 0;
  font-family: 'Hanken Grotesk'!important;
  font-size: 24px !important;
  font-weight: 200;
  color: white !important;
  opacity: 0.9;
}


.bottom-overlay {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  box-sizing: border-box;
  animation: fadeInOverlay 1.5s ease-in-out;
  animation-delay: 0.4s;
  animation-fill-mode: both;
  z-index: 10;
}

.overlay-text {
  text-align: left;
}

.overlay-title {
  margin: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.overlay-subtext {
  margin: 5px 0 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: white;
  opacity: 0.9;
}

.save-date-button {
  font-family: 'Hanken Grotesk', sans-serif;
  padding: 10px 20px;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.save-date-button:hover {
  background-color: white !important;
  color: black !important;
  border-color: white;
  text-decoration: none;
}

.secondary-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 2px solid #f28ab2;
  background: transparent;
  color: #f28ab2;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Hanken Grotesk', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: #f28ab2;
  color: white;
}
