/* ==================================== */
/* === ESTILOS GERAIS === */
/* ==================================== */
body {
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #444;
    background-color: #d0e7ff; 
    text-align: center;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-spacing {
    padding: 150px 0;
}

.bg-light {
    background-color: #F0EAE1;
    background-image: url('fundo.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    padding-bottom: 50px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #555;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #ccc;
    margin: 10px auto 0;
}

/* ==================================== */
/* === ESTILO DO CARTÃO PRINCIPAL === */
/* ==================================== */
.main-content-card {
    background-color: #ffffff;
    border: 1px solid #e0e0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    position: relative;
    z-index: 10;
    background-image: url('fundo.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    padding-bottom: 50px;
    min-height: auto;
    overflow: hidden; /* Adicionado para garantir que o mapa não saia do card */
}

/* Garante que o cartão da seção "Home" seja branco e adicione a imagem inferior */
.hero-section.main-content-card {
    background-color: #ffffff;
    background-image: url('fundo.png');
    background-repeat: repeat-x;
    background-position: bottom center;
}

/* Ajusta o tamanho do card de Lista de Presentes para ser maior */
#lista {
    max-width: 950px;
    padding: 60px;
}

/* Estilos para a caixa de presente e link */
.gift-box-img {
    width: 80px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ==================================== */
/* === NOVO ESTILO UNIFORME PARA TODOS OS BOTÕES === */
/* ==================================== */
.main-button {
    display: block; 
    width: 250px;
    margin: 0 auto; 
    padding: 12px 30px;
    background-color: #a9c8e8;
    color: #000; /* Alteração aqui: cor do texto do botão para preto */
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.main-button:hover {
    background-color: #90aac5;
}

/* ==================================== */
/* === ESTILOS PARA AS FOLHAS DENTRO DA SEÇÃO TRAJE === */
/* ==================================== */
.dresscode-section {
    position: relative;
    text-align: center;
}

@media (max-width: 768px) {
    .decorative-leaf {
        display: none;
    }
}


/* ==================================== */
/* === CABEÇALHO E NAVEGAÇÃO === */
/* ==================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Ajuste aqui para centralizar a logo */
.main-header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Estilo para a imagem da logo */
.logo-image {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.main-nav {
    display: flex;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #888;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #555;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ==================================== */
/* === SEÇÃO PRINCIPAL (HOME) === */
/* ==================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #d0e7ff;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #444;
}

.couple-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    margin: 0;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-date {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 10px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-text {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 20px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ==================================== */
/* === SEÇÕES INTERNAS === */
/* ==================================== */
.couple-details {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.person-card {
    text-align: center;
}

.person-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d0e7ff;
}

.our-story {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.our-story p {
    color: #2c2c2c;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.event-card {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    width: 100%;
    max-width: 100%;
    height: 450px;
    margin: 20px auto 0;
    box-sizing: border-box; /* Garante que o padding e a borda sejam incluídos na largura total */
}

/* Estilos para a nova seção de Traje */
.dresscode-section {
    position: relative;
    text-align: center;
}

.dresscode-details {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.dresscode-details p {
    margin: 5px 0 15px 0;
    font-weight: 400;
}

.dresscode-img {
    display: inline-block;
    width: 45%;
    max-width: 250px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    vertical-align: top;
    transition: transform 0.3s ease;
}

.dresscode-img:hover {
    transform: translateY(-5px);
}

.dresscode-img img {
    width: 100%;
    display: block;
}

/* Estilos para a seção de Dicas */
#dicas .info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

#dicas .info-card:hover {
    transform: translateY(-5px);
}

#dicas .info-card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    color: #d0e7ff;
}

#dicas .info-card p {
    color: #707070;
}

#dicas .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Estilo para o container dos botões de Dicas */
.tips-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #444;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #d0e7ff;
}

/* Estilos do formulário RSVP */
.form-style {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
    gap: 15px;
}

.form-style label {
    font-weight: bold;
    color: #555;
    margin-top: 10px;
}

.form-style input,
.form-style textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
}

.main-footer {
    text-align: center;
    padding: 30px 0;
    background-color: #F0EAE1;
    color: #707070;
    font-size: 0.9rem;
}

/* ==================================== */
/* === RESPONSIVIDADE === */
/* ==================================== */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
    }

    .hamburger-menu {
        display: block;
    }

    .couple-name {
        font-size: 3.5rem;
    }

    .text-and-image-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-and-image-block.reverse-layout {
        flex-direction: column;
    }
}

/* Estilo para a tabela de roteiro de viagem */
.itinerary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Lato', sans-serif;
    text-align: left;
}

.itinerary-table th, .itinerary-table td {
    border: 1px solid #ccc;
    padding: 12px;
    vertical-align: top;
}

.itinerary-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}
        
.travel-info p {
    margin-bottom: 20px;
}

/* Estilo para a seta de voltar */
.back-link {
    display: inline-block;
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #888;
}