/* Custom Styles for Rene's BeautyandBeyond */

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Service Card Hover Effect */
.service-card {
    background: linear-gradient(145deg, rgba(36, 59, 83, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.service-card:hover {
    background: linear-gradient(145deg, rgba(36, 59, 83, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(20, 184, 166, 0.3);
}

/* Input Focus Styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.3);
}

/* Form Success Message Animation */
#formSuccess {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Geometric Shape Decorations */
.geometric-shape {
    position: absolute;
    z-index: -1;
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
