/* Custom styles for Loxx & Lashes */

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ef;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14532d;
}

/* Selection color */
::selection {
    background: #166534;
    color: #fefdf8;
}

/* Hero image decorative elements */
.hero-image-frame {
    position: relative;
}

/* Smooth image hover */
img {
    transition: transform 0.6s ease;
}

/* Decorative corner accents */
.corner-accent {
    position: relative;
}
.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: #166534;
    border-style: solid;
}
.corner-accent::before {
    top: -8px;
    left: -8px;
    border-width: 2px 0 0 2px;
}
.corner-accent::after {
    bottom: -8px;
    right: -8px;
    border-width: 0 2px 2px 0;
}

/* Navbar glass effect on scroll */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(20, 83, 45, 0.08);
}

/* Mobile menu animation */
.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    width: 6px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Service card hover overlay */
.service-card-hover {
    position: relative;
    overflow: hidden;
}
.service-card-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(254, 253, 248, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.service-card-hover:hover::after {
    opacity: 1;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .line-reveal,
    img,
    .service-card-hover::after,
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Mobile menu full-screen overlay */
#mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.inactive {
    opacity: 0;
    pointer-events: none;
}
