/* Custom styles beyond Tailwind CSS */

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

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

/* Category sidebar active state */
.category-link.active {
    background-color: #2563eb;
    color: white;
}

/* Product image */
.product-image {
    max-height: 400px;
    object-fit: contain;
}

/* Hero section overlay */
.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

/* Product detail content styling */
.product-content h1,
.product-content h2,
.product-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.product-content h1 { font-size: 1.5rem; }
.product-content h2 { font-size: 1.25rem; }
.product-content h3 { font-size: 1.125rem; }

.product-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #374151;
}

.product-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.product-content ul li {
    margin-bottom: 0.5rem;
    color: #374151;
}

.product-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.product-content a {
    color: #2563eb;
    text-decoration: underline;
}

.product-content a:hover {
    color: #1d4ed8;
}

/* Contact info from database */
.contact-content p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* Animation for page load */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}