/*Daydream Pages*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Great+Vibes&family=Beth+Ellen&display=swap');


/* Fullscreen Background Div */
#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
  opacity: 1;
  transition: opacity 2s ease-in-out;
}

/* Main Content Above Background */
#content {
  position: relative;
  z-index: 1;
}
body {
  font-family: 'Playfair Display', 'Poppins', serif;
  background: url('assets/bg-tile.png') repeat;
  background-attachment: fixed;
  color: #2b6288;
  /* color: #4b2e2e; */
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 100%;
  background-color: #fffdf8;
  opacity: 0.85;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
}

.details {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: 1.2rem;
  margin-top: 50px;
}

.emoji-heading {
  display: block;
  text-align: center;
}
.rsvp-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #d28b6c;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.rsvp-button:hover {
    background-color: #b86e52;
    box-shadow: 0 0 20px rgba(210,139, 108,00.7); /*soft glowing effect*/
}


h1 {
  font-family: 'Beth Ellen', cursive;
  font-size: 2rem;
  margin-bottom: 0;
  padding: 0;
  color: #2b6288;
  margin-top: 50px;
  /* text-shadow: 2px 2px 5px rgba(212, 165, 165, 0.5); */
}

p {
  font-size: 1.8rem;
  margin-top: 0;
  color: #2b6288;
  /* color: #6b4c4c; */
  /* text-shadow: 1px 1px 3px rgba(75, 46, 46, 0.3); */
}

.names {
  font-size: 3rem;
  margin-top: -40px;
  padding: 0;
}

.date {
  font-size: 3rem;
  margin-top: -20px;
  margin-bottom: -15px;
}

.big-g {
  font-size: 1.3em;
}

.beth {
  font-family: 'Beth Ellen', cursive;
  color: #2b6288;
}

.location-top {
  font-size: 1.25rem;
  margin-top: 50px;
  margin-bottom: -15px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  p {
    font-size: 1.3rem;
  }
  .names {
    margin-top: 30px;
    font-size: 2.5rem;
    line-height: 1.1;
  }
  .details {
    max-width: 100%;
    width: auto;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@keyframes backgroundMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1000px 1000px;
  }
}
/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease-out forwards;
}

/* Keyframes for fade-in */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery img {
  width: 100%;
  max-width: 300px; /* sets a nice width for each photo */
  height: 200px; /* forces all images to have the same height */
  object-fit: cover; /* keeps them pretty without stretching */
  border-radius: 10px; /* (optional) soft rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* (optional) soft shadow */
  margin: 10px; /* space between pictures */
}

.video {
  width: 100%;
  max-width: 400px; /* or 300px if you want smaller */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 50px 0;

  .footer-logo {
  width: 40px;
  height: auto;
  margin-bottom: 10px;
  }
}

.photo {
  width: 100%;
  max-width: 400px; /* or 300px if you want smaller */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 20px 0;

  .footer-logo {
  width: 40px;
  height: auto;
  margin-bottom: 10px;
  }
}

.site-footer {
  margin-top: 50px;
  padding: 20px 0;
  font-size: 0.8rem;
  color: #A56B55;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.3); /* soft overlay */
  border-top: 1px solid #EFD8C5;
  width: 100%;
}

.site-footer p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}
