/**
 * Si Kiong TCM Clinic - Custom Styles
 * Production-ready for https://sikiongtcm.com.my
 */

/* Smooth Scroll */
* {
    scroll-behavior: smooth;
}

/* Typography */
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
}

/* Animation Classes */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animate-ready {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Hover Effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Doctor Card Hover Effects */
.doctor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.doctor-card img {
    transition: transform 0.5s ease;
}

.doctor-card:hover img {
    transform: scale(1.08);
}

/* Language Button Styles */
.lang-btn {
    min-width: 40px;
    text-align: center;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background-color: rgba(5, 150, 105, 0.5);
}

.lang-btn.active {
    background-color: rgba(5, 150, 105, 0.8);
    font-weight: 600;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2,
.hero-content p,
.hero-content a {
    animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-content a {
    animation-delay: 0.6s;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

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

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

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

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

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Registration Badge */
.reg-badge {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

/* Hours Table Stripe */
.hours-row:nth-child(even) {
    background-color: rgba(5, 150, 105, 0.05);
}
