:root {
    --bg-color: #ffffff;
    --bg-alt: #f4f4f4;
    --text-main: #222;
    --text-light: #555;
    --accent-red: #b30000;
    --font-title: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Animações --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.show {
    opacity: 1;
    transform: translateY(0);
}
.animate-up {
    animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hero --- */
.hero {
    height: 100vh;
    background: url('img/f1.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
}

@media (max-width: 768px) {
    .hero {
        height: 85vh;
        background-attachment: scroll;
    }
}

.overlay-light {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 90%;
    width: 450px;
    border: 1px solid #fff;
}

.main-title {
    font-family: var(--font-title);
    font-size: 4rem;
    color: #000;
    line-height: 1;
    margin: 5px 0;
}

.sub-title {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
}

.divider {
    height: 2px;
    width: 50px;
    background: var(--accent-red);
    margin: 15px auto;
}

.date-hero { font-weight: 500; font-size: 1.2rem; }

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- Seções Gerais --- */
section { padding: 60px 20px; }
.container { max-width: 900px; margin: 0 auto; }
.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

/* --- Texto Convite --- */
.invite-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* --- Countdown --- */
.countdown-section { background: var(--bg-alt); padding: 30px 0; }
.timer { display: flex; justify-content: center; gap: 20px; }
.timer div { text-align: center; font-size: 0.8rem; text-transform: uppercase; }
.timer span { display: block; font-size: 2rem; font-weight: 700; color: var(--accent-red); line-height: 1; }

/* --- Info Compacta + Mapa --- */
.info-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.info-item i { font-size: 1.8rem; color: var(--accent-red); }
.info-item div { display: flex; flex-direction: column; }
.info-item strong { font-size: 1.1rem; color: #000; }
.info-item span { font-size: 0.9rem; color: #666; }

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-map-link {
    display: block;
    text-align: center;
    background: #eee;
    padding: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Galeria Horizontal (Scroll Lateral) --- */
.gallery-section { padding-bottom: 40px; }
.gallery-scroller {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroller::-webkit-scrollbar { display: none; }
.gallery-scroller { -ms-overflow-style: none; scrollbar-width: none; }

.gallery-card {
    min-width: 280px;
    height: 400px;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swipe-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 10px;
}

/* --- Presentes --- */
.gifts-section { background: var(--bg-alt); }
.gift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
@media (min-width: 768px) {
    .gift-grid { grid-template-columns: repeat(4, 1fr); }
}

.gift-box {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    border-bottom: 3px solid var(--accent-red);
}
.gift-box i { font-size: 1.5rem; color: #333; margin-bottom: 10px; }
.gift-box p { font-size: 0.9rem; color: #555; }

/* --- Footer RSVP --- */
.rsvp-footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.rsvp-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.rsvp-deadline {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 10px; /* Reduzido para aproximar o aviso */
}

/* Novo Estilo para o Aviso */
.rsvp-alert {
    color: #ffcccc; /* Tom levemente avermelhado para destaque suave */
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.btn-confirm {
    display: inline-block;
    background-color: var(--accent-red);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(179, 0, 0, 0.4);
    transition: transform 0.2s;
}

.btn-confirm:active { transform: scale(0.95); }

.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(179, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(179, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(179, 0, 0, 0); }
}

.copyright { margin-top: 50px; font-size: 0.8rem; color: #444; }