/* Custom styles for Dr. Kiba Medical Website */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fcd34d, #f59e0b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

/* Selection color */
::selection {
    background-color: rgba(94, 234, 212, 0.3);
    color: #f8fafc;
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(94, 234, 212, 0.3); }
    50% { box-shadow: 0 0 40px rgba(94, 234, 212, 0.6); }
}

/* Utility classes */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .btn-gold,
    .btn-mint {
        background: #000 !important;
        color: #fff !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-gold,
    .btn-mint {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@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;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card-hover:hover {
        transform: none;
    }
    
    .btn-gold:hover,
    .btn-mint:hover {
        transform: none;
    }
}

/* Large screen optimizations */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 640px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
