/*
Theme Name: PrintJet Hub
Theme URI: https://example.com/printjethub
Author: Your Name
Author URI: https://example.com
Description: Premium-quality custom WordPress theme converted from the PrintJet Hub Bootstrap static site. Maintains exact layout and responsiveness with Bootstrap 5. Implements CPT for Products, menus, widgets, and performance-focused enqueues.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: printjethub
Tags: bootstrap, responsive, e-commerce, blog, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ========== Imported Site Styles ========== */
/* Custom Styles for PrintJet Hub */

:root {
    --primary-red: #ff4757;
    --primary-dark: #2f3542;
    --text-grey: #747d8c;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
}

/* Navbar */
.navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
    background-color: #f8f9fa; /* Light grey background */
}

/* Buttons */
.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #ff2e43;
    border-color: #ff2e43;
}

/* Categories */
.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Badges */
.badge.bg-danger {
    background-color: var(--primary-red) !important;
}

/* Testimonials */
.card {
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

/* Footer */
footer {
    background-color: #1e272e;
}

footer h5, footer h6 {
    letter-spacing: 0.5px;
}

footer .btn-outline-light {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .btn-outline-light:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Enhanced Footer Styles */
.footer-section {
    padding: 60px 0 30px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-description {
    color: #adb5bd;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social .btn {
    margin-right: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 15px;
    color: #adb5bd;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact-info i {
    color: var(--primary-red);
    margin-right: 12px;
    margin-top: 3px;
    width: 16px;
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter p {
    color: #adb5bd;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-newsletter .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 20px;
}

.footer-newsletter .form-control::placeholder {
    color: #adb5bd;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-red);
    box-shadow: none;
    color: #fff;
}

.footer-newsletter .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 40px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links li {
    margin: 0;
}

.footer-bottom-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-methods img {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
    }
    
    .footer-heading {
        margin-top: 30px;
    }
    
    .footer-heading::after {
        width: 30px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

/* Utilities */
.text-danger {
    color: var(--primary-red) !important;
}

.border-danger {
    border-color: var(--primary-red) !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Chat Widget Styles */
.chat-widget-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0099ff; /* Blue color from reference */
    color: white;
    padding: 10px 20px;
    border-radius: 5px 5px 0 0; /* Rounded top corners like a tab or full rounded */
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,153,255,0.3);
    cursor: pointer;
    z-index: 1050;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: transform 0.2s;
}
.chat-widget-btn:hover {
    transform: translateY(-2px);
}
.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 1050;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}
.chat-header {
    background: #0099ff;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}
.chat-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    font-size: 0.9rem;
}
.chat-message.agent {
    background: #f1f1f1;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}
.chat-message.user {
    background: #e3f2fd;
    color: #0056b3;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 0;
}

/* About Page */
.about-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 80px 0 40px;
}
.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDQwIDMyMCI+PHBhdGggZmlsbD0iI2Y4ZjlmYSIgZmlsbC1vcGFjaXR5PSIxIiBkPSJNMCAyMjRMNDAgMjEzLjNDODAgMjAzIDE2MCAxODEgMjQwIDE4MS4zQzMyMCAxODIgNDAwIDIwMyA0ODAgMTkyQzU2MCAxODEgNjQwIDEzOSA3MjAgMTM4LjdDODAwIDEzOSA4ODAgMTgxIDk2MCAxOTJDMTA0MCAyMDMgMTEyMCAxODIgMTIwMCAxNjBDMTI4MCAxMzkgMTM2MCAxMTcgMTQwMCAxMDZMMTQ0MCA5NkwxNDQwIDBMMTQwMCAwQzEzNjAgMCAxMjgwIDAgMTIwMCAwQzExMjAgMCAxMDQwIDAgOTYwIDBDODgwIDAgODAwIDAgNzIwIDBDNjQwIDAgNTYwIDAgNDgwIDBDNDAwIDAgMzIwIDAgMjQwIDBDMTYwIDAgODAgMCA0MCAwTDAgMFoiPjwvcGF0aD48L3N2Zz4=');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
}
.about-header .container {
    position: relative;
    z-index: 1;
}
.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.cta-section {
    background: #ff4757;
    color: white;
}
.cta-btn {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}
.cta-btn:hover {
    background: white;
    color: #ff4757;
}
.offer-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.offer-list i {
    color: #ff4757;
    margin-right: 10px;
    font-size: 0.8rem;
}
.nav-pills .nav-link {
    color: #2f3542;
    font-weight: 600;
    padding: 10px 0;
    margin-right: 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}
.nav-pills .nav-link.active {
    color: #ff4757;
    background: none;
    border-bottom: 2px solid #ff4757;
}
.nav-pills .nav-link:hover {
    color: #ff4757;
}

/* Contact Page */
.contact-section {
    background-color: #ffffff;
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}
.contact-form-card {
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 3rem;
}
.form-control {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    padding: 0.8rem 1rem;
    border-radius: 4px;
}
.form-control:focus {
    box-shadow: none;
    border-color: #ddd;
    background-color: #fff;
}
.contact-icon {
    color: #dc3545;
    width: 20px;
    text-align: center;
    margin-right: 15px;
}
.separator-line {
    height: 3px;
    width: 50px;
    background-color: #ffcccc;
    margin: 2rem 0;
}

/* Product Detail Page */
.product-image-container {
    position: relative;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    overflow: hidden;
}
.zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
}
.sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}
.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #dee2e6;
    height: 40px;
}
.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.quantity-btn:hover {
    background: #f8f9fa;
}
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 1rem;
    font-weight: 600;
}
.nav-tabs .nav-link.active {
    color: #212529;
    border-bottom: 2px solid #dc3545;
}
.payment-icons img {
    height: 25px;
    margin-right: 5px;
}
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}
.sticky-product-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 15px 0;
    z-index: 1040;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}
.sticky-product-bar.visible {
    transform: translateY(0);
}
