/* Pyramid 13 Tattoo — Custom Styles */

/* Base & Utilities */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5eff7;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0d0a12;
}
::-webkit-scrollbar-thumb {
    background: #3d1a4a;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* Animations */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Reveal Animations — Progressive Enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal[data-reveal-delay="100ms"] { transition-delay: 100ms; }
.reveal[data-reveal-delay="150ms"] { transition-delay: 150ms; }
.reveal[data-reveal-delay="200ms"] { transition-delay: 200ms; }

/* Reduced motion — content always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
    .animate-pulse-slow { animation: none; }
}

/* Navbar active state */
.navbar-scrolled {
    background: rgba(13, 10, 18, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Mobile menu active state */
.mobile-menu-open #mobileMenu {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1c1528 0%, #3d1a4a 100%);
}

/* Print styles */
@media print {
    nav, #contactForm, #successMessage, .reveal { display: none; }
    body { background: white; color: black; }
}
