/* Custom Styles for Esquire Men's Grooming */

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

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

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

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

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

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

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

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .scroll-reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .gallery-item {
        transition: none;
    }
}

/* Service Card Hover Effects */
.service-card {
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(232, 115, 74, 0.1);
}

/* Gallery Item Hover */
.gallery-item {
    transition: transform 0.3s ease;
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 45, 45, 0.5);
}

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

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

/* Mobile Link Hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e8734a;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #e8c99a 0%, #d4a853 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effect */
.glow-coral {
    box-shadow: 0 0 40px rgba(232, 115, 74, 0.3);
}

/* Button Focus States */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e8734a;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: rgba(232, 115, 74, 0.3);
    color: #f5f5f5;
}
