/* ------------------------------
   GLOBAL RESET + BASE STYLES
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #fffdf9;
  font-family: 'Italianno', cursive;
}


body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden; /* no scrolling */
  background: #fffdf9;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}



/* ------------------------------
BORDER WRAPPER
--------------------------------*/

/* OUTER BACKGROUND PADDING */
.outer-padding {
  width: 100%;
  height: 100%;
  padding: 3%;  
  padding-bottom: 40%;         /* subtle outer gap */
  background: #fffdf9;
  box-sizing: border-box;
}


/* INNER BORDER WRAPPER */
.border-wrapper {
  position: relative;
  width: 100%;
  height: 100%;          /* fills the viewport minus outer padding */
  border: 2px solid #e6d9d0;
  border-radius: 12px;
  padding: 5%;
  padding-top: 18%;      /* space for floral overlap */
  box-sizing: border-box;
  overflow: hidden;      /* prevents internal scroll */
  border-bottom: none;
}



/* Heart cutout breaks the border visually */
.heart-cutout {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fffdf9;
  padding: 0 10px;
  z-index: 5;
}

.heart-divider {
  position: absolute;
  bottom: 9%;              /* adjust depending on footer spacing */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;              /* adjust width to taste */
  text-align: center;
  pointer-events: none;
  color: rgb(194, 104, 104);
}

.heart-divider svg {
  width: 100%;
  height: auto;
}





.bottom-border-left,
.bottom-border-right {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: #e6d9d0; /* same as your border colour */
}

.bottom-border-left {
  left: 0;
  width: 45%; /* adjust depending on heart width */
}

.bottom-border-right {
  right: 0;
  width: 45%;
}

/***********
Footer
*************/

.site-footer {
  position: absolute;
  bottom: 1.5%;              /* sits above the heart cutout */
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  color: #7a6f68;
  line-height: 1.3rem;
  pointer-events: none;    /* prevents accidental taps */
  letter-spacing: 2px;
}


/* ------------------------------
   FLORAL BANNER
--------------------------------*/
.floral-banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110vw;          /* full screen width */
  z-index: 10;
  pointer-events: none;
}

.floral-img {
  width: 100%;
  height: auto;
  display: block;
}


/* ------------------------------
   MONOGRAM + DATE
--------------------------------*/
.monogram {
  text-align: center;
  margin-top: 6vh;
  margin-bottom: 2vh;
}

.monogram h1 {
 font-family: 'Alex Brush', cursive;
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.wedding-date {
  font-family: 'Alex Brush', cursive;
  font-size: 1.6rem;
  margin-top: 5px;
  color: #7a6f68;
}

/* ------------------------------
   BUTTON GROUP
--------------------------------*/
.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.main-btn,
.link-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #f3e8e2;
  border: 1px solid #d8c7be;
  border-radius: 10px;
  text-align: center;
  font-size: 2.2rem;
  color: #4a3f3a;
  text-decoration: none;
  font-family: 'Italianno', cursive;
  transition: all 0.2s ease;
}

.main-btn:hover,
.link-btn:hover {
  background: #e8dcd5;
  transform: scale(1.02);
}

.main-btn:active,
.link-btn:active {
  transform: scale(0.98);
}

/* ------------------------------
   ORDER OF THE DAY OVERLAY
--------------------------------*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.55);
  display: none;
  justify-content: center;
  align-items: center;

  padding: 20px;
  z-index: 20; /* ensure overlay sits above the floral banner */
  pointer-events: auto; /* capture clicks so close-on-background works */
}

.overlay-content {
  background: #fffdf9;
  width: 90%;
  max-width: 95vh;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #e6d9d0;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.overlay-content h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.timeline {
  list-style: none;
  margin-bottom: 20px;
}

.timeline li {
  padding: 2px 0;
  font-size: 1.4rem;
  border-bottom: 1px solid #eee4dd;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline li.active-now {
  font-weight: 700;
  background: rgba(232, 212, 204, 0.18);
  border-radius: 8px;
  padding: 6px 10px;
}

.timeline-icon {
  width: 10vh;
  height: 6.5vh;
}

.close-btn {
  padding: 10px 18px;
  background: #f3e8e2;
  border: 1px solid #d8c7be;
  border-radius: 8px;
  font-size: 1.2rem;
  font-family: "Italianno", cursive;
  color:#4a3f3a;
  cursor: pointer;
}

/* ------------------------------
   ANIMATIONS
--------------------------------*/
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ------------------------------
   SMALL TABLET OPTIMISATION
--------------------------------*/
@media (min-width: 600px) {
  .monogram h1 {
    font-size: 3.5rem;
  }

  .main-btn,
  .link-btn {
    font-size: 1.2rem;
  }
}

