/* Custom styles for Studs Cycles */

/* Smooth focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #d4a853;
    color: #0a1628;
}

/* Subtle gradient animation for hero background */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Service card hover effect */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon {
    transition: transform 0.4s ease;
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
}

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

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
    width: 200px;
    height: 200px;
}

/* Gold accent line */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a853, #e6c06a);
    border-radius: 2px;
}

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

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

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse dot */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

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

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

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

/* Ensure all interactive elements are keyboard accessible */
button, a, input, textarea, select {
    &:focus {
        outline: 2px solid #d4a853;
        outline-offset: 2px;
    }
}

/* Print styles */
@media print {
    nav, .reveal, .float-animation {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
