/* Printing247 Custom Styles */

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

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(14, 165, 233, 0.6) 50%, rgba(20, 184, 166, 0.4) 100%);
}

/* Card hover lift */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Animated counter */
.counter-animate {
    transition: all 0.6s ease-out;
}

/* Product image zoom on hover */
.product-image-zoom {
    overflow: hidden;
}
.product-image-zoom img {
    transition: transform 0.5s ease;
}
.product-image-zoom:hover img {
    transform: scale(1.08);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background 0.2s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #0f172a;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top-color: #0ea5e9;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Masonry grid for portfolio */
.masonry-grid {
    columns: 1;
    column-gap: 1.5rem;
}
@media (min-width: 640px) {
    .masonry-grid { columns: 2; }
}
@media (min-width: 1024px) {
    .masonry-grid { columns: 3; }
}
.masonry-grid .masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Testimonial dots */
.testimonial-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s;
    cursor: pointer;
}
.testimonial-dot.active {
    background: #0ea5e9;
    width: 1.5rem;
    border-radius: 0.25rem;
}

/* Pulse animation for CTA */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(14, 165, 233, 0); }
}
.pulse-glow {
    animation: pulse-glow 2.5s infinite;
}

/* Sticky header shrink */
.header-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Filter button styles */
.filter-btn {
    transition: all 0.2s;
}
.filter-btn.active {
    background: #0ea5e9;
    color: white;
}
