/* -----------------------------------
  PROGRAMA/TIMELINE BACKGROUND
----------------------------------- */
.programa {
  position: relative;
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
}

.programa::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.programa .wrap {
  position: relative;
  z-index: 1;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0 40px;
    position: relative;

}

.timeline-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, transparent, #b8935f, transparent);
  opacity: 0.6;
}

.timeline-title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 3px;
  color: #2c2416;
  margin: 0 0 12px 0;
  font-family: 'Georgia', serif;
}

.timeline-date {
  font-size: 1.2rem;
  color: #6b5a47;
  margin: 0 0 0 0;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
}

.timeline-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4a574, transparent);
  margin: 25px auto 0;
  border-radius: 1px;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;

}

.tl-item {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: none;
    backdrop-filter: none;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    max-width: 100%;

}

.tl-item.tl-item-left {
  grid-column: 1 / 2;
  text-align: right;
}

.tl-item.tl-item-right {
  grid-column: 3 / 4;
  text-align: left;
}

.tl-content {
    position: relative;
    z-index: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;

}

.tl-time {
  font-size: 1.1rem;
  font-weight: 400;
  color: #2c2416;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Georgia', serif;
}

.tl-desc {
  font-size: 0.95rem;
  color: #6b5a47;
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Georgia', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tl-line {
    height: 1px;
    background: #d4a574;
    z-index: 0;
    width: 40px;

}

.tl-icon {
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin: auto;

}

/* Icon classes for different events */
.tl-icon.icon-welcome {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="2" fill="none"><path d="M30 50 L45 35 L60 50" stroke-linecap="round" stroke-linejoin="round"/><path d="M35 60 Q35 55 40 55 Q45 55 45 60" stroke-linecap="round"/><path d="M55 60 Q55 55 60 55 Q65 55 65 60" stroke-linecap="round"/></g></svg>');
}

.tl-icon.icon-ceremony {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="2" fill="none"><circle cx="35" cy="20" r="8"/><circle cx="65" cy="20" r="8"/><path d="M35 28 L35 50" stroke-linecap="round"/><path d="M65 28 L65 50" stroke-linecap="round"/><path d="M25 50 L75 50" stroke-linecap="round"/><path d="M30 50 L35 70 M70 50 L65 70" stroke-linecap="round"/></g></svg>');

}

.tl-icon.icon-cocktail {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="2" fill="none"><path d="M35 20 L50 20 L70 60 Q70 75 50 75 Q30 75 30 60 Z" stroke-linecap="round" stroke-linejoin="round"/><line x1="40" y1="40" x2="60" y2="40"/></g></svg>');
}

.tl-icon.icon-lunch {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="2" fill="none"><circle cx="50" cy="50" r="28"/><line x1="50" y1="22" x2="50" y2="78"/><line x1="22" y1="50" x2="78" y2="50"/><circle cx="50" cy="50" r="8" fill="%232c2416"/></g></svg>');
}

.tl-icon.icon-cake {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="2" fill="none"><rect x="25" y="40" width="50" height="35" rx="3"/><rect x="20" y="45" width="60" height="8" rx="2"/><circle cx="35" cy="35" r="4" fill="%232c2416"/><circle cx="50" cy="33" r="4" fill="%232c2416"/><circle cx="65" cy="35" r="4" fill="%232c2416"/></g></svg>');
}

.tl-icon.icon-dance {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="2" fill="none"><circle cx="35" cy="25" r="8"/><path d="M35 33 L35 55" stroke-linecap="round"/><path d="M35 40 L20 50" stroke-linecap="round"/><path d="M35 40 L50 50" stroke-linecap="round"/><path d="M35 55 L25 75" stroke-linecap="round"/><path d="M35 55 L45 75" stroke-linecap="round"/><g transform="translate(65,30)"><circle cx="0" cy="0" r="8"/><path d="M0 8 L0 30" stroke-linecap="round"/><path d="M-15 20 L5 35" stroke-linecap="round"/></g></g></svg>');
}

.tl-icon.icon-fireworks {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="%232c2416" stroke-width="1.5" fill="%232c2416"><circle cx="50" cy="40" r="2"/><line x1="50" y1="25" x2="50" y2="35"/><line x1="50" y1="45" x2="50" y2="55"/><line x1="35" y1="40" x2="45" y2="40"/><line x1="55" y1="40" x2="65" y2="40"/><line x1="38" y1="32" x2="46" y2="40"/><line x1="54" y1="40" x2="62" y2="48"/><line x1="62" y1="32" x2="54" y2="40"/><line x1="46" y1="40" x2="38" y2="48"/><circle cx="50" cy="70" r="1.5" fill="%232c2416"/><line x1="50" y1="60" x2="50" y2="68"/><line x1="50" y1="72" x2="50" y2="78"/></g></svg>');
}

@keyframes pulse {
  0%, 100% {
    box-shadow: none;
  }
  50% {
    box-shadow: none;
  }
}

.tl-left {
    text-align: right;
    justify-content: left;
    flex-direction: row-reverse;
    top: 100%;

}
.tl-left .tl-line {
    margin-right: 40px;

}

.tl-right {
    text-align: left;
    justify-self: right;
}
.tl-right .tl-line {
    margin-left: 40px;

}

.timeline::before {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    margin: auto;
    width: 1px;
    background: #d4a574;
    right: 0px;
    left: 0px;

}
