/* Custom Styles for Genavie Beauty & Lash Co. */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a017, #8b3d66);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e5b31a, #a85582);
}

/* Service Card Hover Effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212, 160, 23, 0.1);
}

/* Gallery Item Hover */
.gallery-item {
    cursor: pointer;
}

/* Mobile Menu Open State */
body.menu-open {
    overflow: hidden;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background: rgba(10, 5, 8, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger to X Animation */
#mobile-menu-btn.active #menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active #menu-line-2 {
    opacity: 0;
}

#mobile-menu-btn.active #menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6;
}

/* Gold Shimmer Effect for Headings */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-gold-shimmer {
    background: linear-gradient(90deg, #d4a017 0%, #f0c94d 50%, #d4a017 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle Pulse for CTA Elements */
@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(212, 160, 23, 0.15); }
}

.cta-pulse {
    animation: softPulse 3s ease-in-out infinite;
}

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

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

/* Selection Color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f5d4e0;
}

/* Focus Visible Styles */
*:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

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

/* Select Dropdown Styling */
select option {
    background: #1a1018;
    color: #f5d4e0;
}

/* Custom placeholder styling */
::placeholder {
    color: rgba(201, 122, 160, 0.5);
}

/* Ensure all text is readable */
h1, h2, h3, h4, h5, h6 {
    color: #f5d4e0;
}

/* Smooth image loading */
img {
    image-rendering: auto;
    loading: lazy;
}

/* Prevent layout shift */
img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}
