/* Custom Styles for Kwang Soo Woo Acupuncture Clinic */

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

/* Navigation Fixed State */
.nav-fixed {
    transition: all 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #359482;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid #52b3a0;
    outline-offset: 2px;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Loading */
img {
    background-color: #e6f7f1;
}

/* Print Styles */
@media print {
    .nav-fixed,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #0f172a;
        background: white;
    }
}

/* Mobile Menu Button Animation */
.mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

.mobile-menu-btn.active svg path {
    transform: rotate(90deg);
}

/* Card Hover Effects */
.group:hover .group-hover\\:bg-mint-600 {
    background-color: #359482;
}

.group:hover .group-hover\\:text-white {
    color: #ffffff;
}

/* Gradient Backgrounds */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Shadow Utilities */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Responsive Typography */
@media (min-width: 640px) {
    .sm\\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
}

@media (min-width: 768px) {
    .md\\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

@media (min-width: 1024px) {
    .lg\\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}
