/* 
 * Marks of Macabre - Custom Animation and Effects
 * This file contains supplementary styles for enhanced visual effects
 */

/* SVG Animation Effects */
@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Apply animations to hero SVG elements */
.hero-svg-animate .moon {
    animation: floatAnimation 8s ease-in-out infinite;
}

.hero-svg-animate .skull {
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-svg-animate .raven {
    animation: floatAnimation 7s ease-in-out infinite;
}

.hero-svg-animate .bat {
    animation: floatAnimation 5s ease-in-out infinite;
}

.hero-svg-animate .candle-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-svg-animate .pentagram {
    animation: slowSpin 20s linear infinite;
}

/* Product card hover effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.product-card .product-image {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

/* Button hover effects */
.btn-gothic {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease, transform 0.2s ease;
}

.btn-gothic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 92, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-gothic:hover {
    transform: translateY(-2px);
}

.btn-gothic:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Custom scrollbar for gothic theme */
::-webkit-scrollbar {
    width: 10px;
    background-color: #0F0F14;
}

::-webkit-scrollbar-thumb {
    background-color: #2F3356;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #4A5CFF;
}

/* Page transitions */
.page-transition {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Testimonial card hover effect */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}
