/* Custom styles for J K Nail */

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

/* Hero animations */
.hero-tagline {
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.hero-subtitle {
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
    animation: slideUp 0.8s ease-out 0.8s forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section animations */
.section-tag,
.section-title,
.section-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-tag.visible,
.section-title.visible,
.section-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    transition-delay: 0.1s;
}

.section-subtitle {
    transition-delay: 0.2s;
}

/* Service cards */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery items */
.gallery-item {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease-out;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile menu animations */
#mobile-menu {
    backdrop-filter: blur(10px);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #72a37d;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4f8258;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
