/* Custom styles for SB Audio FX Website */

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

/* Apple-style improvements */
.feature-image {
    transform: scale(0.95);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-image:hover {
    transform: scale(1);
}

/* Enhanced mobile image styling */
.mobile-feature-image {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-feature-image:hover {
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
    transform: translateY(-5px);
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom button hover effects */
.btn-primary {
    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::before {
    left: 100%;
}

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

::-webkit-scrollbar-track {
    background: #1F2937;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Pad hover effects */
.pad-transition:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6, #EC4899);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive improvements */
@media (max-width: 1024px) {
    .sticky-container {
        position: relative !important;
        height: auto !important;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .gradient-text {
        background-size: 150% 150%;
    }
    
    .btn-primary::before {
        display: none;
    }
}

/* Loading animation for form submission */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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