/* Paleta de Cores que vamos usar:
   Lilás Clarinho Pastel: #E6E6FA (Lavender)
   Rosa Claro Pastel: #FFD1DC (Pink Light)
   Rosa Principal (textos, botões): #FF69B4 (Hot Pink, ajustado para ser um pouco mais suave se necessário)
   Rosa mais escuro (para melhor legibilidade): #DB7093 (Pale Violet Red)
   Azul Bebê: #ADD8E6 (Light Blue)
   Laranja Pastel: #FFDAB9 (Peach Puff)
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #FFF0F5; /* Branco Lavanda - um rosa bem suave para o body */
    color: #333;
}

/* Nova barra de navegação superior sólida */
.top-nav-bar {
    background-color: #E6E6FA; /* Lilás Clarinho Pastel para a barra */
    color: #333; /* Texto escuro para contrastar com o lilás */
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-nav-bar .nav-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.top-nav-bar h1 {
    margin: 0;
    font-size: 2.8em;
    color: #FF69B4; /* Rosa para o título principal */
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

.top-nav-bar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-nav-bar nav ul li {
    display: inline;
    margin: 0 15px;
}

.top-nav-bar nav ul li a {
    color: #333; /* Cor do link da navegação */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.top-nav-bar nav ul li a:hover {
    color: #FF69B4; /* Rosa ao passar o mouse */
}


/* Cabeçalho principal com a imagem de fundo */
header {
    text-align: center;
    background-image: url('background.png'); /* Sua imagem de fundo aqui */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #E6E6FA; /* Lilás Clarinho Pastel como fallback ou para a cor sólida */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(230, 230, 250, 0.4); /* Lilás Clarinho Pastel com transparência para overlay */
    z-index: 1;
}

.header-main-content {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7); /* Sombra mais forte para o texto ficar mais legível sobre a imagem */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 20px;
}

header h2 {
    margin-top: 20px;
    font-size: 2.8em;
    color: #DB7093; /* ALTERADO: Cor da frase "Sê bem-vinda..." para o mesmo rosa escuro */
    text-align: center;
    padding: 0 15px;
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
}

/* Estilos para a foto de perfil circular */
.profile-pic-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 5px solid #FFD1DC; /* Rosa Claro Pastel */
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    padding: 60px 20px;
    margin: 0 auto;
    max-width: 900px;
    background-color: white;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animações (mantidas como estão) */
#quem-sou.active { animation: fadeInSlideUp 1s ease-out forwards; }
#produtos.active { animation: fadeInZoomIn 1s ease-out forwards; }
#contactos.active { animation: fadeInRotate 1s ease-out forwards; }

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInZoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeInRotate {
    from { opacity: 0; transform: translateY(50px) rotateX(-90deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0deg); }
}


/* Títulos das Seções (Quem Sou, Cadernos, Contactos) */
.section h2 {
    text-align: center;
    color: #FF69B4; /* Rosa Principal */
    font-family: 'Dancing Script', cursive;
    font-size: 2.8em;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Título secundário dentro da seção Cadernos */
#produtos h3.text-white {
    color: #DB7093; /* Cor rosa mais escura para melhor legibilidade */
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Títulos das Coleções (Ocean Reads, Blush Reads, Golden Reads) */
.color-collection-title {
    font-size: 2.2em;
    margin-top: 30px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    font-family: 'Dancing Script', cursive;
}

/* Cores específicas para as coleções */
.product-gallery:nth-of-type(1) .color-collection-title { /* Ocean Reads */
    color: #ADD8E6; /* Azul Bebê */
}

.product-gallery:nth-of-type(2) .color-collection-title { /* Blush Reads */
    color: #FFD1DC; /* Rosa Claro Pastel */
}

.product-gallery:nth-of-type(3) .color-collection-title { /* Golden Reads */
    color: #FFDAB9; /* Laranja Pastel */
}


/* Estilos para as galerias de produtos (restaurados) */
.product-gallery {
    margin-bottom: 40px;
    text-align: center;
}

.gallery {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gallery-images {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-images img {
    width: 100%;
    display: block;
    height: auto;
    /* object-fit: contain; */
}

.gallery .prev-btn,
.gallery .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 105, 180, 0.7); /* Rosa Principal com transparência */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.gallery .prev-btn:hover,
.gallery .next-btn:hover {
    background-color: #FF69B4; /* Rosa Principal */
}

.gallery .prev-btn {
    left: 10px;
}

.gallery .next-btn {
    right: 10px;
}


/* Estilos existentes para reading-benefits, contact form, social links */
.reading-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.reading-benefits li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.reading-benefits li i {
    color: #FF69B4; /* Rosa Principal */
    margin-right: 15px;
    font-size: 1.3em;
    min-width: 30px;
    text-align: center;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

#contactForm label {
    font-weight: bold;
    color: #FFD1DC; /* Rosa Claro Pastel */
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
    padding: 10px;
    border: 1px solid #FFD1DC; /* Rosa Claro Pastel */
    border-radius: 4px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

#contactForm input[type="text"]:focus,
#contactForm input[type="email"]:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #FF69B4; /* Rosa Principal */
    box-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
}

#contactForm button {
    background-color: #FF69B4; /* Rosa Principal */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

#contactForm button:hover {
    background-color: #DB7093; /* Um tom de rosa mais escuro para o hover */
}

.social-links {
    text-align: center;
    margin-top: 30px;
}

.social-links p {
    color: #FF69B4; /* Rosa Principal */
    font-size: 1.5em;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #E6E6FA; /* Lilás Clarinho Pastel para o footer */
    color: #333; /* Texto escuro para contraste */
    margin-top: 20px;
}

footer p {
    color: #333; /* Cor do texto dentro do footer */
}

footer a {
    color: #FF69B4; /* Rosa Principal para o link do desenvolvedor */
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Estilos do lightbox padrão, se você o estiver usando */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .top-nav-bar .nav-content {
        flex-direction: column;
        padding: 10px 20px;
    }

    .top-nav-bar h1 {
        margin-bottom: 10px;
        font-size: 2.2em;
    }

    header {
        min-height: 400px;
    }
    header h2 {
        font-size: 2.2em;
    }

    nav ul li {
        margin: 0 10px;
    }

    .section {
        padding: 40px 15px;
    }

    .section h2 {
        font-size: 2.2em;
    }

    #produtos h3.text-white {
        font-size: 1.6em;
    }

    .color-collection-title {
        font-size: 1.8em;
    }

    .social-links p {
        font-size: 1.3em;
    }

    .gallery {
        max-width: 90%;
    }

    .profile-pic-container {
        width: 150px;
        height: 150px;
    }

    .reading-benefits li {
        font-size: 1em;
    }

    .reading-benefits li i {
        margin-right: 10px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .top-nav-bar h1 {
        font-size: 1.8em;
    }
    .top-nav-bar nav ul li {
        display: block;
        margin: 5px 0;
    }

    header {
        min-height: 350px;
    }
    header h2 {
        font-size: 1.8em;
    }

    #contactForm {
        padding: 0 10px;
    }

    .profile-pic-container {
        width: 120px;
        height: 120px;
    }

    .section h2 {
        font-size: 1.8em;
    }

    #produtos h3.text-white {
        font-size: 1.4em;
    }

    .color-collection-title {
        font-size: 1.6em;
    }

    .social-links p {
        font-size: 1.1em;
    }
}
