/* Custom Styles for Pure Ambiance Salon */

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

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Transition */
#mobileMenu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    transform: translateX(0);
}

#mobileMenu.closed {
    transform: translateX(-100%);
}

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

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

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

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

/* Hover Effects */
.group:hover .group-hover\\:rotate-12 {
    transform: rotate(12deg);
}

/* Button Hover Glow */
button:hover, a:hover {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
.group img {
    transition: transform 0.7s ease;
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .group img {
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Mobile Menu Links */
.mobile-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Service Card Hover */
.group:hover {
    transform: translateY(-8px);
}

/* Gold Accent Underline */
.text-gold-400 {
    position: relative;
}

/* Geometric Shape Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-20px) rotate(45deg);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(12deg);
    }
    50% {
        transform: translateY(-15px) rotate(12deg);
    }
}

.absolute div:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.absolute div:nth-child(2) {
    animation: floatSlow 8s ease-in-out infinite;
}

/* Loading State for Form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2.5rem;
    }
}
