/* Custom styles for One Personal Training */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2d6e2d;
}

/* Selection color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #FDFCF8;
}

/* Service card hover effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 175, 55, 0.05);
}

/* Gallery hover effects */
.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(11, 31, 11, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Gold gradient text effect */
.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F0D78C 50%, #C9A227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Reduced motion preference */
@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;
    }
    
    .gallery-item img,
    .service-card {
        transition: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
}
