@charset "UTF-8";

/* ============================================================
   1. RESET E FONTES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove outline azul ao clicar */
*:focus {
    outline: none;
}

img {
    border: none;
    outline: none;
}

@font-face {
    font-family: 'great-vibes';
    src: url('./fonts/great-vibes/GreatVibes-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   2. VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ============================================================ */
:root {
    scroll-behavior: smooth;
    --cor0: #efeee5;
    --cor1: #9b4558;
    --cor2: #158f6f;
    --cor3: #788c5c;
    --cor4: #45672f;
    --titulo: 'great-vibes', serif;
    --texto: 'Montserrat', serif;
}

body {
    background: var(--cor0);
    font-family: var(--texto);
    color: var(--cor4);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: var(--titulo);
    color: var(--cor1);
    margin: 1.5rem 0 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.3rem;
}

/* ============================================================
   3. HEADER
   ============================================================ */
header {
    width: 100%;
    margin: 0;
    padding: 0;
}

header img {
    width: 300px;
    display: block;
    margin: 0 auto;
}

.header-img {
    text-align: center;
    width: 100%;
    padding: 30px;
    background: radial-gradient(circle, 
        #ffc0cb 0%, /* rosa claro no centro */ 
        #ff69b4 40%, /* rosa médio */ 
        #ff1493 70%, /* rosa forte */ 
        #c71585 100% /* magenta escuro nas bordas */
    );
}

/* ============================================================
   5. LAYOUT PRINCIPAL (Main)
   ============================================================ */
/* Layout Geral do Site */
.main-layout {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: flex-start;
}

/* O conteúdo principal cresce e ocupa o resto */
main {
    flex: 1;
}

main h1, main h2, main h3 {
    margin-left: 20px;
}

main p {
    margin-left: 40px;
    margin-bottom: 1rem;
}

main ul {
    margin-left: 60px;
    margin-bottom: 1rem;
}

main blockquote {
    margin: 20px 40px;
    padding: 15px;
    background: rgba(155, 69, 88, 0.1);
    border-left: 4px solid var(--cor1);
    font-style: italic;
}

/* Destaque elegante para palavras-chave */
main strong {
    color: var(--cor1);              /* Rosa sofisticado */
    font-weight: 600;
}

/* Destaque especial dentro de blockquote */
main blockquote strong {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Suavidade visual */
main p strong {
    white-space: nowrap;
}

/* ============================================================
   6. VITRINE (aside)
   ============================================================ */
/* Aside fixo à direita com mesma altura do main */
.vitrine-aside {
    width: 380px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
}

.titulo-vitrine {
    margin: 0 0 20px 0;
    text-align: center;
    flex-shrink: 0;
}

.carousel-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.carousel-view {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 12px;
    flex: 1;
    /* Scrollbar personalizada */
    scrollbar-width: thin;
    scrollbar-color: var(--cor1) #f1f1f1;
}

/* Scrollbar para Webkit (Chrome, Safari) */
.carousel-view::-webkit-scrollbar {
    width: 8px;
}

.carousel-view::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.carousel-view::-webkit-scrollbar-thumb {
    background: var(--cor1);
    border-radius: 10px;
}

.carousel-view::-webkit-scrollbar-thumb:hover {
    background: var(--cor4);
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 5px;
}

.gallery-img {
    width: 100%;
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    cursor: zoom-in;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-btn {
    display: none; /* Removido pois agora é scroll */
}

.counter {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: none;
    outline: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    z-index: 1001;
    user-select: none;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    color: var(--cor1);
    transform: scale(1.1);
}

/* ============================================================
   11. FOOTER - Madame ReVeste
   ============================================================ */
footer {
    background-color: #c71585; /* margenta escuro do projeto */
    color: var(--cor0); /* Bege claro */
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--cor0); 
    font-family: var(--titulo); /* great-vibes */
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(239, 238, 229, 0.2);
    display: inline-block;
}

.footer-section p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    color: var(--cor0);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--cor1); /* Rosa destaque no hover */
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(239, 238, 229, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-link {
    color: var(--cor0); /* Usa o bege claro do seu projeto */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--cor1); /* Muda para o rosa ao passar o mouse */
    text-decoration: underline;
}

/* Estilização do ícone proporcional */
.icon-social {
    width: 1.2em;      /* Altura proporcional ao texto (um pouco maior que a letra) */
    height: 1.2em;     /* Mantém a proporção quadrada */
    vertical-align: middle; /* Alinha o ícone com o meio do texto */
    margin-right: 8px; /* Espaço entre a imagem e a palavra WhatsApp */
    object-fit: contain;
}

/* Ajuste no link para garantir o alinhamento flexível */
.social-links a {
    display: flex;
    align-items: center;
    color: var(--cor0);
    text-decoration: none;
    margin-bottom: 5px;
}

.whatsapp-link, .github-link {
    display: inline-flex; /* Faz o link se comportar como linha, mas aceita alinhamento */
    align-items: center;  /* Alinha verticalmente imagem e texto */
    text-decoration: none;
    color: var(--cor0);    /* Cor bege que você usa no footer */
    gap: 2px;              /* Espaço entre a imagem e o texto */
}

/* Estilo para os links do desenvolvedor (GitHub e WhatsApp) */
.whatsapp-link, .github-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--cor0); /* Cor bege definida no seu :root */
    gap: 8px;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.whatsapp-link:hover, .github-link:hover {
    color: var(--cor1); /* Rosa destaque no hover */
}

.icon-social {
    width: 2em;  /* Tamanho proporcional à fonte do parágrafo */
    height: 2em;
    object-fit: contain;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
    
    .footer-section h3 {
        display: block;
    }
}

/* ============================================================
   12. RESPONSIVIDADE
   ============================================================ */
/* No Celular: coloca a vitrine abaixo do conteúdo */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }
    
    .vitrine-aside {
        width: 100%;
        position: static;
        max-height: 600px;
    }

    main h1, main h2 {
        margin-left: 10px;
    }

    main p {
        margin-left: 20px;
    }

    main ul {
        margin-left: 30px;
    }

    main blockquote {
        margin: 15px 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    header img {
        width: 200px;
    }
}