/* Custom styles for Cejas Roxy website */

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

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

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

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.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; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 25%, #5eead4 50%, #2dd4bf 75%, #14b8a6 100%);
}

.gradient-section {
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: #2dd4bf;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Hover effects for service cards */
.group:hover .group-hover\:bg-teal-200 {
    background-color: #99f6e4;
}

/* Button hover effects */
.bg-teal-500:hover {
    background-color: #0d9488;
}

.bg-teal-600:hover {
    background-color: #0f766e;
}

/* Focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

/* Navigation active state */
nav a.active {
    color: #0d9488;
}

/* Image hover zoom effect */
.overflow-hidden img {
    transition: transform 0.5s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gradient-hero {
        background: linear-gradient(180deg, #ccfbf1 0%, #99f6e4 50%, #5eead4 100%);
    }
    
    .font-display.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-display.text-4xl {
        font-size: 2rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .animate-float,
    .reveal,
    .overflow-hidden img {
        animation: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
