/* Custom styles for Ej's Nail Gallery */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f3ee;
}
::-webkit-scrollbar-thumb {
    background: #b8dfb8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #85c485;
}

/* Subtle line decoration */
.section-line {
    position: relative;
}
.section-line::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 48px;
    height: 1px;
    background: #b8dfb8;
}

/* Card hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
    transform: translateY(-2px);
}

/* Gallery image hover */
.gallery-item {
    overflow: hidden;
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #85c485;
    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;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, .animate-bounce, #menu-toggle {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .bg-gradient-to-br {
        background: #1a4a1a !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
