/* Custom styles for Soul Shine Studio */

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

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

::-webkit-scrollbar-track {
    background: #111111;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #6b0f1a, #d4a574);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #8c1441, #e8c47e);
}

/* Selection color */
::selection {
    background: rgba(107, 15, 26, 0.8);
    color: #f0d4a8;
}

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

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.05), transparent);
    transition: left 0.7s ease;
}

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

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

/* Testimonial card animation */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(107, 15, 26, 0.2);
}

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

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

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

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

/* Stagger animation delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

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

/* Custom select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    appearance: none;
    -webkit-appearance: none;
}

/* Input focus effects */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 1px rgba(212, 165, 116, 0.3);
}

/* Button ripple effect */
button,
a {
    position: relative;
    overflow: hidden;
}

/* Gold line decoration */
.gold-line {
    position: relative;
}

.gold-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, transparent);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Reduced motion preferences */
@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;
    }
    
    .service-card::before {
        display: none;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    button,
    form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-dark-950,
    .bg-dark-900 {
        background: white !important;
    }
    
    .text-white,
    .text-gray-300 {
        color: black !important;
    }
}
