/* Additional custom styles for Allee Fireworks */

/* Smooth focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--gold);
    color: var(--bg-deep);
}

/* Custom anchor underline animation */
a {
    transition: color 0.3s ease;
}

/* Product card image container */
.product-card-img {
    position: relative;
}

/* Subtle shimmer on gold elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Loading state for images */
img {
    opacity: 1;
    transition: opacity 0.3s;
}

img[data-src] {
    opacity: 0;
}

/* Noise texture overlay for depth */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Floating card hover effect */
.floating-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

/* Gallery item hover overlay */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    border-radius: 12px;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item > img,
.gallery-item::after,
.gallery-item::before {
    position: absolute;
    inset: 0;
}

.gallery-item::after {
    border-radius: 12px;
}

/* Nav active state indicator */
.nav-links a.active {
    color: var(--gold) !important;
}

/* Testimonial card quote mark */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(201, 168, 76, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card {
    position: relative;
}

/* Contact info card icon animation */
.contact-info-card:hover .contact-info-icon {
    background: rgba(201, 168, 76, 0.12);
    border-color: rgba(201, 168, 76, 0.3);
    transform: scale(1.05);
}

.contact-info-icon {
    transition: all 0.3s ease;
}

/* Button ripple effect on click */
.btn-primary:active,
.form-submit:active {
    transform: translateY(0) scale(0.98);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .nav, .mobile-menu, .map-section, .cta-glow, .hero-glow {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
}
