body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: #fdfaf6;
  color: #333;
  text-align: center;
    }

header {
      padding: 100px 20px;
      color: white;
      background:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url('../images/47836D44-D091-4AF8-8566-A8885D034D69_1_105_c.jpeg');
      background-size: cover;
      background-position: center;
    }

h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

h2 {
  font-weight: normal;
  margin-top: 0;
  letter-spacing: 2px;
}

h3 {
  font-weight: normal;
  letter-spacing: 2px;
}

section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

iframe {
  border: 0;
  width: 100%;
  max-width: 600px;
  height: 350px;
  border-radius: 12px;
}

.spotify iframe {
  height: 380px;
}

.spotify-h3 {
  font-size: 16px;
  letter-spacing: 2px;
  color: #999;
}

/* Button */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #c9a27c;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  transition: 0.3s;
}

.btn:hover {
  background: #a67c52;
}

footer {
  padding: 30px;
  font-size: 14px;
  color: #777;
}

.container {
  display: flex;
  gap: 20px;
  font-family: serif;
}

.container section {
  flex: 1;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}

/* Caption text */
.text {
  color: #709c70;
  font-size: 15px;
  padding: 8px 12px;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/*DATE & NAMES*/
.title-h3 {
    padding-top: 40px;
}

.date-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.day p {
  border-bottom: none;
  font-size: 40px;
  font-weight: bold;
}

.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px; /* controla la distancia */
}

.date-block p {
  margin: 0;
}

.date-block::before,
.date-block::after {
    content: "";
    width: 40px;   /* largo de la línea */
    height: 1px;
    background: #cfcfcf;
}

/* el número NO lleva líneas */
.day::before,
.day::after {
    display: none;
}

/*CEREMONY BLOCK*/
/*CEREMONY*/
.ceremony {
    text-align: center;
    margin-top: 60px;
    font-family: 'Georgia', serif;
}

/* TITULO */
.ceremony h2 {
    font-size: 20px;
    letter-spacing: 3px;
    color: #bfa37a;
    margin-bottom: 10px;
}

/* LINEA VERTICAL */
.divider {
    width: 1px;
    height: 20px;
    background: #bfa37a;
    margin: 0 auto 15px;
    opacity: 0.6;
}

/* NOMBRE LUGAR */
.ceremony h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* DIRECCIÓN */
.address {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.map-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #bfa37a;
}

.pin {
    width: 30px;
    fill: #bfa37a;
    margin-bottom: 6px;
}

.map-link span {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.8;
}

/*TIMING BLOCK*/
/* CENTER LINE */
.timeline {
  position: relative;
  margin-top: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 100%;
  background: #d6d3ce;
  transform: translateX(-50%);
}

/* EVENT */
.event {
  width: 100%;
  position: relative;
  margin: 15px 0;
  display: flex;
}

/* LEFT SIDE */
.event.left {
  justify-content: flex-start;
  text-align: right;
}

.event.left .content {
  width: 45%;
  text-align: right;
}

.event.left .content .time {
  padding-right: 20px;
}

.event.left .content .title {
  padding-right: 20px;
}

.event.left .content .icon {
  padding-right: 10px;
}

/* RIGHT SIDE */
.event.right {
  justify-content: flex-end;
  text-align: left;
}

.event.right .content {
  width: 45%;
}

.event.right .content .time{
  width: 45%;
  padding-left: 25px;
}

.event.right .content .title{
  width: 45%;
  padding-left: 25px;
}

.event.right .content .icon {
  padding-left: 5px;
}

/* DOT */
.event::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #b76e79;
  border-radius: 50%;
  transform: translate(-50%, 0);
}

/* TEXT */
.time {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
}

.title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin-top: 5px;
}

.sentence {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: #999;
}

.icon {
  width: 100px;
}

/*PREBODA BLOCK*/
.preboda {
    display: flex;
    background-color: rgba(116, 174, 116, 0.16);
}

.block {
  width: 50%; /* each takes half the space */
  padding: 20px;
}

.table {
  border: 1px solid #ccc;
}
ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

li {
  position: relative;
  padding-left: 1.2em;
  text-align: left;
}

/*li::before {*/
/*  content: "·";*/
/*  position: absolute;*/
/*  left: 0;*/
/*}*/

/*GUIA*/
.guia-h4{
    letter-spacing: 2px;
}

.guia-li {
    content: "";
}

.guia-h2 {
    padding-top: 20px;
}

/*FORM*/
label {
  display: block;
  margin-top: 15px;
  /*font-weight: bold;*/
}

#form-button {
    margin-top: 20px;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
  justify-content: center
}

.checkbox-group input {
  width: auto;
}

input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  accent-color: #74ae74;
}

form {
    padding-top: 10px;
    background-color: rgba(116, 174, 116, 0.16);
    padding-bottom: 10px;
    border-radius: 50px;
}

.sticker{
    width: 50%;
    border-radius: 10px;
}

#score_img {
    width: 15%;
    transition: transform 0.2s;
}

#score {
    transition: transform 0.2s;
    font-size: 20px;
}

/*COUNTDOWN*/
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.bubble {
  width: 80px;
  height: 80px;
  background: #74ae74;
  color: white;
  border-radius: 50%; /* makes it a circle */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.bubble:hover {
  transform: scale(1.1);
}

.bubble span {
  font-size: 20px;
}

.bubble p {
  font-size: 10px;
  margin: 0;
}

/*POPUP*/
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  width: min(900px, 90vw);
  max-height: 85vh;
  overflow-y: auto;

  margin: auto;
  padding: 20px;
  border-radius: 10px;

  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}