/* Importação da Fonte */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #D3648F;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho */
header {
    background-color: #F8E9EE;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #D3648F;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 50%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 30px;
    position: relative;
}

nav a {
    text-decoration: none;
    color: #D3648F;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #c04079;
}

/* Dropdown */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #F8E9EE;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.dropdown-menu li {
    margin: 0;
    padding: 5px 0;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 5px 10px;
}

/* Menu Hamburguer */
#menu-toggle {
    display: none;
}

label[for="menu-toggle"] {
    cursor: pointer;
    font-size: 24px;
    color: #D3648F;
    display: none;
}

/* Hero (Carrossel) */
.hero {
    position: relative;
    margin-bottom: 0;
}



.carousel {
    width: 100%;
    position: relative;
    /* Mantém o posicionamento relativo */
}

.carousel-inner {
    width: 100%;
    height: auto;
    /* Ajusta a altura ao conteúdo */
    overflow: hidden;
    position: relative;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}



/* Botões do Carrossel */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #D3648F;
    padding: 10px 15px;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;


}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background-color: rgba(211, 100, 159, 0.8);
}

/* Seção Sobre */
.sobre {
    padding: 40px 0;
    text-align: center;
    background-color: #F8E9EE;
}

.sobre h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
    color: #D3648F;
}

/* Seção Mapa */
.mapa {
    background-color: #F8E9EE;
    padding: 40px 0;
    border: #D3648F solid 2px;
    border-radius: 5px;
}

.mapa-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
}

.contato {
    margin-left: 30px;
}

.contato h3 {
    color: #D3648F;
    margin-bottom: 15px;
}

.contato ul {
    list-style: none;
    padding: 0;
}

.contato li {
    margin-bottom: 10px;
}

.contato svg {
    color: #D3648F;
}

/* Rodapé */
footer {
    background-color: #F8E9EE;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 16px;
    margin-bottom: 10px;
    color: #c04079;
}

.social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.social li {
    margin: 0 10px;
}

.social a {
    color: #D3648F;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social a:hover {
    color: #c04079;
}

a {
    text-decoration: none;
    color: #333;
    position: relative;
    overflow: hidden;
}

a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #c04079;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

a:hover::before {
    width: 100%;
}

.redes a {
    color: #c04079;
    padding: 4px 40px;
}

/* Media Queries - Responsividade */

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #F8E9EE;
        z-index: 10;
        text-align: center;
    }

    .sub-menu ul {
        top: 45px;
    }

    .prev,
    .next {
        font-size: 1em;
        padding: 5px;
    }

    nav li {
        margin: 0;
        width: 100%;
    }

    nav a {
        display: block;
        padding: 10px 0;
    }

    /* Mostrar o botão do menu */
    #menu-toggle+label {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    #menu-toggle:checked~ul {
        display: block;
    }

    /* Ajustes no carrossel */
    .hero {
        margin-bottom: 0;
    }

    /* Ajustes na seção Sobre */
    .sobre {
        padding: 30px 0;
    }

    .sobre h2 {
        font-size: 28px;
    }

    /* Ajustes na seção Mapa */
    .mapa-content {
        flex-direction: column;
    }

    .contato {
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }

    iframe {
        width: 100%;
    }

    .carousel img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }


}

.fundo-historia {
    position: relative;
}

.fundo-historia::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/historia.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}

.fundo-historia p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-contato {
    position: relative;
    text-align: center;

}

.fundo-contato::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/telefone.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -350px;
    left: 0px;
    width: 100%;
    height: 200%;
    opacity: 0.2;
    z-index: -1;
}


.fundo-contato li {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-contato h1 {
    color: #D3648F;

}

h1 {
    color: #D3648F;
    font-size: 3em;
}


.fundo-cortes {
    position: relative;
}

.fundo-cortes::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/corte1.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 1;
}


.fundo-cortes p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-cor {
    position: relative;
}

.fundo-cor::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/cor.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-cor p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-depilacao {
    position: relative;
}

.fundo-depilacao::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/depilacao.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-depilacao p {
    color: #f14090;
    font-size: 1.5em;
    opacity: 1;
}



.fundo-escova {
    position: relative;
}

.fundo-escova::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/escova.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}


.fundo-escova p {
    color: #D3648F;
    font-size: 1.5em;
}


.fundo-hidratacao {
    position: relative;
}

.fundo-hidratacao::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/hidratacao.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-hidratacao p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-manicure {
    position: relative;
}

.fundo-manicure::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/unhas2.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-manicure p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-make {
    position: relative;
}

.fundo-make::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/make.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-make p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-massagem {
    position: relative;
}

.fundo-massagem::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/k21.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-massagem p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-reflexo {
    position: relative;
}

.fundo-reflexo::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/reflexo.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-reflexo p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-sob {
    position: relative;
}

.fundo-sob::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/sob.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-sob p {
    color: #D3648F;
    font-size: 1.5em;
}

.fundo-ton {
    position: relative;
}

.fundo-ton::before {
    content: "";
    background-image: url("../estetica Flor De Lis/img/ton.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

.fundo-ton p {
    color: #D3648F;
    font-size: 1.5em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

.grid-item {
    text-align: center;
    border: #f76aa9 2px solid;
    border-radius: 15px;
    background-color: #fcc0d7;
    color: #D3648F;
}

.grid-item img {
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    border-radius: 12px 12px 0 0;
}

.grid-item p {
    text-align: center;
    padding: 5px;

    font-size: 1.5em;
}

/* Botão "Voltar ao Topo" */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #f092b6;
    color: #f70170;
    border: none;
    border-radius: 50%;
    padding: 10px 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    opacity: 1;
}

main {
    background-color: #ffd7e6;
}
/* Estilos gerais do blog */
.blog-posts {
    text-align: center;
    padding: 80px 0; 
    color: #D3648F;
    background-color: #ffd7e6;
}

.title-blog {
    color: #D3648F;
    font-size: 4em;
    padding: 0px 20px 50px 0;
    font-family: 'Playfair Display', serif;
}

.posts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.post {
    width: 350px; /* Ajuste conforme necessário */
    border-radius: 10px;
    overflow: hidden; /* Esconde a imagem que passa das bordas arredondadas */
    box-shadow: 0 4px 8px rgba(0,0,0,0.6); 
    color: inherit; /* Mantém a cor do texto original ao passar o mouse */
    text-decoration: none; /* Remove a linha inferior do link */
    transition: transform 0.3s ease; /* Adiciona uma transição suave */
}

.post:hover {
    transform: translateY(-5px); /* Move o post ligeiramente para cima ao passar o mouse */
}

.post img {
    width: 100%;
    height: 200px; /* Ajuste a altura conforme necessário */
    object-fit: cover; /* Faz a imagem cobrir toda a área, mesmo com dimensões diferentes */
}

.post-content {
    padding: 20px;
}

.post h3 {
    color: #D3648F; /* Cor do título */
    margin-bottom: 10px;
}

.post-detalhe h2 {
    text-align: center;
}

.post p {
    color: #D3648F; /* Cor da descrição */
    line-height: 1.6;
}

/* Estilos para a página do post */
.post-detalhe {
    text-align: left;
    padding: 50px 20px;
    color: #D3648F;
    font-size: 1.5em;
    background-color: #ffd7e6;
}

.post-detalhe img {
    width: 100%;
    height: 400px; /* Ajuste conforme necessário */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}