/* ================================================
   CUSTOM STYLES - Festa de 15 Anos da Valentina
   Background: Bela e a Fera
   ================================================ */

/* Background personalizado com imagem da Bela e a Fera */
.hero {
    background: linear-gradient(rgba(250, 248, 245, 0.85), rgba(245, 230, 211, 0.85)), 
                url('../imagens/hero/background.jpg') center/cover no-repeat fixed !important;
    position: relative;
}

/* Garantir que o conteúdo fique legível sobre a imagem */
.hero-content,
.hero-image {
    position: relative;
    z-index: 10;
}

/* Sombra no texto para melhor legibilidade */
.hero h1,
.hero .subtitle,
.hero .date {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

/* Opcional: Adicionar borda sutil na imagem da aniversariante */
.hero-image img {
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}

/* Animação suave no carregamento do background */
@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero {
    animation: fadeInBackground 1.5s ease-in;
}

/* Ajuste para mobile - imagem não fica fixa em telas pequenas */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important;
    }
}

/* Contador de Presentes Animado (Estilo v19) */
.gift-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d4af37;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 20; /* Garantir que fique acima de tudo */
    animation: pulseBadge 2s infinite;
}

.gift-badge.sold-out {
    background: #888;
    animation: none;
}

.gift-badge.urgent {
    background: #e74c3c;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
}

/* Padronização de Imagens dos Presentes */
.gift-image {
    width: 100%;
    height: 200px; /* Altura fixa padronizada */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfbf8;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #eee;
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
}

.gift-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gift-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gift-card {
    position: relative;
    overflow: hidden;
}

/* Variação: Se quiser um efeito mais escuro */
/*
.hero {
    background: linear-gradient(rgba(44, 24, 16, 0.6), rgba(139, 111, 92, 0.6)), 
                url('../imagens/hero/background.jpg') center/cover no-repeat fixed !important;
}
*/

/* Variação: Se quiser um efeito mais claro */
/*
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(245, 230, 211, 0.7)), 
                url('../imagens/hero/background.jpg') center/cover no-repeat fixed !important;
}
*/

/* Variação: Com desfoque (blur) no fundo */
/*
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/hero/background.jpg') center/cover no-repeat;
    filter: blur(8px);
    z-index: 0;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 10;
}
*/
