/* Custom Styles for Glam Trend Beauty Studio */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #05101E;
}

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

::-webkit-scrollbar-track {
    background: #05101E;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4DB6AC;
}

/* Selection */
::selection {
    background-color: #4DB6AC;
    color: #05101E;
}

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

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

/* Card Animations */
.reveal-card {
    animation: float 6s ease-in-out infinite;
}

.reveal-card-delay {
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.reveal-card-delay-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: -4s;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#mobile-menu.inactive {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

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

/* Reduced motion preference */
@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;
    }
}

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