/* Custom Styles for Resort Nail Bar */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #c9a96e, #b8944f);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #e8d5a8, #c9a96e);
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

nav.scrolled .menu-line {
    background: #c9a96e;
}

/* Mobile Menu Animation */
.mobile-menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }

/* Mobile Menu Button Animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 20px;
    margin-left: 0;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 110, 0.3);
    box-shadow: 0 20px 60px rgba(201, 169, 110, 0.1);
}

/* Gallery Items */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 110, 0.2);
}

/* Gold Gradient Text Animation */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        #e8d5a8 0%,
        #c9a96e 25%,
        #d4af61 50%,
        #c9a96e 75%,
        #e8d5a8 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

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

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

/* Pulse Animation */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(201, 169, 110, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}

/* Reveal Animation for Scroll */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-serif {
        font-size: 2rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .font-serif {
        font-size: 3rem;
    }
}

/* Reduced Motion */
@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;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a96e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection Color */
::selection {
    background: rgba(201, 169, 110, 0.3);
    color: #fff;
}
