/* ===================================
   SITE-WIDE ENHANCED EFFECTS
   Sparkle, glow, and beautiful interactions
   =================================== */

/* Global Animations */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes candleGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes fireGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 0, 0.4), 0 0 40px rgba(255, 165, 0, 0.2); }
    50% { box-shadow: 0 0 30px rgba(255, 107, 0, 0.6), 0 0 60px rgba(255, 165, 0, 0.3); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Nav Link Glow Effect */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #d4af7a;
    text-shadow: 0 0 10px rgba(212, 175, 122, 0.5);
}

/* Button Enhancements */
.btn-primary,
.btn-breathtaking.btn-primary-breathtaking {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary::before,
.btn-breathtaking.btn-primary-breathtaking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 107, 0, 0.3) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover,
.btn-breathtaking.btn-primary-breathtaking:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(110, 31, 42, 0.6),
        0 0 60px rgba(255, 107, 0, 0.4);
    animation: fireGlow 1.5s ease-in-out infinite;
}

.btn-primary:hover::before,
.btn-breathtaking.btn-primary-breathtaking:hover::before {
    transform: translateX(100%);
}

.btn-primary:active,
.btn-breathtaking.btn-primary-breathtaking:active {
    transform: translateY(-2px) scale(0.98);
}

/* Product Card Glow */
.product-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 107, 0, 0.15) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
    animation: candleGlow 3s ease-in-out infinite;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(110, 31, 42, 0.3);
}

/* Image Glow Effects */
.product-card-image,
.gallery-item,
.instagram-item {
    position: relative;
    overflow: hidden;
}

.product-card-image::before,
.gallery-item::before,
.instagram-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 107, 0, 0.2) 0%, 
        rgba(255, 165, 0, 0.1) 30%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
    animation: candleGlow 3s ease-in-out infinite;
}

.product-card:hover .product-card-image::before,
.gallery-item:hover::before,
.instagram-item:hover::before {
    opacity: 1;
}

/* Sparkle Container */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d4af7a;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 1s ease-out forwards;
    z-index: 100;
}

/* Feature Bubbles Enhancement - Clean Hover */
.feature-bubble {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-bubble:hover {
    transform: translateY(-4px) scale(1.05);
}

/* Logo Glow */
.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(212, 175, 122, 0.5));
}

/* Instagram Icon Glow */
.nav-icon,
.instagram-overlay {
    transition: all 0.3s ease;
}

.nav-icon:hover,
.instagram-item:hover .instagram-overlay {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(212, 175, 122, 0.6));
}

/* Section Title Glow */
.section-title,
.hero-title-breathtaking {
    transition: all 0.3s ease;
}

/* Clean Stats - No Shimmer */
.stat-number {
    font-weight: 600;
}

/* Smooth Transitions for All Interactive Elements */
a, button, input, select, textarea {
    transition: all 0.3s ease;
}

/* Focus States with Glow */
button:focus-visible,
a:focus-visible,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 31, 42, 0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Reduce animation intensity on mobile for performance */
    .btn-primary:hover,
    .btn-breathtaking.btn-primary-breathtaking:hover {
        animation: none;
        box-shadow: 0 10px 30px rgba(110, 31, 42, 0.5);
    }
    
    .product-card:hover {
        transform: translateY(-4px);
    }
    
    .feature-bubble:hover {
        transform: translateY(-2px) scale(1.02);
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
