/* DRgraphics - Main Stylesheet */

/* Hero Background */
.hero-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(132, 204, 22, 0.9)), url('../imgs/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Mobile optimization for hero background */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Login Background */
.login-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(132, 204, 22, 0.9)), url('../imgs/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service Card */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Contact Card */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #3B82F6, #84CC16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo */
.logo-img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

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

/* Category Filter */
.category-filter {
    transition: all 0.3s ease;
}

.category-filter.active {
    background: linear-gradient(135deg, #3B82F6, #84CC16);
    color: white;
}

/* Form Input Focus */
.form-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Mask Angle */
.mask-angle {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Best Seller Badge */
.best-seller-badge {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.8; 
    }
}

/* Rank Badge */
.rank-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    color: white;
    z-index: 10;
}

