@import url('https://fonts.googleapis.com/css2?family=Unica+One&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Fonts */
.font-tattoo {
    font-family: 'Unica One', cursive;
}

.font-body {
    font-family: 'Space Grotesk', sans-serif;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

/* Loader Container */
#loading {
    position: fixed;
    /* inset: 0; */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.98);
    transition: opacity 1s ease-out;
}



/* Glass Effect for Header */
nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Scroll Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Loading */
img:not([data-loaded]) {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease-out;
}

img[data-loaded] {
    opacity: 1;
    transform: scale(1);
}

/* Gallery Filter */
.gallery-filter.active {
    background-color: #7c3aed;
    color: white;
}

/* FAQ Animation */
/* FAQ Animations */
.faq-question i {
    transition: transform 0.3s ease-in-out;
}

.rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer:not(.hidden) {
    max-height: 500px; /* Adjust based on your content */
}

/* Image Loading */
img {
    transition: opacity 0.3s ease;
}

img:not([data-loaded="true"]) {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5b21b6;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Custom Styles for Tattoo Shop */
.artist-card:hover img {
    transform: scale(1.1);
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.instagram-post {
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: scale(0.95);
}

/* Custom Button Glow */
.btn-glow {
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    transition: box-shadow 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
}

/* Aftercare Illustration */
.aftercare-illustration {
    position: relative;
}

.aftercare-illustration::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('assets/ink-splatter.png') no-repeat center center;
    background-size: contain;
    opacity: 0.1;
    z-index: -1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 80px;
    }
    
    .artist-card, .service-card {
        margin-bottom: 30px;
    }
}