/* Custom styles for Mike's Upholstery */

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

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

/* Geometric shape animations */
@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 26, 75, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

/* Geometric decorations */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86.6px solid #8B1A4B;
}

.geo-square {
    width: 60px;
    height: 60px;
    background: #8B1A4B;
    transform: rotate(45deg);
}

.geo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid #8B1A4B;
    border-radius: 50%;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #f87171, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #8B1A4B !important;
    box-shadow: 0 0 0 3px rgba(139, 26, 75, 0.2);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Image hover zoom */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

@media (min-width: 769px) {
    .font-display {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .font-display {
        font-size: 5rem;
    }
}

/* Parallax effect for hero */
.hero-parallax {
    background-attachment: fixed;
}

/* Glow effects */
.glow {
    box-shadow: 0 0 20px rgba(139, 26, 75, 0.5);
}

.glow-lg {
    box-shadow: 0 0 40px rgba(139, 26, 75, 0.3);
}

/* Loading animation */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-ring {
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Text reveal animation */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: reveal 0.8s ease-out forwards;
}

/* Stagger animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
