/* Custom styles for Robert James Salon */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f8fafc;
}

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

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Subtle shimmer on gold elements */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse animation for the "Now Open" badge */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
}

/* Nav link underline animation */
a.nav-link {
    position: relative;
}

a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fcd34d, #d97706);
    transition: width 0.3s ease;
}

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

/* Service card hover lift */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Gradient text fallback for older browsers */
.gold-gradient {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button ripple effect */
button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

button:active::after {
    opacity: 1;
}

/* Gallery hover overlay */
.rounded-sm.overflow-hidden.group:hover img {
    filter: brightness(1.1);
}

/* Testimonial card hover */
.bg-slate-900\/60:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Form input focus glow */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Mobile menu overlay */
.mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(4px);
}

/* Smooth image transitions */
img {
    transition: filter 0.3s ease;
}
