/* ========================================
   CATALOGS PAGE - Ajustes mínimos
   Reutiliza estilos de product-premium.css
   ======================================== */

/* Hero Section com Banner 3D */
.product-hero {
    position: relative;
    background-image: url('../images/banner.jpg');
    background-size: 1920px auto;
    background-position: right top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

/* Camada de luz sutil removida */
.product-hero::before {
    display: none;
}

/* Efeito de luz superior removido */
.product-hero::after {
    display: none;
}

/* Conteúdo acima das camadas */
.product-hero .container {
    position: relative;
    z-index: 3;
}

/* Ajustes de texto para destacar sobre o banner */
.product-hero .product-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.product-hero .breadcrumb-premium a,
.product-hero .breadcrumb-premium span {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.product-hero .product-meta {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Responsividade */
@media (max-width: 768px) {
    .product-hero {
        background-attachment: scroll;
        padding: 4rem 0 3rem;
    }
}

/* Forçar background dos cards de catálogo igual ao da página de produtos */
.catalogs-section .gallery-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
}

/* Remover estilos do .card global que está no style.css */
.catalogs-section .gallery-container.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

/* Main image container dentro dos cards de catálogo - MODO RETRATO */
.catalogs-section .main-image-container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    height: 450px !important;
}

/* Apenas ajustes de layout específicos para grid de catálogos */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* PDF Viewer Container */
.pdf-viewer-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* PDF Controls */
.pdf-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.pdf-control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.pdf-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pdf-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pdf-page-info,
.pdf-zoom-info {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pdf-zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* PDF Canvas Wrapper */
.pdf-canvas-wrapper {
    position: relative;
    background: #1a1a1a;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 2rem;
}

#pdfCanvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.pdf-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
}

.pdf-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .pdf-controls {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .pdf-control-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .pdf-zoom-controls {
        width: 100%;
        justify-content: center;
    }
}
