/* Custom styles for Lake State Fab LLC */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Floating animation for decorative elements */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for hero elements */
.animate-pulse-ring {
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 {
        transition-delay: 0.1s;
    }
    
    .reveal-delay-2 {
        transition-delay: 0.2s;
    }
    
    .reveal-delay-3 {
        transition-delay: 0.3s;
    }
    
    .reveal-delay-4 {
        transition-delay: 0.4s;
    }
    
    .reveal-delay-5 {
        transition-delay: 0.5s;
    }
    
    .reveal-delay-6 {
        transition-delay: 0.6s;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #C05640;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a34532;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #C05640;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Geometric shape animations */
.geometric-shape {
    animation: float 4s ease-in-out infinite;
}

.geometric-shape:nth-child(2) {
    animation-delay: 1s;
}

.geometric-shape:nth-child(3) {
    animation-delay: 2s;
}

/* Service card hover effect */
.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-icon {
    transition: transform 0.3s ease;
}

/* Button ripple effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 200px;
    height: 200px;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #C05640 0%, #d4ab52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Backdrop blur for glass morphism */
.glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
    
    .font-display + .font-display {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    header, footer, .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-terracotta-500 {
        background: #C05640 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
