

/* Make the card-link-slider center cards and enable horizontal overflow */
.card-link-slider {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 1rem 80px 1.5rem 80px; /* Add padding for arrows */
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  align-items: center;
  min-height: 540px; /* Match .card-link height for perfect centering */
  margin: 0 auto;
  /* Hide scrollbar for cleaner look */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  padding-left: 1000px !important;
}

/* Hide scrollbar for WebKit browsers */
.card-link-slider::-webkit-scrollbar {
  display: none;
}
 
#carousel-prev, #carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #0D6E90;
  box-shadow: 0 4px 18px rgba(13,110,144,0.18);
  margin: 0;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
#carousel-prev img, #carousel-next img {
  width: 24px;
  height: 24px;
  display: block;
}
#carousel-prev {
  left: 10px;
}
#carousel-next {
  right: 10px;
}
#carousel-prev:hover, #carousel-next:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(13,110,144,0.25);
}
/* Responsive Carousel Section */
.carousel-section {
  background: #fff;
  padding: 2.5rem 0 2rem 0;
  margin-top: 2.5rem;
}
.carousel-section .container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero .container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.carousel-floating-confetti {
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2;
}
.carousel-floating-confetti .confetti-curly-strip {
  position: absolute;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
  animation: confetti-float-carousel 4.5s ease-in-out infinite alternate;
}
.carousel-floating-confetti .confetti-curly-strip:nth-child(2) { animation-delay: 0.7s; }
.carousel-floating-confetti .confetti-curly-strip:nth-child(3) { animation-delay: 1.2s; }
.carousel-floating-confetti .confetti-curly-strip:nth-child(4) { animation-delay: 1.7s; }
@keyframes confetti-float-carousel {
  0% { transform: translateY(0) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
  100% { transform: translateY(-10px) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
}
@media (max-width: 700px) {
  .carousel-floating-confetti {
    display: none;
  }
}
.card-link-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 1.5rem 0;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}
.card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 0 0 280px; /* Fixed width, no grow/shrink */
  min-width: 280px;
  max-width: 280px;
  width: 280px;
  height: 540px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  text-decoration: none;
  color: #222;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2px solid #f3f3f3;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}
.card-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--muted-text, #5a5a5a);
  margin-top: 0.15rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  background: none;
  text-shadow: none;
}
.card-link:focus, .card-link:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.18);
  border-color: var(--cerulean);
  outline: none;
  transform: scale(1.04) translateY(-6px);
}
.carousel-note {
  text-align: center;
  color: var(--dim-gray);
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}
/* Optionally, let .card-link height be auto to fit content */
.card-link {
  height: auto;
  min-height: 0;
}
.card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.7rem 1rem 0.7rem 1rem;
  margin-top: 0.2rem;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}
.card-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--muted-text, #5a5a5a);
  margin-top: 0.15rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  background: none;
  text-shadow: none;
}
.card-link:focus, .card-link:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.18);
  border-color: var(--cerulean);
  outline: none;
  transform: scale(1.04) translateY(-6px);
}
.carousel-note {
  text-align: center;
  color: var(--dim-gray);
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .card-link-slider {
    gap: 1rem;
  }
  .card-link {
    height: 540px;
    padding: 1.4rem 0.5rem;
  }
  .card-link img {
    height: 160px;
  }
}

@media (max-width: 600px) {
  .carousel-section {
    padding: 1.2rem 0 1rem 0;
  }
  .card-link-slider {
    gap: 0.5rem;
    padding: 0.5rem 0 1rem 0;
  }
  .card-link {
    height: 540px;
    padding: 1.1rem 0.2rem;
  }
  .card-link img {
    height: 90px;
  }
  .card-title {
    font-size: 0.95rem;
  }
}
/* Stacked Photos Section */
.stacked-photos-section {
  background: #fff;
  padding: 2.5rem 0 2rem 0;
}

.stacked-photos {
  /* ...existing code... */
  height: 520px;
  min-height: 520px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes stackedSpreadOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85) rotate(0deg);
    z-index: 1;
  }
  60% {
    opacity: 1;
    transform: translate(var(--spread-x, -50%), -50%) scale(1.05) rotate(var(--spread-rotate, 0deg));
    z-index: 2;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(var(--default-rotate, 0deg));
    z-index: 3;
  }
}
.stacked-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(0deg);
  z-index: 1;
  animation: stackedSpreadOut 0.8s cubic-bezier(.4,1.4,.6,1) forwards;
  animation-fill-mode: forwards;
  margin-left: -80px; /* Reduce overlap gap for closer images */
}
.stacked-photo:nth-child(1) { --spread-x: -300%; --spread-rotate: -18deg; --default-rotate: -8deg; animation-delay: 0.05s; }
.stacked-photo:nth-child(2) { --spread-x: -180%; --spread-rotate: -12deg; --default-rotate: -4deg; animation-delay: 0.13s; }
.stacked-photo:nth-child(3) { --spread-x: -90%; --spread-rotate: -6deg; --default-rotate: 0deg; animation-delay: 0.21s; }
.stacked-photo:nth-child(4) { --spread-x: -50%; --spread-rotate: 0deg; --default-rotate: 4deg; animation-delay: 0.29s; }
.stacked-photo:nth-child(5) { --spread-x: 0%; --spread-rotate: 6deg; --default-rotate: 8deg; animation-delay: 0.37s; }
.stacked-photo:nth-child(6) { --spread-x: 90%; --spread-rotate: 12deg; --default-rotate: 12deg; animation-delay: 0.45s; }
.stacked-photo:nth-child(7) { --spread-x: 180%; --spread-rotate: 18deg; --default-rotate: 16deg; animation-delay: 0.53s; }

/* After animation, keep default stacked look */
.stacked-photo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(var(--default-rotate, 0deg));
  z-index: 2;
  transition: none;
}

.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}

/* Carousel title matches hero h1 */
.carousel-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
  text-align: center;
}

/* Floating Curly Confetti Strips (red, yellow, blue, orange) */
.floating-confetti {
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2;
}
.confetti-curly-strip {
  position: absolute;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
  animation: confetti-float 4.5s ease-in-out infinite alternate;
}
.confetti-curly-strip:nth-child(2) { animation-delay: 0.5s; }
.confetti-curly-strip:nth-child(3) { animation-delay: 1s; }
.confetti-curly-strip:nth-child(4) { animation-delay: 1.5s; }
.confetti-curly-strip:nth-child(5) { animation-delay: 2s; }
.confetti-curly-strip:nth-child(6) { animation-delay: 2.5s; }
.confetti-curly-strip:nth-child(7) { animation-delay: 3s; }
.confetti-curly-strip:nth-child(8) { animation-delay: 3.5s; }
@keyframes confetti-float {
  0% { transform: translateY(0) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
  100% { transform: translateY(-12px) scaleX(var(--sx,1)) rotate(var(--r,0deg)); }
}
@media (max-width: 700px) {
  .floating-confetti {
    display: none;
  }
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: var(--eerie-black, #1F1F1F);
  text-decoration: none;
  font-weight: 600;
  padding: 0.25em 0.5em;
  transition: color 0.2s, transform 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #FFD600 0%, #0D6E90 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(.4,1.4,.6,1);
  pointer-events: none;
}
.nav-links a:hover,
.nav-links a:focus {
  color: #0D6E90;
  transform: translateY(-2px) scale(1.06);
}
.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  /* ...existing code... */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* Optionally, let .card-link height be auto to fit content */
.card-link {
  height: auto;
  min-height: 0;
}
.card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.7rem 1rem 0.7rem 1rem;
  margin-top: 0.2rem;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}
.card-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--muted-text, #5a5a5a);
  margin-top: 0.15rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  background: none;
  text-shadow: none;
}
.card-link:focus, .card-link:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.18);
  border-color: var(--cerulean);
  outline: none;
  transform: scale(1.04) translateY(-6px);
}
.carousel-note {
  text-align: center;
  color: var(--dim-gray);
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .card-link-slider {
    gap: 1rem;
  }
  .card-link {
    height: 540px;
    padding: 1.4rem 0.5rem;
  }
  .card-link img {
    height: 160px;
  }
}

@media (max-width: 600px) {
  .carousel-section {
    padding: 1.2rem 0 1rem 0;
  }
  .card-link-slider {
    gap: 0.5rem;
    padding: 0.5rem 0 1rem 0;
  }
  .card-link {
    height: 540px;
    padding: 1.1rem 0.2rem;
  }
  .card-link img {
    height: 90px;
  }
  .card-title {
    font-size: 0.95rem;
  }
}
/* Stacked Photos Section */
.stacked-photos-section {
  background: #fff;
  padding: 2.5rem 0 2rem 0;
}

.stacked-photos {
  /* ...existing code... */
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  overflow: visible !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 500px; /* Match the hero section's max-width */
  margin: 0 auto;
  box-sizing: border-box;
  /* Remove any left/transform that could cause overflow */
}
@keyframes stackedSpreadOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85) rotate(0deg);
    z-index: 1;
  }
  100% {
    opacity: 1;
    /* Spread out horizontally, keep the spread position */
    transform: translate(var(--spread-x, -50%), -50%) scale(1.05) rotate(var(--spread-rotate, 0deg));
    z-index: 2;
  }
}
.stacked-photo {
  /* ...existing code... */
  margin-left: -60px; /* Slight overlap, but not too much */
  left: 50%;
  top: 50%;
  width: 160px;
  height: 160px;
  min-width: 160px;
  min-height: 160px;
  max-width: 160px;
  max-height: 160px;
}
.stacked-photo:nth-child(1) { --spread-x: -300%; --spread-rotate: -18deg; animation-delay: 0.05s; }
.stacked-photo:nth-child(2) { --spread-x: -180%; --spread-rotate: -12deg; animation-delay: 0.13s; }
.stacked-photo:nth-child(3) { --spread-x: -90%; --spread-rotate: -6deg; animation-delay: 0.21s; }
.stacked-photo:nth-child(4) { --spread-x: -50%; --spread-rotate: 0deg; animation-delay: 0.29s; }
.stacked-photo:nth-child(5) { --spread-x: 0%; --spread-rotate: 6deg; animation-delay: 0.37s; }
.stacked-photo:nth-child(6) { --spread-x: 90%; --spread-rotate: 12deg; animation-delay: 0.45s; }
.stacked-photo:nth-child(7) { --spread-x: 180%; --spread-rotate: 18deg; animation-delay: 0.53s; }

/* Remove the return-to-stacked look, keep spread-out only */
.stacked-photo {
  opacity: 1;
  /* Keep the spread-out transform after animation */
  transform: translate(var(--spread-x, -50%), -50%) scale(1.05) rotate(var(--spread-rotate, 0deg));
  z-index: 2;
  transition: none;
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  display: block;
}
.stacked-photo:first-child {
  margin-left: 0;
}
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

/* ...existing code... */
.nav-links a {
  position: relative;
  display: inline-block;
  color: var(--eerie-black, #1F1F1F);
  text-decoration: none;
  font-weight: 600;
  padding: 0.25em 0.5em;
  transition: color 0.2s, transform 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #FFD600 0%, #0D6E90 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(.4,1.4,.6,1);
  pointer-events: none;
}
.nav-links a:hover,
.nav-links a:focus {
  color: #0D6E90;
  transform: translateY(-2px) scale(1.06);
}
.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}
/* ...existing code... */

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  position: relative;
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing card styles... */
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.5s cubic-bezier(.4,1.4,.6,1), transform 0.5s cubic-bezier(.4,1.4,.6,1);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* ...existing code... */
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  /* ...existing code... */
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  overflow: visible !important;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.stacked-photo {
  /* ...existing code... */
  margin-left: 0;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  max-width: 140px;
  max-height: 140px;
}
.stacked-photo:first-child {
  margin-left: 0;
}
/* Spread images fully across the .stacked-photos div */
.stacked-photo:nth-child(1) { --spread-x: -180%; }
.stacked-photo:nth-child(2) { --spread-x: -120%; }
.stacked-photo:nth-child(3) { --spread-x: -60%; }
.stacked-photo:nth-child(4) { --spread-x: 0%; }
.stacked-photo:nth-child(5) { --spread-x: 60%; }
.stacked-photo:nth-child(6) { --spread-x: 120%; }
.stacked-photo:nth-child(7) { --spread-x: 180%; }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
   width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,166,81,0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.hero-features {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--primary);
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-buttons button {
  pointer-events: all;
  background: var(--cerulean);
  border: none;
  color: var(--white);
  padding: 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-section {
  background: white;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.info-section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.extra-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
}

.info-box {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  flex: 1;
}

@media (min-width: 768px) {
  .extra-info {
    flex-direction: row;
    justify-content: space-around;
  }
}

footer {
  background: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #0066FF;
  text-decoration: none;
}
.bday-moreinfo {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
  border-top: 1px solid #eee;
}
.bday-moreinfo .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bday-moreinfo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--cerulean);
  text-align: center;
}
.bday-moreinfo p {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-bottom: 2.5rem;
}
.moreinfo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.moreinfo-card {
  background: #f9fafb; /* subtle off-white */
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(13,110,144,0.07);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  border: 1.5px solid #e3e8f0;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  padding-top: 2.2em; /* add space for the absolutely positioned h3 */
}
.moreinfo-card h3 {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--cerulean, #0D6E90);
  width: calc(100% + 2.4rem); /* 2 * card horizontal padding (1.2rem left + 1.2rem right) */
  margin-left: -1.2rem;
  margin-right: -1.2rem;
  border-radius: 2px 2px 2px 2px;
  padding: 0.6em 1em;
  box-sizing: border-box;
  min-height: 2.2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 10px 10px 0 0;
  z-index: 1;
}
.moreinfo-card-icon {
  font-size: 1.2em;
  margin-right: 0.2em;
  display: inline-flex;
  align-items: center;
}
.moreinfo-card p {
  font-size: 1.01rem;
  color: #555;
  margin: 0;
}
.moreinfo-card:hover {
  box-shadow: 0 8px 32px rgba(13,110,144,0.13);
  transform: translateY(-6px) scale(1.03);
  border-color: var(--cerulean);
}
.moreinfo-card ul {
  list-style-position: outside;
  padding-left: 1.2rem;
  margin-left: 0;
    margin-top: 15px;
}
.moreinfo-card ul li {
  font-size: 12px;
  color: #555;
  margin-bottom: 0.35em;
  line-height: 1.5;
  display: list-item;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1000px) {
  .moreinfo-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .moreinfo-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bday-moreinfo h2 {
    font-size: 1.3rem;
  }
  .bday-moreinfo p {
    font-size: 0.98rem;
  }
}

/* --- Make all .card-link img the same height as photos/images (2).jpg --- */
.card-link img {
  width: 100%;
  flex: 1 1 0;
  object-fit: cover;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
  height: auto;
}
.card-link {
  height: 540px;
  min-height: 540px;
  max-height: 540px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}
.card-link .card-title {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 1.1rem 1.3rem 1.1rem 1.3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  max-height: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  box-orient: unset;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  display: flex;
  align-items: center;
}
.card-link .card-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  flex: 1 1 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  min-height: 0;
  max-height: 100%;
  height: 100%;
}
.card-link img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.10);
  display: block;
  min-height: 0;
  max-height: 100%;
}

@media (max-width: 900px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 540px;
    min-height: 540px;
    height: 540px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.8rem 1rem 0.8rem 1rem;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 0.95rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }
}
@media (max-width: 600px) {
  .card-link, .card-link .card-img-wrapper {
    max-height: 140px;
    min-height: 140px;
    height: 140px;
    aspect-ratio: 4/5;
  }
  .card-link .card-title {
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    font-size: 0.92rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ...existing code... */
.card-link {
  /* ...existing code... */
  opacity: 1;
  transform: none;
  transition: opacity 0.5s, transform 0.7s cubic-bezier(0.4,1.4,0.6,1.0);
}
.card-link.fly-in {
  opacity: 1;
  transform: translateY(60px) scale(0.96) rotate(-2deg);
  animation: card-fly-in 0.7s cubic-bezier(0.4,1.4,0.6,1.0) forwards;
}
@keyframes card-fly-in {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.92) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-12px) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ...existing code... */
#birthdayInput + .btn,
#birthdayInput ~ .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px;
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

#birthdayInput + .btn:hover,
#birthdayInput ~ .btn:hover {
  background: var(--cerulean);
  color: var(--wheat);
}

.hero p {
  font-size: 24px;
}
.stacked-photos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 2.5rem;
  max-width: 100%;
  margin-top: 2.5rem;
  opacity: 1;
  transform: none;
  transition: none;
}
.stacked-photo {
  width: 240px !important;
  height: 240px !important;
  min-width: 240px !important;
  min-height: 240px !important;
  max-width: 240px !important;
  max-height: 240px !important;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-left: -120px;
  border: 4px solid #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  z-index: 1;
  display: block;
  opacity: 1;
}
.stacked-photo:first-child {
  margin-left: 0;
}
.stacked-photo:nth-child(1) { transform: rotate(-6deg); }
.stacked-photo:nth-child(2) { transform: translateY(18px) rotate(-3deg); }
.stacked-photo:nth-child(3) { transform: rotate(0deg); }
.stacked-photo:nth-child(4) { transform: translateY(18px) rotate(3deg); }
.stacked-photo:nth-child(5) { transform: rotate(6deg); }
.stacked-photo:nth-child(6) { transform: translateY(18px) rotate(-2deg); }
.stacked-photo:nth-child(7) { transform: rotate(4deg); }
/* Hide native placeholder for #birthdate (mm/dd/yyyy) in all browsers */
#birthdate::-webkit-input-placeholder { color: transparent; }
#birthdate::-moz-placeholder { color: transparent; }
#birthdate:-ms-input-placeholder { color: transparent; }
#birthdate::placeholder { color: transparent; }
#birthdate::-webkit-datetime-edit { color: transparent; }
#birthdate:focus::-webkit-datetime-edit { color: initial; }
/* Hide native placeholder for #birthdayInput (mm/dd/yyyy) in all browsers */
#birthdayInput::-webkit-input-placeholder { color: transparent; }
#birthdayInput::-moz-placeholder { color: transparent; }
#birthdayInput:-ms-input-placeholder { color: transparent; }
#birthdayInput::placeholder { color: transparent; }
#birthdayInput::-webkit-datetime-edit { color: transparent; }
#birthdayInput:focus::-webkit-datetime-edit { color: initial; }
/* Date input and button as a single control */
.date-btn-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Increased from 420px */
  margin: 1.5rem auto 1rem auto;
  display: inline;
  align-items: center;
}

.date-btn-wrapper .calendar-icon {
  position: absolute;
  left: 16px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: #888;
  z-index: 2;
}

.date-btn-wrapper input[type="date"] {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.6rem 9rem 0.6rem 2.2rem;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  box-sizing: border-box;
  height: 2.6rem;
  line-height: 1.2;
  transition: border-radius 0.2s;
  padding-left: 44px;
}

.date-btn-wrapper .btn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0 2rem; /* Increased left & right padding */
  font-size: 1rem;
  border-radius: 0 5px 5px 0;
  min-width: 140px; /* Optional: widen button more */
  white-space: nowrap;
  box-shadow: none;
  border: 2px solid #ccc;
  border-left: none;
  background: var(--eerie-black);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;

  margin: auto;
  padding: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  margin-right: 5px;
  border-radius: 10px;
}
#surpriseMeBtn {
      position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 60px;
    margin-top: 20px;
    margin-right: 5px;
    border-radius: 10px !important; 
    height: 50px;
    font-size: 0.98rem;
}

/* Blue text for 'You' in hero */
.hero-blue {
  color: #0065F8;
}
/* Color Palette */
:root {
  --dim-gray: #5D6969;
  --wheat: #FEE5BF;
  --eerie-black: #1F1F1F;
  --cerulean: #0D6E90;
  --cinnabar: #E94F27;
  --white: #fff;
}

/* Example gradients for reference (not used directly) */
/*
  background: linear-gradient(0deg, #5D6969, #FEE5BF, #1F1F1F, #0D6E90, #E94F27);
*/
/* Header container for custom styles */
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* Brighter white, can use a slightly blueish tint for extra brightness */
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.02);
  border-bottom: 2px solid #e3e8f0;
  outline: none;
}
/* All styles updated to visually match the screenshot */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  background: #f2f4f8;
  color: #333;
  line-height: 1.6;
}


header {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

footer {
  background: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-nav {
  justify-content: flex-start;
}

.header-contact {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  min-width: 160px; /* Ensures space for the button */
}

.header-contact .btn {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13,110,144,0.10);
}

header .logo {
  justify-content: center;
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
}

header .logo img {
  height: 96px;
  width: auto;
  max-width: 280px;
  margin: 0 0.5rem;
  display: block;
}

.logo {
  font-weight: bold;
  color: #F25F29;
  font-size: 1.7rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav-links a, .btn {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

/* Button style for #contact and all .btn */
.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;
}

.btn {
  background: var(--cerulean);
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem;

}

.btn:hover {
  background: var(--dim-gray);
  color: var(--wheat);
}

.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: white;
  border-bottom: 4px solid #eaeaea;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Roboto', sans-serif;
  word-spacing: 0.15em;
}

.highlight {
  color: var(--white);
  background-color: var(--cinnabar);
  font-weight: 700;
  border-radius: 10px;
  padding: 0 0.3em;
}

.hero input[type="date"] {
  padding: 0.6rem;
  margin: 1rem 0;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 60px;
  max-width: 500px;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.category {
  background: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--dim-gray);
}

/* Category icon style (top-level, not nested) */
.cat-icon {
  font-size: 1.4em;
  color: var(--cinnabar) !important;
  display: inline-flex;
  align-items: center;
  margin-right: 0.4em;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.card {
  flex: 0 0 250px;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-right: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input:focus {
  outline: none;
  color: var(--text);
}

.search-btn {
  padding: var(--space-6) var(--space-12);
  background: var(--gradient-primary);
  color: var(--white);
}