/* ==========================================
    ESTILOS PÁGINA DA LOJA & GALERIAS
    ========================================== */


body.bg-dark {
    background-color: #0b0b0e !important;
    color: #ffffff;
    margin: 0;
    padding: 0;
}


.loja-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    min-height: 75vh;
}


/* Hero Header */
.loja-hero {
    text-align: center;
    margin-bottom: 35px;
}


.loja-hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
}


.loja-hero p {
    color: #bbbbbb;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}


/* Barra de Pesquisa */
.search-box-wrapper {
    max-width: 550px;
    margin: 0 auto 40px auto;
}


.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #141419;
    border: 1px solid #282832;
    border-radius: 30px;
    padding: 4px 6px 4px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}


.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    padding: 10px 0;
}


.search-btn-icon {
    background: transparent;
    border: none;
    color: #e63946;
    font-size: 1.1rem;
    padding: 10px 15px;
    cursor: pointer;
}


/* Grelha de Eventos */
.galerias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}


.empty-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #141419;
    border: 1px dashed #282832;
    border-radius: 12px;
    color: #888888;
}


.empty-events i {
    font-size: 2.8rem;
    color: #e63946;
    margin-bottom: 12px;
}


/* Carrinho / Resumo de Itens */
.cart-summary-section {
    background: #141419;
    border: 1px solid #242430;
    border-radius: 14px;
    padding: 25px;
}


.cart-summary-section h2 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid #242430;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.cart-summary-section h2 i {
    color: #e63946;
}


.cart-empty-state {
    text-align: center;
    padding: 20px 0;
    color: #777777;
    font-style: italic;
}


.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}


.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1c1c24;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid #e63946;
}


.cart-summary-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #242430;
    padding-top: 18px;
}


.cart-total {
    font-size: 1.1rem;
}


.cart-total strong {
    color: #e63946;
    font-size: 1.3rem;
    margin-left: 6px;
}


.btn-checkout {
    background: #e63946;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}


.btn-checkout:hover {
    background: #c52a36;
}


/* Responsividade Mobile */
@media (max-width: 768px) {
    .loja-wrapper {
        padding: 20px 15px 50px 15px;
    }


    .loja-hero h1 {
        font-size: 1.8rem;
    }


    .loja-hero p {
        font-size: 0.95rem;
    }


    .galerias-grid {
        grid-template-columns: 1fr;
    }


    .cart-summary-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
    }


    .btn-checkout {
        width: 100%;
    }
}



.capa-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}


.imagem-capa {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Aplica o efeito desfocado se for privado */
.imagem-capa.blur-bloqueado {
    filter: blur(8px) brightness(0.6);
    transform: scale(1.05); /* Evita bordas brancas do blur */
}


.overlay-cadeado {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
}



css/global.css
/* ==========================================
    RESET & VARIÁVEIS GLOBAIS
    ========================================== */
* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Montserrat', 'Segoe UI', sans-serif;
}


:root {
    --bg-dark: #0b0b0d;         /*   👈 ALTERADO: Cor escura uniforme para
todo o site */
    --text-light: #f4f4f6;
    --primary-red: #e63946;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: #121215;
}


html, body {
    background-color: var(--bg-dark); /*   👈 Fundo escuro contínuo */
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Elimina folgas horizontais no ecrã */
}


/* ==========================================
    HEADER / NAVBAR
    ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(15, 15, 17, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}


/* 1. Imagem do Logo */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}


.site-logo {
    height: 45px; /* Ajusta a altura conforme o teu logo */
    width: auto;
    object-fit: contain;
}


/* 2. Menu Central */
.nav-links ul {
    display: flex;
    list-style: none;
    gap: 35px;
}


.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}


.nav-links a:hover {
    color: #fff;
}


/* 3. Lado Direito (Pesquisa + Botão) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* Caixa de Pesquisa */
.search-box {
    display: flex;
    align-items: center;
    background-color: #1e1e24;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px 12px;
}


.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.9rem;
    width: 140px;
    transition: width 0.3s ease;
}


.search-box input:focus {
    width: 180px;
}


.search-box button {
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}


.search-box button:hover {
    color: var(--primary-red);
}


/* Botão Marcar Sessão */
.btn-primary-nav {
    background-color: var(--primary-red);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}


.btn-primary-nav:hover {
    background-color: #c12a36;
    transform: translateY(-2px);
}




html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Evita que o Header fixo tape o início
da secção */
}




/* ==========================================
   BOTÃO WHATSAPP - MODAL DE PIN
   ========================================== */
.pin-whatsapp-link {
    width: 100%;
    min-height: 48px;
    margin-top: 15px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    border: 1px solid #25D366;
    border-radius: 9px;
    background: transparent;
    color: #25D366;
    text-decoration: none;
    text-align: center;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.pin-whatsapp-link i {
    color: currentColor;
    font-size: 1.08rem;
}

.pin-whatsapp-link:hover,
.pin-whatsapp-link:focus-visible {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, .18);
    outline: none;
}

.pin-whatsapp-link:active {
    transform: translateY(0);
}

@media (max-width: 520px) {
    .pin-whatsapp-link {
        min-height: 46px;
        padding: 11px 13px;
        font-size: .9rem;
    }
}
