/* Custom styles for Jade Nails */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1f14;
}
::-webkit-scrollbar-thumb {
    background: #1e5232;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #276940;
}

/* Selection color */
::selection {
    background: #276940;
    color: #faf9f6;
}

/* Hero image parallax-like effect */
.hero-img {
    transition: transform 0.7s ease;
}

/* Gradient text utility */
.gold-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #e8d590 50%, #b8943f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold line separator */
.gold-line {
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
    height: 1px;
}

/* Service card shimmer on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card {
    position: relative;
    overflow: hidden;
}

/* Mobile menu animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-nav-link {
    transition: opacity 0.3s ease;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar background on scroll */
.nav-scrolled {
    background: rgba(10, 31, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Gallery hover overlay */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

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

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

/* Pulse animation for CTA */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(201, 168, 76, 0); }
}

.btn-pulse:hover {
    animation: pulse-gold 1.5s infinite;
}

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f2e1c inset !important;
    -webkit-text-fill-color: #faf9f6 !important;
    caret-color: #faf9f6;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}
