/* =====================================================
   RSVP PAGE
   ===================================================== */

.rsvp-hero {
    position: relative;
    height: 68vh;
    min-height: 650px;

    background-image: url("../assets/photos/rsvp-hero.PNG");
    background-size: cover;
    background-position: center -10%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.rsvp-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(4,11,24,.35),
            rgba(4,11,24,.60)
        );
}

.rsvp-hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.rsvp-crest {
    width: 170px;
    margin-bottom: 18px;
}

.rsvp-title {

    color: #f4ead2;

    font-family: "Cormorant Garamond", serif;

    font-size: 4rem;

    font-weight: 500;

    letter-spacing: .20em;

    text-transform: uppercase;

    margin: 0;
}

.rsvp-content {
    background: #04101f;
    margin-top: -14px;
    padding: 0 24px 96px;
    color: #f4ead2;
    position: relative;
    z-index: 5;
}

.rsvp-divider {
    position: relative;
    top: -26px;   /* adjust this value */

    width: calc(100% - 28px);
    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    z-index: 10;
}

.rsvp-divider span {
    flex: 1;
    height: 1px;
    background: #d4af37;
}

.rsvp-divider img {
    width: 34px;
    height: auto;
    display: block;
}

.rsvp-divider span {
    width: 180px;
    height: 1px;
    background: #d4af37;
}

.rsvp-divider img {
    width: 34px;
    height: auto;
}

.rsvp-intro {
    text-align: center;
    max-width: 760px;
    margin: -30px auto 42px;
}

.rsvp-intro h1 {
    color: #f4ead2;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    margin-bottom: 10px;
}

.rsvp-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.rsvp-intro strong {
    color: #d4af37;
    font-weight: 700;
}

.rsvp-form {
    max-width: 820px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-field {
    margin-bottom: 28px;
}

.form-field label {
    display: block;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(212,175,55,.75);
    color: #f4ead2;
    font-size: 1rem;
    padding: 15px 16px;
    outline: none;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #d4af37;
    background: rgba(255,255,255,.06);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
    padding-right: 2px;
}

.form-actions button {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 15px 50px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

.form-actions button:hover {
    background: #d4af37;
    color: #04101f;
}

@media (max-width: 700px) {
  .form-field label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
  }
}

/* =====================================================
   RSVP CONFIRMATION
   ===================================================== */

.rsvp-confirmation {
    max-width: 760px;
    margin: 10px auto 0;
    padding: 60px 40px;

    border: 1px solid rgba(212,175,55,.65);
    text-align: center;
    background: rgba(255,255,255,.025);
}

.rsvp-confirmation[hidden] {
    display: none;
}

.rsvp-confirmation img {
    width: 52px;
    height: auto;
    margin-bottom: 24px;
}

.rsvp-confirmation h2 {
    margin: 0 0 22px;

    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: .08em;
}

.rsvp-confirmation p {
    max-width: 600px;
    margin: 0 auto 18px;

    color: #f4ead2;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rsvp-confirmation .rsvp-confirmation-closing {
    margin-top: 28px;
    color: #d4af37;
    font-style: italic;
}

.rsvp-confirmation .rsvp-confirmation-signature {
    margin-bottom: 0;
    color: rgba(212,175,55,.78);
    font-size: .9rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

@media (max-width: 700px) {
    .rsvp-confirmation {
        padding: 42px 22px;
    }

    .rsvp-confirmation h2 {
        font-size: 1.45rem;
    }

    .rsvp-confirmation p {
        font-size: 1rem;
    }
}

#rsvpStatus {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f8e8e8;
  color: #7b2020;
  line-height: 1.5;
  text-align: center;
}