/* FONT & BASE */
body {
  /*font-family: "Playfair Display", serif;*/
  font-family: "Cormorant Garamond", serif;
  background: #ffffff;
  color: #222;
  text-align: center;
  padding-top: 50px;
}

/***************************************************/
/*                     HEADER                      */
/***************************************************/

.header-bar {
  width: 100%;
  background: #f2f2f2;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  width: 60px;
  height: auto;
  border-radius: 6px;
}

.header-title {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #333;
}

/* BOTTONI HEADER */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 4rem;
}

.header-btn {
  background: none;
  border: none;
  color: #333;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
}

.header-btn:hover {
  color: #666;
}

/* SEPARATORE • */
.dot-separator {
  font-size: 1.4rem;
  color: #999;
}

/* MOBILE HEADER */
@media (max-width: 700px) {
  .header-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .header-right {
    gap: 1rem;
    padding-right: 0;
  }
}

/***************************************************/
/*                     HOME                        */
/***************************************************/

.main-section {
  background: #ffffff;
  padding: 3rem 1rem;
}

.names {
  font-size: 3rem;
  margin: 1.5rem 0;
  font-weight: 300;
}

.line {
  width: 60%;
  max-width: 400px;
  margin: 0 auto;
  border: none;
  border-top: 2px solid #000;
}

.names-block {
  text-align: center;
  margin: 3rem 0;
  line-height: 1.1;
}

.name {
  font-size: 3.5rem;
  font-weight: 400;
  margin: 0.7rem 0;
  letter-spacing: 1px;
}

.and {
  font-size: 2rem;
  font-weight: 300;
  margin: 0.4rem 0;
  color: #444;
  letter-spacing: 2px;
  font-style: italic;
}

/***************************************************/
/*                  HERO BANNER                    */
/***************************************************/

.hero-banner {
  width: 100%;
  height: 300px;
  background-image: url("Foto_Bacino.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-banner-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  font-style: italic;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  letter-spacing: 2px;
}

/***************************************************/
/*                     INVITO                      */
/***************************************************/

.invito-block {
  margin: 5rem auto 3rem auto;
  max-width: 600px;
  text-align: center;
  line-height: 1.4;
}

.invito-testo {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.invito-luogo {
  font-size: 2rem;
  font-weight: 500;
  margin: 1.5rem 0 0.5rem 0;
  letter-spacing: 1px;
}

.invito-indirizzo {
  font-size: 1rem;
  color: #555;
  margin-top: 0.3rem;
}

/***************************************************/
/*                   LOCATION GRID                 */
/***************************************************/

.location-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  margin: 3rem auto;
  max-width: 900px;
}

.location-box {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.location-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333;
  letter-spacing: 1px;
}

.location-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  color: #444;
  margin-bottom: 1.2rem;
}

.location-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}



/***************************************************/
/*              LISTA DI NOZZE – COLLAGE           */
/***************************************************/

.collage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 1.5rem auto;
  max-width: 900px;
}

.collage-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

/* MOBILE */
@media (max-width: 700px) {
  .collage-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .collage-img {
    height: 90px;
  }
}

/***************************************************/
/*                LISTA DI NOZZE – TESTO           */
/***************************************************/

.registry-section {
  background: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.registry-block {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testo introduttivo (più grande e in evidenza) */
.registry-intro {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.6;
  color: #222;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 2.5rem;
}

/* Testo principale (più grande e leggibile) */
.registry-main {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
}

/***************************************************/
/*                BOX IBAN RIPRISTINATA            */
/***************************************************/

.iban-box {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 1.5rem;
  margin: 1rem auto 2rem auto;
  max-width: 450px;
  border-radius: 6px;
}

.iban-label {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.iban-value {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #333;
}

.copy-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.copy-btn:hover {
  background: #555;
}

.copy-feedback {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #4CAF50;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/***************************************************/
/*                TIMELINE MINIMAL CHIC            */
/***************************************************/

/***************************************************/
/*           TIMELINE MINIMAL CHIC + EMOJI         */
/***************************************************/

.timeline-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  text-align: center;
}

.timeline-title {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 3rem;
  font-style: italic;
  color: #333;
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin: 2.5rem 0;
  gap: 1.5rem;
}

.timeline-item.left {
  flex-direction: row;
}

.timeline-item.right {
  flex-direction: row-reverse;
}

.timeline-icon {
  font-size: 2.5rem;
  background: #fff;
  border: 2px solid #ddd;
  padding: 0.8rem;
  border-radius: 50%;
  min-width: 60px;
  text-align: center;
}

.timeline-text {
  text-align: left;
  max-width: 350px;
}

.timeline-text h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
}

.timeline-text p {
  margin: 0.4rem 0 0;
  font-size: 1.1rem;
  color: #555;
}

/* MOBILE */
@media (max-width: 700px) {
  .timeline-item {
    flex-direction: column !important;
    text-align: center;
  }

  .timeline-text {
    text-align: center;
  }
}



/***************************************************/
/*                     FOOTER                      */
/***************************************************/

.footer {
  background: #f2f2f2;
  padding: 2rem 0;
  font-size: 1.1rem;
  color: #555;
}

/***************************************************/
/*                     RSVP PAGE                   */
/***************************************************/

.rsvp-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

.rsvp-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 1px;
}

form label {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

input, select, textarea {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
}


.submit-btn {
  margin-top: 2rem;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  background: none;
  border: 1px solid #555;
  border-radius: 30px; /* forma più elegante */
  cursor: pointer;
  letter-spacing: 1.5px;
  font-weight: 300;
  color: #333;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #f7f7f7;
  border-color: #888;
}
