/* Custom styles for Alcantaras Body Shop */

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

/* Base styles */
body {
    font-family: 'Outfit', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #0f0a12;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5c2d6e;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #2d1536;
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.6);
    }
}

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

/* Glow effect for buttons */
.glow-amber {
    animation: pulse-glow 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;
    }
}

/* Geometric accent shapes */
.geo-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 35px 20px;
    border-color: transparent transparent #fbbf24 transparent;
}

.geo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* Card hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

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

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

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

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 10, 18, 0.95) !important;
    backdrop-filter: blur(20px);
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Decorative pattern */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .float-animation {
        animation: none;
    }
}
