/* Custom Styles for Esteem Beauty Bar */

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

body {
    overflow-x: hidden;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transitions */
#mobileMenu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    transform: translateX(0);
}

#mobileMenu.closed {
    transform: translateX(-100%);
}

/* Navbar Scroll State */
.navbar-scrolled {
    background: rgba(7, 21, 38, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 213, 200, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Custom Selection */
::selection {
    background: rgba(168, 213, 200, 0.3);
    color: #f0faf5;
}

/* Smooth Image Loading */
img {
    image-rendering: auto;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #a8d5c8;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2d7563;
}

/* Form Select Dropdown */
select option {
    background: #0a1f35;
    color: #ffffff;
    padding: 12px;
}

/* Gallery hover overlay */
.rounded-2xl.overflow-hidden.group {
    position: relative;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #a8d5c8 0%, #7dbfad 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect for cards */
.glow-card {
    box-shadow: 0 0 60px -12px rgba(168, 213, 200, 0.08);
}

.glow-card:hover {
    box-shadow: 0 0 80px -12px rgba(168, 213, 200, 0.15);
}

/* Mobile link animation */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: visible;
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 213, 200, 0.2); }
    50% { box-shadow: 0 0 40px rgba(168, 213, 200, 0.4); }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.1;
    }
}
