/* Custom styles for Silk Haircare & Design Salon */

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

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

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

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

/* Hover effects for service cards */
.service-card {
    transition: all 0.3s ease;
}

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

/* Image hover effects */
.overflow-hidden {
    overflow: hidden;
}

.overflow-hidden img {
    transition: transform 0.5s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.1);
}

/* Form input focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Button hover effects */
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Navigation active state */
nav a.active {
    color: #d4af37;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-image {
        clip-path: none;
    }
    
    .font-serif {
        font-size: 2rem;
    }
}

/* Loading state for form submission */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success message animation */
#form-success {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
