/* ==========================================================================
   PERNETA'S DRINKS - STYLE.CSS (Base Global e Landing Page)
   DNA da Marca: Preto (Base), Dourado (Premium), Vermelho (Destaque)
   ========================================================================== */

/* --- VARIÁVEIS GLOBAIS --- */
:root {
    --cor-fundo: #0a0a0a;
    --cor-texto: #f5f5f5;
    --cor-dourado: #d4af37;
    --cor-vermelho: #e63946;
    --cor-preto-card: #1a1a1a;
    --fonte-principal: 'Arial', sans-serif;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    font-family: var(--fonte-principal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom: 2px solid var(--cor-dourado);
}

.logo-container {
    margin-bottom: 30px;
}

/* Logo Redonda com Borda e Brilho (Glow) */
.brand-logo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--cor-dourado);
    transition: all 0.4s ease;
}

.logo-link {
    display: inline-block;
}

.logo-link:hover .brand-logo {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.slogan-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--cor-texto);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Traço Vermelho de Destaque */
.slogan-text::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--cor-vermelho);
    margin: 15px auto 0;
}

/* --- BOTÕES --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--cor-dourado);
    color: #000;
    border: 2px solid var(--cor-dourado);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cor-dourado);
}

.btn-secondary {
    background-color: var(--cor-vermelho);
    color: #fff;
    border: 2px solid var(--cor-vermelho);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--cor-vermelho);
}

/* --- SEÇÃO VISUAL (Cards Interativos) --- */
.visual-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--cor-preto-card);
    position: relative;
    cursor: pointer;
    background-color: #000;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    border-color: var(--cor-dourado);
}

.drink-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .drink-img {
    opacity: 0.7; /* Escurece a imagem suavemente no hover */
}

/* Overlay do Card (Texto e Botão) */
.card-overlay {
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-overlay h3 {
    color: var(--cor-texto);
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.text-dourado {
    color: var(--cor-dourado);
    margin-right: 5px;
}

.btn-detalhes {
    background-color: var(--cor-dourado);
    color: #000;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.gallery-item:hover .btn-detalhes {
    opacity: 1;
    transform: translateY(0);
}

/* --- SEÇÃO DE VALOR --- */
.value-section {
    padding: 50px 0;
    background-color: var(--cor-preto-card);
    text-align: center;
}

.value-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border: 1px dashed rgba(212, 175, 55, 0.3); /* Borda Dourada Suave */
    border-radius: 15px;
}

.premium-icon {
    font-size: 3rem;
    color: var(--cor-dourado);
    margin-bottom: 20px;
}

.value-box p {
    font-size: 1.2rem;
    color: var(--cor-texto);
}

/* --- MODAL (MINI PÁGINA) --- */
.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--cor-preto-card);
    border: 1px solid var(--cor-dourado);
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px; 
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 1px solid var(--cor-dourado);
    width: 35px; 
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--cor-vermelho);
    border-color: var(--cor-vermelho);
}

.modal-drink-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--cor-dourado);
}

.modal-info {
    padding: 25px; 
    text-align: center;
}

.modal-info h2 {
    color: var(--cor-dourado);
    margin-bottom: 15px;
    font-size: 1.6rem;
    text-transform: uppercase;
}

.modal-info p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-price-tag span {
    background-color: var(--cor-vermelho);
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: bold;
    border: 1px solid var(--cor-dourado);
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    background-color: var(--cor-dourado);
    color: #000;
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--cor-vermelho);
    color: #fff;
    transform: translateY(-5px);
}

/* --- RODAPÉ --- */
.site-footer {
    text-align: center;
    padding: 40px 20px 20px;
    background-color: #000;
    border-top: 1px solid #222;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--cor-texto);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--cor-dourado);
}

.copyright-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* --- CADEADO (ÁREA SECRETA) --- */
.admin-access a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.admin-access a:hover {
    color: var(--cor-vermelho);
}

/* --- RESPONSIVIDADE (Mobile First Focus) --- */
@media (max-width: 768px) {
    .slogan-text {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }

    .brand-logo {
        width: 100px;
        height: 100px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
