/* All Seeing Eye Tattoo — Custom Styles */

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

/* Base styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 94, 59, 0.08);
}

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

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 1s;
}

.card-3 {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Hero shapes animation */
.hero-shape {
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    animation-delay: 2s;
    animation-duration: 10s;
}

.hero-shape:nth-child(3) {
    animation-delay: 4s;
    animation-duration: 6s;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.95); }
}

.hero-geo {
    animation: geoSpin 20s linear infinite;
}

.hero-geo:nth-child(5) {
    animation-direction: reverse;
    animation-duration: 15s;
}

.hero-geo:nth-child(6) {
    animation-duration: 25s;
}

@keyframes geoSpin {
    0% { transform: rotate(0deg) translate(0, 0); }
    25% { transform: rotate(5deg) translate(10px, -10px); }
    50% { transform: rotate(0deg) translate(0, 0); }
    75% { transform: rotate(-5deg) translate(-10px, 10px); }
    100% { transform: rotate(0deg) translate(0, 0); }
}

/* Marquee animation */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Service card hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery item hover */
.gallery-item {
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(6, 94, 59, 0.1);
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #059669;
}

/* Menu button animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.25rem;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Selection color */
::selection {
    background: #065f46;
    color: #fefdf8;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-card,
    .hero-shape,
    .hero-geo,
    .marquee-track {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
}
