/* Products Page Specific Styles */

/* Products Hero */
.products-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.products-hero .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.products-hero .section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.4);
}

.products-hero .section-bg .overlay {
    background: linear-gradient(135deg, 
        rgba(15, 140, 255, 0.5) 0%, 
        rgba(48, 0, 212, 0.4) 100%);
}

.products-hero .container {
    position: relative;
    z-index: 2;
}

.products-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.products-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.products-hero .hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--white);
    border-radius: 3px;
}

.products-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Category Navigation */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: center;
}

.category-tab {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-tab:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

/* Product Tables */
.product-tables {
    position: relative;
}

.product-table {
    display: none;
    animation: fadeIn 0.5s ease;
}

.product-table.active {
    display: block;
}

.product-table h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-gray);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.product-table h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.table-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.product-table-content {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.product-table-content thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.product-table-content th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.product-table-content td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.product-table-content tbody tr {
    transition: all 0.3s ease;
}

.product-table-content tbody tr:hover {
    background: rgba(15, 140, 255, 0.05);
    transform: scale(1.01);
}

.product-table-content tbody tr:last-child td {
    border-bottom: none;
}

/* API Name styling */
.product-table-content td:first-child {
    font-weight: 600;
    color: var(--dark-gray);
}

/* CAS Number styling */
.product-table-content td:nth-child(2) {
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Key Intermediate styling */
.product-table-content td:nth-child(3) {
    color: var(--accent-color);
    font-style: italic;
}

/* Button styling */
.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Coming Soon styling */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-style: italic;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--light-gray);
    border-radius: 0 0 20px 20px;
    margin-top: -40px;
}

.pagination-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
}

.pagination-info {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Remove decorative underline lines on products page */
.products-hero .hero-title::after,
.product-categories-section .section-title::after,
.product-table h3::after {
    content: none !important;
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .category-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    .product-table-content {
        min-width: 600px;
    }
    
    .product-table-content th,
    .product-table-content td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .pagination-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .products-hero .hero-title {
        font-size: 2rem;
    }
    
    .product-table h3 {
        font-size: 1.5rem;
    }
    
    .product-table-content {
        min-width: 500px;
    }
    
    .product-table-content th,
    .product-table-content td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .btn-small {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .category-nav,
    .cta-buttons,
    .footer {
        display: none;
    }
    
    .product-table {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .table-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .product-table-content th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
} 