/* OutletBird Additional Styles */
/* Enhanced styling beyond Tailwind CSS */

/* Loading states and transitions */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #2563EB);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 60, 136, 0.3);
}

.btn-secondary {
    background: var(--brand-cta);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #E56A00;
    transform: translateY(-2px);
}

/* Enhanced card styles */
.product-card {
    background: var(--brand-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Notification styles */
.notification {
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Hero section enhancements */
.hero-bg {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1e40af 50%, var(--brand-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Enhanced animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(46, 196, 182, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(46, 196, 182, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes slide-in-left {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slide-in-left 0.8s ease-out;
}

.slide-in-right {
    animation: slide-in-right 0.8s ease-out;
}

/* Search enhancement */
.search-enhanced {
    position: relative;
}

.search-enhanced input:focus {
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
    border-color: var(--brand-accent);
}

.search-enhanced button {
    transition: all 0.3s ease;
}

.search-enhanced button:hover {
    transform: scale(1.05);
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: var(--brand-cta);
    color: white;
}

.badge-new {
    background: var(--brand-accent);
    color: white;
}

.badge-hot {
    background: #EF4444;
    color: white;
}

/* Rating stars */
.rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating .fas,
.rating .far {
    font-size: 14px;
}

.rating-text {
    font-size: 12px;
    color: #6B7280;
    margin-left: 4px;
}

/* Price styling */
.price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-cta);
}

.price-original {
    font-size: 14px;
    color: #9CA3AF;
    text-decoration: line-through;
}

/* Footer enhancements */
.footer-link {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-accent);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-bg::before {
        opacity: 0.1;
    }
    
    .product-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --brand-primary: #000080;
        --brand-cta: #FF4500;
        --brand-accent: #008B8B;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--brand-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}