/* Custom styles for The Norris Group website */

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

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

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

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

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

/* Selection color */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: #F5F5F5;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #C9A96E;
    outline-offset: 2px;
}

/* Button hover effects */
.btn-gold, .btn-outline-gold {
    position: relative;
    overflow: hidden;
}

.btn-gold::before, .btn-outline-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-gold:hover::before, .btn-outline-gold:hover::before {
    left: 100%;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Loading animation for images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
