/* Custom styles for Touche Of Class */

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

/* Base animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    animation: fadeInUp 0.8s ease forwards;
}

/* Service card hover glow */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 148, 58, 0.2), transparent, rgba(212, 148, 58, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #e9c06d, #d4943a, #c27a2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(10, 15, 30, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 148, 58, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4943a, #c27a2e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e9c06d, #d4943a);
}

/* Selection color */
::selection {
    background: rgba(212, 148, 58, 0.3);
    color: #f9edcf;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
        opacity: 1;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile menu transitions */
#mobileMenu {
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobileMenu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

/* Form select dropdown styling */
select option {
    background: #0d1529;
    color: #f9edcf;
}

/* Gallery image hover overlay */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}
