/* Custom styles for Suonuo website */

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

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

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

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

/* Nav link active indicator */
.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: linear-gradient(to right, #D4A853, #F0C75E);
    border-radius: 1px;
}

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

/* Gold gradient text */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4A853, #F0C75E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effect */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section divider */
.section-divider {
    width: 64px;
    height: 4px;
    background: linear-gradient(to right, #D4A853, #F0C75E);
    border-radius: 2px;
}

/* Gold border animation on hover */
.gold-border-hover {
    position: relative;
    overflow: hidden;
}

.gold-border-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #D4A853, #F0C75E);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.gold-border-hover:hover::before {
    transform: scaleX(1);
}

/* Focus styles for keyboard accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #D4A853;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure images don't break layout */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav, .no-print {
        display: none !important;
    }
}
