/* Product-specific styles.
   Core CSS variables and base styles are defined in `assets/css/main.min.css`.
   Keep product overrides here. */

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    background-color: var(--primary-dark) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.brand-name {
    color: white;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: all var(--transition-speed);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 76px;
    padding-top: 5rem;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    background: transparent;
    padding: 0;
    border: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    margin: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    padding-top: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover, .category-btn.active {
    background: var(--primary-color);
    color: white;
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


.product-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 75, 140, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    color: white;
    border: 2px solid white;
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.overlay-btn:hover {
    background: white;
    color: var(--primary-color);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-specs {
    margin-bottom: 1.5rem;
}

.product-specs li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.product-specs .bi-check-circle-fill {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.4s ease;
    flex: 1;
}

.btn-primary:hover {
    background-color: #bf9b30;
    border-color: #bf9b30;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.4s ease;
    flex: 1;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Modal Styles */
.product-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.product-modal .modal-header {
    background: var(--primary-color);
    color: white;
    border-bottom: 2px solid var(--secondary-color);
    padding: 1.5rem;
}

.product-modal .modal-title {
    font-weight: 700;
}

.product-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.product-modal .modal-body {
    padding: 2rem;
    display: block;
}

.product-modal .modal-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1rem;
}

.product-modal .modal-specs {
    margin-bottom: 1.5rem;
}

.product-modal .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-modal .spec-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.product-modal .spec-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

.product-modal .applications-list {
    columns: 1;
    margin-top: 1rem;
}

.product-modal .applications-list li {
    margin-bottom: 0.5rem;
}

.product-modal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1.5rem;
}
/* Estilos para a seção de qualidade no modal */
.qualidade-section {
    margin-top: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin: 5rem 0 0 0;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    min-width: 250px;
}

.cta-section .btn-light {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 0;
        padding: 3rem 0 !important;
        padding-top: 4rem !important;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
}