/* ===== GLOBAL ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  background:#fff6f6;
  text-align:center;
  color:#333;
  overflow-x:hidden;
  height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

/* ===== HEADER ===== */
header{
  padding:25px 20px 10px;
}

header h1{
  font-family:'Great Vibes',cursive;
  font-size:55px;
  color:#c0392b;
}

header h2{
  font-size:22px;
  margin-top:5px;
}

.tagline{
  margin-top:8px;
  font-style:italic;
  color:#777;
  font-size:14px;
}

/* ===== SECTIONS ===== */
.section{
  padding:15px 10px;
}

.section h2{
  font-size:26px;
  margin-bottom:15px;
  color:#b03a2e;
}

/* ===== COUPLE CARDS ===== */
.couple{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

.person{
  width:200px;
  background:white;
  padding:12px;
  border-radius:12px;
  box-shadow:0 6px 20px rgba(0,0,0,0.1);
}

.person img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:10px;
}

.person h3{
  margin-top:10px;
  font-size:17px;
}

.person p{
  font-size:14px;
  color:#666;
}

/* ===== EVENT CARD ===== */
.event-card{
  max-width:480px;
  margin:auto;
  background:white;
  padding:20px;
  border-radius:15px;
  box-shadow:0 8px 25px rgba(0,0,0,0.1);
  text-align:left;
}

.event-item{
  display:flex;
  gap:10px;
  margin-bottom:10px;
  align-items:flex-start;
}

.icon{
  font-size:22px;
}

.event-item h3{
  font-size:13px;
}

.event-item p{
  font-size:15px;
}

.location-link{
  text-decoration:none;
  color:#b03a2e;
}

.location-link:hover{
  text-decoration:underline;
}

.quote{
  margin-top:10px;
  font-style:italic;
  text-align:center;
  font-size:14px;
  color:#666;
}

/* ===== FALLING ROSES ===== */
.rose{
  position:fixed;
  top:-50px;
  font-size:24px;
  animation:fall linear infinite;
}

@keyframes fall{
  0%{
    transform:translateY(-50px) rotate(0deg);
    opacity:1;
  }
  100%{
    transform:translateY(110vh) rotate(360deg);
    opacity:0.8;
  }
}

/* ===== MOBILE ===== */
@media(max-width:600px){

  header h1{
    font-size:38px;
  }

  .person{
    width:150px;
  }

  .person img{
    height:150px;
  }

  .event-card{
    max-width:95%;
  }

}

body {
  font-family:'Poppins',sans-serif;
  text-align:center;
  color:#333;
  overflow-x:hidden;

  /* Remove fixed height so page grows naturally */
  /* height:100vh; */
  /* display:flex; flex-direction:column; justify-content:flex-start; */

  /* Couple background */
  background: 
    linear-gradient(rgba(255,246,246,0.75), rgba(255,246,246,0.75)), 
    url('./couple.jpeg') center top/cover no-repeat;
  
  background-attachment: fixed; /* makes the background stay in place when scrolling */
}