/* Custom styles for Piercings and Jewelry By Corey */

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

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

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

::-webkit-scrollbar-thumb {
    background: #4d825c;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a6647;
}

/* Selection color */
::selection {
    background-color: #c5dfcc;
    color: #1f3626;
}

/* Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }
.reveal:nth-child(5) { transition-delay: 400ms; }
.reveal:nth-child(6) { transition-delay: 500ms; }

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 54, 38, 0.15);
}

/* Button focus states */
button:focus, a:focus {
    outline: 2px solid #9cc5a8;
    outline-offset: 2px;
}

/* Form input focus states */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 130, 92, 0.2);
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(250, 250, 248, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
    transition: max-height 0.3s ease-in;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #2f5139 0%, #6fa47d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effect */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Decorative pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 2px 2px, rgba(47, 81, 57, 0.1) 1px, transparent 0);
    background-size: 24px 24px;
}
