/* ==================================== */
/* === 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;
}

/* 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;
}

/* ==================================== */
/* === ESTILO UNIFICADO PARA OS BOTÕES === */
/* ==================================== */
.main-button, .lang-button {
    display: inline-block; 
    padding: 12px 25px;
    background-color: #a9c8e8;
    color: #333; 
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.main-button:hover, .lang-button:hover {
    background-color: #90aac5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ==================================== */
/* === 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;
}

/* 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);
}

/* Estilos para o Seletor de Idiomas */
.language-switcher {
    display: flex;
    gap: 15px; 
    justify-content: center;
    margin-top: 20px;
}

.language-switcher a.active {
    background-color: #a9c8e8;
    color: white;
}

/* ==================================== */
/* === 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);
}

/* ==================================== */
/* === RESPONSIVIDADE === */
/* ==================================== */
@media (max-width: 768px) {
    /* Ajusta a navegação para mobile */
    .main-nav {
        display: none; /* A navegação desktop é oculta */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateX(0); /* A navegação mobile aparece */
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hamburger-menu {
        display: flex; /* O ícone do hambúrguer aparece */
    }

    .main-header {
        padding: 15px 20px;
    }

    /* Ajusta o espaçamento das seções */
    .section-spacing {
        padding: 80px 0;
    }

    /* Reduz o tamanho da fonte dos títulos */
    .section-title {
        font-size: 2rem;
    }

    /* Ajusta o layout dos botões de idioma */
    .language-switcher {
        flex-direction: column;
        gap: 10px;
    }

    .lang-button {
        padding: 10px 20px;
    }
}