* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-militar: #5a5a3c;
    --bordo: rgb(107, 15, 26);
    --mostarda: #f5a623;
    --telha: #e86c3f;
    --terracota: rgb(199, 90, 60);
    --marrom-escuro: rgb(61, 29, 22);
    --laranja-queimado: #d97d2c;
    --dourado: #c9a547;
    --verde-escuro: #1f4620;
    --verde-escuro-2: #00361a;
    --bege: #d4b896;
    --bege-claro: #f5f0e3;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--bege-claro);
    background-image: linear-gradient(rgba(245, 240, 227, 0.6), rgba(245, 240, 227, 0.6)), url('../assets/floral.png');
    background-repeat: repeat;
}

section {
    padding: 3rem 1.5rem 1.5rem;
    margin: 0 auto;
}

h1,
h2 {
    color: var(--bordo);
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Cormorant SC', serif;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid var(--mostarda);
    padding: 0.5rem 0;
    display: inline-block;
    width: 100%;
    background-color: rgba(245, 240, 227, 0.6);
    border-radius: 10px;
}

ul {
    list-style-position: inside;
}

.content-placeholder {
    background: rgba(249, 247, 241, 0.7);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    border-left: 5px solid var(--telha);
    text-align: center;
}

.image-placeholder {
    width: fit-content;
    max-width: 100%;
    max-height: 350px;
    border-radius: 10px;
    color: var(--verde-militar);
    font-style: italic;
    margin: 0 auto;
    text-align: center;
}

.image-placeholder img {
    height: inherit;
    max-width: 100%;
}

.text-placeholder {
    color: #666;
    line-height: 1.8;
    margin: 1rem 0;
}

footer {
    background: linear-gradient(135deg, var(--marrom-escuro), var(--bordo));
    color: var(--bege-claro);
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center{
    justify-content: center;
}

#loc-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.map-embed {
    margin-top: 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.map-embed iframe {
    display: block;
    min-height: 260px;
    width: 100%;
    border: 0;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 0.95rem 1.4rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.button-primary {
    background-color: var(--bordo);
    color: #fff;
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-1px);
}

.button-secondary {
    background-color: var(--bege);
    color: var(--bordo);
}

.form-row {
    margin: 0 auto 1rem;
    max-width: 420px;
    text-align: left;
}

.form-row label {
    display: block;
    color: var(--bordo);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.form-row input {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.rsvp-result {
    margin-top: 1.5rem;
    text-align: center;
}

.rsvp-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.rsvp-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rsvp-form-wrapper .text-placeholder,
.rsvp-form-wrapper .rsvp-buttons {
    text-align: center;
}

.rsvp-form-wrapper .form-row {
    width: 100%;
    max-width: 520px;
}

.guest-card {
    background: #f9f2ea;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem;
    text-align: left;
}

.guest-card .form-row {
    margin-bottom: 1rem;
}

.remove-guest-button {
    background-color: rgba(183, 46, 18, 0.1);
    color: #b71c1c;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-content p {
    color: var(--bordo);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

.mb10 {
    margin-bottom: 10px;
}