/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Dancing+Script:wght@700&display=swap');

/* Estilos Gerais */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-color: #292f36;
    --light-color: #f7fff7;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    background-image: linear-gradient(315deg, #f5f5f5 0%, #f0f0f0 74%);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    font-family: 'Dancing Script', cursive;
    color: var(--primary-color);
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem;
}

section {
    margin: 3rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Header & Balões */
header {
    text-align: center;
    position: relative;
    padding: 2rem 0;
}

.balloon-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.balloon {
    width: 60px;
    height: 75px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 10px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.balloon:nth-child(2) {
    background-color: var(--secondary-color);
    animation-delay: 0.5s;
}

.balloon:nth-child(3) {
    background-color: var(--accent-color);
    animation-delay: 1s;
}

.balloon:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Informações */
.info {
    text-align: center;
    background-color: rgba(255, 107, 107, 0.1);
}

.highlight {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: var(--dark-color);
}

.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.detail-text {
    font-weight: 600;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Confirmação e Lista de Convidados */
.confirmation {
    background-color: rgba(78, 205, 196, 0.1);
}

.invitee-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.invitee-list li {
    padding: 0.5rem;
    transition: transform 0.2s;
}

.invitee-list li:hover {
    transform: translateX(5px);
}

/* Estilo Checkbox personalizado */
label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding-left: 35px;
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 5px;
    transition: background-color 0.3s;
}

label:hover input ~ .checkmark {
    background-color: #ccc;
}

label input:checked ~ .checkmark {
    background-color: var(--secondary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

label input:checked ~ .checkmark:after {
    display: block;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    padding-left: 0;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(78, 205, 196, 0.5);
}

.confirm-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 2rem auto 0;
}

.confirm-btn:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.confirm-btn:active {
    transform: translateY(-1px);
}

/* Rodapé */
footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.contact span {
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .invitee-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .invitee-list {
        grid-template-columns: 1fr;
    }
    
    .details {
        flex-direction: column;
        gap: 1rem;
    }
}
