/* HG7T Modern Site - Custom Styles */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Nav link active state */
.nav-link.active {
    color: white;
    background: rgba(99, 102, 241, 0.2);
}

/* Language button states */
.lang-btn.active {
    background: #6366f1;
    color: white;
}

.lang-btn:not(.active) {
    color: rgba(165, 180, 252, 0.7);
}

.lang-btn:not(.active):hover {
    color: white;
    background: rgba(99, 102, 241, 0.3);
}

/* Member card hover */
.member-card {
    position: relative;
}

/* Equipment image popup */
.group\/item {
    position: relative;
}

.equip-img-popup {
    pointer-events: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Section transitions */
section {
    position: relative;
}

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

/* Awards table responsive */
@media (max-width: 640px) {
    #awards table {
        font-size: 0.75rem;
    }
    #awards th,
    #awards td {
        padding: 0.5rem;
    }
}

/* Smooth nav scroll offset for admin bar */
body.admin-mode {
    scroll-padding-top: 7.5rem;
}
