/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom styles for the contact form */
#contactForm input,
#contactForm select,
#contactForm textarea {
    transition: all 0.3s ease;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}

/* Animation for cards */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a202c;
}

::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #718096;
}


 /* Pagination specific styles */
        #pagination-numbers .active-page {
            font-weight: bold;
        }

        #pagination-container .cursor-not-allowed {
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .gallery-item.hidden {
            display: none;
        }

        /* Lightbox styles */
        #image-modal {
            transition: opacity 0.3s ease;
        }
        
        #image-modal.visible {
            display: flex;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        #modal-image {
            transition: transform 0.3s ease;
        }
        
        .gallery-item img {
            cursor: pointer;
        }

        /* Modal counter styling */
        #modal-counter {
            font-size: 0.95rem;
            color: #9CA3AF;
        }

        /* Improve modal image transitions */
        #modal-image {
            transition: transform 0.25s ease, opacity 0.25s ease;
            will-change: transform, opacity;
        }

        /* Prev/Next/Close button prominence */
        #image-modal button {
            z-index: 60;
            pointer-events: auto;
        }

        /* Thumbnails in modal */
        #modal-thumbs {
            max-width: 100%;
            padding-bottom: 8px;
        }

        #modal-thumbs img {
            width: 72px;
            height: 48px;
            object-fit: cover;
            border-radius: 6px;
            opacity: 0.7;
            cursor: pointer;
            border: 2px solid transparent;
            transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
        }

        #modal-thumbs img:hover { opacity: 1; transform: translateY(-2px); }

        #modal-thumbs img.active-thumb { opacity: 1; border-color: rgba(250, 204, 21, 0.9); }

        /* Service icons styling: ensure large, centered, and matching grey tone */
        .service-icon {
            min-height: 260px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .service-icon i {
            color: #dc2626 !important;
        }

/* Hide JS-added active underline in header nav links */
.nav-active-underline {
    display: none !important;
}

/* Active nav link: solid red color */
nav a.text-amber-500 {
    color: #dc2626 !important;
    -webkit-text-fill-color: initial;
}

/* Ensure header social icons are visibly colored (amber) on all pages */
nav a[href*="facebook.com"],
nav a[href*="instagram.com"],
nav .fab,
nav .fa-facebook-f,
nav .fa-instagram {
    color: #dc2626 !important;
}

/* Make all FontAwesome/icon elements site-wide use the red icon color */
.fa, .fas, .fab, .far, .fal, i[class*="fa-"], svg[class*="fa-"] {
    color: #dc2626 !important;
}

/* Product table styling */
.product-table {
    border-collapse: collapse;
    width: 100%;
    background: transparent;
    color: #E5E7EB; /* gray-200 */
    font-size: 0.95rem;
}
.product-table thead th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #FBBF24; /* amber-400 */
    background: rgba(30, 41, 59, 0.6); /* subtle dark header */
    border-bottom: 2px solid rgba(255,255,255,0.04);
}
.product-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.product-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.01);
}
.product-table tbody tr:hover {
    background: rgba(250,204,21,0.04); /* gentle amber hover */
}

/* Small screens: reduce padding and enable horizontal scroll from wrapper */
@media (max-width: 640px) {
    .product-table thead th,
    .product-table tbody td {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* App Banner Animation */
@keyframes banner-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-banner-slide {
    display: inline-block;
    animation: banner-slide 30s linear infinite;
}

