/* Custom CSS for DJ Trigga Trav Merch Store - Enhanced Cyberpunk Neon Style */

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px #6B46C1, 0 0 10px #6B46C1, 0 0 15px #6B46C1;
    }
    50% {
        box-shadow: 0 0 10px #6B46C1, 0 0 20px #6B46C1, 0 0 30px #6B46C1;
    }
    100% {
        box-shadow: 0 0 5px #6B46C1, 0 0 10px #6B46C1, 0 0 15px #6B46C1;
    }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Hero Section Enhancements */
#home {
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Product card animations with cyberpunk style */
.product-card {
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, rgba(107, 70, 193, 0.3), rgba(245, 158, 11, 0.3)) border-box;
}

.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),
        0 0 20px rgba(107, 70, 193, 0.3);
    border-color: rgba(107, 70, 193, 0.5);
    animation: neonPulse 2s infinite;
}

/* Enhanced filter buttons */
.filter-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6B46C1 0%, #F59E0B 100%);
    color: white;
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.5);
}

/* Neon text effects */
.neon-text {
    text-shadow: 
        0 0 7px #fff,
        0 0 10px #fff,
        0 0 21px #fff,
        0 0 42px #6B46C1,
        0 0 82px #6B46C1,
        0 0 92px #6B46C1,
        0 0 102px #6B46C1,
        0 0 151px #6B46C1;
}

/* Enhanced navigation */
nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
}

/* Product image styling with cyberpunk effects */
.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

/* Cyberpunk loading spinner */
.loading-spinner {
    border: 4px solid rgba(107, 70, 193, 0.1);
    border-top: 4px solid #6B46C1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(107, 70, 193, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced cart badge */
.cart-pulse {
    animation: pulse 0.3s ease-in-out, neonPulse 1s ease-in-out;
}

/* Mobile menu slide animation */
#mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

#mobile-menu.show {
    max-height: 300px;
}

/* Enhanced pricing */
.price {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6B46C1, #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.original-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 1rem;
    font-weight: 400;
}

/* Enhanced size selector */
.size-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.size-option {
    padding: 8px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.size-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6B46C1, #F59E0B);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.size-option span {
    position: relative;
    z-index: 1;
}

.size-option:hover,
.size-option.selected {
    border-color: #6B46C1;
    color: white;
    box-shadow: 0 0 15px rgba(107, 70, 193, 0.3);
}

.size-option:hover::before,
.size-option.selected::before {
    opacity: 1;
}

/* Enhanced add to cart button */
.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #6B46C1 0%, #F59E0B 100%);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(107, 70, 193, 0.3),
        0 0 30px rgba(245, 158, 11, 0.2);
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Enhanced cart styling */
.cart-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(107, 70, 193, 0.1);
    transition: all 0.2s ease;
}

.cart-item:hover {
    background: rgba(107, 70, 193, 0.05);
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    border: 2px solid rgba(107, 70, 193, 0.2);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 4px;
}

.cart-item-price {
    background: linear-gradient(135deg, #6B46C1, #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

.cart-item-remove {
    color: #EF4444;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background-color: #FEE2E2;
    transform: scale(1.1);
}

/* Enhanced notifications */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(16, 185, 129, 0.3);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(239, 68, 68, 0.3);
}

/* Enhanced form styling */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #F59E0B;
    box-shadow: 
        0 0 0 3px rgba(245, 158, 11, 0.1),
        0 0 15px rgba(107, 70, 193, 0.2);
}

/* Enhanced button effects */
.btn-primary {
    background: linear-gradient(135deg, #6B46C1 0%, #F59E0B 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px rgba(107, 70, 193, 0.3),
        0 0 30px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Service cards with cyberpunk glow and enhanced image effects */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(245, 158, 11, 0.1)) border-box;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(107, 70, 193, 0.2),
        0 0 60px rgba(245, 158, 11, 0.1);
    border-color: rgba(107, 70, 193, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

/* Service image enhancements */
.service-card img {
    transition: all 0.5s ease;
    filter: brightness(0.9) contrast(1.1);
}

.service-card:hover img {
    filter: brightness(1) contrast(1.2) saturate(1.1);
}

/* Service card content positioning */
.service-card > div:last-child {
    position: relative;
    z-index: 2;
}

/* Enhanced service buttons */
.service-card a {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service-card a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-card a:hover::before {
    left: 100%;
}

/* Additional Services Banner Enhancements */
.service-card + div + div {
    position: relative;
}

.service-card + div + div::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6B46C1, #F59E0B, #6B46C1);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card + div + div:hover::before {
    opacity: 1;
}

/* Service check icons enhancement */
.service-card .fas.fa-check-circle {
    transition: all 0.2s ease;
}

.service-card:hover .fas.fa-check-circle {
    transform: scale(1.1);
    color: #F59E0B !important;
}

/* Service image overlay text enhancements */
.service-card h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card .absolute.bottom-4 p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service icon background enhancements */
.service-card .bg-white\/20 {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover .bg-white\/20 {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Blog Navigation Styles */
.blog-article-section {
    min-height: 100vh;
    z-index: 999;
}

.blog-article-section.hidden {
    display: none !important;
}

.blog-article-section .prose h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-article-section .prose p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.blog-article-section .prose ul,
.blog-article-section .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-article-section .prose li {
    margin-bottom: 0.5rem;
}

/* Back button styling */
.back-to-blog {
    background: linear-gradient(135deg, #6B46C1 0%, #F59E0B 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-to-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
    text-decoration: none;
    color: white;
}

/* Blog section enhancements */
#blog {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

#blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Blog article cards */
.blog-article {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blog-article:hover::before {
    opacity: 1;
}

.blog-article:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(107, 70, 193, 0.3),
        0 0 60px rgba(245, 158, 11, 0.1);
}

/* Featured article enhancements */
.featured-article {
    position: relative;
    overflow: hidden;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.featured-article:hover::before {
    opacity: 1;
}

/* Blog category badges */
.blog-category-badge {
    position: relative;
    overflow: hidden;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.blog-category-badge:hover::before {
    left: 100%;
}

/* Newsletter signup enhancements */
.newsletter-signup {
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(107, 70, 193, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-signup input {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-signup input:focus {
    background: rgba(55, 65, 81, 0.7);
    border-color: #F59E0B;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.newsletter-signup button {
    position: relative;
    overflow: hidden;
}

.newsletter-signup button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.newsletter-signup button:hover::before {
    left: 100%;
}

/* Blog text enhancements */
#blog h2 {
    position: relative;
    z-index: 2;
}

#blog .text-gradient {
    background: linear-gradient(135deg, #A855F7, #EC4899, #F59E0B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Blog image hover effects */
.blog-image-container {
    position: relative;
    overflow: hidden;
}

.blog-image-container img {
    transition: all 0.5s ease;
    filter: brightness(0.8) contrast(1.1);
}

.blog-image-container:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2) saturate(1.1);
}

/* Read more links */
.blog-read-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.blog-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6B46C1, #F59E0B);
    transition: width 0.3s ease;
}

.blog-read-more:hover::after {
    width: 100%;
}

.blog-read-more i {
    transition: transform 0.2s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* Responsive blog adjustments */
@media (max-width: 768px) {
    #blog .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-article .grid {
        grid-template-columns: 1fr;
    }
    
    .featured-article .relative.h-64 {
        height: 200px;
    }
    
    .newsletter-signup .flex-col {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    #blog {
        padding: 3rem 0;
    }
    
    #blog h2 {
        font-size: 2rem;
    }
    
    .featured-article h3 {
        font-size: 1.5rem;
    }
    
    .blog-article h3 {
        font-size: 1.125rem;
    }
}

/* Official DJ Trigga Trav Logo Styling */
.dj-logo-nav {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(107, 70, 193, 0.3));
}

.dj-logo-nav:hover {
    filter: drop-shadow(0 0 15px rgba(107, 70, 193, 0.6));
    transform: scale(1.05);
}

.dj-logo-hero {
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 20px rgba(107, 70, 193, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

.dj-logo-hero:hover {
    filter: drop-shadow(0 0 30px rgba(107, 70, 193, 0.8));
    transform: scale(1.1);
    animation-play-state: paused;
}

.dj-logo-footer {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(107, 70, 193, 0.4));
}

.dj-logo-footer:hover {
    filter: drop-shadow(0 0 12px rgba(107, 70, 193, 0.7));
    transform: scale(1.1);
}

.dj-logo-about {
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 12px rgba(107, 70, 193, 0.4));
}

.dj-logo-about:hover {
    filter: drop-shadow(0 0 20px rgba(107, 70, 193, 0.8)) drop-shadow(0 0 30px rgba(245, 158, 11, 0.3));
    transform: scale(1.15) rotate(5deg);
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(107, 70, 193, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(107, 70, 193, 0.8)) drop-shadow(0 0 40px rgba(245, 158, 11, 0.3));
    }
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .dj-logo-hero {
        width: 80px;
        height: 80px;
    }
    
    .dj-logo-nav {
        height: 32px;
        width: 32px;
    }
    
    .dj-logo-footer {
        height: 40px;
        width: 40px;
    }
    
    .dj-logo-about {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 640px) {
    .dj-logo-hero {
        width: 64px;
        height: 64px;
    }
    
    .dj-logo-nav {
        height: 28px;
        width: 28px;
    }
    
    .dj-logo-footer {
        height: 36px;
        width: 36px;
    }
    
    .dj-logo-about {
        width: 48px;
        height: 48px;
    }
}

/* Enhanced footer */
footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .size-selector {
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .filter-btn {
        margin: 4px 2px;
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .product-card {
        margin-bottom: 24px;
    }
}

/* Scroll effects */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B46C1, #F59E0B);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #553C9A, #D97706);
}