/*
Theme Name: Bicho Experience
Description: Tema minimalista para Galeria e Motorhome
Version: 1.0
*/

/* --- 1. CONFIGURAÇÕES GLOBAIS E FONTES --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

body { 
    margin: 0; 
    font-family: 'Montserrat', sans-serif; 
    color: #ffffff; /* Texto global branco */
    background-color: #111111; /* Fundo base imersivo escuro */
}

/* --- 2. CABEÇALHO FLUTUANTE --- */
.site-header {
    position: fixed; 
    top: 0; width: 100%;
    background: transparent; 
    display: flex; justify-content: space-between; align-items: center;
    height: 80px; padding: 0 40px; box-sizing: border-box;
    border-bottom: none; 
    z-index: 999;
}
.site-header a { 
    color: #ffffff; 
    font-weight: 400; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-decoration: none;
}
.nav-left, .nav-right { display: flex; gap: 20px; align-items: center; }

/* Seletor de Idiomas Polylang */
.seletor-idiomas { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.seletor-idiomas li { display: inline; }
.seletor-idiomas a { text-transform: uppercase; font-weight: 500; }
.seletor-idiomas .current-lang a { font-weight: bold; color: #aaaaaa; }


/* --- 3. CAPA (HERO SECTION) ECRÃ INTEIRO --- */
.hero-cover {
    height: 100vh; /* Ecrã inteiro */
    background-size: cover; background-position: center; background-attachment: fixed; /* Efeito Parallax */
    position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-overlay {
    background: rgba(0,0,0,0.4); 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.hero-btn {
    border: 1px solid #ffffff; background: transparent; color: #ffffff; text-decoration: none;
    padding: 15px 40px; font-family: 'Lora', serif; font-size: 18px; text-transform: uppercase; letter-spacing: 2px;
    transition: 0.3s;
}
.hero-btn:hover { background: #ffffff; color: #111111; }


/* --- 4. GALERIAS DE PRODUTOS (VITRINES DA HOME) --- */
.vitrine-secao {
    padding: 100px 40px; max-width: 1600px; margin: 0 auto;
    background-color: transparent; 
    border: none;
}
.secao-titulo { text-align: center; margin-bottom: 40px; }
.secao-titulo h2 { 
    font-family: 'Lora', serif; font-size: 34px; letter-spacing: 0; 
    margin: 0 0 10px 0; color: #ffffff; font-weight: 400;
}
.secao-titulo p { 
    font-family: 'Montserrat', sans-serif; color: #cccccc; 
    font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin: 0; 
}

/* Piso 1 - Liz (Com arte de fundo) */
.vitrine-liz {
    background-image: linear-gradient(rgba(11, 11, 11, 0.35), rgba(11, 11, 11, 0.45)), url('images/banner-lizart.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Piso 2 - Bicho (Com o Pixel Art de Fundo) */
.vitrine-bicho {
    background-image: linear-gradient(rgba(11, 11, 11, 0.35), rgba(11, 11, 11, 0.45)), url('images/cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* --- 5. CARROSSEL HORIZONTAL DE PRODUTOS --- */
.vitrine-secao ul.products {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    gap: 30px; padding-bottom: 20px; 
    -webkit-overflow-scrolling: touch; 
}
.vitrine-secao ul.products li.product {
    background-color: transparent !important; /* Remove o bloco branco */
    padding: 0 !important; 
    border: none !important;
    box-shadow: none !important; /* Remove a sombra da caixa inteira */
    flex: 0 0 280px !important; 
    width: 280px !important;
    margin: 0 !important; 
    scroll-snap-align: start; 
    clear: none !important;
}

/* Scrollbar escura elegante para o carrossel */
.vitrine-secao ul.products::-webkit-scrollbar { height: 8px; }
.vitrine-secao ul.products::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 4px; }
.vitrine-secao ul.products::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.vitrine-secao ul.products::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }

/* Aplica o ofuscado/sombra diretamente na imagem da arte */
.vitrine-secao ul.products li.product img {
    border-radius: 4px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%; height: auto; display: block; margin-bottom: 20px; 
}
.vitrine-secao ul.products li.product:hover img {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
}

/* Retorna os textos e preços para branco/claro */
.vitrine-secao ul.products li.product h2,
.vitrine-secao ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important; font-family: 'Lora', serif; font-size: 18px; text-align: center;
}
.vitrine-secao ul.products li.product .price {
    color: #cccccc !important; text-align: center; display: block;
}

/* Estilo minimalista para o botão "Ver opções" no carrossel */
.vitrine-secao ul.products li.product .button {
    display: block; width: max-content; margin: 15px auto 0; background: transparent;
    color: #ffffff; border: 1px solid rgba(255,255,255,0.4); padding: 8px 20px;
    text-transform: uppercase; font-size: 12px; letter-spacing: 1px; border-radius: 3px; transition: 0.3s;
}
.vitrine-secao ul.products li.product .button:hover { background: #ffffff; color: #111111; }


/* --- 6. PÁGINA INTERNA DO PRODUTO (COMPRA WOOCOMMERCE) --- */
.single-product div.product {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: start; max-width: 1200px; margin: 0 auto; padding: 120px 40px 60px 40px;
}
.single-product div.product div.images img {
    width: 100%; max-height: 80vh; object-fit: contain;
    border-radius: 4px; box-shadow: 0 4px 30px rgba(0,0,0,0.5); 
}
.single-product .related.products {
    grid-column: 1 / -1; margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 60px;
}
.single-product .related.products h2 {
    font-size: 22px; text-transform: uppercase; text-align: center; margin-bottom: 40px; font-family: 'Lora', serif;
}
.woocommerce-Price-amount { color: #ffffff !important; }
.single-product button.single_add_to_cart_button {
    background-color: #ffffff; color: #111111; border: none;
    padding: 15px 30px; font-family: 'Montserrat', sans-serif; text-transform: uppercase;
    font-weight: 600; cursor: pointer; transition: 0.3s;
}
.single-product button.single_add_to_cart_button:hover { background-color: #cccccc; }


/* --- 7. PÁGINA: GALERIA COMPLETA DA LIZ --- */
.galeria-full-container {
    display: grid; grid-template-columns: 250px 1fr; min-height: 100vh;
    padding: 120px 60px 60px 60px; 
    background-image: linear-gradient(rgba(20, 15, 25, 0.8), rgba(20, 15, 25, 0.95)), url('images/banner-lizart.jpg');
    background-size: cover; background-attachment: fixed; gap: 60px;
}
.galeria-sidebar { position: sticky; top: 120px; height: max-content; color: #ffffff; }
.galeria-sidebar h2 { font-family: 'Lora', serif; font-size: 28px; margin-bottom: 20px; font-weight: 400; }
.scroll-indicador {
    font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: #888; margin-bottom: 40px; writing-mode: vertical-rl; transform: rotate(180deg);
}
.galeria-categorias { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 15px; }
.galeria-categorias li a { color: #777777; text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.galeria-categorias li.active a, .galeria-categorias li a:hover { color: #ffffff; }

.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; }
.art-grid-item img {
    width: 100%; height: 300px; object-fit: cover; border-radius: 4px;
    transition: transform 0.4s ease, box-shadow 0.4s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.5); display: block;
}
.art-grid-item:hover img { transform: scale(1.03); box-shadow: 0 15px 35px rgba(0,0,0,0.8); }

@media (max-width: 900px) {
    .galeria-full-container { grid-template-columns: 1fr; padding: 100px 20px 40px 20px; gap: 40px; }
    .galeria-sidebar { position: relative; top: 0; }
    .scroll-indicador { writing-mode: horizontal-tb; transform: none; margin-bottom: 20px; }
}


/* --- 8. PÁGINA: EQUIPAMENTOS E TREM (BICHO) --- */
.bicho-full-container {
    padding: 120px 60px 80px 60px; min-height: 100vh;
    background-size: cover; background-attachment: fixed; background-position: center;
}
.bicho-page-header { text-align: center; margin-bottom: 60px; }
.bicho-page-header h2 { font-family: 'Lora', serif; font-size: 38px; color: #ffffff; margin: 0 0 10px 0; }
.bicho-page-header p {
    font-family: 'Montserrat', sans-serif; color: #4CAF50; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin: 0;
}

.bicho-item-card { position: relative; display: block; text-decoration: none; }
.bicho-item-nome {
    background: rgba(0,0,0,0.8); padding: 15px; text-align: center;
    position: absolute; bottom: 0; width: 100%; box-sizing: border-box;
}
.bicho-item-nome h3 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 14px; color: #fff; text-transform: uppercase; }

/* SEÇÃO DO BLOG / DIÁRIO DE BORDO */
.bicho-blog-section { margin-top: 100px; }
.bicho-faixa-blog { background: transparent; border: none; padding-bottom: 40px; }

.blog-grid {
    display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto;
}
.blog-card {
    display: flex; flex-direction: row; align-items: center; background: rgba(20,20,20,0.8);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; overflow: hidden; transition: 0.3s;
}
.blog-card:hover { transform: translateX(10px); border-color: rgba(255,255,255,0.3); }

.blog-thumb { flex: 0 0 40%; }
.blog-thumb img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; display: block; }
.blog-content { flex: 1; padding: 40px; }
.blog-content h4 { margin: 0 0 15px 0; font-family: 'Lora', serif; font-size: 24px; }
.blog-content h4 a { color: #ffffff; text-decoration: none; }
.blog-excerpt { color: #aaaaaa; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }

@media (max-width: 768px) {
    .blog-card { flex-direction: column; }
    .blog-thumb { flex: 1; width: 100%; }
}


/* --- 9. PÁGINA INDIVIDUAL DO POST (LEITURA DO DIÁRIO) --- */
.single-post-container {
    max-width: 800px; margin: 120px auto 80px auto; padding: 0 40px;
    color: #cccccc; font-family: 'Montserrat', sans-serif; line-height: 1.8; font-size: 16px;
}
.single-post-title { font-family: 'Lora', serif; font-size: 42px; color: #ffffff; margin-bottom: 15px; line-height: 1.2; }
.single-post-meta { color: #888888; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 40px; }
.single-post-capa img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.single-post-content h2, .single-post-content h3 { color: #ffffff; font-family: 'Lora', serif; margin-top: 50px; margin-bottom: 20px; }
.single-post-content a { color: #4CAF50; text-decoration: none; }
.single-post-content a:hover { text-decoration: underline; }

.single-post-content iframe {
    width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4); margin: 40px 0;
}

/* --- SECÇÃO BIOGRÁFICA (SOBRE A LIZ E O BICHO) --- */
.pre-footer {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Aqui está a magia que coloca as 3 colunas lado a lado */
    background: #151515; 
    border-top: 1px solid rgba(255,255,255,0.05);
}
.pre-footer .col { 
    padding: 80px 40px; 
    text-align: center; 
}
.pre-footer h3 { 
    margin-top: 0; font-size: 22px; text-transform: uppercase; 
    font-family: 'Lora', serif; color: #ffffff; margin-bottom: 20px;
}
.pre-footer p { 
    color: #cccccc; line-height: 1.6; font-size: 14px; font-family: 'Montserrat', sans-serif; margin: 0;
}

/* Fundo escurecido específico da coluna do Bicho Exp */
.col-bicho-exp {
    background-image: linear-gradient(rgba(17,17,17,0.85), rgba(17,17,17,0.85)), url('images/IMG_3327.jpg');
    background-size: cover; background-position: center;
}

/* Responsivo: No telemóvel as colunas voltam a empilhar-se para facilitar a leitura */
@media (max-width: 900px) {
    .pre-footer { grid-template-columns: 1fr; }
}

/* --- 10. RODAPÉ GLOBAL REDESENHADO (FOOTER EM 3 COLUNAS) --- */
.site-footer-global {
    background-color: #080808; border-top: 1px solid rgba(255,255,255,0.05); padding: 70px 40px;
    color: #aaaaaa; font-family: 'Montserrat', sans-serif;
}
.footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: #ffffff; font-family: 'Lora', serif; font-size: 18px; margin-top: 0; margin-bottom: 20px; letter-spacing: 1px; }

/* Esquerda: Links */
.footer-esq .footer-links { list-style: none; padding: 0; margin: 0; }
.footer-esq .footer-links li { margin-bottom: 12px; }
.footer-esq .footer-links a {
    color: #888888; text-decoration: none; font-size: 12px; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px;
}
.footer-esq .footer-links a:hover { color: #ffffff; }

/* Centro: Logo, Total e Flag */
.footer-cen { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { width: 80px; height: 80px; object-fit: contain; margin-bottom: 25px; opacity: 0.7; transition: 0.3s; filter: grayscale(100%); }
.footer-logo:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }
.contador-visitas {
    font-family: 'Montserrat', sans-serif; font-size: 13px; text-transform: uppercase;
    background: rgba(255,255,255,0.05); padding: 12px 25px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1); margin-bottom: 25px; letter-spacing: 1px;
}
.contador-visitas strong { color: #4CAF50; font-size: 18px; margin-left: 8px; letter-spacing: 0; }
.flag-counter-box img { opacity: 0.8; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); }

/* Direita: Top 5 Páginas */
.footer-dir .forum-lista { list-style: none; padding: 0; margin: 0; }
.footer-dir .forum-lista li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,0.05); }
.footer-dir .forum-lista li:last-child { border-bottom: none; }
.footer-dir .forum-lista a { color: #cccccc; text-decoration: none; font-size: 13px; display: flex; justify-content: space-between; transition: 0.3s; }
.footer-dir .forum-lista a span { color: #4CAF50; font-weight: bold; font-family: monospace; font-size: 14px; }
.footer-dir .forum-lista a:hover { color: #ffffff; padding-left: 5px; }

@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .footer-dir .forum-lista a { justify-content: center; gap: 15px; }
    .footer-dir .forum-lista a:hover { padding-left: 0; }
    .single-product div.product { grid-template-columns: 1fr; padding: 100px 20px 40px 20px; gap: 40px; }
    .site-header { padding: 0 20px; }
}
