/* Custom styles for Baggers Ink */

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

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

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

::-webkit-scrollbar-thumb {
    background: #232323;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #fff;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 107, 74, 0.1);
}

/* Hero reveal animations */
.hero-reveal {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1s ease forwards;
}

.hero-image-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    animation: heroImageReveal 1.2s ease 0.3s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Section reveal on scroll */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

.service-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 74, 0.1);
}

/* Gallery item hover */
.gallery-item {
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

/* Scroll indicator animation */
.animate-scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% {
        top: 0;
        opacity: 0;
    }
    50% {
        top: 100%;
        opacity: 1;
    }
}

/* Mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Menu button animation */
.menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

/* Nav link hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FF6B4A;
    transition: width 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link:hover::after {
    width: 100%;
}

/* Gold shimmer effect on hover */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Pulse animation for CTA */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 74, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 74, 0.6);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-reveal {
        animation-delay: 0.2s;
    }
    
    .hero-image-reveal {
        animation-delay: 0.5s;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .animate-scroll-dot {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
