/* ========================================
   PRODUCT PAGE PREMIUM STYLES
   ======================================== */

/* Navbar Premium */
.premium-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.premium-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-logo {
    height: 90px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.premium-navbar.scrolled .navbar-logo {
    height: 75px;
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
    display: none;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: #d4a574;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-collapse {
    display: flex !important;
    flex-basis: auto;
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row;
}

.nav-link {
    padding: 0.75rem 1.25rem;
    color: #b4b4b4;
    text-decoration: none;
    font-family: 'Exo Demi', 'Exo', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #e30613;
}

.dropdown-menu-premium {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: #b4b4b4;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Exo Demi', 'Exo', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.product-hero {
    padding: 60px 0 60px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 1) 0%, rgba(20, 20, 20, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #888888;
}

.breadcrumb-premium a {
    color: #b4b4b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-premium a:hover {
    color: #ffffff;
}

.breadcrumb-premium i {
    color: #555555;
}

.product-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.product-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b4b4b4;
    font-size: 0.9375rem;
}

.meta-item i {
    color: #d4a574;
    font-size: 1.125rem;
}

/* Gallery Section */
.gallery-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInImage 0.3s ease-in forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

.main-image-container:hover img {
    transform: scale(1.05);
}

.image-zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.image-zoom-icon:hover {
    background: linear-gradient(135deg, #d4a574 0%, #b8935f 100%);
    color: #0a0a0a;
    transform: scale(1.1);
}

.thumbnails-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail-item {
    min-width: 100px;
    height: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: #d4a574;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    min-height: 80px;
    object-fit: cover;
    opacity: 0;
    animation: fadeInImage 0.2s ease-in forwards;
}

.thumbnail-item:hover {
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateY(-2px);
}

/* Specifications Card */
.specs-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.specs-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.specs-header i {
    font-size: 1.5rem;
    color: #d4a574;
}

.specs-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.spec-row:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 0.5rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: #888888;
    font-weight: 500;
    font-size: 0.9375rem;
}

.spec-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: right;
}

/* Description Section */
.description-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    margin-top: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
}

.section-title i {
    color: #d4a574;
}

.description-content {
    color: #b4b4b4;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-premium {
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-family: 'Exo Demi', 'Exo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #1a1a1a 100%);
    color: #ffffff;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary-gradient::before {
    content: '';
    position: absolute;
    right: calc(-20% + 50px);
    top: 50%;
    transform: translateY(-50%);
    width: 120%;
    height: 120%;
    background-image: url('../images/logo-botoes.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 180%;
    opacity: 0.12;
    pointer-events: none;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.btn-primary-gradient:hover::before {
    opacity: 0.25;
}

.btn-secondary-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffc107;
    color: #ffc107;
    transform: translateY(-2px);
}

/* Footer Premium */
.footer-premium {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 1) 100%);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    color: #888888;
    font-size: 0.9375rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand i {
    color: #d4a574;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }
    
    .navbar-collapse {
        position: absolute !important;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: none !important;
    }
    
    .navbar-collapse.show {
        display: flex !important;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        gap: 0.5rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .main-image-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .gallery-container,
    .specs-card,
    .description-section {
        padding: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-premium {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    /* Ocultar elementos que não devem ser impressos */
    .premium-navbar,
    .footer-premium,
    .action-buttons,
    .thumbnails-container,
    .image-zoom-icon,
    .breadcrumb-premium {
        display: none !important;
    }
    
    /* Resetar para documento limpo */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    body {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .main-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0.5cm 1cm 1cm 1cm !important;
        margin: 0 !important;
    }
    
    /* Hero Section */
    .product-hero {
        background: #ffffff !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 0.3cm !important;
        border-bottom: 2px solid #000000 !important;
    }
    
    .product-title {
        color: #000000 !important;
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
        padding-bottom: 0.2cm !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }
    
    /* Ocultar metadados na impressão */
    .product-meta {
        display: none !important;
    }
    
    /* Layout vertical - uma coluna */
    .row.g-4 {
        display: block !important;
        margin: 0 !important;
    }
    
    .col-lg-8,
    .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Imagem no topo */
    .gallery-container {
        background: #ffffff !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0.5cm !important;
        break-inside: avoid;
    }
    
    .main-image-container {
        height: auto !important;
        max-height: 10cm !important;
        background: #ffffff !important;
        border: 1px solid #cccccc !important;
        padding: 0.3cm !important;
        break-inside: avoid;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .main-image-container img {
        width: 100% !important;
        height: auto !important;
        max-height: 9cm !important;
        object-fit: contain !important;
        page-break-inside: avoid;
    }
    
    /* Especificações sem card */
    .specs-card {
        background: #ffffff !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 0.5cm !important;
        break-inside: avoid;
    }
    
    .specs-header {
        color: #000000 !important;
        border-bottom: 2px solid #000000 !important;
        margin-bottom: 0.3cm !important;
        padding-bottom: 0.2cm !important;
    }
    
    .specs-header h3 {
        color: #000000 !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        margin: 0 !important;
    }
    
    .specs-header i {
        display: none !important;
    }
    
    /* Layout em 2 colunas para especificações */
    .specs-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 0.5cm !important;
    }
    
    .spec-row {
        border-bottom: 1px solid #e0e0e0 !important;
        padding: 0.15cm 0 !important;
        background: none !important;
        grid-column: span 1 !important;
    }
    
    .spec-label {
        color: #555555 !important;
        font-size: 0.85rem !important;
        font-weight: 400 !important;
    }
    
    .spec-value {
        color: #000000 !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
    }
    
    /* Descrição sem card */
    .description-section {
        background: #ffffff !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 0.5cm !important;
        margin-bottom: 0.3cm !important;
        break-inside: avoid;
    }
    
    .section-title {
        color: #000000 !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        border-bottom: 2px solid #000000 !important;
        padding-bottom: 0.2cm !important;
        margin-bottom: 0.3cm !important;
    }
    
    .section-title i {
        display: none !important;
    }
    
    .description-content {
        color: #333333 !important;
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* Compactar tudo em uma página */
    section {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .py-5 {
        padding: 0 !important;
    }
}
