/* Custom styles for Sudara Skin Care */

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Service card hover effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(212, 168, 83, 0.15);
}

/* Gallery item hover */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4a853;
    border-radius: 5px;
}

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

/* Mobile menu animation */
.mobile-menu-open {
    transform: translateX(0) !important;
}

.mobile-menu-closed {
    transform: translateX(100%) !important;
}

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

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

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

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

/* 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;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Ensure all text has good contrast */
.text-navy-900 {
    color: #0a1628;
}

.text-navy-800 {
    color: #0f2140;
}

.text-navy-700 {
    color: #152d54;
}

.text-navy-600 {
    color: #1a3a6b;
}

.text-gold-400 {
    color: #e6c06a;
}

.text-gold-600 {
    color: #b8942e;
}
