/* Custom styles for Ink Theory Tattoo */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1a3a6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c8a45e;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 164, 94, 0.1);
}

/* Hero image animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

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

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #c8a45e 0%, #e0c680 50%, #c8a45e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(200, 164, 94, 0.15);
}

/* 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);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .floating-card {
        animation: none;
    }
    .group:hover .group-hover\:scale-110 {
        transform: none;
    }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
}

/* Button hover lift */
button:hover, a:hover {
    transform: translateY(-1px);
}

button:active, a:active {
    transform: translateY(0);
}
