/* Variáveis de Cores e Fontes */
html {
    scroll-behavior: smooth;
}

:root {
    --gold: #C5A059;
    --dark-bg: #111111;
    --light-bg: #F9F9F9;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --font-title: 'Playfair Display', serif;
    --font-text: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-text);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* Tipografia Base */
h1, h2, h3, .title-gold {
    font-family: var(--font-title);
    font-weight: 400;
}

.text-gold {
    color: var(--gold);
    font-style: italic;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent; /* No JS você pode adicionar um fundo ao rolar */
    z-index: 100;
    color: var(--text-light);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
}
.logo span { color: var(--gold); font-style: italic; }

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('./imagens/home.jpg'); /* Imagem provisória do carro */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.title-gold {
    font-size: 6rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero h2 { font-size: 2rem; letter-spacing: 2px;}
.hero p { font-size: 1.2rem; margin-bottom: 40px;}

.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.countdown div {
    display: flex;
    flex-direction: column;
}

.countdown span {
    font-size: 2.5rem;
    font-family: var(--font-title);
}

.countdown small {
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

/* Nossa História */
.historia {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.historia-container {
    display: flex;
    max-width: 1000px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.historia-img {
    flex: 1;
}

.historia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.historia-texto {
    flex: 1;
    padding: 50px;
}

.historia-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.historia-texto p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.assinatura {
    font-family: var(--font-title);
    font-style: italic;
    color: var(--gold) !important;
    margin-top: 30px;
}

/* O Evento (Dark) */
.evento {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 100px 5%;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-dark {
    background: #1A1A1A;
    border: 1px solid #333;
    padding: 30px 20px;
    border-radius: 10px;
}

.card-dark h3 {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 15px;
    font-family: var(--font-text);
}

.card-dark strong { display: block; margin-bottom: 5px;}
.card-dark p { font-size: 0.8rem; color: #888;}

/* Presentes */
.presentes {
    padding: 100px 5%;
    text-align: center;
}

.presentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-presente {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card-presente h3 { margin-bottom: 10px;}
.card-presente p { font-size: 0.85rem; color: #666; margin-bottom: 20px;}
.card-presente .valor { font-weight: 600; color: #b34a24; margin-bottom: 20px;}

.btn-solid {
    background: var(--dark-bg);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-solid:hover { background: #333;}

/* RSVP */
.rsvp {
    background-image: url('./imagens/rsvp.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.rsvp-container {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
}

.rsvp-form-box h2 { font-size: 2rem; margin-bottom: 10px;}
.rsvp-form-box p { font-size: 0.85rem; color: #666; margin-bottom: 30px;}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 5px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-text);
}

.btn-full { width: 100%; background: #964a1a;} /* Cor simulando o botão da imagem */
.btn-full:hover { background: #7a3c15;}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
    padding: 60px 5%;
}

footer h2 { font-size: 2rem; margin-bottom: 20px;}
.versiculo { max-width: 600px; margin: 0 auto 30px; font-size: 0.9rem; color: #aaa; font-style: italic;}

.footer-links { margin-bottom: 40px;}
.footer-links a { color: var(--gold); text-decoration: none; margin: 0 15px; font-size: 0.8rem; font-weight: 600;}

.copyright { font-size: 0.7rem; color: #555; border-top: 1px solid #333; padding-top: 20px;}

/* Responsividade Mágica (Mobile) */
@media (max-width: 768px) {
    header { padding: 20px; flex-direction: column; gap: 15px; background: rgba(0,0,0,0.8); }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center;}
    .title-gold { font-size: 4rem; }
    .countdown { gap: 20px; }
    .historia-container { flex-direction: column; }
    .historia-texto { padding: 30px; }
}
/* --- Seção do Mapa --- */
.mapa-container {
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    overflow: hidden;
    /* A posição relativa permite que o botão flutue sobre a imagem */
    position: relative; 
}

.mapa-imagem-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mapa-img {
    width: 100%;
    height: auto; /* Mantém a proporção de 1280x577 mesmo no celular */
    display: block;
    opacity: 0.6; /* Deixa a imagem mais suave para combinar com o fundo escuro */
    transition: opacity 0.3s;
    object-fit: cover;
}

.mapa-container:hover .mapa-img {
    opacity: 0.8;
}

/* O botão flutuante */
.btn-mapa {
    position: absolute;
    background: var(--text-light);
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-mapa:hover {
    transform: scale(1.05);
    background: #eeeeee;
}

/* --- Ajustes para Páginas Internas --- */
.header-interno {
    background: var(--dark-bg) !important;
}

.conteudo-interno {
    padding-top: 150px; /* Empurra o conteúdo para baixo do header fixo */
    min-height: calc(100vh - 200px); /* Garante que o footer fique no fim da página */
}