/* Custom styles for Tattoos by Mandie Lynn Stockton */

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

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

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Selection color */
::selection {
    background: #14b8a6;
    color: #0a1628;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Navbar transition */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.stagger-children .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .scroll-reveal:nth-child(6) { transition-delay: 0.3s; }

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

/* Form input focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* Image hover smoothness */
img {
    -webkit-font-smoothing: antialiased;
}

/* Print styles */
@media print {
    nav, footer, #contactForm, .scroll-reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
