/* Custom Tailwind CSS Configurations for PB E-Commerce */

/* Brand Colors */
:root {
    --primary-gradient-start: #667eea;
    --primary-gradient-end: #764ba2;
    --accent-color: #10b981;
    --dark-bg: #1f2937;
    --light-bg: #f9fafb;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

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

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

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

/* Custom Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Custom Button Styles */
.btn-gradient {
    background: linear-gradient(to right, var(--primary-gradient-start), var(--primary-gradient-end));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Card Styles */
.card-modern {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Responsive Typography - Compact Sizes */
@media (max-width: 640px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

@media (min-width: 641px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }
}

/* Compact Text Sizes */
body {
    font-size: 14px;
}

h1 {
    font-size: 1.75rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}