/* Custom styles for Rodem Acupuncture PC */

/* Base styles */
html {
    scroll-behavior: smooth;
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
    font-family: 'Montserrat', system-ui, sans-serif;
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #f0d48a 0%, #d4af37 50%, #e6c063 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Burgundy gradient */
.bg-burgundy-gradient {
    background: linear-gradient(135deg, #4a0f0f 0%, #802222 50%, #9c2828 100%);
}

/* Pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.btn-shine:hover::after {
    animation: shine 0.8s ease forwards;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

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

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

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

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

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

#mobile-menu.open {
    max-height: 400px;
}

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

/* Print styles */
@media print {
    .pattern-overlay,
    .fade-in {
        background: none !important;
        animation: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
