@font-face {
    font-family: "Cinzel";
    src: url('../fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Cormorant";
    src: url('../fonts/Cormorant-VariableFont_wght.ttf') format('truetype');
}

html, body{
    margin: 0;
    padding: 0;
}

#title{
    height: 100px;
    width: 100%;
    background-color: #1C1E59;
    align-items: center;
    justify-content: center;
    display: flex;
}

#title p{
    font-family: "Cinzel";
    color: white;
    font-size: 5vh;
}

#brasaoimg{
    display: flex;
    align-items: center ;
    justify-content: center;
}

#texto{
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    max-width: 330px;
    margin: 0 auto;
}

#texto p{
    font-family: "Cinzel";
    text-align: center;
    color:#1C1E59;
}

#header {
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100px;
}

#header img{
    display: flex;
    width: 120px;
    margin-top: 5px;
    margin: auto;
    justify-content: center;

}


#rodape{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1C1E59;
    height: 200px;
    width: 100%;
}

#rodape p{
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 20px;
    color: white;
    text-align: center;
    font-family: "Cormorant";
    font-size: 2vh;
}

#contato a{
    text-decoration: none;
    color: white;
    font-weight: bold;
}
/* Botão hamburguer */
#hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1002;
    color: #1C1E59;
    transition: color 0.3s ease;
}

.photo-stack {
    position: relative;
    width: 300px;   /* tamanho da "pilha" */
    height: 200px;
    margin: 50px auto;
}

/* estilo das fotos */
.photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* borda branca para parecer foto física */
    border: 8px solid white;
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);

    /* animação de fade + movimento */
    opacity: 0;
    transform: rotate(-3deg) scale(0.95);
    animation: fadeMove 8s infinite;
}

/* segunda foto começa depois */
.photo:nth-child(2) {
    animation-delay: 4s;
}

/* animação */
@keyframes fadeMove {
    0% {
        opacity: 0;
        transform: rotate(-3deg) scale(0.95) translateY(20px);
    }
    10% {
        opacity: 1;
        transform: rotate(0deg) scale(1) translateY(0);
    }
    40% {
        opacity: 1;
        transform: rotate(2deg) scale(1.02) translateY(-10px);
    }
    50% {
        opacity: 0;
        transform: rotate(3deg) scale(0.95) translateY(20px);
    }
    100% {
        opacity: 0;
    }
}

/* Hambúrguer branco quando o menu está ativo */
#hamburger.active {
    color: #ffffff;
}

/* Menu lateral cobrindo toda a tela */
#menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 30, 89, 0.95);
    transition: left 0.4s ease;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* bloqueia cliques quando fechado */
}

/* Menu ativo: aparece e aceita cliques */
#menu.active {
    left: 0;
    pointer-events: auto;
}

/* Estrutura da lista do menu */
#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Itens da lista */
#menu ul li {
    margin: 20px 0;
}

/* Links do menu – cobrimos todos os estados */
#menu ul li a:link,
#menu ul li a:visited {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-family: "Cinzel";
    font-size: 5vh;
    color: #ffffff;
    transition: color 0.3s ease, opacity 0.3s ease;
}

#menu ul li a:hover,
#menu ul li a:focus {
    color: #B1B3F0;
    opacity: 0.9;
}

#menu ul li a:active {
    color: #B1B3F0;
}

/* ========== RESPONSIVIDADE ========== */

/* --- Tablets (até 1024px) --- */
@media (max-width: 1024px) {
    #photos {
        height: 400px;
    }

    #countdown {
        font-size: 6vh;
    }

    #raissaeigor {
        font-size: 9vh;
    }

    #blueBlock {
        height: 300px;
    }

    #firstText {
        font-size: 6vh;
        padding-top: 30px;
    }

    #firstParagraph {
        font-size: 4.5vh;
        padding-top: 30px;
    }

    #weddingRing img {
        height: 70px;
    }

    #mapa {
        flex-direction: column;
        margin-top: 40px;
    }

    #mapa img {
        margin-left: 0;
        height: 200px;
    }

    #endereco {
        text-align: center;
        margin-left: 0;
        font-size: 4.5vh;
        margin-top: 15px;
    }

    #rodape p {
        margin-top: 20px;
        font-size: 2.8vh;
    }
}

/* --- Celulares (até 768px) --- */
@media (max-width: 768px) {
    #header {
        height: 80px;
    }

    #header img {
        width: 100px;
    }

    #photos {
        height: 350px;
    }

    #countdown {
        font-size: 5vh;
    }

    #raissaeigor {
        font-size: 7vh;
    }

    #blueBlock {
        height: auto;
        padding-bottom: 40px;
    }

    #firstText {
        font-size: 5vh;
        padding-top: 30px;
    }

    #firstParagraph {
        font-size: 4vh;
        padding: 30px 10px 0 10px;
    }

    #weddingRing img {
        height: 60px;
    }

    #mapa {
        flex-direction: column;
        margin-top: 40px;
    }

    #mapa img {
        height: 180px;
        margin-left: 0;
    }

    #endereco {
        text-align: center;
        margin-left: 0;
        font-size: 4vh;
        margin-top: 15px;
    }

    #rodape {
        flex-direction: column;
        height: auto;
        margin-top: 30px;
    }

    #rodape p {
        font-size: 2.3vh;
    }
}

/* --- Smartphones pequenos (até 480px) --- */
@media (max-width: 480px) {
    #photos {
        height: 280px;
    }

    #countdown {
        font-size: 4vh;
    }

    #raissaeigor {
        font-size: 5.5vh;
    }

    #firstText {
        font-size: 4.2vh;
        padding-top: 25px;
    }

    #firstParagraph {
        font-size: 3.5vh;
        padding: 25px 15px 0 15px;
    }

    #weddingRing img {
        height: 50px;
    }

    #mapa img {
        height: 160px;
    }

    #endereco {
        font-size: 3.5vh;
        text-align: center;
        margin: 10px 0 0 0;
    }

    #rodape {
        height: auto;
        margin-top: 30px;
    }

    #rodape p {
        font-size: 2vh;
    }
}
